Research map / Large language models / Agents, code and math
INTERVENOR: Prompting the Coding Ability of Large Language Models with the Interactive Chain of Repair
Hanbin Wang, Zhenghao Liu, Shuo Wang, Ganqu Cui, Ning Ding, Zhiyuan Liu, Ge Yu
Northeastern University · Tsinghua University
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 |
|---|---|---|---|
| add INTERVENOR repair chain | GPT-3.5 · HumanEval (Python) | Pass@1: 60.3 -> 75.6 | Improved |
| add INTERVENOR repair chain | GPT-3.5 · MBPP (Python) | Pass@1: 39.8 -> 69.8 | Improved |
| add INTERVENOR repair chain | GPT-3.5 · HumanEval-X translation to Python | Pass@1: 84.3 -> 89.8 | Improved |
| use compiler error messages for single-turn repair instead of Self-Refine (ablation) | GPT-3.5 · HumanEval (Python) | Pass@1: 65.2 -> 67.1 | Improved |
| use CoR instead of Error Msgs for single-turn repair (ablation) | GPT-3.5 · Average (Table 3) | Pass@1: 51.4 -> 53.6 | Improved |
| few-shot and CoT prompting without repair (zero-shot CoT) (ablation) | GPT-3.5 · HumanEval (Python) | Pass@1: 60.3 -> 51.8 | Hurt |
| use multi-turn instead of single-turn CoR (ablation) | INTERVENOR · Average (Table 3) | Pass@1: 53.6 -> 61.6 | Improved |
| add three repair turns instead of one (ablation) | INTERVENOR · Average over HEval/MBPP/HumanEval-X | Pass@1: 61.2 -> 66.7 | Improved |
| use CoR instead of Self-Refine and Error Msgs after three turns (ablation) | GPT-3.5 · Average over HEval/MBPP/HumanEval-X | Pass@1: 63.0 / 62.9 -> 66.7 | Improved |
| use stronger Code Teacher (GPT-3.5 instead of CodeLlama-7B) (ablation) | CodeLlama-7B learner · HumanEval (Python) | Pass@1: 32.9 -> 36.6 | Improved |
| use stronger Code Learner (CodeLlama-13B instead of 7B) with GPT-3.5 teacher (ablation) | INTERVENOR · HumanEval (Python) | Pass@1: 36.6 -> 43.6 | Improved |
| use Self-Refine instead of Error Msgs after one turn (ablation) | GPT-3.5 · MBPP (Python) | Pass@1: 51.8 -> 48.8 | Hurt |
Later papers that compared with this method
1 later accepted paper reports INTERVENOR as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.
- Code-SPA: Style Preference Alignment to Large Language Models for Effective and Robust Code Debugging (ACL 2025 · better on 5 of 5 shared results)
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems this paper states
- “For logical errors, feedback depends on the quality and coverage of test cases.” → Passing the tests does not show the code is correct. (an open problem in execution-based code verification)
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
- Is Self-Repair a Silver Bullet for Code Generation? (ICLR 2024 · similarity 0.88)
- AuPair: Golden Example Pairs for Code Repair (ICML 2025 · similarity 0.87)
- Code Repair with LLMs gives an Exploration-Exploitation Tradeoff (NeurIPS 2024 · similarity 0.86)
- Counterexample Guided Program Repair Using Zero-Shot Learning and MaxSAT-based Fault Localization (AAAI 2025 · similarity 0.86)
- CodeChain: Towards Modular Code Generation Through Chain of Self-revisions with Representative Sub-modules (ICLR 2024 · similarity 0.86)
- ConvCodeWorld: Benchmarking Conversational Code Generation in Reproducible Feedback Environments (ICLR 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.