Learning Adaptive Parallel Execution for Efficient Code Localization

📅 2026-01-27
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the inefficiency in code localization caused by redundant tool invocations—currently exhibiting a 34.9% redundancy rate among agents—by proposing FuseSearch, a novel framework that introduces the concept of tool efficiency for the first time. FuseSearch formulates parallel search as a joint optimization task balancing both quality and efficiency. It defines an efficiency metric based on the ratio of information gain to the number of tool calls and employs a two-stage training strategy combining supervised fine-tuning and reinforcement learning, enabling agents to dynamically adjust their search width according to contextual cues rather than adhering to fixed-width constraints. Evaluated on SWE-bench Verified, FuseSearch-4B achieves 84.7% file-level and 56.4% function-level F₁ scores while reducing interaction rounds by 67.7%, token consumption by 68.9%, and attaining a 93.6% speedup.

Technology Category

Application Category

📝 Abstract
Code localization constitutes a key bottleneck in automated software development pipelines. While concurrent tool execution can enhance discovery speed, current agents demonstrate a 34.9\% redundant invocation rate, which negates parallelism benefits. We propose \textbf{FuseSearch}, reformulating parallel code localization as a \textbf{joint quality-efficiency optimization} task. Through defining \textbf{tool efficiency} -- the ratio of unique information gain to invocation count -- we utilize a two-phase SFT and RL training approach for learning adaptive parallel strategies. Different from fixed-breadth approaches, FuseSearch dynamically modulates search breadth according to task context, evolving from exploration phases to refinement stages. Evaluated on SWE-bench Verified, FuseSearch-4B achieves SOTA-level performance (84.7\% file-level and 56.4\% function-level $F_1$ scores) with 93.6\% speedup, utilizing 67.7\% fewer turns and 68.9\% fewer tokens. Results indicate that efficiency-aware training naturally improves quality through eliminating noisy redundant signals, enabling high-performance cost-effective localization agents.
Problem

Research questions and friction points this paper is trying to address.

code localization
parallel execution
redundant invocation
efficiency
automated software development
Innovation

Methods, ideas, or system contributions that make the work stand out.

adaptive parallel execution
tool efficiency
joint quality-efficiency optimization
code localization
reinforcement learning
🔎 Similar Papers
No similar papers found.
K
Ke Xu
Ant Group, Peking University
S
Siyang Xiao
Ant Group
M
Ming Liang
Ant Group
Yichen Yu
Yichen Yu
the Hong Kong Polytechnic University
Outdoor thermal comforturban microclimate
Zhixiang Wang
Zhixiang Wang
University of Tokyo
Computational PhotographyComputational ImagingMachine Learning
J
Jing Xu
Ant Group, Beijing Jiaotong University
D
Dajun Chen
Ant Group
W
Wei Jiang
Ant Group
Y
Yong Li
Ant Group