AI summary · arXiv: 2309.17382v2 · cs.AI

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

Zhihan Liu, Hao Hu, Shenao Zhang, Hongyi Guo, Shuqi Ke, Boyi Liu, Zhaoran Wang
Original paper Submitted to arXiv on 29 Sep. 2023 License: CC BY 4.0

How to read this summary? Illustrated guide

The essentials

  • Large language models (LLMs) have impressive reasoning abilities
  • Translating reasoning into actions in the real world is challenging
  • The main issue is completing tasks with minimal interactions using internal reasoning
  • Proposed framework called "Reason for Future, Act for Now" (RAFA)
  • RAFA orchestrates reasoning and acting with provable regret guarantees
  • Prompt template for reasoning that learns from a memory buffer and plans future trajectory
  • LLM agent takes initial action of planned trajectory, stores feedback, and replans
  • Reasoning in LLMs as learning and planning in Bayesian adaptive Markov decision processes (MDPs)
  • Learning and planning performed in an "in-context" manner for actor-critic updates
  • Theoretical analysis shows regret proportional to √T (number of interactions)
  • Empirical validation shows RAFA outperforms existing frameworks on interactive decision-making tasks
  • Focus on tasks where LLM agents optimize actions iteratively by collecting feedback
  • Three interleaved modules: learning, planning, and acting in a closed loop
  • Core contribution is a principled framework that executes selected subset of planned trajectory to collect feedbacks and replans from new state by learning from feedbacks
  • Rigorous mapping between LLMs and reinforcement learning (RL) through RAFA

Key points written by AI: they may contain errors, check them against the paper.

AI-generated keywords: Reinforcement Learning Reason for Future Act for Now Long-horizon Planning Memory Buffer

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
Large language models (LLMs) have shown impressive reasoning abilities, but translating that reasoning into actions in the real world is still challenging. The main issue is how to complete a given task within a minimum number of interactions with the external environment using an internal mechanism of reasoning. In this paper, we propose a framework called "Reason for Future, Act for Now" (RAFA) that orchestrates reasoning and acting in a principled way with provable regret guarantees. To achieve this, we design a prompt template for reasoning that learns from a 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. Our approach casts reasoning in LLMs as learning and planning in Bayesian adaptive Markov decision processes (MDPs). 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 actor-critic updates for MDPs. Theoretical analysis shows that our combination of long-term reasoning and short-term acting achieves regret proportional to √T, where T is the number of interactions with the external environment. This regret bound highlights how prior knowledge obtained through pretraining interacts with uncertainty reduction achieved by reasoning and acting. Empirical validation demonstrates that RAFA outperforms existing frameworks on various interactive decision-making tasks. It achieves nearly perfect scores on benchmarks such as ALFWorld, BlocksWorld, Game of 24, and TicTacToe. Our focus is on interactive decision-making tasks where LLM agents optimize actions iteratively by collecting feedback from the external environment. We operate three interleaved modules - learning, planning, and acting - in a closed loop. While existing graph-search or Monte-Carlo tree-search (MCTS) schemes can be used as planning subroutines for generating trajectories, our core contribution is a principled framework that executes a selected subset of the planned trajectory to collect feedbacks ("act for now") and replans an improved trajectory from the new state by learning from feedbacks ("reason for future"). In conclusion, we establish a rigorous mapping between LLMs and reinforcement learning (RL) through RAFA. Our framework achieves provable regret guarantees and outperforms existing frameworks in interactive decision-making tasks.

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 1 free rewrite left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Continue with Google Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero Zotero guide
Citation alerts 52 papers already cite it: be emailed each new one. Citation alerts guide
Weekly letter The latest letter of its field, "Artificial intelligence this week" of 23 November 2026: Artificial intelligence this week: The difference between looking right and getting it right · Receive one by email for free

Papers around this one

See them on a map

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close Another approach to the problem
    ProAct: Agentic Lookahead in Interactive Environments
    Yang-Bin Yu, Ming-Yu Yang, Junyou Li et al. · 2026 · European Conference on Computer Vision · cited 2 times · Not summarized yet

    ProAct trains agents to learn lookahead reasoning from environment-search trajectories, while RAFA replans from feedback using prompted Bayesian learning and planning.

    Abstract

    Existing Large Language Model (LLM) agents struggle in interactive environments requiring long-horizon planning, primarily due to compounding errors when simulating future states. To address this, we propose ProAct, a framework that enables agents to internalize accurate lookahead reasoning through a two-stage training paradigm. First, we introduce Grounded LookAhead Distillation (GLAD), where the agent undergoes supervised fine-tuning on trajectories derived from environment-based search. By compressing complex search trees into concise, causal reasoning chains, the agent learns the logic of foresight without the computational overhead of inference-time search. Second, to further refine dec…

  2. Very close Groundwork for this paper Cited by this paper
    ReAct: Synergizing Reasoning and Acting in Language Models
    Shunyu Yao, Jeffrey Zhao, Dian Yu et al. · 2022 · International Conference on Learning Representations · cited 13,460 times · Not summarized yet

    ReAct interleaves language-model reasoning and environment actions, a foundation RAFA cites while formalizing long-horizon planning and short-term acting.

    Abstract

    While large language models (LLMs) have demonstrated impressive capabilities across tasks in language understanding and interactive decision making, their abilities for reasoning (e.g. chain-of-thought prompting) and acting (e.g. action plan generation) have primarily been studied as separate topics. In this paper, we explore the use of LLMs to generate both reasoning traces and task-specific actions in an interleaved manner, allowing for greater synergy between the two: reasoning traces help the model induce, track, and update action plans as well as handle exceptions, while actions allow it to interface with external sources, such as knowledge bases or environments, to gather additional in…

  3. Very close Broader context
    DOTS: Learning to Reason Dynamically in LLMs via Optimal Reasoning Trajectories Search
    Murong Yue, Wenlin Yao, Haitao Mi et al. · 2024 · Artificial Intelligence · cited 23 times · Not summarized yet

    DOTS dynamically selects reasoning trajectories for LLM problem-solving, whereas RAFA focuses on environment interaction and regret guarantees.

    Abstract

    Enhancing the capability of large language models (LLMs) in reasoning has gained significant attention in recent years. Previous studies have demonstrated the effectiveness of various prompting strategies in aiding LLMs in reasoning (called "reasoning actions"), such as step-by-step thinking, reflecting before answering, solving with programs, and their combinations. However, these approaches often applied static, predefined reasoning actions uniformly to all questions, without considering the specific characteristics of each question or the capability of the task-solving LLM. In this paper, we propose DOTS, an approach enabling LLMs to reason dynamically via optimal reasoning trajectory sea…

  4. Very close Broader context
    Agent Q: Advanced Reasoning and Learning for Autonomous AI Agents
    Pranav Putta, Edmund Mills, Naman Garg et al. · 2024 · Artificial Intelligence · preprint, not peer reviewed · cited 237 times · AI summary available

    Agent Q addresses multi-step reasoning and learning in interactive environments, a neighboring autonomous-agent problem to RAFA’s sample-efficient planning.

    Abstract

    Large Language Models (LLMs) have shown remarkable capabilities in natural language tasks requiring complex reasoning, yet their application in agentic, multi-step reasoning within interactive environments remains a difficult challenge. Traditional supervised pre-training on static datasets falls short in enabling autonomous agent capabilities needed to perform complex decision-making in dynamic settings like web navigation. Previous attempts to bridge this ga-through supervised fine-tuning on curated expert demonstrations-often suffer from compounding errors and limited exploration data, resulting in sub-optimal policy outcomes. To overcome these challenges, we propose a framework that comb…

  5. Very close Broader context
    Learning When to Think: Shaping Adaptive Reasoning in R1-Style Models via Multi-Stage RL
    Songjun Tu, Jiahao Lin, Qichao Zhang et al. · 2025 · NeurIPS 2025 · cited 77 times · AI summary available

    Learning When to Think adapts whether reasoning is used according to problem complexity, unlike RAFA’s focus on planning and acting in environments.

    Abstract

    Large reasoning models (LRMs) are proficient at generating explicit, step-by-step reasoning sequences before producing final answers. However, such detailed reasoning can introduce substantial computational overhead and latency, particularly for simple problems. To address this over-thinking problem, we explore how to equip LRMs with adaptive thinking capabilities: enabling them to dynamically decide whether or not to engage in explicit reasoning based on problem complexity. Building on R1-style distilled models, we observe that inserting a simple ellipsis ("...") into the prompt can stochastically trigger either a thinking or no-thinking mode, revealing a latent controllability in the reaso…

  6. Very close Another approach to the problem
    Learning When to Plan: Efficiently Allocating Test-Time Compute for LLM Agents
    Davide Paglieri, Bartlomiej Cupial, Jonathan Cook et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 22 times · Not summarized yet

    Learning When to Plan dynamically allocates planning compute for LLM agents, addressing efficient planning where RAFA instead combines replanning with a regret guarantee.

    Abstract

    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 prim…

  7. Very close Review
    Reasoning Language Models: A Blueprint
    Maciej Besta, Julia Barth, Eric Schreiber et al. · 2025 · Artificial Intelligence · preprint, not peer reviewed · cited 51 times · AI summary available

    Reasoning Language Models: A Blueprint surveys and organizes reasoning-model components, while RAFA presents a specific agent framework.

    Abstract

    Reasoning language models (RLMs), also known as Large Reasoning Models (LRMs), such as OpenAI's o1 and o3, DeepSeek-V3, and Alibaba's QwQ, have redefined AI's problem-solving capabilities by extending large language models (LLMs) with advanced reasoning mechanisms. Yet, their high costs, proprietary nature, and complex architectures - uniquely combining Reinforcement Learning (RL), search heuristics, and LLMs - present accessibility and scalability challenges. To address these, we propose a comprehensive blueprint that organizes RLM components into a modular framework, based on a survey and analysis of all RLM works. This blueprint incorporates diverse reasoning structures (chains, trees, gr…

  8. Very close Broader context
    SimuRA: Towards General Goal-Oriented Agent via Simulative Reasoning Architecture with LLM-Based World Model
    Mingkai Deng, Jinyu Hou, Yilin Shen et al. · 2025 · Artificial Intelligence · cited 8 times · AI summary available

    SimuRA uses an LLM-based world model for goal-oriented planning, a neighboring approach to RAFA’s reasoning-and-acting framework for autonomous agents.

    Abstract

    AI agents built on large language models (LLMs) hold enormous promise, but current practice focuses on a one-task-one-agent approach, which not only falls short of scalability and generality, but also suffers from the fundamental limitations of autoregressive LLMs. On the other hand, humans are general agents who reason by mentally simulating the outcomes of their actions and plans. Moving towards a more general and powerful AI agent, we introduce SimuRA, a goal-oriented architecture for generalized agentic reasoning. Based on a principled formulation of optimal agent in any environment, \modelname overcomes the limitations of autoregressive reasoning by introducing a world model for plannin…

Prior work it builds on

  1. Close Groundwork for this paper Used in depth by this paper A method it uses
    Reasoning with Language Model is Planning with World Model
    Shibo Hao, Yi Gu, Haodi Ma et al. · 2023 · Conference on Empirical Methods in Natural Language Processing · cited 1,245 times · Not summarized yet

    Reasoning with Language Model is Planning with World Model connects LLM reasoning to planning with a world model, and RAFA cites it when framing reasoning as learning and planning.

    Abstract

    Large language models (LLMs) have shown remarkable reasoning capabilities, especially when prompted to generate intermediate reasoning steps (e.g., Chain-of-Thought, CoT). However, LLMs can still struggle with problems that are easy for humans, such as generating action plans for executing tasks in a given environment, or performing complex math, logical, and commonsense reasoning. The deficiency stems from the key fact that LLMs lack an internal $\textit{world model}$ to predict the world $\textit{state}$ (e.g., environment status, intermediate variable values) and simulate long-term outcomes of actions. This prevents LLMs from performing deliberate planning akin to human brains, which invo…

  2. Close Groundwork for this paper
    LLM+P: Empowering Large Language Models with Optimal Planning Proficiency
    B. Liu, Yu-Qian Jiang, Xiaohan Zhang et al. · 2023 · arXiv.org · preprint, not peer reviewed · cited 743 times · Not summarized yet

    LLM+P combines language models with classical planners for long-horizon tasks, a planning approach cited by RAFA.

    Abstract

    Large language models (LLMs) have demonstrated remarkable zero-shot generalization abilities: state-of-the-art chatbots can provide plausible answers to many common questions that arise in daily life. However, so far, LLMs cannot reliably solve long-horizon planning problems. By contrast, classical planners, once a problem is given in a formatted way, can use efficient search algorithms to quickly identify correct, or even optimal, plans. In an effort to get the best of both worlds, this paper introduces LLM+P, the first framework that incorporates the strengths of classical planners into LLMs. LLM+P takes in a natural language description of a planning problem, then returns a correct (or op…

  3. Close Broader context
    Faithful Reasoning Using Large Language Models
    A. Creswell, M. Shanahan · 2022 · arXiv.org · preprint, not peer reviewed · cited 168 times · Not summarized yet

    Faithful Reasoning constructs multi-step reasoning traces with chained language-model calls, whereas RAFA studies interactive planning and action.

    Abstract

    Although contemporary large language models (LMs) demonstrate impressive question-answering capabilities, their answers are typically the product of a single call to the model. This entails an unwelcome degree of opacity and compromises performance, especially on problems that are inherently multi-step. To address these limitations, we show how LMs can be made to perform faithful multi-step reasoning via a process whose causal structure mirrors the underlying logical structure of the problem. Our approach works by chaining together reasoning steps, where each step results from calls to two fine-tuned LMs, one for selection and one for inference, to produce a valid reasoning trace. Our method…

  4. Close Groundwork for this paper
    AdaPlanner: Adaptive Planning from Feedback with Language Models
    Haotian Sun, Yu-Chen Zhuang, Lingkai Kong et al. · 2023 · Neural Information Processing Systems · cited 276 times · Not summarized yet

    AdaPlanner adaptively refines plans using environmental feedback, an earlier feedback-driven LLM-agent approach cited by RAFA.

    Abstract

    Large language models (LLMs) have recently demonstrated the potential in acting as autonomous agents for sequential decision-making tasks. However, most existing methods either take actions greedily without planning or rely on static plans that are not adaptable to environmental feedback. Consequently, the sequential decision-making performance of LLM agents degenerates with problem complexity and plan horizons increase. We propose a closed-loop approach, AdaPlanner, which allows the LLM agent to refine its self-generated plan adaptively in response to environmental feedback. In AdaPlanner, the LLM agent adaptively refines its plan from feedback with both in-plan and out-of-plan refinement s…

  5. Close Groundwork for this paper Used in depth by this paper A method it uses
    (More) Efficient Reinforcement Learning via Posterior Sampling
    Ian Osband, Daniel Russo, Benjamin Van Roy · 2013 · Neural Information Processing Systems · cited 623 times · Not summarized yet

    Posterior Sampling studies efficient exploration by updating a prior over MDPs and acting on posterior samples, a foundation RAFA cites for its Bayesian formulation.

    Abstract

    Most provably-efficient reinforcement learning algorithms introduce optimism about poorly-understood states and actions to encourage exploration. We study an alternative approach for efficient exploration: posterior sampling for reinforcement learning (PSRL). This algorithm proceeds in repeated episodes of known duration. At the start of each episode, PSRL updates a prior distribution over Markov decision processes and takes one sample from this posterior. PSRL then follows the policy that is optimal for this sample during the episode. The algorithm is conceptually simple, computationally efficient and allows an agent to encode prior knowledge in a natural way. We establish an O(τS/√AT) boun…

Papers that cite it

  1. Very close Builds on this paper Uses this paper in depth
    From Words to Actions: Unveiling the Theoretical Underpinnings of LLM-Driven Autonomous Systems
    Jian-Liang He, Si-Yu Chen, Feng-Zhuo Zhang et al. · 2024 · International Conference on Machine Learning · cited 22 times · Not summarized yet

    From Words to Actions gives a theoretical account of LLM planners in hierarchical reinforcement learning and cites RAFA’s framework.

    Abstract

    In this work, from a theoretical lens, we aim to understand why large language model (LLM) empowered agents are able to solve decision-making problems in the physical world. To this end, consider a hierarchical reinforcement learning (RL) model where the LLM Planner and the Actor perform high-level task planning and low-level execution, respectively. Under this model, the LLM Planner navigates a partially observable Markov decision process (POMDP) by iteratively generating language-based subgoals via prompting. Under proper assumptions on the pretraining data, we prove that the pretrained LLM Planner effectively performs Bayesian aggregated imitation learning (BAIL) through in-context learni…

  2. Close Builds on this paper Uses this paper in depth
    STRIDE: A Tool-Assisted LLM Agent Framework for Strategic and Interactive Decision-Making
    Chuan-Hao Li, Run-Han Yang, Tian-Kai Li et al. · 2024 · arXiv.org · preprint, not peer reviewed · cited 24 times · Not summarized yet

    STRIDE develops an interactive LLM-agent framework for strategic decisions and cites RAFA among its related approaches.

    Abstract

    Large Language Models (LLMs) like GPT-4 have revolutionized natural language processing, showing remarkable linguistic proficiency and reasoning capabilities. However, their application in strategic multi-agent decision-making environments is hampered by significant limitations including poor mathematical reasoning, difficulty in following instructions, and a tendency to generate incorrect information. These deficiencies hinder their performance in strategic and interactive tasks that demand adherence to nuanced game rules, long-term planning, exploration in unknown environments, and anticipation of opponents' moves. To overcome these obstacles, this paper presents a novel LLM agent framewor…

  3. Close Builds on this paper Uses this paper in depth
    Enhancing Decision-Making of Large Language Models via Actor-Critic
    Heng Dong, Kefei Duan, Chongjie Zhang · 2025 · International Conference on Machine Learning · cited 12 times · Not summarized yet

    Enhancing Decision-Making introduces an LLM actor-critic framework for long-term action evaluation and cites RAFA’s reasoning-and-acting work.

    Abstract

    Large Language Models (LLMs) have achieved remarkable advancements in natural language processing tasks, yet they encounter challenges in complex decision-making scenarios that require long-term reasoning and alignment with high-level objectives. Existing methods either rely on short-term auto-regressive action generation or face limitations in accurately simulating rollouts and assessing outcomes, leading to sub-optimal decisions. This paper introduces a novel LLM-based Actor-Critic framework, termed LAC, that effectively improves LLM policies with long-term action evaluations in a principled and scalable way. Our approach addresses two key challenges: (1) extracting robust action evaluatio…

  4. Close Builds on this paper
    Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models
    Andy Zhou, Kai Yan, Michal Shlapentokh-Rothman et al. · 2023 · Artificial Intelligence · cited 755 times · AI summary available

    LATS combines LLM planning, acting, and reasoning with environment feedback and cites RAFA as related work.

    Abstract

    While large language models (LLMs) have demonstrated impressive performance on a range of decision-making tasks, they rely on simple acting processes and fall short of broad deployment as autonomous agents. We introduce LATS (Language Agent Tree Search), a general framework that synergizes the capabilities of LLMs in planning, acting, and reasoning. Drawing inspiration from Monte Carlo tree search in model-based reinforcement learning, LATS employs LLMs as agents, value functions, and optimizers, repurposing their latent strengths for enhanced decision-making. What is crucial in this method is the use of an environment for external feedback, which offers a more deliberate and adaptive proble…

  5. Very close Builds on this paper Uses this paper in depth
    NeSyFS: A Neuro-symbolic Fast-Slow Thinking Framework for LLM Agent under Partial Observability
    Duo Xu, F. Fekri · 2026 · arXiv.org · preprint, not peer reviewed · Not summarized yet

    NeSyFS addresses planning under partial observability with a fast-slow LLM-agent framework and cites RAFA.

    Abstract

    Recently Large Language Models (LLMs) have been increasingly deployed as autonomous agents in applications such as self-reflection, retrieval-augmented generation, and scientific discovery. In these settings, agents must act based on limited observations rather than full environmental states, leading to partial observability. This introduces several key challenges: belief state inference, task objective misalignment, and planning under uncertainty. Prior approaches typically condition actions on full or summarized action-observation histories whose redundant and irrelevant information can mislead the decision making of LLM agent. Inspired by human cognition, we propose a novel neuro-symbolic…

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 4 November 2026.

The illustrated guide to the papers around a paper

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.