The DOI matches its DataCite record; 12 of the 21 references it cites were found in a registry or an index.
Efficient Guided Generation for Large Language Models
Open accessAbstract
In this article we show how the problem of neural text generation can be constructively reformulated in terms of transitions between the states of a finite-state machine. This framework leads to an efficient approach to guiding text generation with regular expressions and context-free grammars by allowing the construction of an index over a language model's vocabulary. The approach is model agnostic, allows one to enforce domain-specific knowledge and constraints, and enables the construction of reliable interfaces by guaranteeing the structure of the generated text. It adds little overhead to the token sequence generation process and significantly outperforms existing solutions. An implementation is provided in the open source Python library Outlines
Overview
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404 · cited 1×
“We are concerned with the problem of generating sequences of tokens from a large language model (LLM) [Vaswani et al., 2017, Radford et al., 2019] that conform to regular expressions or context-free grammars (CFGs).”
BackgroundNeural Machine Translation of Rare Words with Subword Units
Sennrich, R., Haddow, B., & Birch, A. (2016) · Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/p16-1162 · Cited by 974 · cited 2×
“The vocabularies, V, are composed of strings from a fixed alphabet [Sennrich et al., 2015] and N is often on the order of 104 or larger.”
BackgroundDille, G. E. (1930) · doi:10.1177/002205743011202012 · Cited by 802
PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Models
Scholak, T., Schucher, N., & Bahdanau, D. (2021) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2021.emnlp-main.779 · Cited by 407 · cited 1×
“…output usable under rigid formatting requirements that are either hard or costly to capture through fine-tuning alone [Beurer-Kellner et al., 2023, Scholak et al., 2021, Poesia et al., 2022a, Rabinovich et al., 2017, Weng, 2021, Dong et al., 2023, Poesia et al., 2022b, Geng et al., 2023, Wang et…”
BackgroundAbstract Syntax Networks for Code Generation and Semantic Parsing
Rabinovich, M., Stern, M., & Klein, D. (2017) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/p17-1105 · Cited by 368 · cited 1×
“…under rigid formatting requirements that are either hard or costly to capture through fine-tuning alone [Beurer-Kellner et al., 2023, Scholak et al., 2021, Poesia et al., 2022a, Rabinovich et al., 2017, Weng, 2021, Dong et al., 2023, Poesia et al., 2022b, Geng et al., 2023, Wang et al., 2023].”
BackgroundGrammar Prompting for Domain-Specific Language Generation with Large Language Models
Wang, B.-L., Wang, Z., Wang, X.-Z., Cao, Y., Saurous, R. A., & Kim, Y. (2023) · Neural Information Processing Systems · doi:10.48550/arxiv.2305.19234 · Cited by 144 · cited 1×
“…under rigid formatting requirements that are either hard or costly to capture through fine-tuning alone [Beurer-Kellner et al., 2023, Scholak et al., 2021, Poesia et al., 2022a, Rabinovich et al., 2017, Weng, 2021, Dong et al., 2023, Poesia et al., 2022b, Geng et al., 2023, Wang et al., 2023].”
BackgroundPrompting Is Programming: A Query Language for Large Language Models
Beurer-Kellner, L., Fischer, M., & Vechev, M. (2023) · Proceedings of the ACM on Programming Languages · doi:10.1145/3591300 · Cited by 117
Synchromesh: Reliable code generation from pre-trained language models
Poesia, G., Polozov, O., Le, V., Tiwari, A., Soares, G., Meek, C., & Gulwani, S. (2022) · arXiv · doi:10.48550/arxiv.2201.11227 · Cited by 72 · cited 1×
“…under rigid formatting requirements that are either hard or costly to capture through fine-tuning alone [Beurer-Kellner et al., 2023, Scholak et al., 2021, Poesia et al., 2022a, Rabinovich et al., 2017, Weng, 2021, Dong et al., 2023, Poesia et al., 2022b, Geng et al., 2023, Wang et al., 2023].”
BackgroundSequential Monte Carlo Steering of Large Language Models using Probabilistic ProgramsPreprint
Lew, A. K., Zhi‐Xuan, T., Grand, G., & Mansinghka, V. K. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2306.03081 · Cited by 71
Gasser, U., & Mayer-Schönberger, V. (2024) · doi:10.2307/jj.6605394 · Cited by 29
Flagged first, then by citations
9 of the 21 references couldn’t be matched to a known paper.
Research works printed but not linked: 1
- Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019.
Cited by
Sorted by citations
Items 101–200 of 268
Lexo: Eliminating Stealthy Supply-Chain Attacks via LLM-Assisted Program RegenerationPreprint
Lamprou, E., Dai, J., Ntousakis, G., Rinard, M., & Vasilakis, N. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2510.14522 · Cited by 1
GDC Cohort Copilot: an AI copilot for curating cohorts from the genomic data commons
Song, S., Subramanyam, A., Zhang, Z.-Y., Venkat, A., & Grossman, R. L. (2025) · Bioinformatics Advances · doi:10.1093/bioadv/vbaf295 · Cited by 2
SEAL: Speaker Error Correction using Acoustic-conditioned Large Language Models
Kumar, A., Paturi, R., Afshan, A., & Srinivasan, S. (2025) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp49660.2025.10890148
Open-domain Implicit Format Control for Large Language Model Generation
Yao, Y., Ma, W., Fang, X.-Z., Jiang, X., Li, X., Meng, X.-Y., Han, P., Li, J., Sun, A., & Wang, Y. (2024) · arXiv.org · doi:10.48550/arxiv.2408.04392 · Cited by 2
“We roughly categorize prevailing methodologies into four main groups: (i) Controlling the decoding process with external constraints, e.g. automata [24], grammar [7], and guided search [8].”
MethodLim, S., Kwon, H., & Kim, M. (2026) · IEEE Access · doi:10.1109/access.2026.3730474 · Cited by 1
“Several methods constrain the decoding to satisfy a known grammar or JSON Schema, including Outlines [8] and Microsoft Guidance, with reported gains on structured generation tasks.”
Flexible and Efficient Grammar-Constrained Decoding
Park, K., Zhou, T., & D'Antoni, L. (2025) · arXiv · doi:10.48550/arxiv.2502.05111 · Cited by 1
“While O UTLINES has the lowest preprocessing offline overhead, its seconds-per-token online overhead does not meet the needs of most practical applications of LLMs.”
InfluentialSchemaFill: Efficient LLM Tool Calling via Slot-Parallel Speculative DecodingPreprint
Chen, Z.-K., Li, S.-Y., Zhan, D., & Ye, H.-J. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.07086 · Cited by 1
“A tool runtime expects a machine-readable object whose tool names, argument keys, value types, and nesting satisfy predefined interface schemas (Willard & Louf, 2023; Dong et al., 2025; Geng et al., 2025).”
Twist, Don't Tilt: Trajectory-Exact Constrained Decoding for Masked Diffusion Models
Thimmaiah, A., Marinov, L., Srinivasa, J., Vikalo, H., Li, J. J., & Gligoric, M. (2026) · doi:10.48550/arxiv.2609.35609 · Cited by 1
“For each remaining datapoint, we compile the JSON schema into a regular expression with the Outlines library from Willard & Louf (2023) and transform that regular expression into a token-prefix automaton over the model vocabulary.”
Chen, K.-L., & Kuo, C.-W. (2026) · doi:10.48550/arxiv.2609.23582 · Cited by 1
“GCD masks illegal tokens according to a finite-state grammar [16]; it has improved structured IE in low-resource settings [17].”
Hashimoto, Y., Muramoto, T., Terada, H., Song, H., Wang, Y., & Tomai, T. (2026) · doi:10.48550/arxiv.2609.14928 · Cited by 1
“Constraining the output of the LLM to a structured JSON format suppresses variability in generation and enables programmatic validation before execution [27].”
HEPToolBench 1.2: Testing How Reliably Language Models Can Drive Particle Physics SoftwarePreprint
Singh, A., & Vempati, S. K. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2608.28232
“As a possible extension, grammar-constrained decoding could enforce the response grammar during generation [30, 31]; it would complement, rather than replace, domain validation.”
Dead text or binding clause? Measuring and restoring constraint influence in black-box LLM dialogues
Zhu, H. (2026) · arXiv.org · doi:10.48550/arxiv.2608.12599 · Cited by 1
“Structured-output modes constrain decoding to a schema (Willard & Louf, 2023); prefill fixes the opening tokens of a response; and format-restriction studies document a tension between enforced form and task performance (Tam et al., 2024; Sclar et al., 2024).”
Trie Automata for Constrained Decoding over Large Finite SetsPreprint
Xu, X., & Bouyarmane, K. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2608.12574 · Cited by 1
“Constrained decoding has become the standard mechanism for guaranteeing that LLM outputs conform to a schema (Willard & Louf, 2023; Geng et al., 2025).”
Lukáč, M., Duchoň, F., Ivan, J., Dekan, M., Zelenay, E., Kocúr, M., Trepáčová, I., Jurov, T., & Pšenka, R. (2026) · Applied Sciences · doi:10.3390/app16157849 · Cited by 1
“…reformulate that restriction as transitions between the states of a finite-state machine, which permits an index over the vocabulary to be constructed in advance so that generation can be guided by regular expressions or context-free grammars while adding little overhead to token generation [56].”
Frustratingly Simple Black-Box Adaptation of Language Models via Logit Bias
Cohen, O., Shani, L., Rosenberg, A., Samanta, A., Wagner, T., & Efroni, Y. (2026) · arXiv.org · doi:10.48550/arxiv.2607.22837 · Cited by 1
“Deploying frontier language models often requires adapting them to narrow operational needs: shorter reasoning traces, stricter output formatting, or improved accuracy on small, confidential in-house distributions [48, 47, 21, 58, 2].”
Pakull, T. M. G., Bender, N., Benson, S., Fleischhauer, A., Alsara, M., Gromke, T., Hilser, T., Kaminski, K., Pogorzelski, M., Prasuhn, N., et al. (2026) · Journal of Medical Internet Research · doi:10.2196/99136 · Cited by 1
“Structured generation [9] addresses this by constraining fixed structural elements via predefined schemas and has been shown to improve format adherence and reduce hallucination rates in clinical note generation [10].”
Output Format x Model Identity: Interaction Effects in Single-Round Coding Agent Performance
Yang, Y. (2026) · arXiv.org · doi:10.5281/zenodo.21505157 · Cited by 1
“Structured generation research has focused on constrained decoding and guided generation [10] to ensure syntactically valid outputs; these techniques underpin JSON mode in modern LLM APIs.”
UTS at CheckThat! 2026: Cite-Frame Engineering for Generated Fact-Checking ArticlesPreprint
Galat, D., & Rizoiu, M.-A. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2608.24466
AI Native Games: A Survey and RoadmapPreprint
Xu, Z., Meng, F., Xu, K., Verbrugge, C., Lucas, S., & Zhao, J. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2607.00527 · Cited by 2
“Several techniques compose this loop: structured generation [51], [52] forces outputs into schemas, function calling [53], [54] restricts state changes to engine-supported operations, constraint solvers [55] check levels and puzzles, simulation tests whether generated scenarios are winnable [17],…”
Agentic AI CPE: Traffic Steering Via Small Language Models and Zero-Shot Forecasting
Sguotti, G., Troia, S., & Maier, G. (2026) · IEEE Conference on Network Softwarization · doi:10.1109/netsoft70012.2026.11603511 · Cited by 1
The Alignment Problem in Constrained Code GenerationPreprint
Biagiola, M., Cesario, J. G., Grazia, L. D., Zakhour, G., & Salvaneschi, G. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2606.21619
NTILC: Neural Tool Invocation via Learned Compression
Krikorian, A., Li, Y., & Corso, J. J. (2026) · arXiv.org · doi:10.48550/arxiv.2606.06566 · Cited by 1
Sundar, N., & Morabia, T. (2026) · arXiv.org · doi:10.48550/arxiv.2606.01513 · Cited by 1
“Recent guided-generation work reformulates constrained neural decoding through finite-state machines and grammar constraints, improving reliability for structured interfaces [19].”
EPIC: Efficient and Parallel Inference under CFG Constraints for Diffusion Language Models
Jin, H., & Han, Y.-S. (2026) · arXiv.org · doi:10.48550/arxiv.2606.00722 · Cited by 1
“This approach enables CFG constraints for diffusion language models and multi-region in-filling, but it requires repeated lexing, automaton construction, DFA minimization, and intersection-based emptiness checking during decoding.”
Islam, M. Z., Manik, M. M. H., & Wang, G. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2606.20608
“Constrained and schema-guided generation methods [32]–[34] reduce brittleness by forcing model outputs to satisfy formal structure.”
TruncProof: A Guardrail for LLM-based JSON Generation under Token-Length Constraints
Kato, Y., & Tarashima, S. (2026) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn69854.2026.11729019
“Outlines [8] improves the efficiency of Regex-based generation by precomputing valid token sets for each DFA state.”
Angus, S. D. (2026) · Data & Policy · doi:10.1017/dap.2026.10063
“According to such typologies, tracking of public narratives related to social cohesion and democratic resilience, sits in the ‘active listening’ category, and, according to Martino seeks to enhance democratic and foreign policy objectives by promoting trust and understanding.”
Copy-as-Decode: Grammar-Constrained Parallel Prefill for LLM Editing
Liu, Z. (2026) · arXiv.org · doi:10.48550/arxiv.2604.18170 · Cited by 1
“Structured constrained decoding enforces an output grammar at the token level: PICARD [23] monitors partial SQL for well-formedness; Outlines [27] formulates decoding as finite-state intersection by compiling regular expressions and context-free grammars into token-level FSMs with a vocabulary…”
Harness as an Asset: Enforcing Determinism via the Convergent AI Agent Framework (CAAF)Preprint
Zhang, T. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2604.17025 · Cited by 1
“Systems such as Guidance [Microsoft Research, 2023] and Outlines [Willard and Louf, 2023] enforce constraints at the token level by masking the decoder’s output distribution.”
One Token Away from Collapse: The Fragility of Instruction-Tuned HelpfulnessPreprint
Potraghloo, E. B., Azizi, S., Kundu, S., & Pedram, M. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2604.13006 · Cited by 1
“Grammar-constrained decoding (GCD) [Willard and Louf, 2023, Geng et al., 2023] masks invalid tokens to guarantee structural compliance, while grammar-aligned decoding [Park et al., 2024] corrects the distribution distortion GCD introduces.”
RecaLLM: Addressing the Lost-in-Thought Phenomenon with Explicit In-Context RetrievalPreprint
Whitecross, K., & Rahimi, N. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2604.09494 · Cited by 1
“Grammar-constrained systems (Willard & Louf, 2023; Dong et al., 2025) and entity-constrained generation (De Cao et al., 2021) use logit masking to enforce structural constraints from a fixed grammar or candidate set. k NN-LM (Khandelwal et al., 2020) takes a softer approach, interpolating the LM’s…”
Geometric Risk Control for Vision-Language Model OCRPreprint
Gong, W., Lu, Z., Chen, M., Zuo, Y., He, X., & Fan, W. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2603.19790 · Cited by 2
MSRAMIE: Multimodal Structured Reasoning Agent for Multi-instruction Image Editing
Qiu, Z.-Y., Chen, K., Wang, X.-W., Xia, Y., Seneviratne, S., & Halgamuge, S. K. (2026) · arXiv.org · doi:10.48550/arxiv.2603.16967 · Cited by 1
“The Instruction Generator is implemented with an MLLM backend using guided decoding [43,54] to enforce structured output formatting.”
Hu, R., Wu, Y., Su, T.-H., Wang, Y., Hu, S.-B., & Huang, J.-Z. (2026) · arXiv.org · doi:10.48550/arxiv.2602.16551 · Cited by 1
“To transform the extracted knowledge into a queryable format, we enforce a Schema-Constraint Decoding strategy [34].”
BEAVER: An Efficient Deterministic LLM Verifier
Suresh, T., Wadhwa, N., Banerjee, D., & Singh, G. (2025) · arXiv.org · doi:10.48550/arxiv.2512.05439 · Cited by 1
OpenGloss: A Synthetic Encyclopedic Dictionary and Semantic Knowledge Graph
Bommarito, M. (2025) · arXiv.org · doi:10.48550/arxiv.2511.18622 · Cited by 1
“Frameworks for structured generation have emerged as critical infrastructure for reliable knowledge production. pydantic-ai [28] provides type-safe agents with schema validation, while constrained decoding methods [19, 41] ensure outputs conform to formal grammars.”
Fei, Z., Turali, M. Y., Rajesh, S., Dai, X., Pham, H., Holur, P., Zhu, Y., Mooney, L. J., Hser, Y., & Roychowdhury, V. (2025) · arXiv.org · doi:10.48550/arxiv.2510.21027 · Cited by 1
“This method guarantees syntactically correct, structured data and has been shown to improve task performance by eliminating parsing errors [19].”
Lawrence, L., Saha, O., Wei, M., Sun, C., Maji, S., & Horn, G. V. (2026) · IEEE Winter Conference on Applications of Computer Vision · doi:10.1109/wacv61042.2026.00145
“B. Implementation Details Constrained decoding is implemented using the Outlines 2 library [46] and classes for each setting are detailed in Sec.”
DELM: a Python toolkit for Data Extraction with Language ModelsPreprint
Fithian, E., & Skobelev, K. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2509.20617 · Cited by 1
“Techniques such as few-shot prompting [Brown et al., 2020], fine-tuning [Wei et al., 2022], and prompt engineering [Schulhoff et al., 2025] steer models toward high-quality extractions, while constrained decoding and token masking can enforce structured formats [Willard and Louf, 2023].”
A DbC Inspired Neurosymbolic Layer for Trustworthy Agent DesignPreprint
Leoveanu-Condrei, C. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2508.03665 · Cited by 2
“Recent work on grammar-constrained generation offers promising mitigation strategies [38, 15, 29].”
First Steps Towards Overhearing LLM Agents: A Case Study With Dungeons & Dragons Gameplay
Zhu, A., Osgood, E., & Callison-Burch, C. (2025) · arXiv.org · doi:10.48550/arxiv.2505.22809 · Cited by 1
“For open-weight models, we used a ReAct prompt and guided decoding to enforce a “thinking” step and JSON tool invocations (Yao et al., 2023; Willard & Louf, 2023).”
Lomovtsev, A. (2026) · IEEE Access · doi:10.1109/access.2026.3710434
“Grammar-constrained decoding enforces well-formedness during generation itself [65], [66], [67].”
pyhgf: A neural network library for predictive coding
Legrand, N., Weber, L., Waade, P. T., Møller Daugaard, A. H., Khodadadi, M., Mikuš, N., & Mathys, C. (2026) · PLOS Computational Biology · doi:10.1371/journal.pcbi.1014340
“Overall, the results suggest good reliability of the inferred posterior density, as both empirical means were included in the 94% highest density interval (HDI) of the population estimates.”
Semantic Probabilistic Control of Language Models
Ahmed, K., Belem, C. G., Smyth, P., & Singh, S. (2025) · arXiv
“…computation graph of generations satisfying the constraint, which we can then proceed to probabilistically reason about, exactly when possible (Ahmed et al., 2022), and otherwise approximately (Willard & Louf, 2023; Zhang et al., 2024a; Koo et al., 2024; Lundberg et al., 2024; Ahmed et al., 2025).”
A Symbolic-Neural Framework for Context-Aware Evidence Extraction from Mobile SQLite Databases
Khatiwala, J. P., Patel, D., Xu, D.-X., & Xu, W.-F. (2026) · doi:10.48550/arxiv.2611.03323
“The CSC constraints are guided generation (Willard & Louf, 2023) at the level of evidence types rather than tokens.”
FactorSpec: Serving Exact Relational Constraints as Speculative Drafts
Su, J.-C., Xiang, D.-W., & Zhang, W. (2026) · doi:10.48550/arxiv.2611.02297
“…a drafter, so serving engines can treat exactness as a source of speed. stop between two values if the next step’s message has arrived 14: end for 15: poll for the next message for up to 1 s, then block number of slots, and the allocation kept is the one with the most tokens per unit of step time.”
Che, X., Xu, D., & Du, X. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2611.01352
Decompose, Don't Expand: Capability-Independent AI Systems by ConstructionPreprint
Gowda, T. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.38144
“Constrained decoding and grammars [9, 27, 32, 34] are a tool we use, not the thesis; we measure it as one rung of the ladder (Figure 3, Table 2) and find it improves on bare prompting but not on scaffolding, and does not produce the flat curve that host resolution does.”
FlashScript: Compiling Recurring Agent Workflows into Reusable Neuro-Symbolic Programs
Sabouri, S., Hasanbeig, H., Sage, A., Sinha, S., Darling, C., Tiwari, A., Garms, K., Chattopadhyay, S., & Gulwani, S. (2026) · doi:10.48550/arxiv.2610.33876
“The NSP selects its inputs, checks that the response has the expected type [24]–[26], and makes the call at a fixed point in the code.”
Verma, A. (2026) · doi:10.48550/arxiv.2610.33949
“Willard and Louf (2023) compile regular expressions into finite-state machines and Dong et al. (2025) use pushdown automata for context-free grammars; Geng et al. (2025) evaluate six frameworks over ten thousand real-world JSON Schemas and find that support for schema features varies substantially…”
Cao, S., Ma, J., Chai, W., Tian, Y., Du, L., & Zheng, D. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.30920
“In autoregressive (AR) models, schema compliance is enforced by masking invalid next tokens for a fixed left-to-right prefix (Willard & Louf, 2023; Moskal et al., 2025; Dong et al., 2025).”
Compiling Autoregressive LLM Control into Policy-Exact Parallel Inference for Hierarchical RAG
Lin, Z., Shen, Q.-F., Hao, X.-X., Cui, S.-B., Li, C.-Y., Chen, K., Tang, B., Wang, Z.-J., Yan, J., Li, Z.-Y., et al. (2026) · doi:10.48550/arxiv.2610.30664
“Grammar-and schema-constrained decoding [5, 6, 11, 12] enforces validity but keeps the serial path; first-token logit selection [13] avoids decoding but aban-dons the sequential policy, inheriting label-position sensitivities [14, 15].”
Metamodel-Guided LLM Decoding for Consistent DSL GenerationPreprint
Chen, B., Babikian, A. A., & Lopez, J. A. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.29749
“The core idea is to maintain a parser state induced by the output and, at each decoding step, mask tokens that would make the output impossible to extend into a syntactically valid sequence [26], [28].”
When Should Enterprise Policy Decisions Be Learned, and When Should They Be Reasoned?Preprint
Han, H., Kang, R., Kim, Y., & Jeon, S.-H. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.17643
“Making a language model emit a well-formed structure is usually treated as a decoding problem: finite-state or grammar-constrained decoding masks the vocabulary so that only valid continuations remain [Willard and Louf, 2023, Geng et al., 2023].”
Rebouças, R. O. M., Foohs, M. M., & Vicari, R. (2026) · Journal of the Brazilian Computer Society · doi:10.5753/jbcs.2026.8589
“Under such a regime the structural failures reported in Table 3 would very likely disappear for every family, as the literature on grammar-constrained generation documents for sub-7 B models [Willard and Louf, 2023; Dong et al ., 2024].”
Hammami, W., Azam, I., & Cherkaoui, S. (2026) · doi:10.48550/arxiv.2610.33007
“Grammar-constrained decoding has been shown to enforce structural validity at the token level [18– 20], while knowledge-guided approaches show that grounding LLM reasoning in structured domain knowledge improves faithfulness and reduces hallucination [21], [22].”
CM-DPO: Constraint-Margin Direct Preference Optimization for LLM Planning
Karanjai, R., Gu, Q.-H., Madhavarao, H. H., Sun, W.-H., Yu, X.-J., Hada, S. S., George, L. N., Kona, U., Williamson, R., Pang, L., et al. (2026) · doi:10.48550/arxiv.2610.09219
Breaking the Space Barrier and its Application to Language Model Inference
Asadulaev, A. (2026) · doi:10.48550/arxiv.2610.09139
“This is constrained decoding , and libraries such as llguidance [23], Outlines [35] and XGrammar [11] provide it.”
CroissantMiner: Automated Extraction and Validation of Croissant Metadata for ML Datasets
Arda, B., Yavuz, A., Gerry, P., Lobentanzer, S., Sarwar, N., Giner-Miguelez, J., Chen, K.-T., Zhang, L.-Y., Sachan, M., & Akhtar, M. (2026) · doi:10.48550/arxiv.2610.07132
“For guaranteeing schema-conformant output, constrained decoding [Willard and Louf, 2023] enforces structural validity during generation, while specialized models like NuExtract [NuMind, 2024] are purpose-built for template-guided JSON extraction.”
SharedKV-BT: Node-Local Typed Decisions for Behavior-Tree AgentsPreprint
Wake, N., & Wagle, J. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.07327
From Brownfield CLI to Intent Models: A Guardrailed Agentic Translation Workflow
Suvarna, N., Pappu, K., Sharma, S., & Ageze, B. (2026) · Conference on Local Computer Networks · doi:10.1109/lcn67947.2026.11660787
Mingbird: A Local-First Agent Harness Enabling Small Open Models to Complete Real TasksPreprint
Wang, H., & Huang, T. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.02001
“Strict schema enforcement is the standard alternative; grammar-constrained decoding engines [47–49] and schema-emission benchmarks [50] map its costs, and how much output-format restrictions cost a model is actively debated [51]; for 2–9B models we adopt rescue-with-feedback instead of strict…”
Pornpichitsuwan, P., Pachtrachai, K., & Kraisingkorn, T. (2026) · doi:10.48550/arxiv.2610.18881
GrammarRL: Effective Grammar-Constrained Decoding via Reinforcement LearningPreprint
Tuccio, G., Furnari, A., Aldo Gangemi, A., & Mongiovı̀, M. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2609.39869
“Outlines supports regular expressions and context-free grammars (Willard & Louf, 2023), SynCode provides sound and complete CFG-based masking (Ugare et al., 2025), DOMINO addresses the mismatch between grammar terminals and subword vocabularies (Beurer-Kellner et al., 2024), and XGrammar combines…”
Kourtis, M., & Xilouris, G. (2026) · doi:10.48550/arxiv.2609.33689
“…the output domain but reduces accuracy, since it removes the free-text reasoning pass on which the model relies [3], even when M.-A. Kourtis and G. Xilouris are with the National Centre for Scientific Research “Demokritos” (NCSRD), Athens, Greece. the constraint itself is enforced efficiently [4].”
Native Association: Confidence-Aware Human Perception in the Wild with a Foundation VLM
Dmitriev, I., & Liba, O. (2026) · doi:10.48550/arxiv.2609.33450
“…as discrete tokens [2], Kosmos-2 grounds phrases to regions [22], and Florence-2 unifies detection, captioning, and OCR in one prompt-conditioned decoder over a DaViT backbone [5,30]— as is constrained decoding for entity linking [4], text-to-SQL [24], and general grammar-constrained LLMs [28].”
Externalized CPDAG Summaries Improve LLM Causal DeductionPreprint
Sun, W., Nogueira, J. P., Verchere, D., Acher, M., & Silva, A. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2609.31071
“We make the latent object more specific: the intermediate is a CPDAG summary, emitted under regex-or JSON-schema-constrained decoding [Willard and Louf, 2023, Dong et al., 2024], and compared against a strong direct-answer PC baseline.”
Closed-World Resolution Against Tool Hallucination in LLM Agents
Iyer, L. (2026) · doi:10.48550/arxiv.2609.19425
“Grammar-constrained decoding [14] can prevent malformed syntax and, if the grammar is derived from the live registry, can prevent H1 at generation time; it does not address H4 (a syntactically perfect off-frontier call) or the H5 residue, and it couples the defense to the decoder rather than the…”
AKTS: Sub-Microsecond Kernel Policy Switching for Language-Model Agents
Khodabandehlou, M., & Alizadeh, M. (2026) · doi:10.48550/arxiv.2609.12276
“Constraining decoding to { 0 , 1 } [13] changes nothing, so the failure at these scales is the decision, not the output format.”
Fang, Y., Liu, Y., & Xing, L. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2609.10537
From Fixed Keys to Readable Schemas: Small Language Models for Vehicle Agent Function Calls
Asl, H. J., Yu, Y.-H., & Nia, V. P. (2026) · doi:10.48550/arxiv.2609.09476
“Both representations are complementary to structured-output and grammar-constrained decoding (Willard and Louf, 2023; Geng et al., 2023), which guarantee well-formed calls and can be combined with either; a constraint built from the offered set can also block unavailable functions, but it cannot…”
The First Token Is Not the Verdict: Hidden Costs of Reading LLM Judges Without Generating
Villuri, G., Shaik, H., & Doboli, A. (2026) · doi:10.48550/arxiv.2610.00054
“Constrained decoding masks every illegal token, so a verdict is produced by construction [Willard and Louf, 2023].”
ENEAS: Embedding-guided Neural Ensemble for Adaptive Segmentation
del Pino, J., Rodríguez, S., Garabito, A., Álvarez, J., & Garabito, C. (2026) · doi:10.48550/arxiv.2609.03756
“Constrained decoding [67] makes their verdicts machine-readable, and cascades that reserve expensive models for hard inputs [ 8], or abstain when uncertain [20], trade accuracy against cost.”
Xiong, X.-K., Xu, Z.-J., Chen, J.-Y., Bai, S.-H., Gong, R.-H., & Liu, X.-L. (2026) · IJCAI/ECAI · doi:10.24963/ijcai.2026/267
Tarannum, A., Mohammed, M. A., Mandalawi, S. A., Cakmak, M. C., & Talburt, J. R. (2026) · Knowledge · doi:10.3390/knowledge6030023
“For structured output, post-hoc JSON extraction was selected instead of constrained decoding because it is model-agnostic and compatible with common local serving frameworks [22].”
Chen, H., & Zhu, Z.-Y. (2026) · Italian National Conference on Sensors · doi:10.3390/s26185794
“Constrained generation can improve format validity [40], but a constrained action vocabulary does not itself prove that an action was authorized.”
Grammar-State Aware Beam Search for Enhancing Structural Diversity in LLM Generation
Hua, H.-T., Su, J.-M., Yao, Y.-P., & Zhu, F. (2026) · IJCAI/ECAI · doi:10.24963/ijcai.2026/639
“To ensure the structural integrity of outputs such as JSON or code, constrained decoding frameworks like Out-lines [Willard and Louf, 2023] and XGrammar [Dong et al. , 2025] utilize grammar-based schemas to filter the model’s vocabulary at each step.”
Verifiable and Reproducible LLM-Based Extraction of AAS Constraints from IDTA Submodel Template PDFs
Jannatabadi, M. H. K., Heppner, S., Miny, T., & Kleinert, T. (2026) · IEEE International Conference on Emerging Technologies and Factory Automation · doi:10.1109/etfa68377.2026.11725266
“JSON Schema [22] provides the structural target, and constrained-decoding engines such as Outlines [23], Microsoft Guidance [24], and lm-format-enforcer [25] enforce schema conformance by masking invalid tokens during generation.”
Lot Machine: Multimodal Lot Extraction from Auction Catalogs
Zinnen, M., Mund, A., Lang, S., Hüttner, L., Gorges, T., & Christlein, V. (2026) · arXiv.org · doi:10.48550/arxiv.2608.30510
“To prevent structural hallucinations, recent frameworks employ Logit-level constrained decoding [34], which uses a Finite State Machine to deterministically guide the VLM into generating perfectly formatted JSON.”
Learning to Follow In-Context Watermark Instructions via Self-DistillationPreprint
Liu, Y., Chen, T., Zhao, X., Song, D., & Bu, Y. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2608.29030
“The instruction-following (IF) capability of large language models (LLMs) has been studied primarily as a lever for controllability [1–3], powering applications such as formatted generation [4, 5] and tool-using agents [6–9].”
InfluentialHou, H., Meng, F.-X., Zhao, S., Yang, K.-R., Cai, M., Ruan, L., & Wang, Q.-N. (2026) · arXiv.org · doi:10.48550/arxiv.2608.28435
“We employ Grammar-Constrained Decoding (GCD), implemented via the Guidance framework (Willard and Louf 2023), which provides a mechanism to inject hard constraints during decoding to ensure output validity.”
Provenance Before Prose: Claim-Locked Reporting
Fan, X., Li, J.-Y., Guo, H.-B., Han, Y.-B., & Zhang, Y. (2026) · Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing · doi:10.48550/arxiv.2608.25336
“Text-level control includes prompting, retrieval [Lewis et al., 2020], structured output [Willard and Louf, 2023, Beurer-Kellner et al., 2023], and post-hoc verification [Manakul et al., 2023].”
Chermsirivatana, T., & MacCormick, J. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2608.25761
“Efficient implementations are built on finite-state or stack-based machines, including regular-expression constraints [Willard and Louf, 2023] and high-throughput grammar engines [Dong et al., 2025].”
VLM-guided retrieval augmented generation (RAG) for robot action prediction
Kuster, B., Marić, N., Aziz, F., Koloski, B., Gams, A., & Ude, A. (2026) · Frontiers in Neurorobotics · doi:10.3389/fnbot.2026.1894674
Meta-Ctrl: Guaranteed Plan Generation by Decoupling Syntactic and Semantic Constraints
Yidou-Weng, G., Sun, E., Ma, T.-Y., Dogan, M. A., Wang, B.-J., Peng, A., den Broeck, G. V., & Cui, Y.-C. (2026) · arXiv.org · doi:10.48550/arxiv.2608.22149
“Grammar-constrained decoding (GCD) [14, 15, 16], the closest to ours, masks at each decoding step any token that would violate the grammar.”
BiasMix-Finance: Post-Generation KYC Guardrails for LLM Portfolio AdvicePreprint
Kukreja, G., Kukreja, P., Abraar, M., Dandekar, R., Dandekar, R., & Panat, S. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2608.28646
“Complementary work emphasizes auditing and verification of LLM outputs in high-stakes settings via structured outputs, validation checks, and feedback loops [24, 26], and constrained/guided decoding provides guarantees for lexical or structural constraints [17, 31].”
Curate Before You Connect: Identity and Ontology Tagging in a Production Knowledge Graph
Dangaich, V., Lewis, K., & Pundalik, K. (2026) · arXiv.org · doi:10.48550/arxiv.2608.10644
The Parser Already Knows: Lightweight Bias Correction in Constrained Decoding
Özgü, I., Wu, Y., den Broeck, G. V., & Kim, M. (2026) · arXiv.org · doi:10.48550/arxiv.2608.10137
“Grammar Constrained Decoding (GCD) methods (Ugare et al. 2025; Dong et al. 2025; Park, Zhou, and D’Antoni 2025; Willard and Louf 2023; Beurer-Kellner, Fischer, and Vechev 2024) 1 address this by masking non-conforming log-its at each decoding step.”
InfluentialPolicyKG: An Agentic LLM Pipeline for Translating Institutional Policies into SHACL Knowledge Graphs
Kaewsawee, P., Silpasuwanchai, C., & Anutariya, C. (2026) · arXiv
“Schema-constrained and grammar-guided generation [23,7] forces LLM outputs into well-typed structures, addressing the syntactic side of structured output.”
Xu, S. (2026) · World Wide Web · doi:10.1007/s11280-026-01427-6
“Traditionally, Knowledge Graph Construction (KGC) relied on pipeline-based information extraction, employing supervised models like BERT for Named Entity Recognition (NER) and Relation Extraction (RE) [ 25].”
Schema-Guided Hierarchical Information Extraction and Semantic Evaluation Using Generative AI
Mitra, M., Versteeg, J.-W., Schermer, M., Najafabadi, S., Bruin, M. D. D., & Bloem, L. (2026) · arXiv.org · doi:10.48550/arxiv.2608.06167
“Structured information extraction via constrained decoding has become common practice in the past couple of years [18]– [21].”
Kim, M., Park, T., Park, K., & Bae, H. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2608.04464
“Scholak et al. [27], Geng et al. [25], and Willard and Louf [28] guaranteed valid output formats by removing tokens that violate a predefined structure from the probability distribution at every generation step.”
Modeling Video Ads with Structured Semantics for CTR Prediction
Tanabe, Y., Masuda, S., Ryu, G., Katsuya, R., & Yamasaki, T. (2026) · Conference on Multimedia Information Processing and Retrieval · doi:10.1109/mipr70517.2026.00041
“To assess the effectiveness of the regeneration pipeline, we compared it with a general structured output method, Outlines [32].”
RegAct: A Registry-Constrained Text-to-Action Framework with Closed-Loop Execution for Edge Robots
Zhong, Z., Xu, W., & Ma, Y. (2026) · WRC Symposium on Advanced Robotics and Automation (WRC SARA) · doi:10.1109/wrcsara71458.2026.11732547
“Constrained generation methods such as PICARD, grammar-constrained decoding, LMQL, and guided generation reduce invalid outputs by enforcing parsers, grammars, or finite-state constraints [12]– [15].”
Ruiz-Torrubiano, R., Buckchash, H., Paudel, S., & Dhungana, D. (2026) · Software · doi:10.3390/software5030033
“Recent work has focused on grammar constrained decoding (GDC) as one specific way of enforcing syntactic constraints at the LLM decoding stage [6,22].”
Brunet, L. (2026) · Journal International de Technologie de l Innovation de la Physique de l Energie et de l Environnement · doi:10.52497/jitipee.v10i1.416
“La production de sorties structurées (JSON) par un LLM peut être obtenue au décodage — génération guidée par automate ou grammaire [30, 31], qui garantit la validité syntaxique sans entraînement — ou apprise par fine-tuning, à l'instar de Gorilla [32] où un LLaMA fine-tuné dépasse GPT-4 en…”
Zhang, Q.-H. (2026) · arXiv.org · doi:10.48550/arxiv.2607.18821
“Constrained decoding systems such as LMQL and Outlines constrain token generation against precomputable languages [9, 10].”
Pareschi, R. (2026) · arXiv.org · doi:10.48550/arxiv.2607.18961
“…formal grammar during generation: PICARD does so incrementally for SQL (Scholak et al., 2021), Synchromesh for several target languages via completion engines (Poesia et al., 2022), and grammar-guided generation frameworks make the hard-masking regime generic and efficient (Willard and Louf, 2023).”
Persona-as-Configuration: Generative Stakeholder Reporting for Agricultural Floods
Larsen, O. A., Santilli, T., Daghero, F., & Moghaddam, M. T. (2026) · European Conference on Software Architecture · doi:10.48550/arxiv.2607.17774
“Among the patterns of § 6.2, M3 (schema-constrained generation [28]) and M4 (abstention) are the obvious next prototypes: largest reliability gain for smallest implementation cost.”
InfluentialXu, S., Chen, Z., Wang, J., Huang, B., Jia, K., Zhu, J., & Xu, Y. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2607.11183
Metadata
- Authors
- Willard, B. T., & Louf, R.
- ORCID
- Louf, Rémi
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2023
- ISSN
- 2331-8422 (ISSN-L)
- arXiv
- 2307.09702
- OpenAlex
- W4385014449
- Cited by
- 27
- References
- 21
- Citations by year
- 2026: 7 · 2025: 12 · 2024: 7 · 2023: 1
- Type
- posted content
- Language
- en
- Open access
- green
- arxiv.org
- Licence
- Locations
- arXiv (Cornell University) (submittedVersion, cc-by)
- arXiv (Cornell University) (cc-by)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Speech and dialogue systems
- Keywords
- large language models, finite automata, regular expressions, context-free grammars, domain-specific constraints
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review