Steering Black-Box Large Language Model Agents with Pitfall Anticipation World Model

Jiongxiao Wang, Han Ding, Youzhi Luo, Yawei Wang, Yun Zhou, Linbo Liu, Panpan Xu

University of Wisconsin–Madison · AWS AI

Published October 21, 2026 · on the feed October 27, 2026 · ▲ 15 · arXiv 2610.29139

Agents3D, worlds & gamesLLM training & RL No code arXiv ↗Hugging Face ↗

The abstract

Frontier black-box Large Language Model (LLM) agents are proficient at long-horizon reasoning and precise action generation. However, when it comes to a specific agentic task, they have no internalized knowledge of how that particular environment unfolds. A world model offers a natural remedy, providing the agent with environment specific knowledge by foreseeing how the environment will respond to the action it is about to take. Prior world models for LLM agents mainly predict next observations at each step, which is costly and often uninformative because individual observations provide limited task-relevant guidance and not every step requires call for foresight. This raises a key question: what a world model should predict and when should it be invoked for agentic tasks? Our pilot study suggests that world model guidance is most useful when it anticipates pitfalls within a bounded multi-step future. Motivated by this, we introduce Pitfall Anticipation World Model (PAWM), which selectively intervenes when a potential pitfall arises and predicts the impending failure to steer the agent away from it. PAWM is trained in two stages: Supervised Fine-Tuning (SFT) on synthetic data labeled with agent pitfalls, followed by GRPO co-training with a black-box LLM to further optimize it in the target environment. PAWM improves Claude Sonnet 4.5 performance by 24.3% on ScienceWorld and 7.7% on WebArena-Lite, outperforming a range of baselines. These results demonstrate that PAWM provides an effective form of world model guidance for black-box LLM agents.

The Brief

2:41

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Steering Black-Box Large Language Model Agents with Pitfall Anticipation World Model. By Jiongxiao Wang and six others, from the University of Wisconsin–Madison and AWS AI. Published on the twenty-first of October. No code repository is linked to it.

Frontier black-box language model agents are proficient at long-horizon reasoning and at generating precise actions. Put one into a specific agentic task, though, and it has no internalized knowledge of how that particular environment unfolds. A world model is a natural remedy. It gives the agent environment-specific knowledge by foreseeing how the environment will respond to the action the agent is about to take.

Prior world models for language model agents mostly predict the next observation at every step. The authors find two faults with that. It is costly. And it is often uninformative, because a single observation offers limited guidance relevant to the task, and not every step calls for foresight in the first place. That leaves a pair of open questions: what should a world model predict for agentic tasks, and when should it be invoked?

A pilot study points to an answer. World model guidance is most useful when it anticipates pitfalls within a bounded multi-step future. From that comes the Pitfall Anticipation World Model, PAWM. Rather than speaking at every step, it intervenes selectively, when a potential pitfall arises, and it predicts the impending failure so that the agent can be steered away from it. The prediction target changes from the next observation to the failure that lies a few steps ahead. That answers both of the open questions at once. What to predict is the pitfall, not the observation. When to predict is when a pitfall is in view, not at every step. The cost of foresight is then paid only where foresight is likely to help.

PAWM is trained in two stages. The first is supervised fine-tuning on synthetic data labeled with agent pitfalls. The second is GRPO co-training alongside a black-box language model, which further optimizes the world model in the target environment. The agent itself stays a black box throughout. It is the world model that learns to anticipate where that particular agent goes wrong in that particular setting.

The agent being steered is Claude Sonnet 4.5. With PAWM, its performance improves by twenty-four point three percent on ScienceWorld and by seven point seven percent on WebArena-Lite, outperforming a range of baselines. The authors read these results as showing that PAWM is an effective form of world model guidance for black-box agents. Two environments, one frontier agent left unchanged, and in both the selectively invoked world model adds to what the agent could do on its own.

The shift is from forecasting everything to forecasting what matters. A world model that waits for a likely pitfall, and then says what is about to go wrong, gives a black-box agent the environment knowledge it was missing without asking it to change, and without paying for a prediction at every step.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.