Research map / Probabilistic and scientific modeling / Variational and generative sampling
Syntactic Control of Language Models by Posterior Inference
Vicky Xefteri, Tim Vieira, Ryan Cotterell, Afra Amini
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
8improved
1no clear effect
2hurt
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 changed | Where | Measured | Effect |
|---|---|---|---|
| use SMC with LM-times-POS-bigram proposal instead of plain sampling | GPT-2 Large · syntactic control (301 trees) | bracketing F1: 12.31 -> 93.69 (prior proposal baseline vs SMC with bigram proposal) | Improved |
| add SMC with LM prior as proposal | GPT-2 Large · syntactic control | bracketing F1: 12.31 -> 28.26 | Improved |
| add SMC with LM prior as proposal | Llama-3-8B-Instruct (0-shot) · syntactic control | bracketing F1: 29.41 -> 58.18 | Improved |
| use POS-bigram proposal instead of prior proposal (ablation) | SMC on GPT-2 Large · syntactic control | bracketing F1: 28.26 -> 93.69 | Improved |
| use POS-bigram proposal instead of prior proposal (ablation) | SMC on GPT-2 Large · syntactic control | diversity (1-gram): 0.91 -> 0.56 | Hurt |
| add resampling and shaping (SMC) over sequential importance sampling (ablation) | Llama-3-8B-Instruct (5-shot), prior proposal · syntactic control | bracketing F1: 64.44 (SIS) vs 63.66 (SMC) | No clear effect |
| add resampling and shaping (SMC) over SIS (ablation) | GPT-2 Large, prior proposal · syntactic control | bracketing F1: 21.18 -> 28.26 | Improved |
| apply SIS/SMC with LM prior as proposal | GPT-2 Large · syntactic control | log prior fluency: -52.64 -> -58.56 | Hurt |
| apply SMC with bigram proposal | GPT-2 Large · syntactic control | log prior fluency: -54.91 -> -47.98 | Improved |
| increase particles M (SMC, bigram proposal) (ablation) | GPT-2 Large · syntactic control | bracketing F1: 83% -> nearly 95% | Improved |
| prompt instruction model with gold example (1-shot gold) (ablation) | OpenAI API model · syntactic control | bracketing F1: 53.27 (5-shot) -> 70.17 | Improved |
Open problems this paper states
- “Focuses on English only, leaving other languages untested.” → Only English text was tried, other languages are untested. (an open problem in sequential Monte Carlo for inference)
Open problems in sequential Monte Carlo for inference
How can sequential Monte Carlo steer language models at lower cost, and does it hold beyond small models and English?
- Particles and repeated simulation make inference slow and costly. · 7 papers state it
- Tested only on small or mid-size language models. · 6 papers state it
- Evaluation covers few tasks, small test sets or simple constraints. · 6 papers state it
Closest papers by meaning
- Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlo (ICLR 2025 · similarity 0.91)
- Guaranteed Generation from Large Language Models (ICLR 2025 · similarity 0.87)
- Controlled Text Generation via Language Model Arithmetic (ICLR 2024 · similarity 0.87)
- Ensembling Language Models with Sequential Monte Carlo (NeurIPS 2026 · similarity 0.86)
- Constrained Sampling for Language Models Should Be Easy: An MCMC Perspective (NeurIPS 2025 · similarity 0.86)
- Corrector Sampling in Language Models (NeurIPS 2025 · similarity 0.86)
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.