Tool-integrated Reinforcement Learning for Repo Deep Search
On the map: Deep reinforcement learning methods → RL training of language and agent models
Abstract (arXiv)
Issue localization, the process of identifying code locations that need modification to resolve software issues, is a critical yet challenging task in software development. The semantic gap between natural language issue descriptions and faulty code requires complex multi-hop reasoning through code dependencies. Existing LLM-based agents attempt to address this by integrating repository retrieval tools. However, this transforms issue localization into a demanding task we call Repo Deep Search, which requires the LLM to effectively utilize various repository retrieval tools throughout a multi-step reasoning and navigation process. To tackle this challenge, we present ToolTrain, a two-stage tool-integrated training framework combining rejection-sampled supervised fine-tuning and tool-integrated reinforcement learning to enhance LLMs' ability to use retrieval tools for issue localization. Experimental results show that ToolTrain-trained models achieve state-of-the-art performance, with our 32B model even surpassing Claude-3.7 on function-level localization. The results also show that improved localization performance translates to better end-to-end issue resolution performance. This further demonstrates that training for issue localization is a viable and effective strategy for improving automated software development.
Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Placed in RL training of language and agent models, one of 15 directions in Deep reinforcement learning methods. Builds on 26 of its 41 references that are in the map. First posted on arXiv 5 Aug 2025.
Builds on
26 of 41 references.
Closest ancestors · 1
Same direction, newest first
Other references · 25
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2022Competition-Level Code Generation with AlphaCodecited by 1,462
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,444
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2024A Survey on Large Language Models for Code Generationcited by 658
- 2020A Survey of Convolutional Neural Networks: Analysis, Applications, and Prospectscited by 397
- 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 336
13 more
- 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 285
- 2025Logic-RL: Unleashing LLM Reasoning with Rule-Based Reinforcement Learningcited by 262
- 2021Monte Carlo Tree Search: A Review of Recent Modifications and Applicationscited by 161
- 2013A Theoretical Analysis of NDCG Type Ranking Measurescited by 119
- 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 91
- 2025LocAgent: Graph-Guided LLM Agents for Code Localizationcited by 86
- 2024LLM-Based Test-Driven Interactive Code Generation: User Study and Empirical Evaluationcited by 49
- 2025OrcaLoca: An LLM Agent Framework for Software Issue Localizationcited by 45
- 2024HITS: High-coverage LLM-based Unit Test Generation via Method Slicingcited by 38
- 2025SoRFT: Issue Resolving with Subtask-oriented Reinforced Fine-Tuningcited by 28
- 2025Issue Localization via LLM-Driven Iterative Code Graph Searchingcited by 22
- 2021Fault Localization with Code Coverage Representation Learningcited by 16
- 2025SEAlign: Alignment Training for Software Engineering Agentcited by 11
Built on by
Citing papers per year: 2025: 6; 2026: 9.
15 papers.
Sort:
By area:
- 2025Retrieval-Augmented Code Generation: A Survey with Focus on Repository-Level Approachescited by 23
- 2025WebGen-Agent: Enhancing Interactive Website Generation with Multi-Level Feedback and Step-Level Reinforcement Learningcited by 15
- 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detectioncited by 11
- 2026Atlas: Orchestrating Heterogeneous Models and Tools for Multi-Domain Complex Reasoningcited by 11
- 2026CodeScout: An Effective Recipe for Reinforcement Learning of Code Search Agentscited by 9
- 2026FastContext: Training Efficient Repository Explorer for Coding Agentscited by 5
- 2025CoSineVerifier: Tool-Augmented Answer Verification for Computation-Oriented Scientific Questionscited by 4
- 2026SHERLOC: Structured Diagnostic Localization for Code Repair Agentscited by 2
- 2026MM-IssueLoc: A Controlled Benchmark for Evaluating Visual Evidence in Multimodal Repository-Level Issue Localizationcited by 2
- 2025PIPer: On-Device Environment Setup via Online Reinforcement Learningcited by 0
- 2025One Tool Is Enough: Reinforcement Learning for Repository-Level LLM Agentscited by 0
- 2026A^2Agent: Action-Aware Reinforcement Learning for Repository-Level Code Localization Agentscited by 0
- 2026Small Agents with Semantic Search: Efficient Multilingual Code Localization4 Oct 2026
- 2026PatchHolmes: Agentic Patch Retrieval via Listwise Selection30 Sep 2026
- 2026Semantic Navigation for Issue Localization in Code Repository25 Sep 2026
- 2026A^2Agent: Action-Aware Reinforcement Learning for Repository-Level Code Localization Agents30 Aug 2026
- 2026MM-IssueLoc: A Controlled Benchmark for Evaluating Visual Evidence in Multimodal Repository-Level Issue Localization16 Jul 2026
- 2026SHERLOC: Structured Diagnostic Localization for Code Repair Agents23 Jun 2026
- 2026FastContext: Training Efficient Repository Explorer for Coding Agents12 Jun 2026
- 2026CodeScout: An Effective Recipe for Reinforcement Learning of Code Search Agents18 Mar 2026
- 2026Atlas: Orchestrating Heterogeneous Models and Tools for Multi-Domain Complex Reasoning7 Jan 2026
- 2025One Tool Is Enough: Reinforcement Learning for Repository-Level LLM Agents24 Dec 2025
- 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detection8 Dec 2025
- 2025CoSineVerifier: Tool-Augmented Answer Verification for Computation-Oriented Scientific Questions1 Dec 2025
3 more
- 2025Retrieval-Augmented Code Generation: A Survey with Focus on Repository-Level Approaches6 Oct 2025
- 2025PIPer: On-Device Environment Setup via Online Reinforcement Learning29 Sep 2025
- 2025WebGen-Agent: Enhancing Interactive Website Generation with Multi-Level Feedback and Step-Level Reinforcement Learning26 Sep 2025
- 2026CodeScout: An Effective Recipe for Reinforcement Learning of Code Search Agentscited by 9
- 2026FastContext: Training Efficient Repository Explorer for Coding Agentscited by 5
- 2026SHERLOC: Structured Diagnostic Localization for Code Repair Agentscited by 2
- 2025One Tool Is Enough: Reinforcement Learning for Repository-Level LLM Agentscited by 0
- 2026PatchHolmes: Agentic Patch Retrieval via Listwise Selectioncited by 0
- 2026PatchHolmes: Agentic Patch Retrieval via Listwise Selection30 Sep 2026
- 2026SHERLOC: Structured Diagnostic Localization for Code Repair Agents23 Jun 2026
- 2026FastContext: Training Efficient Repository Explorer for Coding Agents12 Jun 2026
- 2026CodeScout: An Effective Recipe for Reinforcement Learning of Code Search Agents18 Mar 2026
- 2025One Tool Is Enough: Reinforcement Learning for Repository-Level LLM Agents24 Dec 2025
- 2025WebGen-Agent: Enhancing Interactive Website Generation with Multi-Level Feedback and Step-Level Reinforcement Learningcited by 15
- 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detectioncited by 11
- 2026Atlas: Orchestrating Heterogeneous Models and Tools for Multi-Domain Complex Reasoningcited by 11
- 2026Atlas: Orchestrating Heterogeneous Models and Tools for Multi-Domain Complex Reasoning7 Jan 2026
- 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detection8 Dec 2025
- 2025WebGen-Agent: Enhancing Interactive Website Generation with Multi-Level Feedback and Step-Level Reinforcement Learning26 Sep 2025
- 2025CoSineVerifier: Tool-Augmented Answer Verification for Computation-Oriented Scientific Questionscited by 4
- 2026MM-IssueLoc: A Controlled Benchmark for Evaluating Visual Evidence in Multimodal Repository-Level Issue Localizationcited by 2
- 2026Semantic Navigation for Issue Localization in Code Repositorycited by 0
- 2026Small Agents with Semantic Search: Efficient Multilingual Code Localizationcited by 0
- 2026Small Agents with Semantic Search: Efficient Multilingual Code Localization4 Oct 2026
- 2026Semantic Navigation for Issue Localization in Code Repository25 Sep 2026
- 2026MM-IssueLoc: A Controlled Benchmark for Evaluating Visual Evidence in Multimodal Repository-Level Issue Localization16 Jul 2026
- 2025CoSineVerifier: Tool-Augmented Answer Verification for Computation-Oriented Scientific Questions1 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2026SWE-Adept: An LLM-Based Agentic Framework for Deep Codebase Analysis and Structured Issue Resolution
- 2025Lingxi: Repository-Level Issue Resolution Framework Enhanced by Procedural Knowledge Guided Scaling
- 2026Cost-Effective Repository Exploration for Agentic Issue Localization
- 2026Coupling Planning with Episodic Memory in LLM Agents for Software Issue Resolution
- 2026Advances and Frontiers of LLM-based Issue Resolution in Software Engineering: A Comprehensive Survey
- 2025Empowering RepoQA-Agent based on Reinforcement Learning Driven by Monte-carlo Tree Search
- 2026RepoAtlas: Guiding Coding Agents via Evolving Multimodal Repository Views
- 2025Extracting Conceptual Knowledge to Locate Software Issues