Research map / Large language models / Agents, code and math
DebateCoder: Towards Collective Intelligence of LLMs via Test Case Driven LLM Debate for Code Generation
Jizheng Chen, Kounianhua Du, Xinyi Dai, Weiming Zhang, Xihuai Wang, Yasheng Wang, Ruiming Tang, Weinan Zhang, Yong Yu
Shanghai Jiao Tong University · Huawei Technologies
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 test-case-driven two-model debate (DebateCoder) over zero-shot | claude-3.5-sonnet · APPS Introductory | pass rate: 0.6456 -> 0.7932 | Improved |
| add DebateCoder over zero-shot | gpt-4o-mini · APPS Introductory | pass rate: 0.5773 -> 0.7236 | Improved |
| add self-evolvement with sample test cases before debate (ablation) | claude-3.5-sonnet · APPS Introductory | pass rate: 0.6456 -> 0.7257 | Improved |
| add first debate epoch after self-evolvement (ablation) | claude-3.5-sonnet · APPS Introductory | pass rate: 0.7257 -> 0.7824 | Improved |
| run more debate epochs beyond the first two (ablation) | claude-3.5-sonnet · APPS Introductory | pass rate: 0.7824 -> 0.7932 (epoch 6) | No clear effect |
| use claude-3.5-sonnet on both debate sides instead of two different models (ablation) | DebateCoder · APPS | pass rate / pass@1 | Hurt |
| generate test cases to challenge opponent instead of direct code analysis (ablation) | DebateCoder · APPS | pass rate / pass@1 | Improved |
| replace third-party moderator with test-execution convergence criteria (ablation) | DebateCoder · APPS | pass rate / pass@1 | Improved |
| use generic debate (MAD) instead of self-play | gpt-4o-mini · APPS Introductory | pass rate: 0.6419 -> 0.5591 | Hurt |
| DebateCoder vs self-play on hardest problems | gpt-4o-mini · APPS Competition | pass@1: 0.2000 vs 0.2000 | No clear effect |
| apply DebateCoder with open-source backbones | Qwen-32b-Instruct and Yi-34b-Chat · APPS Introductory | pass rate: 0.6295 -> 0.7709 (Qwen); 0.3968 -> 0.6689 (Yi) | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- CodeT — CodeT: Code Generation with Generated Tests (ICLR 2023) · better on 1 of 1 shared result
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 in mathematical and structural reasoning benchmarks
Which reasoning benchmarks hold up beyond one language, text-only prompts and one judge model?
- Benchmarks cover one language or a few high-resource ones. · 25 papers state it
- Evaluation and inference cost more than the plain baseline. · 12 papers state it
- Tasks are text-only, with no images, audio or other modalities. · 11 papers state it
Closest papers by meaning
- Multi-LLM Debate: Framework, Principals, and Interventions (NeurIPS 2024 · similarity 0.88)
- Rethinking Verification for LLM Code Generation: From Generation to Testing (NeurIPS 2025 · similarity 0.88)
- Should we be going MAD? A Look at Multi-Agent Debate Strategies for LLMs (ICML 2024 · similarity 0.88)
- Debating with More Persuasive LLMs Leads to More Truthful Answers (ICML 2024 · similarity 0.87)
- rStar-Coder: Scaling Competitive Code Reasoning with a Large-Scale Verified Dataset (NeurIPS 2025 · similarity 0.87)
- WikiContradict: A Benchmark for Evaluating LLMs on Real-World Knowledge Conflicts from Wikipedia (NeurIPS 2024 · similarity 0.87)
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.