scimeatlas

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

ACL 2024Large language models › Agents, code and mathapproach: Execution-based code verificationopen problems in this approach67 citations (OpenAlex)

Northeastern University · Tsinghua University

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
10improved
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 changedWhereMeasuredEffect
add INTERVENOR repair chainGPT-3.5 · HumanEval (Python)Pass@1: 60.3 -> 75.6Improved
add INTERVENOR repair chainGPT-3.5 · MBPP (Python)Pass@1: 39.8 -> 69.8Improved
add INTERVENOR repair chainGPT-3.5 · HumanEval-X translation to PythonPass@1: 84.3 -> 89.8Improved
use compiler error messages for single-turn repair instead of Self-Refine (ablation)GPT-3.5 · HumanEval (Python)Pass@1: 65.2 -> 67.1Improved
use CoR instead of Error Msgs for single-turn repair (ablation)GPT-3.5 · Average (Table 3)Pass@1: 51.4 -> 53.6Improved
few-shot and CoT prompting without repair (zero-shot CoT) (ablation)GPT-3.5 · HumanEval (Python)Pass@1: 60.3 -> 51.8Hurt
use multi-turn instead of single-turn CoR (ablation)INTERVENOR · Average (Table 3)Pass@1: 53.6 -> 61.6Improved
add three repair turns instead of one (ablation)INTERVENOR · Average over HEval/MBPP/HumanEval-XPass@1: 61.2 -> 66.7Improved
use CoR instead of Self-Refine and Error Msgs after three turns (ablation)GPT-3.5 · Average over HEval/MBPP/HumanEval-XPass@1: 63.0 / 62.9 -> 66.7Improved
use stronger Code Teacher (GPT-3.5 instead of CodeLlama-7B) (ablation)CodeLlama-7B learner · HumanEval (Python)Pass@1: 32.9 -> 36.6Improved
use stronger Code Learner (CodeLlama-13B instead of 7B) with GPT-3.5 teacher (ablation)INTERVENOR · HumanEval (Python)Pass@1: 36.6 -> 43.6Improved
use Self-Refine instead of Error Msgs after one turn (ablation)GPT-3.5 · MBPP (Python)Pass@1: 51.8 -> 48.8Hurt

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.

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

Open problems in execution-based code verification

Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy