atlas

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

AutoGuide: Automated Generation and Selection of Context-Aware Guidelines for Large Language Model Agents

NeurIPS 2024 · Large language models › Agents, code and math · approach: LLM planning with symbolic tools · 3 citations (OpenAlex)

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 AutoGuide, which mines contrastive offline trajectory pairs to generate conditional natural-language guidelines keyed by context, and retrieves top-k relevant guidelines at test time to prompt LLM agents.

Problem

LLM agents perform poorly in unfamiliar domains such as web navigation, and demonstration-based in-context learning is limited by context length, prompt sensitivity, and complex reasoning when using offline experiences.

Approach

Contrast pairs of trajectories with different returns to find the deviation timestep, summarize the shared context, and extract a conditional guideline ("when in context X, do Y"); at test time, identify the current context and select top-k matching guidelines to insert into the agent prompt, rather than providing all guidelines (as ExpeL does) or raw demonstrations.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add context-aware guidelines from offline experiencesReAct · ALFWorldsuccess rate: 54.5\text{\%} -> 79.1\text{\%}Helped
Add context-aware guidelines from offline experiencesReAct · WebShopsuccess rate: 30\text{\%} -> 46\text{\%}Helped
Add context-aware guidelines from offline experiencesReAct · WebArena-Redditsuccess rate: 8.0\text{\%} -> 47.1\text{\%}Helped
Transfer WebShop guidelines with grounding to WebArenaReAct · WebArena-Shoppingsuccess rate: 10.2\text{\%} -> 20.4\text{\%}Helped
Add context identification without guidelines (ablation)ReAct · WebShopsuccess rate: 30\text{\%} -> 36\text{\%}Helped
Add guideline extraction and selection without contexts (ablation)ReAct · WebShopsuccess rate: 30\text{\%} -> 37\text{\%}Helped
Combine context identification with guideline extraction and selection (ablation)ReAct · WebShopsuccess rate: 37\text{\%} -> 46\text{\%}Helped
Select top 1 context-aware guideline instead of none (ablation)AutoGuide · WebShopsuccess rate: 30\text{\%} -> 42\text{\%}Helped
Use top 3 rather than top 2 guidelines (ablation)AutoGuide · WebShopsuccess rate: 46\text{\%} -> 47\text{\%}Helped
Use top 5 rather than top 3 guidelines (ablation)AutoGuide · WebShopsuccess rate: 47\text{\%} -> 43\text{\%}Hurt
Add AutoGuide to SoMSoM · GitHubsuccess rate: 2/30 -> 19/30Helped
Add AutoGuide to SoMSoM · Google Flightssuccess rate: 5/20 -> 9/20Helped

Surprising findings

Limitations

Experimental setup

Datasets: ALFWorld WebShop WebArena Real-world multi-modal websites (GitHub, Google Flights, Coursera)

Benchmarks: ALFWorld WebShop WebArena-Reddit WebArena-Shopping GitHub Google Flights Coursera

Metrics: success rate reward

Baselines: ReAct ExpeL Reflexion SoM ReAct few-shot (1/2/4/6-shot)

Builds on: ReAct ExpeL Reflexion

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