Metraipolis › archive › dc_72a23111be8c
Breaking the Space Barrier and its Application to Language Model Inference — arXiv:2610.09139
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.09139
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-08T11:08:59.138Z
- SHA-256 of the archived text
9f370e3604b9727cca9d00efa5c4e2ad1029d1b8afe2ebc926d0dc2e1ea14d79- Stable URL of this page
https://metraipolis.com/documento/dc_72a23111be8c
How to cite
Breaking the Space Barrier and its Application to Language Model Inference — arXiv:2610.09139 — arXiv (en), https://arxiv.org/abs/2610.09139 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_72a23111be8c (Metraipolis archive dc_72a23111be8c, sha256 9f370e3604b9727cca9d00efa5c4e2ad1029d1b8afe2ebc926d0dc2e1ea14d79)
BibTeX
@misc{dc72a23111be8c,
title = {Breaking the Space Barrier and its Application to Language Model Inference — arXiv:2610.09139},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.09139},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_72a23111be8c; sha256 9f370e3604b9727cca9d00efa5c4e2ad1029d1b8afe2ebc926d0dc2e1ea14d79},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.09139. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Language models are more and more often asked for structured output: JSON that follows a schema, or a tool call with typed arguments. A small machine, an automaton, enforces the format by forbidding the tokens that would break it. We observe that this machine has a rare property: from any of its states, each token leads along exactly one path. Graphs in which only a few paths join any two points are a classical object of complexity theory, and our theoretical result settles an open question about them: one can decide whether such a graph connects two points while verifying that it really has few paths, with very little memory. Precisely, the problem lies in the classes ReachUL, LOGDCFL, C=L and SC2, and needs only O(log2 n/ log log n) space, below the classical O(log2 n) of Savitch's theorem. The constructions behind the proofs become an inference engine: text the format forces is written without running the model, the mask is recomputed on the GPU without any table, recursive formats use a small stack, every output stays valid under a token limit, and independent fields are decoded in parallel and verified. On one 16 GB Apple M2 Pro with Qwen3.5-2B and 4B, against MLX with llguidance, the standard setup for this hardware, schema-constrained extraction finishes 1.2- 1.3x sooner with the same answers, a grammar costs 3 MB instead of up to 1.5 GB, one server holds sixteen grammars where tables run out of memory, and sixteen tool-calling agents finish 2.5x sooner. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Artificial Intelligence (cs.AI) ; Computational Complexity (cs.CC). Pagina del lavoro: https://arxiv.org/abs/2610.09139 — 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-08T10:14:05.907Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).