SpIDER: Spatially Informed Dense Embedding Retrieval for Software Issue Localization
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Retrieving code functions, classes or files relevant to a user query, bug report or feature request from large codebases is a fundamental challenge for Large Language Model (LLM)-based coding agents. Agentic approaches typically employ sparse methods like BM25 or dense embedding strategies to identify semantically relevant units. While dense embedding approaches can outperform BM25 by large margins, both ignore the graph-structured characteristics of the codebase. To address this, we propose SpIDER (Spatially Informed Dense Embedding Retrieval), a dense retrieval approach that integrates LLM-based reasoning with graph-based exploration of the codebase. We further introduce SpIDER-Bench, a graph-structured benchmark curated from SWEPolyBench, SWEBench-Verified and Multi-SWE-bench, spanning Python, Java, JavaScript and TypeScript repositories. SpIDER's graph-based candidate expansion attaches a structural reason for inclusion to each surfaced function (its seed and the edge type linking them), making the candidate set auditable while keeping the retrieval budget fixed. The graph is built from per-repository syntax trees, so it can be constructed on-demand at the start of a developer session rather than precomputed offline. Empirical results show that SpIDER consistently improves dense retrieval Recall@20 across every language and benchmark in SpIDER-Bench: by at least 13% relative (+0.05 to +0.12 absolute) along containment edges, rising to at least 27% relative (+0.11 to +0.19 absolute) once call edges are explored.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 17 of its 44 references that are in the map. First posted on arXiv 18 Dec 2025.
Builds on
17 of 44 references.
Closest ancestors · 4
Same direction, newest first
- 2025SWE-PolyBench: A multi-language benchmark for repository level evaluation of coding agents11 Apr
- 2025LocAgent: Graph-Guided LLM Agents for Code Localization12 Mar
- 2024Agentless: Demystifying LLM-based Software Engineering Agents1 Jul
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
Other references · 13
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
- 2024RepoGraph: Enhancing AI Software Engineering with Repository-level Code Graphcited by 91
- 2024RepoAgent: An LLM-Powered Open-Source Framework for Repository-level Code Documentation Generationcited by 70
- 2023A Quantitative and Qualitative Evaluation of LLM-Based Explainable Fault Localizationcited by 50
- 2024CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Rerankingcited by 37
- 2024Code Representation Learning At Scalecited by 26
- 2022Adaptive Re-Ranking with a Corpus Graphcited by 23
- 2025Issue Localization via LLM-Driven Iterative Code Graph Searchingcited by 22
- 2025SweRank: Software Issue Localization with Code Rankingcited by 20
1 more
- 2025CoRet: Improved Retriever for Code Editingcited by 3
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Retrieval-Oriented Code Representations in Agentic Bug Localization
- 2026CORE-Bench: A Comprehensive Benchmark for Code Retrieval in the Era of Agentic Coding
- 2026ExecRetrieval: Measuring the Functional-Correctness Gap in Code-Embedding Retrieval
- 2024CodeXEmbed: A Generalist Embedding Model Family for Multiligual and Multi-task Code Retrieval
- 2025RANGER -- Repository-Level Agent for Graph-Enhanced Retrieval
- 2026LARGER: Lexically Anchored Repository Graph Exploration and Retrieval
- 2025Meta-RAG on Large Codebases Using Code Summarization
- 2026BLAgent: Agentic RAG for File-Level Bug Localization