atlas

Research map / Large language models / Agents, code and math

Reason for Future, Act for Now: A Principled Architecture for Autonomous LLM Agents

ICML 2024 · Large language models › Agents, code and math · approach: LLM planning with symbolic tools

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes RAFA, a prompting-based LLM agent architecture that alternates in-context learning of a model/critic from a memory buffer with tree-search planning and executes only the first action, with a Bayesian regret analysis giving sqrt(T) bounds.

Problem

Autonomous LLM agents in interactive decision-making need to complete tasks with few environment interactions, but LLM reasoning is stateless and ungrounded, and there is no principled RL-style framework or provable sample-efficiency guarantee for LLM reasoning-plus-acting.

Approach

Casts LLM reasoning as Bayesian adaptive MDP learning and planning: the LLM is prompted with a growing memory buffer to act as a model and critic (in-context posterior/BMA estimate), plans a multi-step trajectory via prompted tree search, executes only the first action, and replans, with an entropy-based switching condition giving a sqrt(T) Bayesian regret bound.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use RAFA instead of ReflexionGPT-4 agent · Game of 24success rate: 21% -> 89%Helped
Use RAFA instead of ToTGPT-3.5 agent · Game of 24success rate: 17% -> 46%Helped
Increase search breadth from B=1 to B=2 (ablation)RAFA with GPT-4 · Game of 24success rate: 89% -> 93%Helped
Increase search breadth from B=1 to B=2 (ablation)RAFA with GPT-3.5 · Game of 24success rate: 29% -> 46%Helped
Use RAFA instead of ReflexionGPT-3 agent · ALFWorld Totalsuccess rate: 92.54 -> 99.25Helped
Extend the interaction horizon from T=1 to T=7 (ablation)RAFA playing O against GPT-4 · Tic-Tac-ToeO winning rate: 10% -> 100%Helped
Extend the interaction horizon from T=1 to T=5 (ablation)RAFA playing O against GPT-4 · Tic-Tac-ToeO winning rate: 10% -> 50%Helped

Surprising findings

Limitations

Experimental setup

Datasets: ALFWorld Game of 24 BlocksWorld

Benchmarks: Game of 24 ALFWorld BlocksWorld Tic-Tac-Toe

Metrics: success rate winning rate sample efficiency (success vs. episode/step) value estimation accuracy

Baselines: ReAct Reflexion AdaPlanner BUTLER Tree of Thoughts (ToT) RAP CoT

Builds on: ReAct Reflexion Tree of Thoughts Reasoning via Planning AdaPlanner

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy