Semantic Navigation for Issue Localization in Code Repository
Organizations: Independent Researcher · University of Virginia
Abstract
Repository-level issue localization aims to identify and rank the files and functions relevant to resolving a reported issue. LLM agents approach this task iteratively: they identify a set of potentially relevant locations, inspect the corresponding code, and revise their judgments about these candidates as new evidence is acquired. Existing environments, however, provide limited support for this loop: agents must search for unresolved relation targets, reconstruct entity semantics from raw source code, and revise candidates without evidential basis. To address these limitations, we present SemNav, a framework that leverages deterministic retrieval to seed a broad candidate set and an LLM agent to continually refine that set, thereby combining initial coverage with evidence-guided revision. SemNav supports this process through three key components. A Semantic Navigation Graph resolves program relations on demand through a language server, enabling direct navigation to related entities across files. Issue-conditioned Semantic Cards provide compact, source-grounded interpretations of each entity's role and relevance to the issue. A persistent Candidate Workspace records each candidate together with its evidential basis, enabling grounded verification, revision, and ranking. Across SWE-bench Lite and PLocBench, SemNav outperforms existing baselines, improving File Hit@10 from 68.33% to 82.67% with Gemma 4B. Component ablations and trajectory analysis support the complementary roles of all three components, while Semantic Cards reduce working-context load by 48.2% relative to full-source reading. SemNav further ranks first on all seven evidence-quality metrics on SWE-Explore and improves downstream issue resolution from 44.00% to 52.33%.
Figures & tables
| Gemma 4B Repair | Qwen3.5 35B Repair | |||
|---|---|---|---|---|
| Localization | Applied | Resolved | Applied | Resolved |
| Agentless | 62.67 | 14.00 (35.9%) | 75.33 | 30.67 (45.8%) |
| CoSIL | 73.00 | 21.67 (55.6%) | 85.00 | 42.00 (62.7%) |
| LocAgent | 75.33 | 23.33 (59.8%) | 86.67 | 44.00 (65.7%) |
| mini-swe-agent | 72.00 | 19.67 (50.4%) | 83.67 | 40.00 (59.7%) |
| RepoSearcher | 65.00 | 15.33 (39.3%) | 77.00 | 33.00 (49.3%) |
Software Engineering Agents
Software Engineering Agents are AI systems that use code, tools, and feedback to perform software development tasks.
See all 323 papers