2025
Pre3: Enabling Deterministic Pushdown Automata for Faster Structured LLM Generation
ACL 2025long
Extensive LLM applications demand efficient structured generations, particularly for LR(1) grammars, to produce outputs in specified formats (e.g., JSON). Existing methods primarily parse LR(1) grammars into a pushdown automaton (PDA), leading to runtime execution overhead for context-dependent toke…