Research map / Large language models / Language, safety and interpretability
Prefix Parsing is Just Parsing
Clemente Pasti, Andreas Opedal, Timothy J. O'Donnell, Ryan Cotterell, Tim Vieira
ETH Zurich · CHI-FRO · Mila · McGill University · Canada CIFAR AI Chair
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 |
|---|---|---|---|
| parse the prefix grammar instead of the original grammar (prefix parsing vs parsing) | Earley parser · WSJ 5000 grammar | runtime: a = 12.1 -> 30.9, roughly 2.9x slower | Hurt |
| use the prefix grammar (effect on length dependence) | Earley parser · WSJ 5000 grammar | fitted runtime exponent: 1.99 vs 2 | No clear effect |
| compute the full next-token weight vector instead of only prefix weight | Earley prefix parser · WSJ 5000 grammar | runtime: about 1.2x slower than prefix parsing | Hurt |
Open problems in controlled text generation
How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?
- Each study covers one domain, source or task, so transfer is unknown. · 13 papers state it
- Only a few languages are tested, mostly English or high-resource ones. · 12 papers state it
- Extra stages, calls or tokens make generation slower and costlier. · 10 papers state it
Closest papers by meaning
- A Fast Algorithm for Computing Prefix Probabilities (ACL 2023 · similarity 0.87)
- Prefix Propagation: Parameter-Efficient Tuning for Long Sequences (ACL 2023 · similarity 0.87)
- GRAMMAR-LLM: Grammar-Constrained Natural Language Generation (ACL 2025 · similarity 0.87)
- Efficient Semiring-Weighted Earley Parsing (ACL 2023 · similarity 0.87)
- Towards Adaptive Prefix Tuning for Parameter-Efficient Language Model Fine-tuning (ACL 2023 · similarity 0.86)
- Leveraging Grammar Induction for Language Understanding and Generation (EMNLP 2024 · similarity 0.86)
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.