- Rating
- 4
- Clarity
- 4
- Confidence
- 4
- Originality
- 2
- Quality
- 3
- Significance
- 2
Read review
Summary
The paper studies exact sampling from variable-order Markov generators under regular constraints. The motivating observation is that prior belief-propagation methods for Markov constraints assume the correct finite-state stochastic source is already available, which is straightforward for first-order Markov chains but nontrivial for variable-order/backoff generators. The paper proposes using the sparse observed context graph as the correct source state space, then composing this graph with a deterministic finite automaton representing the constraint. Backward dynamic programming on the reachable product gives exact conditional samples for a fixed finite-memory source. The main conceptual contribution is the identification and compilation of the correct finite-state source for variable-order Markov generation. The paper supports this with a small counterexample showing that first-order future-mass heuristics can produce the wrong posterior, exactness checks by enumeration, and a Bach Prelude pitch-generation experiment with final-pitch and anti-copy constraints.
Strengths and weaknesses
Pros
- The paper is technically clean and addresses a real gap in regular-constrained generation with variable-order Markov models. The distinction between first-order projected state, dense order-K state, and sparse observed-context state is useful, and the finite counterexample is effective: it shows that first-order future mass can not only be inaccurate but can prefer the wrong symbol.
- The proposed construction is conceptually simple but well motivated. Once the context graph is recognized as the right stochastic source, the product with the regular acceptor and the backward recursion follow naturally.
- The paper is also careful about the exactness condition: exact conditioning is for a fixed finite-memory source, while generation-time order policies such as longest-feasible backoff define a different sequential process unless encoded in the source state.
Cons
- The novelty is somewhat narrow. From an automata/weighted-automata perspective, the core inference algorithm is standard once the stochastic source is compiled. The paper acknowledges this, but the resulting contribution may be seen as a careful specialization rather than a major algorithmic advance.
- The experiments are limited. Exactness is verified only on tiny enumerated examples, and the larger experiment uses one pitch-only Bach corpus with one main family of anti-copy constraints. The paper itself notes that other corpora, determinization-heavy languages, richer symbolic event types, and memory-profile sweeps remain to be tested. There is no systematic comparison against optimized WFSA/WFST implementations, suffix-automaton variants, or practical constrained decoding baselines.
- The music evaluation is mostly structural rather than musical. The paper demonstrates satisfaction of anchor and anti-copy constraints, but does not evaluate perceived quality, stylistic fidelity, diversity, or failure modes. This is acceptable for an algorithmic paper, but the Bach example is a central empirical motivation, so the authors need to give either a stronger music analysis or exxperiments on other domains.
Questions
How large can the sparse context graph become on corpora with richer event alphabets, such as polyphonic symbolic music, chord symbols, or tokenized performance data? Please also address my concerns in Strengths And Weaknesses.
Limitations
yes
Paper formatting concerns
N/A
Final justification
The authors' response addressed my questions. I will maintain my score.
We thank the reviewer for the careful and high-confidence assessment, particularly for recognizing the real gap, the usefulness of the state-space distinction, and the care taken over fixed-source exactness versus generation-time order policies.
Scope of the novelty
We agree that the backward recursion and automata product are standard after the correct stochastic source has been supplied. The contribution is the missing source-identification and compilation step for variable-order/backoff generation, together with its exactness conditions. This is not only an engineering specialization:the Section 3 example proves that using a plausible but insufficient state can change the posterior dramatically. Support masking has TV distance 0.433, and first-order future weighting has TV distance about 0.900 and reverses the MAP choice. Dense order-K lifting is exact but requires up to |V|^K source states. The sparse observed-context construction gives the actual variable-order semantics while retaining data-dependent sparsity.
Scale with richer alphabets
Let N be the number of corpus events and K the maximum context order. Each corpus position contributes at most K context-continuation incidences, so the number of distinct observed contexts and distinct observed context-symbol edges is O(NK), even though the dense space contains |V|^K possible contexts. After composition, the worst-case bound is |Q||T| states and |Q||E_T| edges, but the implementation constructs only reachable product states and edges. A richer alphabet can increase branching and can make a larger fraction of that product reachable; a complex acceptor can also dominate. Thus sparsity removes the dense |V|^K dependence for a fixed corpus but does not claim immunity to corpus size, branching, or acceptor complexity.
The submitted Bach measurements provide one concrete scale point: at N=592, |V|=25, and K=6, the source has 3,587 observed contexts, while the reachable product has 1,205 states and 83,207 edges; dense lifting would expose 25^6 = 244,140,625 source states before the constraint product. BP remains below 0.10 s. The submitted horizon sweep reaches n=128 in 2.834 s and 53.6 MiB. We agree that polyphony, chord vocabularies, performance tokens, and determinization-heavy acceptors are important empirical stress tests; the paper explicitly lists these as limitations.
Comparisons
We agree that a broader optimized-baseline study would strengthen the work. As a limited post-submission check, we compared with the existing Continuator ContextBP implementation on its supported positional final-symbol constraint, reusing backward messages for 100 samples in both systems. At K=6, backward-message time is 15.506 ms for our implementation versus 34.761 ms for Continuator, and total construction, BP, and sampling time is 63.963 ms versus 80.378 ms. We omit MAXORDER in this comparison because that Continuator constraint interface does not support it. We do not present this as a comprehensive WFSA/WFST comparison.
Musical evaluation
We agree that perceptual quality, stylistic fidelity, and diversity would be necessary to claim musically superior output. The submitted paper makes no such claim: the rendered Bach sample is explicitly labeled a qualitative illustration rather than a quality evaluation. The empirical claims are structural and algorithmic - exact probabilities on enumerable cases, satisfaction of regular constraints, reachable-product size, runtime, and virtual augmentation equivalence. Tiny instances are necessary for exhaustive exactness verification; the larger experiment is used for scalability. A future application-focused study should add richer musical representations and listening or expert evaluation.
We hope this response clarifies both what the paper establishes and what it leaves open.