Scaling Agent Learning via Experience Synthesis

Zhaorun Chen, Zhuokai Zhao, Kai Zhang, Bo Liu, Qi Qi, Yifan Wu, Tarun Kalluri, Sara Cao, Yuanhao Xiong, Haibo Tong, Huaxiu Yao, Hengduo Li, Jiacheng Zhu, Xian Li, Dawn Song, Bo Li, Jason Weston, Dat Huynh · DOI

Abstract

Reinforcement learning (RL) is a powerful paradigm for developing autonomous agents, yet its application to Large Language Model (LLM) agents is often hindered by the prohibitive costs of real-world interactions and the challenge of sparse rewards. This paper introduces DreamGym, a novel framework designed to scale agent learning through experience synthesis. DreamGym replaces traditional, slow environment interactions with a reasoning-based "experience model" that generates diverse, causally grounded trajectories. By incorporating an adaptive curriculum task generator and a reasoning-capable world model, DreamGym achieves significant performance gains on complex benchmarks like WebArena and matches the performance of traditional RL while requiring zero real-world interactions during training.

Introduction

The development of intelligent autonomous agents relies heavily on Reinforcement Learning (RL). However, training LLM agents in real-world environments faces several critical bottlenecks. Collecting real-world interaction data, such as browsing live websites, is computationally expensive and slow. Furthermore, most environments provide only sparse, binary feedback (success or failure), making it difficult for agents to identify which specific actions contributed to a result. Finally, static benchmarks often lead to overfitting rather than generalizable intelligence.

DreamGym addresses these challenges by shifting the learning paradigm from real-world interaction to experience synthesis, utilizing a reasoning-capable model to simulate environment transitions and rewards.

The DreamGym Framework

DreamGym is built upon three core components that enable scalable and efficient agent training:

  1. Reasoning Experience Model ($M_{exp}$): Instead of a pixel-perfect simulator, DreamGym utilizes an LLM-based world model. This model employs Chain-of-Thought (CoT) reasoning to predict the next state and reward based on the agent's actions. This approach ensures causal consistency and provides more informative feedback than simple success flags.
  2. Experience Replay Buffer: To maintain grounding and prevent model drift or hallucinations, the system uses a buffer seeded with a small set of real-world offline trajectories (typically 2k-10k).
  3. Curriculum Task Generator: To maximize learning efficiency, DreamGym uses a "reward entropy" heuristic to identify tasks at the agent's current learning frontier. It then generates progressively challenging variations of these tasks to keep the agent in the "Goldilocks zone" of learning.
The DreamGym architecture featuring the Reasoning Experience Model and Curriculum Task Generator.

Experimental Evaluation

The effectiveness of DreamGym was evaluated across three distinct benchmarks: WebShop (e-commerce navigation), ALFWorld (embodied household tasks), and WebArena-Lite (realistic web interactions). Notably, WebArena is traditionally considered "non-RL-ready" due to its slow speed; DreamGym enables RL in this domain for the first time.

Key Results

DreamGym demonstrates remarkable efficiency and performance across diverse domains.

Success rates of DreamGym-trained agents across WebShop, Webarena, and Alfworld benchmarks compared to SFT baselines.
  • WebArena Breakthrough: DreamGym-trained agents outperformed all baselines by over 30% on complex web tasks.
  • Data Efficiency: In the WebShop environment, DreamGym matched the performance of agents trained on 80,000 real-world interactions while using zero real interactions during its own training phase.
  • Computational Savings: The framework reduced total training effort (GPU hours) to approximately 1/3 to 1/5 of traditional RL baselines.
  • Generalization: Policies trained on WebShop via DreamGym generalized well to WebArena, suggesting the acquisition of general web-browsing priors.

Discussion and Insights

A central finding of this work is that a world model does not need to be a perfect replica of reality to be effective; it primarily needs to be causally grounded and diverse. By using reasoning as a simulator, DreamGym significantly reduces hallucinations and provides stable trajectories for RL. Furthermore, the curriculum generation ensures that the agent remains focused on the "frontier of knowledge," maximizing information gain from every synthetic rollout.

Conclusion and Future Work

DreamGym represents a significant step toward scaling autonomous agent learning. While the current framework relies on a small amount of seed data and shows some domain gaps when transferring between highly disparate environments (e.g., web to embodied), it proves that experience synthesis is a viable and efficient alternative to real-world RL. Future research will focus on developing universal world models to enable zero-shot adaptation across multiple domains.

Summary updated

BibTeX
@inproceedings{chen2026scaling,
  author = {Zhaorun Chen and Zhuokai Zhao and Kai Zhang and Bo Liu and Qi Qi and Yifan Wu and Tarun Kalluri and Sara Cao and Yuanhao Xiong and Haibo Tong and Huaxiu Yao and Hengduo Li and Jiacheng Zhu and Xian Li and Dawn Song and Bo Li and Jason Weston and Dat Huynh},
  title = {{Scaling Agent Learning via Experience Synthesis}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=cf7qpBwttr},
}
Figure