Natural Language Summarization Enables Multi-Repository Bug Localization by LLMs in Microservice Architectures

Amirkia Rafiei Oskooei, S. Selcan Yukcu, Mehmet Cevheri Bozoglan, Mehmet S. Aktas
12/5/2025
cs.SEcs.AIcs.CL

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{oskooei2025natural,
  title  = {Natural Language Summarization Enables Multi-Repository Bug Localization by LLMs in Microservice Architectures},
  author = {Amirkia Rafiei Oskooei and S. Selcan Yukcu and Mehmet Cevheri Bozoglan and Mehmet S. Aktas},
  year   = {2025},
  eprint = {2512.05908},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.05908v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.05908.svg)](https://codeofpaper.com/paper/2512.05908)

Discussion