Natural Language Summarization Enables Multi-Repository Bug Localization by LLMs in Microservice Architectures
Not on the map. Why?
Abstract (arXiv)
Bug localization in multi-repository microservice architectures is challenging due to the semantic gap between natural language bug reports and code, LLM context limitations, and the need to first identify the correct repository. We propose reframing this as a natural language reasoning task by transforming codebases into hierarchical NL summaries and performing NL-to-NL search instead of cross-modal retrieval. Our approach builds context-aware summaries at file, directory, and repository levels, then uses a two-phase search: first routing bug reports to relevant repositories, then performing top-down localization within those repositories. Evaluated on DNext, an industrial system with 46 repositories and 1.1M lines of code, our method achieves Pass@10 of 0.82 and MRR of 0.50, significantly outperforming retrieval baselines and agentic RAG systems like GitHub Copilot and Cursor. This work demonstrates that engineered natural language representations can be more effective than raw source code for scalable bug localization, providing an interpretable repository -> directory -> file search path, which is vital for building trust in enterprise AI tools by providing essential transparency.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 16 of its 30 references that are in the map. First posted on arXiv 5 Dec 2025.
Builds on
16 of 30 references.
References · 16
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
- 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
- 2025Chain of Thought Monitorability: A New and Fragile Opportunity for AI Safetycited by 222
- 2025OrcaLoca: An LLM Agent Framework for Software Issue Localizationcited by 43
- 2024GraphCoder: Enhancing Repository-Level Code Completion via Code Context Graph-based Retrieval and Language Modelcited by 40
- 2024Rewriting the Code: A Simple Method for Large Language Model Augmented Code Searchcited by 17
- 2020Neural Code Search Revisited: Enhancing Code Snippet Retrieval through Natural Language Intentcited by 16
- 2025Bridging Bug Localization and Issue Fixing: A Hierarchical Localization Framework Leveraging Large Language Modelscited by 11
- 2024LLM Agents Improve Semantic Code Searchcited by 7
- 2025Hierarchical Repository-Level Code Summarization for Business Applications Using Local LLMscited by 6
- 2025Code-Craft: Hierarchical Graph-Based Code Summarization for Enhanced Context Retrievalcited by 4
4 more
- 2025Improving LLM-Based Fault Localization with External Memory and Project Contextcited by 4
- 2025Meta-RAG on Large Codebases Using Code Summarizationcited by 4
- 2025Commenting Higher-level Code Unit: Full Code, Reduced Code, or Hierarchical Code Summarizationcited by 3
- 2024Improving Source Code Similarity Detection Through GraphCodeBERT and Integration of Additional Featurescited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025Reformulate, Retrieve, Localize: Agents for Repository-Level Bug Localization
- 2026Retrieval-Oriented Code Representations in Agentic Bug Localization
- 2026BLAgent: Agentic RAG for File-Level Bug Localization
- 2025Extracting Conceptual Knowledge to Locate Software Issues
- 2026Semantic Navigation for Issue Localization in Code Repository
- 2026RepoNav: From Snippet Retrieval to File-Centered Repository Navigation for Code Agents
- 2026Multi-CoLoR: Context-Aware Localization and Reasoning across Multi-Language Codebases
- 2026LARGER: Lexically Anchored Repository Graph Exploration and Retrieval