Meta-RAG on Large Codebases Using Code Summarization
Not on the map. Why?
Abstract (arXiv)
Large Language Model (LLM) systems have been at the forefront of applied Artificial Intelligence (AI) research in a multitude of domains. One such domain is software development, where researchers have pushed the automation of a number of code tasks through LLM agents. Software development is a complex ecosystem, that stretches far beyond code implementation and well into the realm of code maintenance. In this paper, we propose a multi-agent system to localize bugs in large pre-existing codebases using information retrieval and LLMs. Our system introduces a novel Retrieval Augmented Generation (RAG) approach, Meta-RAG, where we utilize summaries to condense codebases by an average of 79.8%, into a compact, structured, natural language representation. We then use an LLM agent to determine which parts of the codebase are critical for bug resolution, i.e. bug localization. We demonstrate the usefulness of Meta-RAG through evaluation with the SWE-bench Lite dataset. Meta-RAG scores 84.67 % and 53.0 % for file-level and function-level correct localization rates, respectively, achieving state-of-the-art performance.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 34 of its 55 references that are in the map. First posted on arXiv 4 Aug 2025.
Builds on
34 of 55 references.
References · 34
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
- 2024A Survey on Large Language Models for Code Generationcited by 658
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 421
22 more
- 2024Long-context LLMs Struggle with Long In-context Learningcited by 286
- 2024AutoCodeRover: Autonomous Program Improvementcited by 278
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 232
- 2023Using an LLM to Help With Code Understandingcited by 228
- 2023Large Language Models for Software Engineering: Survey and Open Problemscited by 181
- 2023CodePlan: Repository-level Coding using LLMs and Planningcited by 140
- 2022Practical Program Repair in the Era of Large Pre-trained Language Modelscited by 133
- 2022Few-shot training LLMs for project-specific code-summarizationcited by 129
- 2023Self-planning Code Generation with Large Language Modelscited by 124
- 2023InferFix: End-to-End Program Repair with LLMscited by 114
- 2024Code-Aware Prompting: A study of Coverage Guided Test Generation in Regression Setting using LLMcited by 64
- 2019Pythia: AI-assisted Code Completion Systemcited by 55
- 2020A Systematic Literature Review on the Use of Deep Learning in Software Engineering Researchcited by 35
- 2024Towards Translating Real-World Code with LLMs: A Study of Translating to Rustcited by 35
- 2024Source Code Summarization in the Era of Large Language Modelscited by 31
- 2024Software Vulnerability and Functionality Assessment using LLMscited by 11
- 2023Programming-by-Demonstration for Long-Horizon Robot Taskscited by 9
- 2025Accountability in Code Review: The Role of Intrinsic Drivers and the Impact of LLMscited by 8
- 2024Search-based Optimisation of LLM Learning Shots for Story Point Estimationcited by 5
- 2019On Usefulness of the Deep-Learning-Based Bug Localization Models to Practitionerscited by 3
- 2020BuGL -- A Cross-Language Dataset for Bug Localizationcited by 2
- 2021An Extensive Study on Smell-Aware Bug Localizationcited by 1
Built on by
Citing papers per year: 2025: 3; 2026: 1.
4 papers.
- 2025ALMAS: an Autonomous LLM-based Multi-Agent Software Engineering Frameworkcited by 4
- 2025LLM Agents for Automated Dependency Upgradescited by 1
- 2025Natural Language Summarization Enables Multi-Repository Bug Localization by LLMs in Microservice Architecturescited by 1
- 2026The Limits of Long-Context Reasoning in Automated Bug Fixingcited by 1
- 2026The Limits of Long-Context Reasoning in Automated Bug Fixing17 Feb 2026
- 2025Natural Language Summarization Enables Multi-Repository Bug Localization by LLMs in Microservice Architectures5 Dec 2025
- 2025LLM Agents for Automated Dependency Upgrades3 Oct 2025
- 2025ALMAS: an Autonomous LLM-based Multi-Agent Software Engineering Framework3 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2026Retrieval-Oriented Code Representations in Agentic Bug Localization
- 2024LLM Agents Improve Semantic Code Search
- 2025Reformulate, Retrieve, Localize: Agents for Repository-Level Bug Localization
- 2026BLAgent: Agentic RAG for File-Level Bug Localization
- 2025A Deep Dive into Retrieval-Augmented Generation for Code Completion: Experience on WeChat
- 2025Enhancing LLM Code Generation: A Systematic Evaluation of Multi-Agent Collaboration and Runtime Debugging for Improved Accuracy, Reliability, and Latency
- 2026Not All RAGs Are Created Equal: A Component-Wise Empirical Study for Software Engineering Tasks
- 2025RAG Without the Lag: Interactive Debugging for Retrieval-Augmented Generation Pipelines