paper-with-me

Papers

NL-Debugging: Exploiting Natural Language as an Intermediate Representation for Code Debugging

2025-05-21 · Weiming Zhang, Qingyao Li, Xinyi Dai, Jizheng Chen, Kounianhua Du, Weinan Zhang, Weiwen Liu, Yasheng Wang, Ruiming Tang, Yong Yu

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.

📄 PDF Abstract BibTeX arXiv:2505.15356

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

DiffPDE: Masked Diffusion Language Models as PDE Solver

2026-08-31 · Wenxuan Guo, Yuyang Hong, Lubin Fan, Zhaojin Fu 외 arxiv

Existing approaches for synthesizing Partial Differential Equation (PDE) solvers predominantly rely on autoregressive models, yet their global left-to-right decoding incurs substantial redundancy when addressing inherent…

Reinforcement LearningCode Repair

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

2024-02-25 · Li Zhong, Zilong Wang, Jingbo Shang

Large language models (LLMs) are leading significant progress in code generation. Beyond one-pass code generation, recent works further integrate unit tests and program verifiers into LLMs to iteratively refine the gener…

Code GenerationHumanEvalLanguage ModelingLanguage Modelling+2

Revisit Self-Debugging with Self-Generated Tests for Code Generation

2025-01-22 · Xiancai Chen, Zhengwei Tao, Kechi Zhang, Changzhi Zhou 외

Large language models (LLMs) have shown significant advancements in code generation, but still face challenges on tasks beyond their basic capabilities. Recently, the notion of self-debugging has been proposed to boost t…

Code Generation

Intermediate Entity-based Sparse Interpretable Representation Learning

2022-12-03 · Diego Garcia-Olano, Yasumasa Onoe, Joydeep Ghosh, Byron C. Wallace

Interpretable entity representations (IERs) are sparse embeddings that are "human-readable" in that dimensions correspond to fine-grained entity types and values are predicted probabilities that a given entity is of the …

counterfactualRepresentation Learning

DistIR: An Intermediate Representation and Simulator for Efficient Neural Network Distribution

2021-11-09 · Keshav Santhanam, Siddharth Krishna, Ryota Tomioka, Tim Harris 외

The rapidly growing size of deep neural network (DNN) models and datasets has given rise to a variety of distribution strategies such as data, tensor-model, pipeline parallelism, and hybrid combinations thereof. Each of …

Efficient Neural Network