COAST: Enhancing the Code Debugging Ability of LLMs through Communicative Agent Based Data Synthesis
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Code debugging is a vital stage of software development, essential for ensuring the reliability and performance of Large Language Models (LLMs) in the code generation task. Human debugging typically follows a multi-stage process, which includes Bug Localization, Bug Identification, Code Repair, and Code Recognition. However, existing code debugging benchmarks predominantly focus on the Code Repair stage, which offers only a limited perspective on evaluating the debugging capabilities of LLMs. In this paper, we introduce DEBUGEVAL, a comprehensive benchmark for evaluating the debugging abilities of LLMs by emulating the multi-stage human debugging process. Through evaluating on DEBUGEVAL, we observe that 7B-scale models consistently underperform compared to their larger counterparts, highlighting their limitations in comprehending code semantics. In this case, we propose the COmmunicative Agent-based data SynThesis (COAST) framework, which employs a multi-agent system to generate high-quality training data for supervised fine-tuning (SFT). Experimental results demonstrate that COAST-generated data outperform human-curated and GPT-4-generated data, enabling 7B-scale LLMs to achieve debugging performance comparable to GPT-3.5. All data and codes are available at https://github.com/NEUIR/COAST.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 29 of its 50 references that are in the map. First posted on arXiv 9 Aug 2024.
Builds on
29 of 50 references.
References · 29
- 2023GPT-4 Technical Reportcited by 18,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 886
17 more
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
- 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 325
- 2024A Survey on Mixture of Experts in Large Language Modelscited by 233
- 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 191
- 2024Advancing LLM Reasoning Generalists with Preference Treescited by 191
- 2023DISC-LawLLM: Fine-tuning Large Language Models for Intelligent Legal Servicescited by 117
- 2023Self-Edit: Fault-Aware Code Editor for Code Generationcited by 110
- 2021Break-It-Fix-It: Unsupervised Learning for Program Repaircited by 71
- 2024LLM2LLM: Boosting LLMs with Novel Iterative Data Enhancementcited by 69
- 2019TBar: Revisiting Template-based Automated Program Repaircited by 64
- 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repaircited by 50
- 2023InstructCoder: Instruction Tuning Large Language Models for Code Editingcited by 28
- 2023INTERVENOR: Prompting the Coding Ability of Large Language Models with the Interactive Chain of Repaircited by 18
- 2022FixEval: Execution-based Evaluation of Program Fixes for Programming Problemscited by 17
- 2020Review4Repair: Code Review Aided Automatic Program Repairingcited by 13
- 2014Automatic Repair of Buggy If Conditions and Missing Preconditions with SMTcited by 7
Built on by
Citing papers per year: 2025: 6; 2026: 7.
13 papers.
Sort:
By area:
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2025QHackBench: Benchmarking Large Language Models for Quantum Code Generation Using PennyLane Hackathon Challengescited by 7
- 2025An LLM-enabled Multi-Agent Autonomous Mechatronics Design Frameworkcited by 4
- 2026Teaching Large Reasoning Models Effective Reflectioncited by 3
- 2025From Context to Intent: Reasoning-Guided Function-Level Code Completioncited by 1
- 2026Group Pattern Selection Optimization: Let LRMs Pick the Right Pattern for Reasoningcited by 1
- 2026Precise Debugging Benchmark: Is Your Model Debugging or Regenerating?cited by 1
- 2026Anchored Self-Play for Code Repaircited by 1
- 2025Why Stop at One Error? Benchmarking LLMs as Data Science Code Debuggers for Multi-Hop and Multi-Bug Errorscited by 0
- 2025DebugTA: An LLM-Based Agent for Simplifying Debugging and Teaching in Programming Educationcited by 0
- 2026MapVerse: A Benchmark for Geospatial Question Answering on Diverse Real-World Mapscited by 0
- 2026Diff-Based Code Corruption using LLMs for Large-Scale Bugfix Benchmarkingcited by 0
1 more
- 2026AI Assistants Overassistcited by 0
- 2026AI Assistants Overassist23 Jul 2026
- 2026Anchored Self-Play for Code Repair3 Jul 2026
- 2026Diff-Based Code Corruption using LLMs for Large-Scale Bugfix Benchmarking27 Jun 2026
- 2026Precise Debugging Benchmark: Is Your Model Debugging or Regenerating?19 Apr 2026
- 2026MapVerse: A Benchmark for Geospatial Question Answering on Diverse Real-World Maps11 Feb 2026
- 2026Teaching Large Reasoning Models Effective Reflection19 Jan 2026
- 2026Group Pattern Selection Optimization: Let LRMs Pick the Right Pattern for Reasoning12 Jan 2026
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025DebugTA: An LLM-Based Agent for Simplifying Debugging and Teaching in Programming Education13 Oct 2025
- 2025From Context to Intent: Reasoning-Guided Function-Level Code Completion13 Aug 2025
- 2025QHackBench: Benchmarking Large Language Models for Quantum Code Generation Using PennyLane Hackathon Challenges24 Jun 2025
- 2025An LLM-enabled Multi-Agent Autonomous Mechatronics Design Framework20 Apr 2025
- 2026Teaching Large Reasoning Models Effective Reflectioncited by 3
- 2025From Context to Intent: Reasoning-Guided Function-Level Code Completioncited by 1
- 2026Group Pattern Selection Optimization: Let LRMs Pick the Right Pattern for Reasoningcited by 1
- 2026MapVerse: A Benchmark for Geospatial Question Answering on Diverse Real-World Mapscited by 0
- 2026MapVerse: A Benchmark for Geospatial Question Answering on Diverse Real-World Maps11 Feb 2026
- 2026Teaching Large Reasoning Models Effective Reflection19 Jan 2026
- 2026Group Pattern Selection Optimization: Let LRMs Pick the Right Pattern for Reasoning12 Jan 2026
- 2025From Context to Intent: Reasoning-Guided Function-Level Code Completion13 Aug 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2025An LLM-enabled Multi-Agent Autonomous Mechatronics Design Frameworkcited by 4
- 2025DebugTA: An LLM-Based Agent for Simplifying Debugging and Teaching in Programming Educationcited by 0
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025DebugTA: An LLM-Based Agent for Simplifying Debugging and Teaching in Programming Education13 Oct 2025
- 2025An LLM-enabled Multi-Agent Autonomous Mechatronics Design Framework20 Apr 2025
- 2026Anchored Self-Play for Code Repaircited by 1
- 2026Anchored Self-Play for Code Repair3 Jul 2026
- 2025QHackBench: Benchmarking Large Language Models for Quantum Code Generation Using PennyLane Hackathon Challengescited by 7
- 2026Precise Debugging Benchmark: Is Your Model Debugging or Regenerating?cited by 1
- 2025Why Stop at One Error? Benchmarking LLMs as Data Science Code Debuggers for Multi-Hop and Multi-Bug Errorscited by 0
- 2026Diff-Based Code Corruption using LLMs for Large-Scale Bugfix Benchmarkingcited by 0
- 2026AI Assistants Overassistcited by 0
- 2026AI Assistants Overassist23 Jul 2026
- 2026Diff-Based Code Corruption using LLMs for Large-Scale Bugfix Benchmarking27 Jun 2026
- 2026Precise Debugging Benchmark: Is Your Model Debugging or Regenerating?19 Apr 2026
- 2025QHackBench: Benchmarking Large Language Models for Quantum Code Generation Using PennyLane Hackathon Challenges24 Jun 2025
- 2025Why Stop at One Error? Benchmarking LLMs as Data Science Code Debuggers for Multi-Hop and Multi-Bug Errors28 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2025Enhancing LLM Code Generation: A Systematic Evaluation of Multi-Agent Collaboration and Runtime Debugging for Improved Accuracy, Reliability, and Latency
- 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidance
- 2025debug-gym: A Text-Based Environment for Interactive Debugging
- 2026TraceCoder: A Trace-Driven Multi-Agent Framework for Automated Debugging of LLM-Generated Code
- 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents
- 2025Empirical Research on Utilizing LLM-based Agents for Automated Bug Fixing via LangGraph
- 2025Fully Autonomous Programming using Iterative Multi-Agent Debugging with Large Language Models
- 2026Evaluating Agentic Code Repair Capabilities in Distributed Systems