Lune

ACL Findings2025

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 LLMs 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • The Learnability of In-Context Learning cites Can language models learn from explanations in context?
  • Teaching Large Language Models an Unseen Language on the Fly cites A Benchmark for Learning to Translate a New Language from One Grammar Book
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on8

  1. The Learnability of In-Context LearningNoam Wies, Yoav Levine, Amnon ShashuaNeurIPS 2023 · 207 citations
  2. Can language models learn from explanations in context?Andrew K. Lampinen, Ishita Dasgupta, Stephanie C. Y. Chan, Kory W. Mathewson et al.EMNLP Findings 2022 · 142 citations
  3. A Benchmark for Learning to Translate a New Language from One Grammar BookGarrett Tanzer, Mirac Suzgun, Eline Visser, Dan Jurafsky et al.ICLR 2024 · 97 citations
  4. Teaching Large Language Models an Unseen Language on the FlyChen Zhang, Xiao Liu, Jiuheng Lin, Yansong FengACL Findings 2024 · 8 citations
  5. SLING: Sino Linguistic Evaluation of Large Language ModelsYixiao Song, Kalpesh Krishna, Rajesh Bhatt, Mohit IyyerEMNLP 2022 · 7 citations

Related papers

  1. To Ask LLMs about English Grammaticality, Prompt Them in a Different LanguageShabnam Behzad, Amir Zeldes, Nathan SchneiderEMNLP Findings 2024 · 1 citation
  2. Grammar Prompting for Domain-Specific Language Generation with Large Language ModelsBailin Wang, Zi Wang, Xuezhi Wang, Yuan Cao et al.NeurIPS 2023 · 138 citations
  3. Not All Languages Are Created Equal in LLMs: Improving Multilingual Capability by Cross-Lingual-Thought PromptingHaoyang Huang, Tianyi Tang, Dongdong Zhang, Xin Zhao et al.EMNLP Findings 2023 · 76 citations
  4. Prompting is not a substitute for probability measurements in large language modelsJennifer Hu, Roger LevyEMNLP 2023 · 31 citations
  5. RuBLiMP: Russian Benchmark of Linguistic Minimal PairsEkaterina Taktasheva, Maxim Bazhukov, Kirill Koncha, Alena Fenogenova et al.EMNLP 2024 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines