atlas

Research map / Multi-agent systems and games / LLM agents

Synapse: Trajectory-as-Exemplar Prompting with Memory for Computer Control

ICLR 2024 · Multi-agent systems and games › LLM agents · approach: Agent data synthesis and behavior studies · 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.

Synapse is an LLM computer agent that abstracts raw states, prompts with full successful trajectories (trajectory-as-exemplar), and retrieves exemplars from an embedding memory, reaching 99.2% on 64 MiniWoB++ tasks and large Step SR gains on Mind2Web.

Problem

In-context computer control agents are limited by LLM context length with complex HTML states, by exemplar structures (plans, MCQs) that fail to capture full trajectories in long-horizon tasks, and by hard-coded task-specific exemplars that generalize poorly to novel tasks.

Approach

Three components: few-shot state abstraction to shrink raw states into task-relevant observations, trajectory-as-exemplar prompting that interleaves full abstracted observations and actions, and an embedding-based exemplar memory retrieved by similarity over task metadata.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use state abstraction, TaE prompting, and exemplar memory instead of MindAct promptingGPT-3.5 on Mind2Web · Mind2Web across Cross-Task, Cross-Website, and Cross-DomainStep SR: 32%, 50%, and 56%Helped
Use state abstraction with direct generation and fewer top-ranked elements instead of MCQ with top-50 elements (ablation)Mind2Web · Mind2Websuccess rate: 32%Helped
Add state abstraction (ablation)Synapse on MiniWoB++ email-inbox-nl-turk · email-inbox-nl-turksuccess rate: 52% to 100%Helped
Add state abstraction (ablation)Synapse on MiniWoB++ complex-state tasks · book-flightsuccess rateHelped
Add TaE prompting to state abstraction (ablation)GPT-3.5 on Mind2Web · Mind2WebStep SR: 19%Helped
Use TaE prompting rather than the RCI prompting approach (ablation)MiniWoB++ long-horizon tasks · guess-number, use-spinner, use-autocompletesuccess rate: 20%, 88%, and 58% -> 100%, 100%, and 98%Helped
Add exemplar memory to state abstraction and TaE (ablation)GPT-3.5 on Mind2Web · Cross-TaskStep SR: 29.2 -> 30.6Helped
Add exemplar memory to state abstraction and TaE (ablation)GPT-3.5 on Mind2Web · Cross-WebsiteStep SR: 22.7 -> 24.2Helped
Add exemplar memory to state abstraction and TaE (ablation)GPT-3.5 on Mind2Web · Cross-DomainStep SR: 26.2 -> 26.4Hurt
Add exemplar memory to state abstraction and TaE (ablation)CodeLlama-7B on Mind2Web · Cross-DomainStep SR: 19.9 -> 19.7Hurt
Use exemplar memory to retrieve demonstrations from 48 tasks (ablation)Synapse on MiniWoB++ · MiniWoB++success rate: 64 tasks with demonstrations from only 48 tasksHelped

Surprising findings

Limitations

Experimental setup

Datasets: MiniWoB++ Mind2Web

Benchmarks: MiniWoB++ Mind2Web

Metrics: success rate step success rate element selection accuracy

Baselines: RCI AdaPlanner MindAct CC-Net Pix2Act WebGUM WebN-T5

Builds on: RCI MindAct Chain-of-thought

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