arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.00350cs.SEcs.AI
收藏

OrcaLoca:一种面向软件问题定位的LLM智能体框架

OrcaLoca: An LLM Agent Framework for Software Issue Localization

University of California, San Diego, USA(加州大学圣迭戈分校);Intel Corporation(英特尔公司)

Zhongming Yu, Hejia Zhang, Yujie Zhao, Hanxian Huang, Matrix Yao, Ke Ding, Jishen Zhao

AI总结:

针对现有软件问题定位方法效果不佳的问题,本文提出集成优先级调度、相关性评分动作分解与距离感知上下文剪枝的OrcaLoca框架,在SWE-bench Lite上取得开源SOTA定位效果,还提升了下游补丁生成的解决率。

摘要:

大语言模型(LLM)智能体的最新发展正在革新自主软件工程(ASE),实现了自动化编码、问题修复和功能改进。然而,定位——即通过导航到相关代码段来精准识别软件问题——仍然是一项重大挑战。当前方法由于缺乏LLM智能体与精准代码搜索机制之间的有效集成,往往产生次优结果。本文提出OrcaLoca,这是一种LLM智能体框架,通过集成LLM引导动作的基于优先级的调度、带相关性评分的动作分解以及距离感知上下文剪枝,提升了软件问题定位的准确率。实验结果表明,OrcaLoca在SWE-bench Lite数据集上的函数匹配率达到65.33%,成为新的开源当前最优水平(SOTA)。通过集成补丁生成功能,它还将某开源框架的最终解决率提升了6.33个百分点。

英文摘要:

Recent developments in Large Language Model (LLM) agents are revolutionizing Autonomous Software Engineering (ASE), enabling automated coding, problem fixes, and feature improvements. However, localization -- precisely identifying software problems by navigating to relevant code sections -- remains a significant challenge. Current approaches often yield suboptimal results due to a lack of effective integration between LLM agents and precise code search mechanisms. This paper introduces OrcaLoca, an LLM agent framework that improves accuracy for software issue localization by integrating priority-based scheduling for LLM-guided action, action decomposition with relevance scoring, and distance-aware context pruning. Experimental results demonstrate that OrcaLoca becomes the new open-source state-of-the-art (SOTA) in function match rate (65.33%) on SWE-bench Lite. It also improves the final resolved rate of an open-source framework by 6.33 percentage points through its patch generation integration.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑