- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 2
- Quality
- 2
- Significance
- 3
Read review
Summary
This paper introduces NINJA, a Navigator-Inspector Joint Architecture designed for software issue localization. To address the problem of context accumulation and reasoning degradation in single-agent setups, NINJA separates the task into global file-level navigation (managed by a central Navigator agent) and local function-level inspection (handled by dynamically dispatched Inspector agents operating in independent contexts). The authors further propose a two-stage agentic fine-tuning pipeline consisting of Supervised Fine-Tuning (SFT) and Proximal Policy Optimization (PPO) applied component-wise. Evaluated on SWE-Bench-Lite and LocBench, NINJA demonstrates improved localization accuracy over several existing baselines.
Strengths and weaknesses
Strengths:
- The decomposition of repository exploration into a global navigator and local, isolated inspectors is a practical approach to mitigating the "lost in the middle" and context-bloat issues common in long-horizon agent tasks.
- The component-wise two-stage fine-tuning strategy (SFT followed by PPO) specifically tailored for this multi-agent workflow is a solid technical contribution that demonstrates clear empirical benefits over basic SFT.
- The method achieves highly competitive Top-5 Accuracy and F1 scores on both SWE-Bench-Lite and LocBench across different underlying LLMs.
Weaknesses:
-
The authors claim that "most agent-based methods still rely on a single agent that explores the repository within one continuously growing context". This ignores a vast, highly relevant body of multi-agent software engineering frameworks proposed over the last two years. Frameworks such as MetaGPT, ChatDev, MAGIS (Multi-Agent framework for Github Issue reSolution), CodeR, and AutoCodeRover heavily utilize hierarchical (Manager/Worker) or multi-agent decompositions to solve complex coding tasks, parallelize search, and mitigate context limits. The "Navigator-Inspector" paradigm is conceptually identical to a standard Manager-Worker multi-agent architecture. By failing to thoroughly discuss, contrast with, or evaluate against these established multi-agent SWE frameworks, the paper's claims of architectural novelty are significantly overstated.
-
The claims of the paper regarding architectural superiority are partially confounded by the training setup. NINJA's primary results (NINJA-30B) are achieved after custom SFT + PPO tuning, but the authors explicitly state that they "do not retrain LocAgent or RepoSearcher." While the authors do provide an untrained Initial baseline in Table 4, it shows that the untrained NINJA architecture performs on par with the untrained OrcaLoca baseline (Function-level F1 of 27.7% vs 27.9%). This indicates that the bulk of NINJA's performance gains are derived from the rigorous PPO tuning rather than the Navigator-Inspector decomposition itself. Without applying the same SFT + PPO training budget to the baseline architectures, it is impossible to determine if these training gains are specific to NINJA's architecture.
-
While the paper's title claims to be "context-efficient," the ablation study in Table 2 reveals a massive computational and latency overhead. The "w/o independent context" baseline (essentially a single agent) uses 24.6K tokens and takes 17.2s, whereas full NINJA uses 51.7K tokens and takes 85.4s. Doubling the token cost and increasing runtime by 5× is a steep price, making the claim of overall efficiency feel misrepresented.
Questions
- How does the "Navigator-Inspector" architecture fundamentally differ from existing hierarchical multi-agent SWE frameworks like MAGIS or MetaGPT, and why were these approaches excluded from the related work and baseline evaluations?
- Can you provide an ablation or baseline where a standard single-agent architecture (or an existing multi-agent baseline like MAGIS) is given the exact same SFT + PPO training budget as NINJA? This is necessary to isolate the architectural gains from the RL training gains.
- In Table 2, NINJA requires more than double the tokens and 5× the runtime of the single-context ablation. Do you consider this a favorable trade-off for real-world deployment, and can the architecture be optimized to reduce this massive latency overhead?
Limitations
The authors acknowledge the runtime overhead in the appendix, but they slightly downplay it by stating it "remains within roughly twice that of other agent-based methods." As noted in their own ablation, compared to a single-agent baseline, the runtime is 5× higher.
Paper formatting concerns
None
Final justification
Resolved issues:
- Architectural vs. training gains: The authors ran the same SFT+PPO pipeline on OrcaLoca, showing NINJA retains large advantages under matched training (e.g., +31.8% Func Acc@5). This was my primary concern and it is now convincingly addressed.
- Missing multi-agent baselines: Comparisons against MAGIS, CodeR, and AutoCodeRover were added. NINJA outperforms all under zero-shot settings.
- Downstream utility: New results show NINJA's localization hints raise issue resolution from 28.8% to 45.2%, demonstrating practical value.
Unresolved issues:
- Low function-level precision: The gap between Func Acc@5 (77.3%) and Func F1 (29.4%) remains large and was not substantively addressed. This suggests the method achieves coverage via broad candidate sets rather than precise root-cause localization, which limits its practical value for downstream editing.
- Misleading "context-efficient" framing: NINJA consumes ~50K aggregate tokens vs. ~25-30K for single-agent baselines. The authors' definition (per-agent window isolation) is technically defensible but the paper's title and abstract will mislead readers into expecting computational savings. The authors agreed to clarify but the current framing remains a presentation weakness.
The controlled training experiment decisively resolves the most critical methodological concern from my original review. The precision and framing issues are real but secondary but they affect the paper's practical claims rather than its core technical validity.
Dear PdSL,
Thanks for your professional review! We are glad that you recognize the method combines the Navigator–Inspector architecture with SFT+PPO training, achieving strong localization performance across benchmarks and backbone models.
[W1&Q1] How does Navigator–Inspector differ from hierarchical multi-agent SWE frameworks such as MetaGPT, ChatDev, MAGIS, CodeR, and AutoCodeRover? Please clarify its architectural novelty and justify the omission of these methods from the related work and baseline comparisons, given its apparent similarity to a standard Manager–Worker design.
Thank you for the suggestion. We agree that Manager–Worker is a general architectural paradigm underlying many multi-agent systems [1-2], including those mentioned by the reviewer, and we do not claim this decomposition itself as fundamentally novel. NINJA instantiates this paradigm specifically for issue localization by decomposing repository exploration into a file-level Navigator and function-level Inspectors. The Navigator maintains the global localization state, dynamically decides when and where to dispatch Inspectors, and integrates their feedback through multiple rounds of interaction. This also differs from a fixed two-stage localization pipeline that completes file-level search before performing function-level analysis. Below, we further clarify the differences between NINJA and the methods mentioned by the reviewer.
(1) They target different tasks. ChatDev and MetaGPT aim to support end-to-end software development from requirements to code and documentation. AutoCodeRover, MAGIS, and CodeR focus on repository-level issue resolution, whereas our work specifically addresses issue localization, a prerequisite for software issue resolution.
(2) Their methodological designs differ substantially from ours. Regarding issue localization, ChatDev and MetaGPT do not include an explicit localization stage. AutoCodeRover analyzes repository structure through AST parsing to address the limitations of similarity-based retrieval in identifying the root cause of an issue. MAGIS combines BM25 indexing with LLM-based relevance assessment and repository-evolution memory to select relevant files. CodeR adopts conventional BM25 and spectrum-based fault localization methods. The baselines evaluated in our original manuscript already represent these localization paradigms.
(3) Although MAGIS and CodeR are multi-agent frameworks, their issue localization is still performed by a single agent. In contrast, our framework enables iterative collaboration between two specialized agents: the Navigator performs file-level exploration, while the Inspector conducts function-level analysis.
As suggested, we additionally compare our method with prior frameworks that include an issue-localization period. Specifically, we extract and evaluate the intermediate localization results of MAGIS, CodeR, and AutoCodeRover under our setting. With Qwen3-Coder-30B-A3B-Instruct and no task-specific training, our method consistently outperforms all baselines (Tab. R1).
Table R1: Comparison on the SWE-bench Lite issue localization task using Qwen3-Coder-30B-A3B-Instruct.
[W2&Q2] Since untrained NINJA and OrcaLoca achieve similar function-level F1, please compare NINJA with a single-agent under the same SFT+PPO budget to isolate architectural gains from training gains.
Thank you for this insightful comment.
(1) Under the fair setting where all methods are evaluated without task-specific training, our method delivers the strongest overall performance on SWE-Bench-Lite. Although OrcaLoca achieves a higher function-level F1, our method substantially outperforms it in file-level Acc@5 (79.3 vs. 64.0) and function-level Acc@5 (71.1 vs. 39.0), while also attaining a higher file-level F1 (53.5 vs. 51.8).
(2) As suggested, we additionally apply the same SFT+PPO training procedure to OrcaLoca. The SFT data are likewise collected using Claude Haiku 4.5, and we adopt the training configurations reported in Tabs. 9 and 10 of the original supplementary material. As shown in Tab. R2, our method continues to outperform OrcaLoca after both methods undergo SFT+PPO training.
Table R2: Comparison of OrcaLoca and our method after SFT and PPO training using Qwen3-Coder-30B-A3B-Instruct on SWE-bench Lite.
[W3&Q3] Given NINJA’s substantially higher token usage and latency than
w/o independent context, how is its “context-efficient” claim justified? Is this trade-off practical, and can the latency overhead be reduced?Sorry for the confusion. (1) We use context-efficient to mean preventing irrelevant information from accumulating in the context, as such information may distract the agent’s reasoning, as explained on Page 2, Lines 42–46 of the original manuscript. NINJA w/o independent context performs worse because shared contexts reduce the effective reasoning space. A full-context inheritance setting, where the Inspector receives the Navigator’s entire context, similarly degrades performance (Tab. R3), further supporting the benefit of independent contexts. We will clarify this definition in the revision.
Table R3: Context-sharing ablation of NINJA using Qwen3-Coder-30B-A3B-Instruct on SWE-bench Lite.
(2) Regarding the cost–performance trade-off, we believe that, in real-world applications, a moderate increase in computational time is a reasonable and worthwhile trade-off for better performance. As shown in Tab. R4,
NINJA w/o independent contextimproves issue resolution from 28.8% to only 33.2%, whereas NINJA raises it to 45.2%, approaching the 52.6% ground-truth edit-hint reference. This indicates that localization quality directly constrains issue resolution. NINJA therefore serves as a higher-effort option, similar to those provided by coding products such as Codex and Claude Code, allowing users to trade additional computation for better coding outcomes.Table R4: Downstream issue resolution with localization hints on SWE-bench Verified using Claude Haiku 4.5 under the mini-SWE-agent issue resolution framework. Resolve (%) denotes the success rate, and # Tokens denotes the average token cost per task.
NINJA w/o independent contextNINJA(3) Latency optimization is an infrastructure-level concern orthogonal to our methodological design. As suggested, we additionally implement four optimizations: (a) repository dependency-graph caching, (b) graph prefetching during the Navigator’s initial request, (c) copy elision, and (d) persistent, separate executors for Inspector execution and tool parallelism. As shown in Tab. R5, incrementally incorporating these optimizations effectively reduces system overhead. Furthermore, Tab. R6 shows that the optimized implementation reduces end-to-end latency by 28% while preserving performance.
Table R5: Ablation study of latency optimizations for Qwen3-Coder-30B-A3B-Instruct on the same 50 sampled SWE-bench Lite instances using the same random seed.
Table R6: Performance and latency comparison between NINJA and latency-optimized NINJA on the full SWE-bench Lite using Qwen3-Coder-30B-A3B-Instruct.
[Limitation] The Appendix claims that NINJA’s runtime is within roughly 2× that of other agent-based methods, yet Table 2 shows a 5× gap from the single-agent baseline. Does this understate the runtime overhead?
Thank you for the helpful feedback. The approximately twofold runtime reported in our original manuscript is relative to the agent-based baselines in Tab. 1. Specifically, NINJA is slower than LocAgent, CoSIL, and RepoSearcher when all methods use either the untrained Qwen3-Coder-30B-Instruct or Claude-Haiku-4.5. It is also slower than SWERank+ and OrcaLoca under Claude-Haiku-4.5. However, when using the untrained Qwen3-Coder-30B-Instruct, NINJA is faster than both SWERank+ and OrcaLoca. In contrast, Tab. 2 reports ablation variants of our method. Since the w/o independent context variant performs substantially worse, comparing its runtime with that of the complete NINJA framework provides limited insight into the overall cost–performance trade-off. To avoid ambiguity, we will revise the corresponding statement accordingly.
References
[1] SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolution. arXiv 2025.
[2] Magentic-One: A Generalist Multi-Agent System for Solving Complex Tasks. arXiv 2024.