Learning When to Plan: Efficiently Allocating Test-Time Compute for LLM Agents
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 1 more
Abstract (arXiv)
Training large language models (LLMs) to reason via reinforcement learning (RL) significantly improves their problem-solving capabilities. In agentic settings, existing methods like ReAct prompt LLMs to explicitly plan before every action; however, we demonstrate that always planning is computationally expensive and degrades performance on long-horizon tasks, while never planning further limits performance. To address this, we introduce a conceptual framework formalizing dynamic planning for LLM agents, enabling them to flexibly decide when to allocate test-time compute for planning. We propose a simple two-stage training pipeline: (1) supervised fine-tuning on diverse synthetic data to prime models for dynamic planning, and (2) RL to refine this capability in long-horizon environments. Experiments on the Crafter environment show that dynamic planning agents trained with this approach are more sample-efficient and consistently achieve more complex objectives. Additionally, we demonstrate that these agents can be effectively steered by human-written plans, surpassing their independent capabilities and highlighting the potential for safer and more collaborative agentic systems.
Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 55 of its 69 references that are in the map. First posted on arXiv 3 Sep 2025.
Builds on
55 of 69 references.
Closest ancestors · 4
Same direction, newest first
- 2025SWEET-RL: Training Multi-Turn LLM Agents on Collaborative Reasoning Tasks19 Mar
- 2024BALROG: Benchmarking Agentic LLM and VLM Reasoning On Games20 Nov
- 2024Steering Large Language Models between Code Execution and Textual Reasoning4 Oct
- 2023Reasoning with Language Model is Planning with World Model24 May
Other references · 51
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
38 more
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,348
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
- 2019Dream to Control: Learning Behaviors by Latent Imaginationcited by 1,653
- 2018World Modelscited by 1,513
- 2019Mastering Atari, Go, Chess and Shogi by Planning with a Learned Modelcited by 1,353
- 2025s1: Simple test-time scalingcited by 1,341
- 2018Learning Latent Dynamics for Planning from Pixelscited by 1,264
- 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,053
- 2022STaR: Bootstrapping Reasoning With Reasoningcited by 940
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
- 2017Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithmcited by 734
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 551
- 2017Ray: A Distributed Framework for Emerging AI Applicationscited by 527
- 2025Stop Overthinking: A Survey on Efficient Reasoning for Large Language Modelscited by 464
- 2016The Option-Critic Architecturecited by 448
- 2024Training Language Models to Self-Correct via Reinforcement Learningcited by 426
- 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 407
- 2024Automated Design of Agentic Systemscited by 407
- 2025Cognitive Behaviors that Enable Self-Improving Reasoners, or, Four Habits of Highly Effective STaRscited by 377
- 2025Absolute Zero: Reinforced Self-play Reasoning with Zero Datacited by 344
- 2018TextWorld: A Learning Environment for Text-based Gamescited by 310
- 2023State of What Art? A Call for Multi-Prompt LLM Evaluationcited by 310
- 2024Quiet-STaR: Language Models Can Teach Themselves to Think Before Speakingcited by 301
- 2023A Rank Stabilization Scaling Factor for Fine-Tuning with LoRAcited by 243
- 2021Benchmarking the Spectrum of Agent Capabilitiescited by 200
- 2025Plan-and-Act: Improving Planning of Agents for Long-Horizon Taskscited by 195
- 2025Towards System 2 Reasoning in LLMs: Learning How to Think With Meta Chain-of-Thoughtcited by 109
- 2023Why think step by step? Reasoning emerges from the locality of experiencecited by 103
- 2024Chain of Thoughtlessness? An Analysis of CoT in Planningcited by 103
- 2025Learning What Reinforcement Learning Can't: Interleaved Online Fine-Tuning for Hardest Questionscited by 97
- 2024Procedural Knowledge in Pretraining Drives Reasoning in Large Language Modelscited by 41
- 2017Learning to Repeat: Fine Grained Action Repetition for Deep Reinforcement Learningcited by 39
- 2022Chain of Thought Imitation with Procedure Cloningcited by 30
- 2023Thought Cloning: Learning to Think while Acting by Imitating Human Thinkingcited by 30
- 2024Controlling Large Language Model Agents with Entropic Activation Steeringcited by 29
- 2023Enabling Intelligent Interactions between an Agent and an LLM: A Reinforcement Learning Approachcited by 28
- 2025Discovering Temporal Structure: An Overview of Hierarchical Reinforcement Learningcited by 22
50 most cited of 51 All 51 (JSON)
Built on by
Citing papers per year: 2025: 1; 2026: 19.
20 papers.
Sort:
By area:
- 2026Toward Efficient Agents: Memory, Tool learning, and Planningcited by 16
- 2026Same Signal, Opposite Meaning: Direction-Informed Adaptive Learning for LLM Agentscited by 8
- 2026Tycho: Active Abstraction with Programmatic World Models for ARC-AGI-3cited by 7
- 2026Timely Machine: Awareness of Time Makes Test-Time Scaling Agenticcited by 6
- 2025Re-FORC: Adaptive Reward Prediction for Efficient Chain-of-Thought Reasoningcited by 4
- 2026What If We Allocate Test-Time Compute Adaptively?cited by 4
- 2026Can LLMs Perceive Time? An Empirical Investigationcited by 3
- 2026A Survey on Self-Improving Test-Time Intelligence: Feedback-Driven Adapting, Learning, and Scaling at Inferencecited by 3
- 2026TodoEvolve: Learning to Architect Agent Planning Systemscited by 2
- 2026PaT: Planning-after-Trial for Efficient Test-Time Code Generationcited by 2
- 2026LLM-WikiRace Benchmark: How Far Can LLMs Plan over Real-World Knowledge Graphs?cited by 1
- 2026From Skills to Talent: Organising Heterogeneous Agents as a Real-World Companycited by 1
8 more
- 2026Rethinking Agentic Reinforcement Learning In Large Language Modelscited by 1
- 2026When to Plan: Learning to Select Between Reactive Control and Deliberative Planningcited by 1
- 2026Mint-Agent: Introducing Finance-Native Agentic Foundation Modelscited by 0
- 2026Elastic Horizon: Discovering the Effective Interaction Frontier in Agentic Reinforcement Learningcited by 0
- 2026Consistent Plan-Act for Long-Horizon Agentic Taskscited by 0
- 2026Beyond Prediction: Steering VLM Agents with Retrospective World Modelingcited by 0
- 2026ForkPilot: Self-Evolving Policy for Retrospective Search in Long-Horizon Agentscited by 0
- 2026On the Clock: Towards Punctual and Productive Time-Budgeted AI Agentscited by 0
- 2026On the Clock: Towards Punctual and Productive Time-Budgeted AI Agents7 Oct 2026
- 2026ForkPilot: Self-Evolving Policy for Retrospective Search in Long-Horizon Agents4 Oct 2026
- 2026Beyond Prediction: Steering VLM Agents with Retrospective World Modeling30 Sep 2026
- 2026Consistent Plan-Act for Long-Horizon Agentic Tasks30 Sep 2026
- 2026Elastic Horizon: Discovering the Effective Interaction Frontier in Agentic Reinforcement Learning7 Sep 2026
- 2026A Survey on Self-Improving Test-Time Intelligence: Feedback-Driven Adapting, Learning, and Scaling at Inference1 Sep 2026
- 2026Mint-Agent: Introducing Finance-Native Agentic Foundation Models17 Aug 2026
- 2026Tycho: Active Abstraction with Programmatic World Models for ARC-AGI-330 Jul 2026
- 2026When to Plan: Learning to Select Between Reactive Control and Deliberative Planning17 Jul 2026
- 2026PaT: Planning-after-Trial for Efficient Test-Time Code Generation8 May 2026
- 2026Same Signal, Opposite Meaning: Direction-Informed Adaptive Learning for LLM Agents7 May 2026
- 2026Rethinking Agentic Reinforcement Learning In Large Language Models30 Apr 2026
8 more
- 2026From Skills to Talent: Organising Heterogeneous Agents as a Real-World Company24 Apr 2026
- 2026Can LLMs Perceive Time? An Empirical Investigation9 Mar 2026
- 2026LLM-WikiRace Benchmark: How Far Can LLMs Plan over Real-World Knowledge Graphs?18 Feb 2026
- 2026TodoEvolve: Learning to Architect Agent Planning Systems8 Feb 2026
- 2026What If We Allocate Test-Time Compute Adaptively?1 Feb 2026
- 2026Timely Machine: Awareness of Time Makes Test-Time Scaling Agentic23 Jan 2026
- 2026Toward Efficient Agents: Memory, Tool learning, and Planning20 Jan 2026
- 2025Re-FORC: Adaptive Reward Prediction for Efficient Chain-of-Thought Reasoning3 Nov 2025
- 2026Toward Efficient Agents: Memory, Tool learning, and Planningcited by 16
- 2026Mint-Agent: Introducing Finance-Native Agentic Foundation Modelscited by 0
- 2026Elastic Horizon: Discovering the Effective Interaction Frontier in Agentic Reinforcement Learningcited by 0
- 2026Consistent Plan-Act for Long-Horizon Agentic Taskscited by 0
- 2026ForkPilot: Self-Evolving Policy for Retrospective Search in Long-Horizon Agentscited by 0
- 2026On the Clock: Towards Punctual and Productive Time-Budgeted AI Agentscited by 0
- 2026On the Clock: Towards Punctual and Productive Time-Budgeted AI Agents7 Oct 2026
- 2026ForkPilot: Self-Evolving Policy for Retrospective Search in Long-Horizon Agents4 Oct 2026
- 2026Consistent Plan-Act for Long-Horizon Agentic Tasks30 Sep 2026
- 2026Elastic Horizon: Discovering the Effective Interaction Frontier in Agentic Reinforcement Learning7 Sep 2026
- 2026Mint-Agent: Introducing Finance-Native Agentic Foundation Models17 Aug 2026
- 2026Toward Efficient Agents: Memory, Tool learning, and Planning20 Jan 2026
- 2026Same Signal, Opposite Meaning: Direction-Informed Adaptive Learning for LLM Agentscited by 8
- 2026Timely Machine: Awareness of Time Makes Test-Time Scaling Agenticcited by 6
- 2025Re-FORC: Adaptive Reward Prediction for Efficient Chain-of-Thought Reasoningcited by 4
- 2026What If We Allocate Test-Time Compute Adaptively?cited by 4
- 2026PaT: Planning-after-Trial for Efficient Test-Time Code Generationcited by 2
- 2026Rethinking Agentic Reinforcement Learning In Large Language Modelscited by 1
- 2026PaT: Planning-after-Trial for Efficient Test-Time Code Generation8 May 2026
- 2026Same Signal, Opposite Meaning: Direction-Informed Adaptive Learning for LLM Agents7 May 2026
- 2026Rethinking Agentic Reinforcement Learning In Large Language Models30 Apr 2026
- 2026What If We Allocate Test-Time Compute Adaptively?1 Feb 2026
- 2026Timely Machine: Awareness of Time Makes Test-Time Scaling Agentic23 Jan 2026
- 2025Re-FORC: Adaptive Reward Prediction for Efficient Chain-of-Thought Reasoning3 Nov 2025
- 2026Can LLMs Perceive Time? An Empirical Investigationcited by 3
- 2026A Survey on Self-Improving Test-Time Intelligence: Feedback-Driven Adapting, Learning, and Scaling at Inferencecited by 3
- 2026TodoEvolve: Learning to Architect Agent Planning Systemscited by 2
- 2026LLM-WikiRace Benchmark: How Far Can LLMs Plan over Real-World Knowledge Graphs?cited by 1
- 2026From Skills to Talent: Organising Heterogeneous Agents as a Real-World Companycited by 1
- 2026When to Plan: Learning to Select Between Reactive Control and Deliberative Planningcited by 1
- 2026A Survey on Self-Improving Test-Time Intelligence: Feedback-Driven Adapting, Learning, and Scaling at Inference1 Sep 2026
- 2026When to Plan: Learning to Select Between Reactive Control and Deliberative Planning17 Jul 2026
- 2026From Skills to Talent: Organising Heterogeneous Agents as a Real-World Company24 Apr 2026
- 2026Can LLMs Perceive Time? An Empirical Investigation9 Mar 2026
- 2026LLM-WikiRace Benchmark: How Far Can LLMs Plan over Real-World Knowledge Graphs?18 Feb 2026
- 2026TodoEvolve: Learning to Architect Agent Planning Systems8 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2026Planner Matters! An Efficient and Unbalanced Multi-agent Collaboration Framework for Long-horizon Planning
- 2023LgTS: Dynamic Task Sampling using LLM-generated sub-goals for Reinforcement Learning Agents
- 2025Robotouille: An Asynchronous Planning Benchmark for LLM Agents
- 2023AdaPlanner: Adaptive Planning from Feedback with Language Models
- 2025FutureWeaver: Planning Test-Time Compute for Multi-Agent Systems with Modularized Collaboration
- 2023Improving Planning with Large Language Models: A Modular Agentic Architecture
- 2026Why Reasoning Fails to Plan: A Planning-Centric Analysis of Long-Horizon Decision Making in LLM Agents
- 2024Understanding the planning of LLM agents: A survey