In-Context Reinforcement Learning for Tool Use in Large Language Models
On the map: LLM reasoning → Reinforcement learning for reasoning
also in 1 more
Abstract (arXiv)
While large language models (LLMs) exhibit strong reasoning abilities, their performance on complex tasks is often constrained by the limitations of their internal knowledge. A compelling approach to overcome this challenge is to augment these models with external tools -- such as Python interpreters for mathematical computations or search engines for retrieving factual information. However, enabling models to use these tools effectively remains a significant challenge. Existing methods typically rely on cold-start pipelines that begin with supervised fine-tuning (SFT), followed by reinforcement learning (RL). These approaches often require substantial amounts of labeled data for SFT, which is expensive to annotate or synthesize. In this work, we propose In-Context Reinforcement Learning (ICRL), an RL-only framework that eliminates the need for SFT by leveraging few-shot prompting during the rollout stage of RL. Specifically, ICRL introduces in-context examples within the rollout prompts to teach the model how to invoke external tools. Furthermore, as training progresses, the number of in-context examples is gradually reduced, eventually reaching a zero-shot setting where the model learns to call tools independently. We conduct extensive experiments across a range of reasoning and tool-use benchmarks. Results show that ICRL achieves state-of-the-art performance, demonstrating its effectiveness as a scalable, data-efficient alternative to traditional SFT-based pipelines.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Reinforcement learning for reasoning, one of 17 directions in LLM reasoning. Builds on 31 of its 35 references that are in the map. First posted on arXiv 9 Mar 2026.
Builds on
31 of 35 references.
References · 31
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2025Qwen3 Technical Reportcited by 8,195
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 1,980
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,371
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
19 more
- 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,054
- 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 911
- 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 893
- 2024Large Language Model based Multi-Agents: A Survey of Progress and Challengescited by 752
- 2025Kimi K2: Open Agentic Intelligencecited by 523
- 2025Search-o1: Agentic Search-Enhanced Large Reasoning Modelscited by 423
- 2025ReTool: Reinforcement Learning for Strategic Tool Use in LLMscited by 377
- 2025WebThinker: Empowering Large Reasoning Models with Deep Research Capabilitycited by 320
- 2024Tool Learning with Large Language Models: A Surveycited by 221
- 2025ZeroSearch: Incentivize the Search Capability of LLMs without Searchingcited by 203
- 2023Knowledge Editing for Large Language Models: A Surveycited by 189
- 2024FlashRAG: A Modular Toolkit for Efficient Retrieval-Augmented Generation Researchcited by 165
- 2025Seed1.5-Thinking: Advancing Superb Reasoning Models with Reinforcement Learningcited by 159
- 2024Q*: Improving Multi-step Reasoning for LLMs with Deliberative Planningcited by 95
- 2024Dated Data: Tracing Knowledge Cutoffs in Large Language Modelscited by 48
- 2025A Survey on Large Language Models with some Insights on their Capabilities and Limitationscited by 41
- 2025SFR-DeepResearch: Towards Effective Reinforcement Learning for Autonomously Reasoning Single Agentscited by 29
- 2025ParallelSearch: Train your LLMs to Decompose Query and Search Sub-queries in Parallel with Reinforcement Learningcited by 24
- 2025O2-Searcher: A Searching-based Agent Model for Open-Domain Open-Ended Question Answeringcited by 22
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2025Scalable In-Context Q-Learning
- 2022Large Language Models can Implement Policy Iteration
- 2025Is In-Context Learning Learning?
- 2025Large Language Models Reasoning Abilities Under Non-Ideal Conditions After RL-Fine-Tuning
- 2026Emergence of Context Characteristics Sensitivity in Large Language Models
- 2025Reward Is Enough: LLMs Are In-Context Reinforcement Learners
- 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learning
- 2025Scalpel vs. Hammer: GRPO Amplifies Existing Capabilities, SFT Replaces Them