Research map / Large language models / Agents, code and math
Grammar-Based Patches Generation for Automated Program Repair
Yu Tang, Long Zhou, Ambrosio Blanco, Shujie Liu, Furu Wei, Ming Zhou, Muyun Yang
Harbin Institute of Technology · Microsoft Research Asia
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use grammar rules as input/output instead of tokens | Transformer · BFPs (beam 5) | XMatch (Top): 10.32% -> 11.95% | Improved |
| add grammar encoder, tree attention, depth embedding and constrained inference to Rule-Trans | Rule-Trans · BFPs (beam 5) | XMatch (Top): 11.95% -> 13.42% | Improved |
| use our model instead of NMT of Tufano et al. | NMT · BFPs (beam 5) | XMatch (All): 27.33% -> 28.03% | Improved |
| add grammar-constrained inference and grammar modeling | Token-Trans · BFPs (beam 5) | XBug: 44 -> 0 | Improved |
| use cascade instead of standard cross-attention strategy (ablation) | grammar decoder · BFPs (beam 5) | XMatch (Top): 13.21% -> 13.42% | Improved |
| use cascade instead of parallel strategy (ablation) | grammar decoder · BFPs (beam 5) | XMatch (Top): 12.94% -> 13.42% | Improved |
| add grammar-constrained inference (ablation) | Our Model · BFPs (beam 5) | XBug | Improved |
| add depth embedding and tree-based attention (ablation) | Our Model · BFPs (beam 5) | XMatch (Top) | Improved |
Open problems in execution-based code verification
Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?
- Evaluated on Python or one other language only. · 17 papers state it
- Only a few models were tested, and larger ones were left out. · 16 papers state it
- Passing the tests does not show the code is correct. · 15 papers state it
Closest papers by meaning
- SynFix: Dependency-Aware Program Repair via RelationGraph Analysis (ACL 2025 · similarity 0.86)
- Less Is More: Adaptive Program Repair with Bug Localization and Preference Learning (AAAI 2025 · similarity 0.85)
- Repair Is Nearly Generation: Multilingual Program Repair with LLMs (AAAI 2023 · similarity 0.84)
- Counterexample Guided Program Repair Using Zero-Shot Learning and MaxSAT-based Fault Localization (AAAI 2025 · similarity 0.84)
- CascadeFix: Multi-Location Program Repair via Cascading Planning and Generation (ACL 2026 · similarity 0.84)
- RePair: Automated Program Repair with Process-based Feedback (ACL 2024 · similarity 0.84)
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.