paper-with-me

Papers

FLARE: Fine-Grained Diagnostic Feedback for LLM Code Refinement

2026-06-02 · Yinsheng Yao, Hongxiang Zhang, Weixi Tong, Tianyi Zhang arxiv

Large language models often generate code with bugs. Existing methods rely on feedback signals such as test failures and self-critiques to iteratively refine the generated code. Such signals are either too coarse-grained or too high-level, which is not sufficient to inform the model where to fix the bug. In this work, we present Flare, an iterative framework with a lightweight diagnostic model that predicts line-level suspiciousness signals for bug localization and code refinement. Given the inherent uncertainty of diagnostic predictions, Flare searches over the top-k suspicious regions and selects the best candidate according to execution outcomes. Experiments on LiveCodeBench and BigCodeBench with five base LLMs show that, even without candidate search (k=1), Flare outperforms the strongest baseline with an absolute improvement from 1.72% to 7.42%. Furthermore, searching over 10 candidates yields an average improvement of 8.50% compared with no candidate search. When evaluated in isolation, our lightweight diagnostic model achieves the best performance compared with recent fault localization methods, demonstrating that it can provide reliable fine-grained guidance for code refinement.

📄 PDF Abstract BibTeX arXiv:2606.03852

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

FLARE up your data: Diffusion-based Augmentation Method in Astronomical Imaging

2024-05-22 · Mohammed Talha Alam, Raza Imam, Mohsen Guizani, Fakhri Karray

The intersection of Astronomy and AI encounters significant challenges related to issues such as noisy backgrounds, lower resolution (LR), and the intricate process of filtering and archiving images from advanced telesco…

Astronomyimage-classificationImage Classification

DFDNet: Dynamic Frequency-Guided De-Flare Network

2025-07-23 · Minglong Xue, Aoxiang Ning, Shivakumara Palaiahnakote, Mingliang Zhou arxiv

Strong light sources in nighttime photography frequently produce flares in images, significantly degrading visual quality and impacting the performance of downstream tasks. While some progress has been made, existing met…

Contrastive LearningImage RestorationFlare Removal

Flare7K: A Phenomenological Nighttime Flare Removal Dataset

2022-10-12 · Yuekun Dai, Chongyi Li, Shangchen Zhou, Ruicheng Feng 외

Artificial lights commonly leave strong lens flare artifacts on images captured at night. Nighttime flare not only affects the visual quality but also degrades the performance of vision algorithms. Existing flare removal…

Flare Removal

BESPOKE: Benchmark for Search-Augmented Large Language Model Personalization via Diagnostic Feedback

2025-09-25 · Hyunseo Kim, Sangam Lee, Kwangwook Seo, Dongha Lee arxiv

Search-augmented large language models (LLMs) have advanced information-seeking tasks by integrating retrieval into generation, reducing users' cognitive burden compared to traditional search systems. Yet they remain ins…

CRITIC-R1: Learning Structured Critics for Retrieval-Augmented Generation

2026-05-28 · Wenhan Xiao, Ziwei Zhang, Chuanyue Yu, Xingcheng Fu 외 arxiv

Retrieval-augmented generation (RAG) improves knowledge-intensive question answering by incorporating external evidence. However, existing RAG methods still suffer from hallucinations and subtle reasoning errors. Recent …

Reinforcement LearningQuestion Answering