Explain-then-Process: Using Grammar Prompting to Enhance Grammatical Acceptability Judgments
Russell Scheinberg, Ameeta Agrawal, Amber Shore, So Young Lee
Abstract
Large language models (LLMs) can explain grammatical rules, yet they often fail to apply those rules when judging sentence acceptability. We present grammar prompting, an explain-then-process paradigm: a large LLM first produces a concise explanation of the relevant syntactic phenomenon, then that explanation is fed back as additional context to the target model – either an LLM or a smaller language model (SLM) – before deciding which sentence of a minimal pair is grammatical. On the English BLiMP, Chinese SLING, and Russian RuBLiMP benchmarks, this simple prompt design yields substantial improvements over strong baselines across a wide range of syntactic phenomena. Feeding an LLM’s metalinguistic explanation back to the target model bridges the gap between knowing a rule and using it. On SLMs, grammar prompting alone trims the average LLM-SLM accuracy gap by 20%, and when paired with chain-of-thought, by 56% (13.0 pp → 5.8 pp), all at negligible cost. The lightweight, language-agnostic cue lets low-cost SLMs approach frontier-LLM performance in multilingual settings.- Anthology ID:
- 2025.findings-acl.1015
- Volume:
- Findings of the Association for Computational Linguistics: ACL 2025
- Month:
- July
- Year:
- 2025
- Address:
- Vienna, Austria
- Editors:
- Wanxiang Che, Joyce Nabende, Ekaterina Shutova, Mohammad Taher Pilehvar
- Venue:
- Findings
- SIG:
- Publisher:
- Association for Computational Linguistics
- Note:
- Pages:
- 19778–19795
- Language:
- URL:
- https://preview.aclanthology.org/display_plenaries/2025.findings-acl.1015/
- DOI:
- Cite (ACL):
- Russell Scheinberg, Ameeta Agrawal, Amber Shore, and So Young Lee. 2025. Explain-then-Process: Using Grammar Prompting to Enhance Grammatical Acceptability Judgments. In Findings of the Association for Computational Linguistics: ACL 2025, pages 19778–19795, Vienna, Austria. Association for Computational Linguistics.
- Cite (Informal):
- Explain-then-Process: Using Grammar Prompting to Enhance Grammatical Acceptability Judgments (Scheinberg et al., Findings 2025)
- PDF:
- https://preview.aclanthology.org/display_plenaries/2025.findings-acl.1015.pdf