Research map / Large language models / Instruction and fine-tuning
Minimal Grammars as Supervision for DSL Generation
David Vella Zarb, Geoff Parks, Timos Kipouros
University of Cambridge
Read the paperPlace an idea next to itCheck your own paper ↗
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.
This paper tried a common change: Chain-of-thought prompting
Add CoT traces to retrieved exemplars · SMCalFlow · program accuracy (%): 67.0 -> 85.8 Improved
What 2,675 accepted papers report for this change
- 1,683 improved
- 270 no clear effect
- 109 mixed
- 613 hurt
- AudioChat: Unified Audio Storytelling, Editing, and Understanding with Transfusion Forcing ICML 2026 · add structured chain-of-thought reasoning to the diffusion LLM · StoryGen-Eval editing · delta multiFLAM: 27.8 -> 11.7Improved
- Vision Language Models Cannot Reason About Physical Transformation ICML 2026 · add CoT prompt instead of Direct prompt · Number & Length · accuracy: F(3, 333) = 18.28Hurt
- VideoSEG-O3: A Multi-turn Reinforcement Learning Framework for Reasoning Video Object Segmentation ICML 2026 · Add CoT cold-start stage on top of SFT · Long-RVOS · J&F: 47.12 -> 51.82Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Fine-tune with minimal grammars (RAG-predicted) instead of no grammar | Qwen-3.5 9B · SMCalFlow | program accuracy (%): 49.0 -> 85.8 | Improved |
| Fine-tune with minimal grammars (RAG-predicted) | Qwen-3.5 9B · Overnight-Blocks | program accuracy (%): 45.6 -> 47.4 | No clear effect |
| Fine-tune with minimal grammars (RAG-predicted) | Qwen-3.5 9B · Verilog | pass@1 (%): 32.2 -> 42.8 | Improved |
| Fine-tune with minimal grammars (RAG-predicted) | Gemma-3 27B · Verilog | pass@5 (%): 55.8 -> 49.4 | Hurt |
| Fine-tune with minimal grammars (RAG-predicted) | Qwen-3.5 9B · SPICE | GED similarity (%): 64.3 -> 72.0 | Improved |
| Use grammar prompting instead of programs-only exemplars | GPT-5.5 / Claude Opus 4.7 · SMCalFlow, GeoQuery, Overnight | accuracy: SMCalFlow 46.4 -> 51.4 (GPT-5.5) | No clear effect |
| Replace grammar prompting with RAG-predicted grammars + CoT | GPT-5.5 · SMCalFlow (ICL) | program accuracy (%): 51.4 -> 94.3 | Improved |
| Train the grammar-free baseline for a second epoch (ablation) | Qwen-3.5 9B baseline · SMCalFlow | program accuracy (%): 49.0 -> 62.4 | Improved |
| Train the grammar-free baseline for a second epoch (ablation) | Qwen-3.5 9B baseline · Verilog | pass@1 (%): 32.2 -> 36.0 | Improved |
| Generate grammar then program (joint generation) instead of conditioning on grammar (ablation) | Qwen-3.5 9B · SMCalFlow | program accuracy (%): 49.0 -> 42.5 | Hurt |
| Add CoT traces to retrieved exemplars (ablation) | Qwen-3.5 9B grammar predictor · SMCalFlow | program accuracy (%): 67.0 -> 85.8 | Improved |
| Add CoT traces to retrieved exemplars (ablation) | Qwen-3.5 9B grammar predictor · Verilog | pass@1 (%): 41.0 -> 42.8 | Improved |
Open problems in fine-tuning generalization and delta compression
Do fine-tuning findings hold beyond small English-only models and automatic judges?
- Experiments stop at small or mid-sized models. · 21 papers state it
- Only English or one other language is tested. · 19 papers state it
- Scores come from LLM judges with no human check. · 12 papers state it
Closest papers by meaning
- Grammar Prompting for Domain-Specific Language Generation with Large Language Models (NeurIPS 2023 · similarity 0.89)
- Scaling Instruction-tuned LLMs to Million-token Contexts via Hierarchical Synthetic Data Generation (ICLR 2025 · similarity 0.85)
- CodeSteer: Symbolic-Augmented Language Models via Code/Text Guidance (ICML 2025 · similarity 0.85)
- CRANE: Reasoning with constrained LLM generation (ICML 2025 · similarity 0.85)
- Emergent Representations of Program Semantics in Language Models Trained on Programs (ICML 2024 · similarity 0.85)
- DOMAINEVAL: An Auto-Constructed Benchmark for Multi-Domain Code Generation (AAAI 2025 · similarity 0.85)
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.