paper-with-me

Papers

BLAgent: Agentic RAG for File-Level Bug Localization

2026-05-18 · Md Afif Al Mamun, Gias Uddin arxiv

Bug localization remains a key bottleneck for large language model (LLM)-based software maintenance, where accurately identifying faulty code is essential for debugging, root cause analysis, triage, and automated program repair (APR). File-level bug localization is especially critical in hierarchical localization and repair pipelines, where incorrect file selection can propagate to downstream stages such as function-level localization and patch generation. While Retrieval-Augmented Generation (RAG) offers a promising way to ground LLMs in repository context, existing RAG pipelines often rely on static retrieval and lack the reasoning needed to accurately identify faulty code. In this work, we present BLAgent, a novel agentic RAG framework for file-level bug localization that integrates three key ideas: (i) code structure-aware repository encoding with path-augmented AST-based chunking, (ii) dual-perspective query transformation that captures both structural and behavioral signals from bug reports, and (iii) two-phase agentic reranking that combines symbolic inspection with evidence-grounded reasoning. Unlike prior graph-based or multi-hop agentic approaches, BLAgent adopts a bounded reasoning strategy that limits LLM-based inspection and reranking to a compact, retrieval-filtered set of candidate files, avoiding open-ended repository traversal. This design balances localization accuracy with computational cost. On SWE-bench-Lite, BLAgent attains over 78% Top-1 accuracy with open-source models and over 86% with a closed-source model, while being over 18x cheaper than the strongest baseline using the same model. When integrated into an APR framework, BLAgent improves end-to-end repair success by up to 25%.

📄 PDF Abstract BibTeX arXiv:2605.17965

Code (0)

등록된 구현이 없습니다.

Tasks

Program Repair

Similar Papers 제목 키워드 기반

Multi-task LLMs for Bug Classification: Efficient Inference with Auxiliary Decoding Heads

2026-06-08 · Nikolai Rozanov arxiv

The rapid adoption of LLM-powered code generation has dramatically accelerated software development, yet effective verification methods remain severely underdeveloped. Existing bug localization techniques are either proh…

Code Generation

Is Agentic AI Ready for Real-World Hardware Engineering? A Deep Dive with Phoenix-bench

2026-05-13 · Qingyun Zou, Feng Yu, Hongshi Tan, Bingsheng He 외 arxiv

We ask whether agentic AI systems built for software engineering transfer to realistic hardware engineering. Existing hardware LLM benchmarks isolate sub-tasks but none jointly requires repository navigation, hierarchy-a…

ARISE: A Repository-level Graph Representation and Toolset for Agentic Program Repair and Fault Localization

2026-05-04 · Shahd Seddik, Fahd Seddik, Amirrezza Esmaeili, Mahdieh Sadatbenis 외 arxiv

Automated program repair at repository scale requires an agent to locate a fault among thousands of files and synthesize a correct patch. Existing graph-based agents represent how a repository is organized into files, cl…

Program Repair

From Trace to Line: LLM Agent for Real-World OSS Vulnerability Localization

2025-09-30 · Haoran Xi, Minghao Shao, Brendan Dolan-Gavitt, Muhammad Shafique 외 arxiv

Large language models show promise for vulnerability discovery, yet prevailing methods inspect code in isolation, struggle with long contexts, and focus on coarse function- or file-level detections that offer limited gui…

Vulnerability Detection

Natural Language Summarization Enables Multi-Repository Bug Localization by LLMs in Microservice Architectures

2025-12-05 · Amirkia Rafiei Oskooei, S. Selcan Yukcu, Mehmet Cevheri Bozoglan, Mehmet S. Aktas arxiv

Bug localization in multi-repository microservice architectures is challenging due to the semantic gap between natural language bug reports and code, LLM context limitations, and the need to first identify the correct re…

Cross-Modal Retrieval