Research map / Large language models / Reasoning and chain of thought
Pre³: Enabling Deterministic Pushdown Automata for Faster Structured LLM Generation
Junyi Chen, Shihao Bai, Zaijun Wang, Siyu Wu, Chuheng Du, Hailong Yang, Ruihao Gong, Shengzhong Liu, Fan Wu, Guihai Chen
Shanghai Jiao Tong University · Beihang University · SenseTime
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Replace PDA-based XGrammar with DPDA-based Pre3 | XGrammar · JSON, Llama-3-8B, batch 128 | per-step decode time (ms): 65.21 -> 45.32 | Improved |
| Replace XGrammar with Pre3 | XGrammar · JSON, Llama-3-8B, batch 512 | per-step decode time (ms): 147.64 -> 104.46 | Improved |
| Replace XGrammar with Pre3 | XGrammar · JSON, DeepSeek-V2-Lite-Chat, batch 128 | per-step decode time (ms): 104.06 -> 61.63 | Improved |
| Replace XGrammar with Pre3 | XGrammar · JSON, Qwen2-14B INT8, batch 32 | per-step decode time (ms): 47.94 -> 47.94 | No clear effect |
| Replace XGrammar with Pre3 | XGrammar · JSON, Llama-2-70B, batch 32 | per-step decode time (ms): 55.12 -> 54.24 | No clear effect |
| Replace XGrammar with Pre3 at larger batch sizes | XGrammar · JSON, Llama-2-70B | per-step decode time (ms): 85.92 -> 75.72 | Improved |
| Replace XGrammar with Pre3 at small batch size | XGrammar · per-step overhead, Llama-3-8B, batch 1 | per-step decode time: 0.5531 -> 0.5172 | Improved |
| Replace XGrammar with Pre3 in end-to-end serving | XGrammar · burst throughput at high concurrency | throughput: up to 20% higher | Improved |
| Add grammar-constrained decoding with XGrammar | unconstrained Llama-3-8B · batch size 512 | per-token latency (ms): 92.23 -> 147.64 | Hurt |
Later papers that compared with this method
1 later accepted paper reports Pre3 as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.
- Gram2Token: Enabling Run-time GPU-Native Grammar-Constrained Decoding for LLMs (ICML 2026 · better on 6 of 7 shared results)
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in efficient LLM serving
Do efficient-serving and inference-saving methods hold up on larger models, other hardware and real workloads?
- Measured on one GPU type or one server only. · 21 papers state it
- Tested only on models of 12B parameters or fewer. · 13 papers state it
- Predictors and latency models need per-model profiling and lose accuracy off-distribution. · 13 papers state it
Closest papers by meaning
- Yggdrasil: Bridging Dynamic Speculation and Static Runtime for Latency-Optimal Tree-Based LLM Decoding (NeurIPS 2025 · similarity 0.89)
- Earley-Driven Dynamic Pruning for Efficient Structured Decoding (ICML 2025 · similarity 0.88)
- Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads (ICML 2024 · similarity 0.88)
- Fast-dLLM++: Fr\'echet Profile Decoding for Faster Diffusion LLM Inference (NeurIPS 2026 · similarity 0.87)
- Constrained Decoding for Diffusion Language Models via Efficient Inference over Finite Automata (NeurIPS 2026 · similarity 0.87)
- Efficient Test-Time Scaling via Hierarchical Search and Self-Verification for Discrete Diffusion Language Models (ICML 2026 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.