NL-Debugging: Exploiting Natural Language as an Intermediate Representation for Code Debugging
Not on the map. Why?
Abstract (arXiv)
Debugging is a critical aspect of LLM's coding ability. Early debugging efforts primarily focused on code-level analysis, which often falls short when addressing complex programming errors that require a deeper understanding of algorithmic logic. Recent advancements in large language models (LLMs) have shifted attention toward leveraging natural language reasoning to enhance code-related tasks. However, two fundamental questions remain unanswered: What type of natural language format is most effective for debugging tasks? And what specific benefits does natural language reasoning bring to the debugging process? In this paper, we introduce NL-DEBUGGING, a novel framework that employs natural language as an intermediate representation to improve code debugging. By debugging at a natural language level, we demonstrate that NL-DEBUGGING outperforms traditional debugging methods and enables a broader modification space through direct refinement guided by execution feedback. Our findings highlight the potential of natural language reasoning to advance automated code debugging and address complex programming challenges.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 35 of its 57 references that are in the map. First posted on arXiv 21 May 2025.
Builds on
35 of 57 references.
References · 35
- 2023GPT-4 Technical Reportcited by 18,396
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
- 2023Teaching Large Language Models to Self-Debugcited by 988
- 2021Measuring Coding Challenge Competence With APPScited by 902
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
- 2023StarCoder: may the source be with you!cited by 799
- 2024Training Language Models to Self-Correct via Reinforcement Learningcited by 426
23 more
- 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 331
- 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 247
- 2024Monte Carlo Tree Search Boosts Reasoning via Iterative Preference Learningcited by 241
- 2023Planning with Large Language Models for Code Generationcited by 182
- 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solvingcited by 177
- 2024O1 Replication Journey: A Strategic Progress Report -- Part 1cited by 143
- 2024Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step-by-stepcited by 127
- 2023InferFix: End-to-End Program Repair with LLMscited by 114
- 2023Self-Edit: Fault-Aware Code Editor for Code Generationcited by 111
- 2024Planning In Natural Language Improves LLM Search For Code Generationcited by 83
- 2024o1-Coder: an o1 Replication for Codingcited by 78
- 2024DebugBench: Evaluating Debugging Capability of Large Language Modelscited by 76
- 2021Break-It-Fix-It: Unsupervised Learning for Program Repaircited by 71
- 2023CodeScore: Evaluating Code Generation by Learning Code Executioncited by 67
- 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Studycited by 53
- 2024From Code to Correctness: Closing the Last Mile of Code Generation with Hierarchical Debuggingcited by 46
- 2024LeDex: Training LLMs to Better Self-Debug and Explain Codecited by 40
- 2020Synthesize, Execute and Debug: Learning to Repair for Neural Program Synthesiscited by 39
- 2024A Deep Dive into Large Language Models for Automated Bug Localization and Repaircited by 39
- 2025CodeCoR: An LLM-Based Self-Reflective Multi-Agent Framework for Code Generationcited by 34
- 2024AST-T5: Structure-Aware Pretraining for Code Generation and Understandingcited by 33
- 2024RethinkMCTS: Refining Erroneous Thoughts in Monte Carlo Tree Search for Code Generationcited by 26
- 2025Retrieval-Augmented Process Reward Model for Generalizable Mathematical Reasoningcited by 23
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026TraceCoder: A Trace-Driven Multi-Agent Framework for Automated Debugging of LLM-Generated Codecited by 6
- 2026FLARE: Fine-Grained Diagnostic Feedback for LLM Code Refinementcited by 1
- 2026LogitsCoder: Towards Efficient Chain-of-Thought Path Search via Logits Preference Decoding for Code Generationcited by 0
- 2026EstRTL: Functional Estimation Guided RTL Code Generationcited by 0
- 2026FLARE: Fine-Grained Diagnostic Feedback for LLM Code Refinement2 Jun 2026
- 2026EstRTL: Functional Estimation Guided RTL Code Generation1 Jun 2026
- 2026LogitsCoder: Towards Efficient Chain-of-Thought Path Search via Logits Preference Decoding for Code Generation15 Feb 2026
- 2026TraceCoder: A Trace-Driven Multi-Agent Framework for Automated Debugging of LLM-Generated Code6 Feb 2026