Code localization--identifying precisely where in a codebase changes need to be made--is a fundamental yet challenging task in software maintenance. Existing approaches struggle to efficiently navigate complex codebases when identifying relevant code sections. The challenge lies in bridging natural language problem descriptions with the appropriate code elements, often requiring reasoning across hierarchical structures and multiple dependencies. We introduce LocAgent, a framework that addresses code localization through graph-based representation. By parsing codebases into directed heterogeneous graphs, LocAgent creates a lightweight representation that captures code structures (files, classes, functions) and their dependencies (imports, invocations, inheritance), enabling LLM agents to effectively search and locate relevant entities through powerful multi-hop reasoning. Experimental results on real-world benchmarks demonstrate that our approach significantly enhances accuracy in code localization. Notably, our method with the fine-tuned Qwen-2.5-Coder-Instruct-32B model achieves comparable results to SOTA proprietary models at greatly reduced cost (approximately 86% reduction), reaching up to 92.7% accuracy on file-level localization while improving downstream GitHub issue resolution success rates by 12% for multiple attempts (Pass@10). Our code is available at https://github.com/gersteinlab/LocAgent.
CLUE: Conflict-guided Localization for LLM Unlearning Framework
Hang Chen School of Computer Science and Technology Xi’an Jiaotong University(陈hang 硕士生 计算机科学与技术学院 西安交通大学);Jiaying Zhu School of Computer Science and Engineering The Chinese University of Hong Kong(朱纪莹 计算机科学与工程学院 香港中文大学);Xinyu Yang School of Computer Science and Technology Xi’an Jiaotong University(杨新宇 硕士生 计算机科学与技术学院 西安交通大学);Wenya Wang School of Computer Science and Engineering Nanyang Technological University(王文亚 计算机科学与工程学院 新加坡国立大学)
Locatability-Guided Adaptive Reasoning for Image Geo-Localization with Vision-Language Models
The University of Utah(犹他大学);The University of Oklahoma(俄克拉荷马大学);Worcester Polytechnic Institute(沃斯特理工学院);Rensselaer Polytechnic Institute(雷士利理工学院);University of Illinois Chicago(伊利诺伊大学芝加哥分校)
Enhancing Geo-localization for Crowdsourced Flood Imagery via LLM-Guided Attention
Department of Urban Planning and Design, The University of Hong Kong(香港大学城市规划与设计系);Urban Systems Institute, The University of Hong Kong(香港大学都市系统研究所);Department of Civil and Environmental Engineering, The Hong Kong University of Science and Technology(香港理工大学土木与环境工程系)
Turning Generators into Retrievers: Unlocking MLLMs for Natural Language-Guided Geo-Localization
Vermont Artificial Intelligence Lab, Department of Computer Science, University of Vermont(佛蒙特大学计算机科学系佛蒙特人工智能实验室);Intelligent Machines Lab, Department of Artificial Intelligence, Information Technology University(信息技术大学人工智能系智能机器实验室);Institute of Artificial Intelligence, University of Central Florida(中佛罗里达大学人工智能研究所)
Unifying VLM-Guided Flow Matching and Spectral Anomaly Detection for Interpretable Veterinary Diagnosis
School of Mathematics, Shandong University(山东大学数学学院);Shenzhen Loop Area Institute(深圳河套学院);Yeshiva University(叶史瓦大学);Qilu University of Technology(齐鲁工业大学);Shandong Normal University(山东师范大学);Chuzhou University(滁州学院)
GraphLocator: Graph-guided Causal Reasoning for Issue Localization
Key Lab of High Confidence Software Technologies (PKU), MoE(教育部高可信软件技术重点实验室);School of Computer Science, Peking University(北京大学计算机学院);Bytedance(字节跳动);School of Electronic and Computer Engineering, Peking University(北京大学电子工程与计算机学院)