Metraipolis › archive › dc_f1e44eb80c7b
Constraints Are Graphs, Not Chains: Exact Decoding for Diffusion Language Models — arXiv:2609.32900
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.32900
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T20:56:15.615Z
- SHA-256 of the archived text
521607fd669eac63c35e2283e8ead4652e33758367a815cc0de1751d73dfdc59- Stable URL of this page
https://metraipolis.com/documento/dc_f1e44eb80c7b
How to cite
Constraints Are Graphs, Not Chains: Exact Decoding for Diffusion Language Models — arXiv:2609.32900 — arXiv (en), https://arxiv.org/abs/2609.32900 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_f1e44eb80c7b (Metraipolis archive dc_f1e44eb80c7b, sha256 521607fd669eac63c35e2283e8ead4652e33758367a815cc0de1751d73dfdc59)
BibTeX
@misc{dcf1e44eb80c7b,
title = {Constraints Are Graphs, Not Chains: Exact Decoding for Diffusion Language Models — arXiv:2609.32900},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.32900},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_f1e44eb80c7b; sha256 521607fd669eac63c35e2283e8ead4652e33758367a815cc0de1751d73dfdc59},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.32900. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Diffusion language models (dLLMs) predict masked positions in arbitrary order, but their exact constrained decoders still encode constraints as sequential languages, whose state must track every unresolved dependency between positions. For relational constraints this encoding grows exponentially: for same-order copy, every finite automaton needs $4^k$ states, deterministic or nondeterministic, and every context-free grammar has size $2^{\Omega(k)}$, while the factor graph of the same relation has size $O(k)$ and a 16-entry peak table. We introduce FactorDLM, a training-free decoder that represents finite-domain relations as a factor graph and, at each denoising step, conditions the model's mean-field prediction on that graph exactly by variable elimination. Decoding cost then grows exponentially with the induced width of the constraint graph, which replaces automaton size as the governing parameter. Because a finite automaton is a chain-shaped factor graph, one compiler enforces syntax and nonlocal relations together: on JSON records with cross-field references, a schema automaton alone leaves references dangling, relational factors alone produce malformed JSON, and the combined plan is valid on both counts, including on records of variable length. Across nine relational benchmarks and three backbones, every output satisfies every declared constraint at 0.4-6.9% projection overhead, where unconstrained decoding is 0-79% valid, and compiled projection answers repeated queries 13.6x faster than CP-SAT with eight parallel workers. Because model-free rules solve three of five standard benchmarks, we construct benchmarks with exact chance and fixed-template floors, on which selecting among exact constrained samples beats greedy projection. Which encoding is cheaper, sequential state or direct factors, depends on the constraint and is computable before decoding begins.
Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-29 in cs.AI).
Categorie arXiv: Artificial Intelligence (cs.AI) ; Formal Languages and Automata Theory (cs.FL).
Pagina del lavoro: https://arxiv.org/abs/2609.32900 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-07T20:29:01.030Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).