Grammar Control for Language Learning with Sequential Monte Carlo and Small Language Models

Kate McCurdy, Jacob Hoover Vigly, Thomas Hikaru Clark, Karolina Stańczak, Yahya Emara +4 more
10/29/2026
cs.CL

No confident code implementation found for this paper.

Abstract

Second language learners benefit from exposure to level-appropriate grammar in interactive language use. While prompted frontier language models can usually produce target grammar structures, less resource-intensive models that can be run on device often fail in this task.

Show full abstract

We use sequential Monte Carlo (SMC) to steer dialogue turn generation in small lan- language models toward target grammar constructions from an expert-developed pedagogical resource. With a minimal set of hand-coded potential functions, SMC achieves near-perfect coverage of target grammar, enabling small models to outperform state-of-the-art results from models 140 times larger. We also use code synthesis with frontier models to generate new potentials, showing that our method scales to hundreds of target grammar skills with no need for additional training or supervised data.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mccurdy2026grammar,
  title  = {Grammar Control for Language Learning with Sequential Monte Carlo and Small Language Models},
  author = {Kate McCurdy and Jacob Hoover Vigly and Thomas Hikaru Clark and Karolina Stańczak and Yahya Emara and Joshua B. Tenenbaum and Alexander K. Lew and Ryan Cotterell and Timothy J. O'Donnell},
  year   = {2026},
  eprint = {2610.39800},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.39800v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.39800.svg)](https://codeofpaper.com/paper/2610.39800)

Discussion