NINJA: A Navigator-Inspector Joint Architecture for Context-Efficient Issue Localization
Not on the map. Why?
Abstract (arXiv)
Recent advances in agent-based methods have demonstrated strong promise for issue localization, a critical prerequisite for software issue resolution. However, most existing agent-based methods rely on a single agent with a growing context, where long-context accumulation compresses the effective reasoning space. Meanwhile, the flat exploration structure hinders the balance between file-level breadth and function-level depth. To address these limitations, we propose NINJA, a hierarchical Navigator-Inspector Joint Architecture for context-efficient issue localization. NINJA decomposes repository exploration into global navigation and local inspection: the navigator maintains the global search state, performs file-level search, and dispatches selected entry files, while inspectors independently conduct function-level exploration around the assigned files in separate contexts. Through multi-round interactions, inspectors return suspicious locations as feedback, and the navigator updates the global state to decide whether to continue exploration or finalize localization. This hierarchical design balances file-level breadth with function-level depth, while independent inspector contexts prevent local exploration traces from accumulating in a single growing context. To further strengthen both global coordination and local exploration, we introduce a two-stage agentic fine-tuning strategy. Extensive experiments across multiple benchmarks and LLM backbones show that NINJA consistently outperforms competitive baselines. Notably, after fine-tuning, Qwen3-Coder-30B-A3B-Instruct surpasses the strong closed-source Claude-Haiku-4.5 model. Our code is available at https://github.com/wantbook-book/NINJA.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 53 of its 64 references that are in the map. Submitted 5 Nov 2026.
Builds on
53 of 64 references.
References · 53
- 2017Proximal Policy Optimization Algorithmscited by 16,156
- 2025Qwen3 Technical Reportcited by 9,994
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2020Measuring Massive Multitask Language Understandingcited by 8,473
- 2023Let's Verify Step by Stepcited by 4,259
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 3,191
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 3,138
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,255
- 2015High-Dimensional Continuous Control Using Generalized Advantage Estimationcited by 2,164
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 2,069
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,902
38 more
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,602
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 461
- 2024Understanding the planning of LLM agents: A surveycited by 440
- 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 371
- 2023AgentTuning: Enabling Generalized Agent Abilities for LLMscited by 364
- 2024AutoCodeRover: Autonomous Program Improvementcited by 303
- 2026Qwen3.5-Omni Technical Reportcited by 224
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 195
- 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolutioncited by 148
- 2024Agent-FLAN: Designing Data and Methods of Effective Agent Tuning for Large Language Modelscited by 109
- 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?cited by 104
- 2025LocAgent: Graph-Guided LLM Agents for Code Localizationcited by 99
- 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 97
- 2025SWE-Fixer: Training Open-Source LLMs for Effective and Efficient GitHub Issue Resolutioncited by 96
- 2024AgentBank: Towards Generalized LLM Agents via Fine-Tuning on 50000+ Interaction Trajectoriescited by 61
- 2025SeRL: Self-Play Reinforcement Learning for Large Language Models with Limited Datacited by 55
- 2025OrcaLoca: An LLM Agent Framework for Software Issue Localizationcited by 54
- 2025Consistent Paths Lead to Truth: Self-Rewarding Reinforcement Learning for LLM Reasoningcited by 52
- 2024AgentFL: Scaling LLM-based Fault Localization to Project-Level Contextcited by 50
- 2024CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Rerankingcited by 39
- 2025A Survey of Direct Preference Optimizationcited by 38
- 2025ATLaS: Agent Tuning via Learning Critical Stepscited by 36
- 2024Odyssey: Empowering Minecraft Agents with Open-World Skillscited by 30
- 2023Mathematical Language Models: A Surveycited by 26
- 2025Improving Code Localization with Repository Memorycited by 26
- 2025SweRank: Software Issue Localization with Code Rankingcited by 24
- 2025Tool-integrated Reinforcement Learning for Repo Deep Searchcited by 20
- 2026PaperOrchestra: A Multi-Agent Framework for Automated AI Research Paper Writingcited by 20
- 2024CodeACT: Code Adaptive Compute-efficient Tuning Framework for Code LLMscited by 16
- 2024SPAgent: Adaptive Task Decomposition and Model Selection for General Video Generation and Editingcited by 15
- 2023Global and Local Semantic Completion Learning for Vision-Language Pre-trainingcited by 13
- 2026CodeScout: An Effective Recipe for Reinforcement Learning of Code Search Agentscited by 12
- 2025Replay Failures as Successes: Sample-Efficient Reinforcement Learning for Instruction Followingcited by 11
- 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 9
- 2025A Simple "Motivation" Can Enhance Reinforcement Finetuning of Large Reasoning Modelscited by 8
- 2025PaperDebugger: A Plugin-Based Multi-Agent System for In-Editor Academic Writing, Review, and Editingcited by 7
- 2025GraphLocator: Graph-guided Causal Reasoning for Issue Localizationcited by 7
- 2025SweRank+: Multilingual, Multi-Turn Code Ranking for Software Issue Localizationcited by 6
50 most cited of 53 All 53 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Cost-Effective Repository Exploration for Agentic Issue Localization
- 2026Semantic Navigation for Issue Localization in Code Repository
- 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolution
- 2026Beyond Textual Repository Exploration: Dual-Modal Structural Reasoning for Agentic Issue Resolution
- 2026SHERLOC: Structured Diagnostic Localization for Code Repair Agents
- 2026PhoenixRepair: Rethinking Repair Strategy Exploration in Software Agents
- 2026BLAgent: Agentic RAG for File-Level Bug Localization
- 2025Reformulate, Retrieve, Localize: Agents for Repository-Level Bug Localization