paper-with-me

Papers

Unlocking LLM Code Correction with Iterative Feedback Loops

2026-06-16 · Le Zhang, Suresh Kothari arxiv

Large Language Models have shown remarkable capabilities in code generation. However, most existing evaluations focus only on single-attempt accuracy and overlook the iterative refinement process that is central to real-world programming. This study presents a systematic investigation of LLMs' ability to rectify their own code through execution feedback. Using real-world programming problems across four models and two major programming languages, this study evaluates performance using iterative refinement framework where LLMs receive compiler error messages and testcase feedback after each attempt. This study introduces metrics to evaluate code failures, analyze rectification patterns, and compare the effectiveness of reasoning and non-reasoning models, offering actionable insights into both the understanding and practical application of feedback loops in LLM-driven code generation systems. Results show that reasoning models consistently improve over iterations, substantially outperforming non-reasoning models in leveraging feedback, while syntactic and runtime errors are far more tractable than logical or algorithmic failures.

📄 PDF Abstract BibTeX arXiv:2606.17514

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

TangramSR: Can Vision-Language Models Reason in Continuous Geometric Space?

2026-02-05 · Yikun Zong, Cheston Tan arxiv

Humans excel at spatial reasoning tasks like Tangram puzzle assembly through cognitive processes involving mental rotation, iterative refinement, and visual feedback. Inspired by how humans solve Tangram puzzles through …

Spatial Reasoning

DataEvolver: Let Your Data Build and Improve Itself via Goal-Driven Loop Agents

2026-05-03 · Qisong Zhang, Wenzhuo Wu, Zhuangzhuang Jia, Yunhao Yang 외 arxiv

Constructing controllable visual data is a major bottleneck for image editing and multimodal understanding. Useful supervision is rarely produced by a single rendering pass; instead it emerges through iterative generatio…

Image Editing

LLMLOOP: Improving LLM-Generated Code and Tests through Automated Iterative Feedback Loops

2026-03-24 · Ravin Ravi, Dylan Bradshaw, Stefano Ruberto, Gunel Jahangirova 외 arxiv

Large Language Models (LLMs) are showing remarkable performance in generating source code, yet the generated code often has issues like compilation errors or incorrect code. Researchers and developers often face wasted e…

Breaking Feedback Loops in Recommender Systems with Causal Inference

2022-07-04 · Karl Krauth, Yixin Wang, Michael I. Jordan

Recommender systems play a key role in shaping modern web ecosystems. These systems alternate between (1) making recommendations (2) collecting user responses to these recommendations, and (3) retraining the recommendati…

Causal InferenceRecommendation Systems

Contextual Feedback Loops: Amplifying Deep Reasoning with Iterative Top-Down Feedback

2024-12-23 · Jacob Fein-Ashley, Rajgopal Kannan, Viktor Prasanna

Conventional deep networks rely on one-way backpropagation that overlooks reconciling high-level predictions with lower-level representations. We propose \emph{Contextual Feedback Loops} (CFLs), a lightweight mechanism t…

SST-2