scimeatlas

Research map / Large language models / Language, safety and interpretability

GRAMMAR-LLM: Grammar-Constrained Natural Language Generation

Gabriele Tuccio, Luana Bulla, Maria Madonia, Aldo Gangemi, Misael Mongiovì

ACL 2025Large language models › Language, safety and interpretabilityapproach: Controlled text generationopen problems in this approach17 citations (OpenAlex)

University of Catania · ISTC - National Research Council · University of Bologna

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

11measured effects
8improved
3no clear effect

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 constraint during decoding (ablation)LLaMA-3 1B · WoS Level 1 (zero-shot)micro F1: .002 -> .308Improved
add grammar constraint during decoding (ablation)LLaMA-3 1B · WoS Level 2 (one-shot)micro F1: .071 -> .231Improved
add grammar constraint during decoding (ablation)LLaMA-3 70B · WoS Level 2 (zero-shot)micro F1: .464 -> .504Improved
add grammar constraint during decoding (ablation)LLaMA-3 8B · WoS Level 1 (few-shot)micro F1: .680 -> .680No clear effect
add grammar constraint during decoding (ablation)LLaMA-3 1B · WoS Level 1 (few-shot)micro F1: .501 -> .504No clear effect
add grammar constraint during decoding (ablation)LLaMA-3 (1B, 8B, 70B) · WoS classificationoutput validity: 0%-85% -> 100%Improved
add grammar constraint during decoding (ablation)LLaMA-3 1B · ASL gloss translation (few-shot)BLEU: 0.31 -> 0.47Improved
add grammar constraint during decoding (ablation)LLaMA-3 8B · ASL gloss translation (few-shot)F1: 0.89 -> 0.94Improved
add grammar constraint during decoding (ablation)AMRBART-base · AMR parsingSmatch F1: 0.559 -> 0.577Improved
add grammar constraint during decoding (ablation)AMRBART-large · AMR parsingSmatch F1: 0.789 -> 0.790No clear effect
increase model size from 1B to 70BLLaMA-3 with grammar constraint · WoS Level 1 (zero-shot)micro F1: .308 -> .734Improved

Open problems in controlled text generation

How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?

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