Reinforcement World Model Learning for LLM-based Agents
Xiao Yu, Baolin Peng, Ruize Xu, yelong shen, Pengcheng He, Suman Nath, Nikhil Singh, Jianfeng Gao, Zhou Yu
NeurIPS page · Open on the map
Category: LLM Agents, Evals & Benchmarks › Tool-Integrated Reasoning · Type: new method · Keywords: LLM-based agents, world model learning, self-supervised, sim-to-real gap, action-conditioned
Areas: AI Agents › Agent Optimization and Evaluation › World Models for Agents; RL for LLMs & Agents › Language Model Agents › World Models for Agents
Summary
RWML is a self-supervised method that learns action-conditioned world models for LLM-based agents on textual states, improving performance on ALFWorld and Bench.
Explained to a 5-year-old
Big computer programs that understand words sometimes don't know what will happen if they try something new. To help them, scientists let the program imagine what will happen next and then compare that picture to what really happens. This helps the program learn a simple idea of how the world works, like a tiny model in its head. By doing this, the program can make better choices and finish tasks more often. The new idea works even when the program only sees the words it already knows.
Explained to a 5-year-old, longer
A computer program that reads and writes words is called a large language model. When such a program tries to act in a world, it needs to know what will happen after each action. Often, it guesses wrong because it doesn't have a clear picture of how things change. Researchers wanted to give the program a simple way to understand the world without needing lots of extra data. They created a method where the program first imagines the next situation based on what it has seen before. Then they compare that imagined situation with what actually occurs in the real environment. By matching the imagined and real situations, the program learns a small model of how actions affect the world. This model helps the program make better predictions and choose actions that lead to success. The learning happens all by itself, without any human-provided labels, which makes it efficient. When the program also gets a reward for finishing tasks, it becomes even better at solving problems. Tests on two popular challenge sets show that the new approach beats older ways of training the program. Overall, the idea lets language models become more reliable agents in interactive settings.
For a technical reader
The paper addresses the limitation of LLM-based agents that struggle to predict the consequences of their actions in dynamic environments. It proposes a self-supervised training scheme that learns an action-conditioned world model by aligning simulated next states with real observed states using a sim-to-real gap reward. The alignment is performed in a pre-trained embedding space, which encourages semantic consistency rather than exact token matching and reduces susceptibility to reward hacking. Evaluations on two benchmark task sets (ALFWorld and Bench) show that the approach yields significant gains over the base model and matches the performance of expert-data training when combined with task-success rewards. The method requires no external supervision and can be integrated with existing reinforcement-learning pipelines to improve agent planning.
Problem
LLM-based agents often have difficulty predicting the consequences of their actions and adapting to environment dynamics, limiting their ability to act effectively.
Method
The approach learns action-conditioned world models in a self-supervised manner by aligning simulated next states with real environment next states using sim-to-real gap rewards in a pre-trained embedding space.
Results
The approach achieves improvements over the base model and, when combined with task-success rewards, surpasses direct RL baselines by 6.9 points on ALFWorld and 5.7 points on Bench, matching expert-data training performance.
Contributions
It introduces a self-supervised method for learning action-conditioned world models that aligns simulated and real next states, providing a robust training signal less prone to reward hacking and enabling better adaptation in LLM-based agents.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction