Why Do LLM Agents Fail in Exploring New Environments? A World-Modeling Perspective
This paper identifies "exploration collapse" as a key failure mode where LLM agents lose the ability to discover new solutions in unfamiliar environments during reinforcement learning, and proposes SPA, a method that improves performance by first grounding the agent in state and transition prediction via self-experience supervised finetuning before optimizing for reward.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine a computer program designed to think and act like a human, capable of solving puzzles, navigating virtual worlds, or even using a web browser to find information. These programs, known as large language models, are trained on vast amounts of text from the internet, learning to predict what word comes next in a sentence. When researchers ask these models to act as agents—taking steps to achieve a goal—they often use a method called reinforcement learning. This is a process where the model tries different actions, receives feedback on whether it succeeded or failed, and gradually learns to repeat the actions that lead to success. It is a powerful way to teach a machine how to do things it was not explicitly programmed to do. However, a critical problem arises when these agents are placed in new, unfamiliar situations. While they might learn to solve a specific puzzle they have seen before, they often struggle to figure out how to explore a completely new environment, getting stuck in a narrow way of thinking that prevents them from finding the best solution.
A team of researchers set out to understand why these intelligent agents fail when they encounter the unknown. They discovered a specific phenomenon they call "exploration collapse." In simple terms, when an agent is trained on a new task, it often learns to find just one specific path to success and then ignores all other possibilities. It becomes so focused on that single route that it loses the ability to try different approaches. The researchers measured this by looking at two different scores: one that tracks if the agent's very best guess works, and another that tracks if any of its many different guesses work. In familiar tasks, both scores improve as the agent learns. But in new, difficult environments like a grid-based puzzle where boxes must be pushed to specific targets, the score for the single best guess goes up slightly, while the score for trying many different paths actually goes down. The agent is learning to be more confident in a bad habit rather than learning to be more flexible. This happens because the agent does not truly understand the rules of the new world it is in; it is guessing without a solid foundation.
To fix this, the researchers developed a new training method called SPA, which stands for Self-Experience Agent. Instead of immediately trying to teach the agent how to get rewards, they first taught it how to understand the world around it. They gave the agent a chance to explore the environment on its own, without the pressure of scoring points. During this phase, the agent was asked to describe what it saw and to predict what would happen next if it took a certain action. For example, if the agent saw a box in a specific spot and decided to push it, it had to first state where the box was and then predict where it would end up. The researchers then used the actual, correct outcomes from the environment to correct the agent's predictions, effectively teaching it the laws of physics for that specific game. This process created a kind of internal map or "world model" inside the agent's mind, grounding its understanding in reality rather than in vague guesses.
Once the agent had built this internal understanding of how the world works, the researchers then started the standard training process to teach it how to win. The results were striking. In tests on a puzzle game called Sokoban, where the agent had to push boxes to targets, the standard training method only allowed the agent to succeed about 25 percent of the time. With the new method, the success rate jumped to nearly 60 percent. On another puzzle involving a frozen lake, the success rate improved from about 22 percent to over 70 percent. Perhaps most surprisingly, a very small computer model trained with this method was able to outperform a much larger, more powerful model that had been trained using the old, standard methods. The small model, having learned the rules of the game first, was able to navigate the complex puzzles more effectively than the giant model that had just been trying to guess its way to a reward.
The researchers also tested whether this approach worked on other types of tasks, such as a logic puzzle called Sudoku and a simulated environment for household chores. In every case, the method that taught the agent to understand the state of the world before trying to win led to better results. They found that the key to success was not just having more data or a bigger computer, but rather the order in which the learning happened. By forcing the agent to learn the structure of the environment first, it avoided the trap of collapsing into a single, brittle strategy. The agent learned to keep its options open, exploring multiple paths because it understood the consequences of its actions. This approach suggests that for artificial intelligence to truly adapt to new and complex situations, it needs to build a reliable understanding of reality before it tries to optimize for success. The study shows that when an agent is grounded in the actual mechanics of its environment, it can learn to explore more effectively and solve problems that were previously out of reach.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.