atlas

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

Learn-by-interact: A Data-Centric Framework For Self-Adaptive Agents in Realistic Environments

ICLR 2025 · Multi-agent systems and games › LLM agents · approach: Self-evolving language agent learning · 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.

Proposes Learn-by-interact, a fully autonomous pipeline that synthesizes environment-specific agent trajectories via self-instruct, LLM rollouts, and backward instruction construction, then uses the data for agentic retrieval in ICL and for LoRA fine-tuning.

Problem

LLM agents underperform on realistic digital environments (SWE-bench, WebArena, OSWorld, Spider2-V) due to a lack of high-quality environment-specific agent data, and human annotation of long agent trajectories is costly.

Approach

Generate tasks from environment documentation, collect interaction trajectories, then relabel every sub-trajectory with LLM-written summary or abstraction instructions (backward construction) to fix instruction-trajectory misalignment and multiply data; use model-based plus observation-based agentic retrieval for ICL and SFT on the filtered data.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add backward construction to synthesized trajectory data (ablation)Learn-by-interact · WebArena, OSWorld, SWE-bench, Spider2-Vsuccess rateHelped
Combine model-based and observation-based retrieval (ablation)Learn-by-interact ICL · SWE-bench, WebArena, OSWorld, Spider2-Vsuccess rate: Gemini: SWE 17.0 -> 18.7, Web 24.3 -> 25.6, OS 9.5 -> 10.3, Spider2-V 15.4 -> 16.4Helped
Use model-based retrieval only instead of combined agentic retrieval (ablation)Learn-by-interact ICL · SWE-bench, WebArena, OSWorld, Spider2-Vsuccess rate: Gemini: SWE 18.7 -> 17.0, Web 25.6 -> 24.3, OS 10.3 -> 9.5, Spider2-V 16.4 -> 15.4Hurt
Use observation-based retrieval only instead of combined agentic retrieval (ablation)Learn-by-interact ICL · SWE-bench, WebArena, OSWorld, Spider2-Vsuccess rate: Gemini: SWE 18.7 -> 16.3, Web 25.6 -> 23.5, OS 10.3 -> 8.7, Spider2-V 16.4 -> 14.6Hurt
Disable retrieval (ablation)Learn-by-interact ICL · SWE-bench, WebArena, OSWorld, Spider2-Vsuccess rate: Gemini: SWE 18.7 -> 13.3, Web 25.6 -> 17.9, OS 10.3 -> 4.9, Spider2-V 16.4 -> 8.3Hurt
Use short trajectories rather than medium or long trajectories (ablation)Learn-by-interact synthesized data · WebArena and OSWorldsuccess rate: Claude Web: Short 39.4, Medium 38.8, Long 37.6; OS: Short 17.9, Medium 16.6, Long 15.2Helped
Combine short, medium, and long trajectory data (ablation)Learn-by-interact synthesized data · WebArena and OSWorldsuccess rate: Claude Web: Short+Medium+Long 42.0; OS 19.8Helped
Generate task instructions from related resources rather than environments alone (ablation)Learn-by-interact ICL with Claude-3.5-sonnet · WebArenasuccess rate: 39.6 -> 48.0Helped
Train Codestral-22B with Learn-by-interact data instead of using it only as ICL examplesCodestral-22B · WebArenasuccess rate: 9.9 -> 24.2Helped
Use Learn-by-interact data instead of data distillation for trainingCodestral-22B · WebArena and OSWorldsuccess rate: Web 10.2 -> 24.2; OS 5.4 -> 11.7Helped
Add synthesized Learn-by-interact data as ICL examplesClaude-3.5-sonnet · OSWorldsuccess rate: 12.4 -> 22.5Helped
Add synthesized Learn-by-interact data as ICL examplesCodestral-22B · WebArenasuccess rate: 4.7 -> 9.9Helped

Surprising findings

Limitations

Experimental setup

Datasets: SWE-bench Verified documentation (python files) WebArena documentation sources OSWorld documentation sources Spider2-V documentation sources

Benchmarks: SWE-bench Verified WebArena OSWorld Spider2-V

Metrics: resolved rate pass@1

Baselines: RAG Data distill Reflexion LATS

Builds on: self-instruct Reflexion LATS ReAct CodeAct

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