scimeatlas

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

ACL 2025Large language models › Reasoning and chain of thoughtapproach: Efficient LLM servingopen problems in this approach

Shanghai Jiao Tong University · Beihang University · SenseTime

Read the paperPlace an idea next to itCheck your own paper ↗

9measured effects
6improved
2no clear effect
1hurt

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 changedWhereMeasuredEffect
Replace PDA-based XGrammar with DPDA-based Pre3XGrammar · JSON, Llama-3-8B, batch 128per-step decode time (ms): 65.21 -> 45.32Improved
Replace XGrammar with Pre3XGrammar · JSON, Llama-3-8B, batch 512per-step decode time (ms): 147.64 -> 104.46Improved
Replace XGrammar with Pre3XGrammar · JSON, DeepSeek-V2-Lite-Chat, batch 128per-step decode time (ms): 104.06 -> 61.63Improved
Replace XGrammar with Pre3XGrammar · JSON, Qwen2-14B INT8, batch 32per-step decode time (ms): 47.94 -> 47.94No clear effect
Replace XGrammar with Pre3XGrammar · JSON, Llama-2-70B, batch 32per-step decode time (ms): 55.12 -> 54.24No clear effect
Replace XGrammar with Pre3 at larger batch sizesXGrammar · JSON, Llama-2-70Bper-step decode time (ms): 85.92 -> 75.72Improved
Replace XGrammar with Pre3 at small batch sizeXGrammar · per-step overhead, Llama-3-8B, batch 1per-step decode time: 0.5531 -> 0.5172Improved
Replace XGrammar with Pre3 in end-to-end servingXGrammar · burst throughput at high concurrencythroughput: up to 20% higherImproved
Add grammar-constrained decoding with XGrammarunconstrained Llama-3-8B · batch size 512per-token latency (ms): 92.23 -> 147.64Hurt

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.

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy