mlsanityData to 14 Oct 2026

Reason for Future, Act for Now: A Principled Framework for Autonomous LLM Agents with Provable Sample Efficiency

arXiv 2309.17382 ↗First posted 29 Sep 2023cs.AI cs.LGcited by 46

On the map: World models → World models for language agents

also in 2 more
Abstract (arXiv)

Large language models (LLMs) demonstrate impressive reasoning abilities, but translating reasoning into actions in the real world remains challenging. In particular, it remains unclear how to complete a given task provably within a minimum number of interactions with the external environment, e.g., through an internal mechanism of reasoning. To this end, we propose a principled framework with provable regret guarantees to orchestrate reasoning and acting, which we call "reason for future, act for now" (textttRAFA). Specifically, we design a prompt template for reasoning that learns from the memory buffer and plans a future trajectory over a long horizon ("reason for future"). At each step, the LLM agent takes the initial action of the planned trajectory ("act for now"), stores the collected feedback in the memory buffer, and reinvokes the reasoning routine to replan the future trajectory from the new state. The key idea is to cast reasoning in LLMs as learning and planning in Bayesian adaptive Markov decision processes (MDPs). Correspondingly, we prompt LLMs to form an updated posterior of the unknown environment from the memory buffer (learning) and generate an optimal trajectory for multiple future steps that maximizes a value function (planning). The learning and planning subroutines are performed in an "in-context" manner to emulate the actor-critic update for MDPs. Our theoretical analysis proves that the novel combination of long-term reasoning and short-term acting achieves a √T regret. Here, T denotes the number of online interactions. In particular, the regret bound highlights an intriguing interplay between the prior knowledge obtained through pretraining and the uncertainty reduction achieved by reasoning and acting. Our empirical validation shows that it outperforms various existing frameworks and achieves nearly perfect scores on a few benchmarks.

Key facts. Cited by 46 papers in the map (data through 14 Oct 2026). Placed in World models for language agents, one of 11 directions in World models. Builds on 60 of its 88 references that are in the map. First posted on arXiv 29 Sep 2023.

Builds on

60 of 88 references.

Closest ancestors · 4

Same direction, newest first

  1. 2023Reasoning with Language Model is Planning with World Model24 May
  2. 2022Inner Monologue: Embodied Reasoning through Planning with Language Models12 Jul
  3. 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learning8 Oct
  4. 2020Language Models are Few-Shot Learners28 May

Other references · 56

  1. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  3. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  4. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  5. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  6. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  7. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  8. 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,348
  9. 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,190
  10. 2022Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentscited by 1,035
  11. 2022In-context Learning and Induction Headscited by 964
  12. 2022STaR: Bootstrapping Reasoning With Reasoningcited by 940
38 more
  1. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
  2. 2022Transformers learn in-context by gradient descentcited by 732
  3. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
  4. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
  5. 2023LLM+P: Empowering Large Language Models with Optimal Planning Proficiencycited by 501
  6. 2023Describe, Explain, Plan and Select: Interactive Planning with Large Language Models Enables Open-World Multi-Task Agentscited by 398
  7. 2022PlanBench: An Extensible Benchmark for Evaluating Large Language Models on Planning and Reasoning about Changecited by 382
  8. 2023Language Models can Solve Computer Taskscited by 372
  9. 2016Kernel Mean Embedding of Distributions: A Review and Beyondcited by 364
  10. 2020Is Pessimism Provably Efficient for Offline RL?cited by 364
  11. 2023Chameleon: Plug-and-Play Compositional Reasoning with Large Language Modelscited by 356
  12. 2022Selection-Inference: Exploiting Large Language Models for Interpretable Logical Reasoningcited by 334
  13. 2023Large Language Models as Tool Makerscited by 303
  14. 2013Learning to Optimize Via Posterior Samplingcited by 256
  15. 2020Model-Based Reinforcement Learning with Value-Targeted Regressioncited by 234
  16. 2013(More) Efficient Reinforcement Learning via Posterior Samplingcited by 233
  17. 2019Provably Efficient Exploration in Policy Optimizationcited by 205
  18. 2023REFINER: Reasoning Feedback on Intermediate Representationscited by 205
  19. 2019Reinforcement Learning in Feature Space: Matrix Bandit, Kernels, and Regret Boundcited by 201
  20. 2020Nearly Minimax Optimal Reinforcement Learning for Linear Mixture Markov Decision Processescited by 200
  21. 2023AdaPlanner: Adaptive Planning from Feedback with Language Modelscited by 196
  22. 2014An Information-Theoretic Analysis of Thompson Samplingcited by 178
  23. 2014Learning to Optimize via Information-Directed Samplingcited by 168
  24. 2023Large Language Models Are Latent Variable Models: Explaining and Finding Good Demonstrations for In-Context Learningcited by 149
  25. 2022Impact of Pretraining Term Frequencies on Few-Shot Reasoningcited by 142
  26. 2023Supervised Pretraining Can Learn In-Context Reinforcement Learningcited by 139
  27. 2022Faithful Reasoning Using Large Language Modelscited by 130
  28. 2023The Learnability of In-Context Learningcited by 127
  29. 2023What and How does In-Context Learning Learn? Bayesian Model Averaging, Parameterization, and Generalizationcited by 118
  30. 2022General-Purpose In-Context Learning by Meta-Learning Transformerscited by 105
  31. 2020Provably Efficient Reinforcement Learning for Discounted MDPs with Feature Mappingcited by 102
  32. 2023Cumulative Reasoning with Large Language Modelscited by 94
  33. 2023Algorithm of Thoughts: Enhancing Exploration of Ideas in Large Language Modelscited by 92
  34. 2019Model-free Reinforcement Learning in Infinite-horizon Average-reward Markov Decision Processescited by 82
  35. 2021Why Do Pretrained Language Models Help in Downstream Tasks? An Analysis of Head and Prompt Tuningcited by 82
  36. 2022On the Effect of Pretraining Corpora on In-context Learning by a Large-scale Language Modelcited by 81
  37. 2020A Mathematical Exploration of Why Language Models Help Solve Downstream Taskscited by 72
  38. 2019Q-learning with UCB Exploration is Sample Efficient for Infinite-Horizon MDPcited by 55

50 most cited of 56 All 56 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 3; 2024: 19; 2025: 16; 2026: 8.

46 papers.

Sort:

By area:

  1. 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 574
  2. 2025RAGEN: Understanding Self-Evolution in LLM Agents via Multi-Turn Reinforcement Learningcited by 386
  3. 2024Understanding World or Predicting Future? A Comprehensive Survey of World Modelscited by 166
  4. 2024WorldCoder, a Model-Based LLM Agent: Building World Models by Writing Code and Interacting with the Environmentcited by 107
  5. 2025PaSa: An LLM Agent for Comprehensive Academic Paper Searchcited by 64
  6. 2023LLM as OS, Agents as Apps: Envisioning AIOS, Agents and the AIOS-Agent Ecosystemcited by 38
  7. 2025ReflAct: World-Grounded Decision Making in LLM Agents via Goal-State Reflectioncited by 31
  8. 2024Controlling Large Language Model Agents with Entropic Activation Steeringcited by 29
  9. 2025PiFlow: Principle-Aware Scientific Discovery with Multi-Agent Collaborationcited by 28
  10. 2024Planning with Multi-Constraints via Collaborative Language Agentscited by 26
  11. 2024WALL-E: World Alignment by Rule Learning Improves World Model-based LLM Agentscited by 26
  12. 2024Human-Instruction-Free LLM Self-Alignment with Limited Samplescited by 25
34 more
  1. 2024ReAct Meets ActRe: When Language Agents Enjoy Training Data Autonomycited by 23
  2. 2024STRIDE: A Tool-Assisted LLM Agent Framework for Strategic and Interactive Decision-Makingcited by 22
  3. 2024From Words to Actions: Unveiling the Theoretical Underpinnings of LLM-Driven Autonomous Systemscited by 17
  4. 2025Toward Efficient Exploration by Large Language Model Agentscited by 17
  5. 2025Synthesizing world models for bilevel planningcited by 14
  6. 2024How Can LLM Guide RL? A Value-Based Approachcited by 13
  7. 2024Can Large Language Models Play Games? A Case Study of A Self-Play Approachcited by 13
  8. 2024CoPS: Empowering LLM Agents with Provable Cross-Task Experience Sharingcited by 12
  9. 2024Pretraining Decision Transformers with Reward Prediction for In-Context Multi-task Structured Bandit Learningcited by 10
  10. 2024LLM-Based World Models Can Make Decisions Solely, But Rigorous Evaluations are Neededcited by 10
  11. 2025Generalizability of Large Language Model-Based Agents: A Comprehensive Surveycited by 10
  12. 2024Language Agents Meet Causality -- Bridging LLMs and Causal World Modelscited by 9
  13. 2024Practical Considerations for Agentic LLM Systemscited by 9
  14. 2025Beyond Markovian: Reflective Exploration via Bayes-Adaptive RL for LLM Reasoningcited by 9
  15. 2025QUITE: A Query Rewrite System Beyond Rules with LLM Agentscited by 8
  16. 2025Fact-Augmented Lookahead Planning for LLM Agentscited by 8
  17. 2025Enhancing Decision-Making of Large Language Models via Actor-Criticcited by 7
  18. 2025SPIRAL: Symbolic LLM Planning via Grounded and Reflective Searchcited by 7
  19. 2024Multi-granularity Knowledge Transfer for Continual Reinforcement Learningcited by 6
  20. 2026Paying Less Generalization Tax: A Cross-Domain Generalization Study of RL Training for LLM Agentscited by 6
  21. 2024Navigating the Landscape of Large Language Models: A Comprehensive Review and Analysis of Paradigms and Fine-Tuning Strategiescited by 5
  22. 2025WALL-E 2.0: World Alignment by NeuroSymbolic Learning improves World Model-based LLM Agentscited by 5
  23. 2026TAPE: Tool-Guided Adaptive Planning and Constrained Execution in Language Model Agentscited by 4
  24. 2026Learning Abstractions for Hierarchical Planning in Program-Synthesis Agentscited by 3
  25. 2024Watermarking Large Language Models and the Generated Content: Opportunities and Challengescited by 2
  26. 2026Reasoning aligns language models to human cognitioncited by 2
  27. 2023A Principled Framework for Knowledge-enhanced Large Language Modelcited by 1
  28. 2026State-Centric Decision Processcited by 1
  29. 2025Reasoning without Regretcited by 0
  30. 2025Exploring the Link Between Bayesian Inference and Embodied Intelligence: Toward Open Physical-World Embodied AI Systemscited by 0
  31. 2025Phythesis: Physics-Guided Evolutionary Scene Synthesis for Energy-Efficient Data Center Design via LLMscited by 0
  32. 2026NeSyFS: A Neuro-symbolic Fast-Slow Thinking Framework for LLM Agent under Partial Observabilitycited by 0
  33. 2026STEP: State-Aware Task Estimation and Planning with Multi-Modal LLMs for Human-Robot Collaborationcited by 0
  34. 2026SGG-ReflAct: Sub-Goal Guided ReflAct with Structured Planning for Reliable Long-Horizon Reasoningcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Why Reasoning Fails to Plan: A Planning-Centric Analysis of Long-Horizon Decision Making in LLM Agents
  2. 2025Pre-Act: Multi-Step Planning and Reasoning Improves Acting in LLM Agents
  3. 2025Learning When to Plan: Efficiently Allocating Test-Time Compute for LLM Agents
  4. 2026Belief-State Engine: Augmenting LLMs for Principled Planning Under Partial Observability
  5. 2025Learning Hierarchical Procedural Memory for LLM Agents through Bayesian Selection and Contrastive Refinement
  6. 2026SAM: State-Adaptive Memory for Long-Horizon Reasoning Agent
  7. 2026Agentic Chain-of-Thought Steering for Efficient and Controllable LLM Reasoning
  8. 2026OLIVIA: Online Learning via Inference-time Action Adaptation for Decision Making in LLM ReAct Agents