Research map / Multi-agent systems and games / LLM agents
LocAgent: Graph-Guided LLM Agents for Code Localization
Zhaoling Chen, Xiangru Tang, Gangda Deng, Fang Wu, Jialong Wu, Zhiwei Jiang, Viktor Prasanna, Arman Cohan, Xingyao Wang
Yale University · University of Southern California · Stanford University · All Hands AI
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add SearchEntity tool (ablation) | LocAgent (Qwen2.5-7B ft) · SWE-Bench-Lite | function Acc@10: 53.28 -> 71.53 | Improved |
| add BM25 index to SearchEntity (ablation) | LocAgent (Qwen2.5-7B ft) · SWE-Bench-Lite | function Acc@10: 60.22 -> 71.53 | Improved |
| add TraverseGraph tool (ablation) | LocAgent (Qwen2.5-7B ft) · SWE-Bench-Lite | function Acc@10: 66.06 -> 71.53 | Improved |
| add RetrieveEntity tool (ablation) | LocAgent (Qwen2.5-7B ft) · SWE-Bench-Lite | function Acc@10: 69.34 -> 71.53 | Improved |
| allow all four relation types instead of contain only in TraverseGraph (ablation) | LocAgent (Qwen2.5-7B ft) · SWE-Bench-Lite | function Acc@10: 66.42 -> 71.53 | Improved |
| allow multi-hop traversal instead of 1 hop (ablation) | LocAgent (Qwen2.5-7B ft) · SWE-Bench-Lite | function Acc@10: 66.79 -> 71.53 | Improved |
| fine-tune Qwen2.5-32B on trajectories | LocAgent · SWE-Bench-Lite | file Acc@5: comparable to Claude-3.5 (92.70 vs 94.16) | Improved |
| use tree-based TraverseGraph output instead of row format (ablation) | LocAgent (Claude-3.5) · SWE-Bench-Lite (37 hard samples) file | Acc@3: 67.65 -> 79.41 | Improved |
| add entity attributes to row output format (ablation) | LocAgent (Claude-3.5) · SWE-Bench-Lite (37 hard samples) file | Acc@5: 70.59 -> 64.71 | Hurt |
| use better localization (LocAgent) for downstream repair vs Agentless | Agentless editing + Claude-3.5 · SWE-Bench-Lite | Pass@10: 33.58 -> 37.59 | Improved |
| use fine-tuned Qwen2.5-7B instead of Claude-3.5 | LocAgent · Loc-Bench | file Acc@10: 86.07 -> 79.64 | Mixed |
Later papers that compared with this method
4 later accepted papers report LocAgent as a baseline in their results tables; 4 of them report a better number on most of the results they share with it.
- FuseSearch: Learning Adaptive Parallel Execution for Efficient Code Localization (ACL 2026 · better on 8 of 8 shared results)
- Improving Code Localization with Repository Memory (ICLR 2026 · better on 7 of 7 shared results)
- A$^2$Agent: Action-Aware Reinforcement Learning for Repository-Level Code Localization Agents (EMNLP 2026 · better on 2 of 2 shared results)
- One Tool Is Enough: Reinforcement Learning of LLM Agents for Repository-Level Code Navigation (ICML 2026 · better on 1 of 1 shared result)
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in robust and efficient agent execution
What makes an LLM agent finish a long task reliably, and at what cost?
- Methods are built for single agents, not teams. · 8 papers state it
- Weak visual perception caps GUI and embodied agents. · 5 papers state it
- Cached tool and plan reuse fails when tasks vary. · 5 papers state it
Closest papers by meaning
- OrcaLoca: An LLM Agent Framework for Software Issue Localization (ICML 2025 · similarity 0.89)
- Nemotron-CORTEXA: Enhancing LLM Agents for Software Engineering Tasks via Improved Localization and Solution Diversity (ICML 2025 · similarity 0.89)
- Improving Code Localization with Repository Memory (ICLR 2026 · similarity 0.87)
- Code Graph Model (CGM): A Graph-Integrated Large Language Model for Repository-Level Software Engineering Tasks (NeurIPS 2025 · similarity 0.86)
- Steering Large Language Models between Code Execution and Textual Reasoning (ICLR 2025 · similarity 0.86)
- SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents (NeurIPS 2024 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.