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
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
- HumanEval leaderboard pass@1 95.1 · rank 16 of 261 papers
- MBPP leaderboard pass@1 76 · rank 60 of 165 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add LDB debugging | GPT-3.5 seed programs · HumanEval / TransCoder / MBPP | Pass@1: 73.8 -> 82.9; 82.3 -> 87.7; 67.6 -> 76.0 | Improved |
| add LDB instead of Self-Debugging | CodeLlama-34B / GPT-3.5 · HumanEval | Pass@1: GPT-3.5 81.1 -> 82.9; CodeLlama 54.3 -> 55.5 | Improved |
| add Self-Debugging (+Expl.) to StarCoder | StarCoder-15B · HumanEval | Pass@1: 39.0 -> 38.4 | Hurt |
| add LDB to StarCoder | StarCoder-15B · HumanEval | Pass@1: 39.0 -> 39.6 | No clear effect |
| debug Reflexion seed programs with LDB (GPT-3.5 backbone) | Reflexion · HumanEval | Pass@1: 91.5 -> 95.1 | Improved |
| use line-level instead of block-level segmentation (ablation) | LDB, GPT-3.5 · HumanEval | Pass@1: 82.9 -> 80.5 | Hurt |
| use function-level instead of block-level segmentation (ablation) | LDB, GPT-3.5 · HumanEval | Pass@1: 82.9 -> 79.9 | Hurt |
| increase debugging iterations from 10 to 20 (ablation) | LDB, GPT-3.5 · HumanEval | Pass@1: 82.9 -> 84.1 | Improved |
| use Self-Debugging for more iterations (ablation) | Self-Debugging · HumanEval | Pass@1 | No clear effect |
| use stronger debugging backbone (GPT-4, GPT-4o) instead of GPT-3.5 (ablation) | LDB with Reflexion seeds · HumanEval | Pass@1: 95.1 -> 96.9 -> 98.2 | Improved |
| add LDB, harder problems | LDB, GPT-3.5 · TransCoder (by difficulty) | accuracy improvement: +9.1% on hard-level problems | Improved |
Open problems this paper states
- “Requires correct test cases to run programs, and test-case-free debugging is untested.” → 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
- Teaching Large Language Models to Self-Debug (ICLR 2024 · similarity 0.93)
- Precise Debugging Benchmark: Is Your Model Debugging or Regenerating? (NeurIPS 2026 · similarity 0.90)
- NExT: Teaching Large Language Models to Reason about Code Execution (ICML 2024 · similarity 0.89)
- SemCoder: Training Code Language Models with Comprehensive Semantics Reasoning (NeurIPS 2024 · similarity 0.89)
- CoRe: Benchmarking LLMs’ Code Reasoning Capabilities through Static Analysis Tasks (NeurIPS 2025 · similarity 0.88)
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (ICLR 2025 · similarity 0.88)
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.