SEAIJun 10

Exploration Structure in LLM Agents for Multi-File Change Localization

arXiv:2606.11976v111.0h-index: 22
Predicted impact top 37% in SE · last 90 daysOriginality Incremental advance
AI Analysis

For developers using LLM-based tools to localize code changes, this work proposes a more effective exploration structure, though the gains are incremental and domain-specific.

The paper addresses multi-file change localization for software issues using LLM agents, finding that non-linear, domain-scoped parallel agentic exploration outperforms linear sequential exploration, achieving the highest micro F1 among Haiku-class models and second only to a much larger model on an expanded benchmark, though a larger plain LLM baseline attains higher precision but lower recall on the original benchmark.

Software engineering tools increasingly rely on LLM based agents to localize files to change to resolve a software issue. Most AI agents explore repositories linearly, that is, visiting one directory or file per step. We postulate that this is a structural mismatch for changes that span several subsystems. We compare linear sequential exploration against non-linear, domain-scoped parallel agentic exploration. Using SWE Bench Pro as initial benchmark, we focus on ansible as an exemplar. We construct an approach for persistent-session evaluation of GitHub issues anchored at a single base commit. We compare our non-linear domain-agent file traversal system against a base LLM without direct repository access, a single agent Recursive Language Model (RLM) baseline with a persistent Python REPL and an external CLI baseline using Codex 5.5 High. Domain scoped parallel agent spawning with a small Haiku-class model achieves the highest micro F1 among Haiku class models by a large margin. Domain-agents is the second highest behind only the much larger Codex 5.5 High on our own expanded benchmark including over more recent PRs from 2025 and 2026. On the original, curated, 2020 SWE-bench Pro benchmark, a larger Sonnet plain LLM baseline attains higher micro F1 by predicting few files, leading to higher precision, but at significantly lower all gold recall. We also present three additional findings. First, documentation evolution is a latent dependency unresolved by any approach. Second, naive file system access can degrade localization driven by test-file over prediction. Lastly, forced multi-agent consultation does not measurably help and raises token cost substantially.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes