arXiv:2610.26844cs.AIOct 2026

Manuscript Offprint

arXiv:2610.26844

AnyGoal: On World Model Generalization Beyond Expert Rollouts

Heejeong Nam, Divyat Mahajan, Quentin Le Lidec, Randall Balestriero, David Klindt

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

The goal of a world model is to capture the dynamics of an environment. This has the great appeal that it allows agents to plan and simulate a course of actions with the help of a world model. For these uses to be reliable, however, the learned dynamics must behave well beyond the specific state-action combinations observed in expert rollouts. Despite this, the relationship between data coverage, dynamics generalization, and downstream planning performance remains underexplored. We study this relationship through the lens of compositional generalization: can a world model recombine familiar state and action factors into valid dynamics? To answer this, we introduce AnyGoal, a benchmark of goal-shifted task variants built from widely used world-model environments, together with an open-source library. Each task is designed to be within reach of a world model that has learned the underlying dynamics: individual state factors and actions remain within their training support, but their combinations are underrepresented in expert trajectories. Across multiple environments and world-model families, we find that current models consistently exhibit failures under these recombinations. By examining dynamics and representation failures across model families, interaction regimes, and evaluation metrics, we study where current world models generalize and where challenges remain for goal-shifted prediction and planning. Together, this framework, benchmark, and analysis provide a basis for evaluating progress toward world models that generalize to new planning tasks.

Generalization Failure Beyond Training Goal

Expert Rollouts Couple States, Objects, and Actions

Figure

Figure

Expert Rollouts

always move agent

toward the block.

World Models

cannot correctly

recombine familiar

action to familiar state.

Figure 1: Example of generalization failure under goal shift. A world model trained on Push-T performs poorly on Avoid-T, despite Avoid-T requiring only familiar 2D navigation and having individually familiar states and actions. In Push-T, action interventions reveal reduced model sensitivity in biased regions, suggesting that the model learns shortcuts rather than reusable dynamics.

1 INTRODUCTION

A key goal of physical intelligence is the ability to plan and perform new tasks. Routine tasks, such as driving to work, can be automatized and executed without much cognitive effort. Yet novel tasks requires us to plan and simulate the consequences of our actions. World models (Ha & Schmidhuber, 2018; Maes et al., 2026b; Ivashkov et al., 2026; Lu et al., 2026; Zhu et al., 2024; Zhou et al., 2025) aim to learn action-conditioned dynamics of environment by predicting how the world evolves under actions rather than task-specific behavior (Sutton & Barto, 2018). Therefore, a good world model should not merely memorize behavioral biases present in the training distribution. However, in-distribution evaluation offers limited evidence of reusable dynamics. Figure 1 illustrates a simple

Figure

☆: Base task for training

▲: Free-space task for inference

▲: Contact-rich task for inference

Figure 2: Overview of AnyGoal. Each task preserves the environment dynamics of the corresponding base tasks and keep states and actions individually within training coverage. Throughout the paper, AnyGoal is used solely as a test set for evaluating generalization.

but strong example of this caveat. In Push-T, the agent must push a block to a target pose, so expert rollouts strongly couple far-from-block states with actions that move the agent toward the block. A model trained on Push-T may therefore learn this rollout regularity rather than the action-conditioned effect of the supplied action, as reflected by the action-sensitivity plot in Fig. 1. When evaluated on Avoid-T, which requires avoiding the block using familiar 2D navigation, the model fails.

If the training data fully covered the relevant joint state–action space, then a model could in principle predict correctly on that support. However, such coverage is unrealistic in many control problems, especially when the relevant space is high-dimensional. First, offline datasets for world-model training are often collected from goal-directed policies that reach task-relevant states (Burda et al., 2019), which can introduce strong state–action correlations. One possible remedy is to mix data from multiple policies (Zhao et al., 2026). However, even with such mixtures, it can be difficult to determine whether the resulting dataset sufficiently covers the relevant state–action space, especially when the true reachable set is unknown. Even when a coverage gap is identified, collecting targeted rollouts to fill it can be difficult in offline settings. This makes it necessary to study generalization under incomplete coverage, rather than assuming that data scale alone will resolve the issue.

Generalization of world models has been studied to some extent. Closest to our setting, Hansen & Wang (2026) study hallucination detection and mitigation in world models, while we evaluate generalization in a statistically controlled space with explicit state-action support checks. Other OOD evaluations introduce states or factors outside the training support (Maes et al., 2026a; Wang et al., 2026; Li et al., 2025). Such settings are valuable for testing robustness to novel factors or extrapolation, but they may go beyond the generalization expected from a reusable dynamics model.

What remains missing is a systematic evaluation of the generalization that a good world model should support. First, we formalize this criterion as compositional generalization (Wiedemer et al., 2024b) and link it to goal shifts and behavior bias in the training data. We further show that the bias is empirically realized through targeted action interventions on familiar but under-covered state-action combinations, eliciting degenerate model responses. We then propose AnyGoal (Fig. 2), a benchmark of goal-shifted task variants built from widely used world-model environments. To remain in the compositional-generalization regime, AnyGoal preserves the observed marginal support of states, actions, task-relevant factors, and physical rules, while changing the joint combinations induced by the training behavior distribution and targeting under-covered state-action regions. With AnyGoal, we test whether current world models can generalize to new tasks without requiring extrapolation to unseen states, actions, or visual factors. Across this controlled setting, we observe broad failures across modeling paradigms, including generative world models (Zhu et al., 2024; Lu et al., 2026) and JEPA-style architectures (Maes et al., 2026b; Ivashkov et al., 2026; Zhou et al.,

2025). Our results then characterize this degradation across several axes, showing that failures can arise from both dynamics prediction and representation learning, and that their severity depends on task complexity, evaluation metric, and model family. Finally, we outline a theoretical direction toward compositional generalization for world models, framing what future models may need in order to move beyond behavior-biased rollouts.

References (60)