atlas

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

diff History for Neural Language Agents

ICML 2024 · Multi-agent systems and games › LLM agents · approach: LLM multi-agent collaboration and safety · 0 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.

Applies the Unix diff operator to consecutive text observations in interaction histories so LM agents see salient changes, improving efficiency in BabyAI-Text and reaching SOTA neural NetHack performance with 1800x less data.

Problem

LM-based embodied agents face long, verbose textual prompts when observations are converted to text and combined with interaction history, limiting domains, history length, and low-sample instruction finetuning.

Approach

Replace full-text observations after the first step in a history with Unix diff deltas between consecutive observations, a task-agnostic relational abstraction that also compresses tokens in high-dimensional observation settings.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
diff history observations instead of full-text observations (ablation)GPT-2-127M language agent · NetHackmean score: 1885 vs 31 mean scoreHelped
add auxiliary causal world-model objective to diff-history agent (ablation)diff history GPT-2 agent · NetHackmean score: 1094 vs 1203/1885 without world modelHurt
add auxiliary world-model objective to full-text history agent (ablation)full-text history GPT-2 agent · NetHackmean score: 344 vs 31Helped
large-scale pretraining removed (train from scratch) (ablation)diff history GPT-2 agent · NetHackmean score: 36% reduction in mean scoreHurt
double the number of expert-action demonstrations (1M chunks)diff history GPT-2 agent · NetHackmean score: 2766 vs 1885 (47% higher)Helped
diff history instead of full-text history (ablation)GPT-2-127M in BabyAI-Text · BabyAI-Textgradient steps / FLOPs to reach peak reward: >=25% fewer FLOPsHelped
diff history increases per-observation token count in BabyAI-Textdiff history representation · BabyAI-Texttokens per observation: 210% average-case increaseHurt
diff history compresses observation tokens in NetHackdiff history representation · NetHacktokens per observation: 460% reduction in average token count per timestepHelped

Surprising findings

Limitations

Experimental setup

Datasets: BabyAI-Text NetHack Learning Environment bot demonstrations (LangHack)

Benchmarks: BabyAI-Text NetHack Learning Environment (NetHack Challenge task)

Metrics: mean rollout reward NetHack game score (mean and median) FLOPs/optimizer steps to peak performance

Baselines: full-text history agents vision agents (LSTM CDGPT) Transformer vision agent NetHack SOTA neural agent (115B keypresses)

Builds on: Unix diff GPT-2 NetHack Learning Environment BabyAI-Text NetHack Language Wrapper

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