atlas

Research map / Multi-agent systems and games / Human-AI and goal-conditioned

BAGEL: Bootstrapping Agents by Guiding Exploration with Language

ICML 2024 · Multi-agent systems and games › Human-AI and goal-conditioned · approach: Language-grounded reinforcement agents · 2 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.

BAGEL bootstraps LM web/tool agents without human supervision by iteratively relabeling randomly explored trajectories (LM labeler and zero-shot agent round-trips), then uses the resulting synthetic demonstrations as retrieved in-context examples.

Problem

LM agents executing natural-language instructions in digital environments (web browsers, tool APIs) generalize poorly to new environments without human demonstrations, which are costly to collect.

Approach

Shape random exploration trajectories into language-describable demonstrations by iterating round-trips between an LM trajectory labeler (trajectory to instruction) and a zero-shot LM agent (instruction to trajectory), filtered by an LM demonstration filter, then retrieve these demonstrations as in-context exemplars at test time; differs from HER by relabeling the full trajectory iteratively with

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add trajectory-first BAGEL demonstrationsPaLM-2 zero-shot agent · MiniWoB++average reward: 46.8 -> 61.0Helped
add instruction-first BAGEL demonstrationsPaLM-2 zero-shot agent · ToolQAF1: 40.9 -> 43.3Helped
add trajectory-first BAGEL demonstrationsPaLM-2 zero-shot agent · ToolQAF1: 40.9 -> 42.2Helped
add iterative re-labeling to trajectory-first BAGEL (ablation)BAGEL · MiniWoB++average reward: 53.0 -> 61.0Helped
add iterative re-labeling to instruction-first BAGEL (ablation)BAGEL · MiniWoB++average reward: 52.0 -> 56.0Helped
add iterative re-labeling to trajectory-first BAGEL (ablation)BAGEL · ToolQAF1: 40.9 -> 42.2Helped
add iterative re-labeling to instruction-first BAGEL (ablation)BAGEL · ToolQAF1: 38.8 -> 43.3Helped
use instruction-first rather than trajectory-first exploration (ablation)BAGEL · MiniWoB++average reward: 61.0 -> 56.0Hurt
use instruction-first rather than trajectory-first exploration (ablation)BAGEL · ToolQAF1: 42.2 -> 43.3Helped
use random demonstrations instead of retrieving relevant demonstrations (ablation)PaLM-2 agent on ToolQA · ToolQAAccuracy: 42.2 -> 38.0Hurt
shuffle instruction-trajectory pairings in retrieved demonstrations (ablation)PaLM-2 agent on ToolQA · ToolQAAccuracy: 42.2 -> 41.4Hurt
add BAGEL demonstrationsPaLM-2 zero-shot agent · choose-dateaverage execution failures: 1.3 -> 0.1Helped

Surprising findings

Limitations

Experimental setup

Datasets: MiniWoB++ ToolQA

Benchmarks: MiniWoB++ ToolQA

Metrics: mean reward (mapped to [0,1]) F1 execution failures

Baselines: Zero-shot policy instruction-first no-iterations trajectory-first no-iterations Flat Zero-Shot SteP Zero-Shot RCI

Builds on: ReAct Hindsight Experience Replay PaLM-2

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