AI Paper Atlas

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

EMNLP 2023 · Large language models › Language, safety and interpretability · approach: Controlled text generation · 488 citations (OpenAlex) · Université Grenoble Alpes

Read the 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 changedWhereMeasuredEffect
add grammar-constrained decodingLLaMA-33B (4-shot) · SynthIE-text cIEF1: 17.5 -> 36.0Improved
compare constrained LLaMA-33B with supervised-on-REBEL GenIELLaMA-33B + GCD · SynthIE-text cIEF1: 34.8 -> 36.0Improved
add grammar-constrained decoding (input-dependent grammar)LLaMA-33B (4-shot) · Entity disambiguation (avg)micro-accuracy: 54.1 -> 80.3Improved
use input-dependent instead of input-independent grammar (ablation)LLaMA-33B + GCD · Entity disambiguation (avg)micro-accuracy: 68.2 -> 80.3Improved
use input-dependent instead of input-independent grammar (ablation)LLaMA-33B + GCD · Penn Treebankbracketing F1: 47.1 -> 54.6Improved
use input-dependent instead of input-independent grammar (ablation)LLaMA-33B + GCD · Penn Treebankvalidity: 72.3 -> 100.0Improved
add grammar-constrained decoding (input-dependent grammar)LLaMA-33B (8-shot) · Penn Treebankbracketing F1: 42.9 -> 54.6Improved
compare constrained LLaMA-33B with bespoke parsersLLaMA-33B + GCD · Penn Treebankbracketing F1: 54.6 vs 95.7Hurt
compare constrained LLaMA-33B with GENRE trained only on AIDALLaMA-33B + GCD · Entity disambiguation (avg)micro-accuracy: 80.0 -> 80.3Improved
compare constrained LLaMA-33B with full GENRELLaMA-33B + GCD · Entity disambiguation (avg)micro-accuracy: 88.8 vs 80.3Hurt
increase length normalization alpha from 2.0 to 2.5 (ablation)LLaMA-13B + GCD beam search · cIEempty-string top generation: empty top generation at alpha 1.0-2.0, not at 2.5-3.5Improved

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