Research map / Large language models / Language, safety and interpretability
Grammar-Constrained Decoding for Structured NLP Tasks without Finetuning
Saibo Geng, Martin Josifoski, Maxime Peyrard, Robert West
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 |
|---|---|---|---|
| add grammar-constrained decoding | LLaMA-33B (4-shot) · SynthIE-text cIE | F1: 17.5 -> 36.0 | Improved |
| compare constrained LLaMA-33B with supervised-on-REBEL GenIE | LLaMA-33B + GCD · SynthIE-text cIE | F1: 34.8 -> 36.0 | Improved |
| add grammar-constrained decoding (input-dependent grammar) | LLaMA-33B (4-shot) · Entity disambiguation (avg) | micro-accuracy: 54.1 -> 80.3 | Improved |
| use input-dependent instead of input-independent grammar (ablation) | LLaMA-33B + GCD · Entity disambiguation (avg) | micro-accuracy: 68.2 -> 80.3 | Improved |
| use input-dependent instead of input-independent grammar (ablation) | LLaMA-33B + GCD · Penn Treebank | bracketing F1: 47.1 -> 54.6 | Improved |
| use input-dependent instead of input-independent grammar (ablation) | LLaMA-33B + GCD · Penn Treebank | validity: 72.3 -> 100.0 | Improved |
| add grammar-constrained decoding (input-dependent grammar) | LLaMA-33B (8-shot) · Penn Treebank | bracketing F1: 42.9 -> 54.6 | Improved |
| compare constrained LLaMA-33B with bespoke parsers | LLaMA-33B + GCD · Penn Treebank | bracketing F1: 54.6 vs 95.7 | Hurt |
| compare constrained LLaMA-33B with GENRE trained only on AIDA | LLaMA-33B + GCD · Entity disambiguation (avg) | micro-accuracy: 80.0 -> 80.3 | Improved |
| compare constrained LLaMA-33B with full GENRE | LLaMA-33B + GCD · Entity disambiguation (avg) | micro-accuracy: 88.8 vs 80.3 | Hurt |
| increase length normalization alpha from 2.0 to 2.5 (ablation) | LLaMA-13B + GCD beam search · cIE | empty-string top generation: empty top generation at alpha 1.0-2.0, not at 2.5-3.5 | Improved |
Closest papers by meaning
- Grammar-Aligned Decoding (NeurIPS 2024 · similarity 0.92)
- Flexible and Efficient Grammar-Constrained Decoding (ICML 2025 · similarity 0.91)
- Combining Constrained and Unconstrained Decoding via Boosting: BoostCD and Its Application to Information Extraction (EMNLP 2025 · similarity 0.89)
- Constrained Decoding of Diffusion LLMs with Context-Free Grammars (ICLR 2026 · similarity 0.88)
- Improving Unsupervised Constituency Parsing via Maximizing Semantic Information (ICLR 2025 · similarity 0.86)
- Guiding LLMs The Right Way: Fast, Non-Invasive Constrained Generation (ICML 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.
