scimeatlas

Research map / Large language models / Agents, code and math

Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step by Step

Li Zhong, Zilong Wang, Jingbo Shang

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

University of California, San Diego

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

11measured effects
6improved
2no clear effect
3hurt

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.

On benchmark leaderboards

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add LDB debuggingGPT-3.5 seed programs · HumanEval / TransCoder / MBPPPass@1: 73.8 -> 82.9; 82.3 -> 87.7; 67.6 -> 76.0Improved
add LDB instead of Self-DebuggingCodeLlama-34B / GPT-3.5 · HumanEvalPass@1: GPT-3.5 81.1 -> 82.9; CodeLlama 54.3 -> 55.5Improved
add Self-Debugging (+Expl.) to StarCoderStarCoder-15B · HumanEvalPass@1: 39.0 -> 38.4Hurt
add LDB to StarCoderStarCoder-15B · HumanEvalPass@1: 39.0 -> 39.6No clear effect
debug Reflexion seed programs with LDB (GPT-3.5 backbone)Reflexion · HumanEvalPass@1: 91.5 -> 95.1Improved
use line-level instead of block-level segmentation (ablation)LDB, GPT-3.5 · HumanEvalPass@1: 82.9 -> 80.5Hurt
use function-level instead of block-level segmentation (ablation)LDB, GPT-3.5 · HumanEvalPass@1: 82.9 -> 79.9Hurt
increase debugging iterations from 10 to 20 (ablation)LDB, GPT-3.5 · HumanEvalPass@1: 82.9 -> 84.1Improved
use Self-Debugging for more iterations (ablation)Self-Debugging · HumanEvalPass@1No clear effect
use stronger debugging backbone (GPT-4, GPT-4o) instead of GPT-3.5 (ablation)LDB with Reflexion seeds · HumanEvalPass@1: 95.1 -> 96.9 -> 98.2Improved
add LDB, harder problemsLDB, GPT-3.5 · TransCoder (by difficulty)accuracy improvement: +9.1% on hard-level problemsImproved

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