TL;DR
AnyGoal shows that world models trained on expert rollouts fail to predict dynamics for familiar states paired with familiar actions in new combinations, especially when the new goal requires precise object contact.
Why It Matters
Suppose you train a robot’s world model on demonstrations of pushing a T-shaped block to a target. The model sees the agent approach the block, make contact, and push. You now want to reuse that model to plan a different task in the same environment: avoid the block and reach a corner. Every state the planner queries (agent position, block position) is one the model saw during training. Every action it considers is in the training action range. Nothing is extrapolation in the usual sense.
The model still fails. The authors argue this is the central weakness of current world models evaluated only in-distribution: good next-frame prediction on the training goal does not mean the model learned reusable action-conditioned dynamics. It may have learned the expert’s habit of moving toward the block, and that habit is baked into its predictions regardless of what action you supply. Prior work on world-model generalization has mostly tested robustness to novel objects or visuals (Out-of-Distribution evaluation factors). That is a different, harder problem. AnyGoal targets the gap that even a well-behaved dynamics model should close.
How It Works
The setup is Compositional generalization for world models. Training trajectories cover some joint set of (state, action) pairs, call it the training support. The authors define a larger combinatorial space: the Cartesian product of each individual factor’s training range. A new goal induces a different behavior policy, which visits (state, action) combinations inside this product but outside what the training policy ever paired together. The physics is unchanged. Only the joint coverage shifts.
To build the benchmark, the authors take four standard robotics environments (TwoRoom navigation, Push-T, DMC DMC Manipulator Insert-Peg, and OGBench Cube) and design eight goal-shifted variants (avoid the block, stack, anti-goal push, extract peg, hop over cube, diagonal grasp, etc.). For each variant they run three statistical tests (Kernel Density Estimation, Mahalanobis distance, range) to verify every individual factor stays inside the training distribution, then measure how much the full joint vector overlaps the training joint distribution. Lower joint overlap means the variant stresses the combinatorial gap more.
They evaluate five end-to-end world models spanning JEPA (Joint Embedding Predictive Architecture) architectures (LeWorldModel, Sensorimotor-WM, DINO-WM) and generative ones (DriftWorld, IRASim), plus oracle-state predictors that skip vision and receive true physical state directly. Each model is trained only on the base task, then tested on both base and goal-shifted variants for autoregressive prediction error and Model Predictive Control (MPC) planning success.
They also run an interventional probe. At a given state, swap the expert’s action for alternatives and measure how much the model’s prediction changes:
for s, a_expert in training_states:
pred_expert = model(s, a_expert)
for a_alt in intervention_set:
pred_alt = model(s, a_alt)
sensitivity[s] += ||pred_expert - pred_alt||
Low sensitivity in regions where the expert policy is predictable is evidence the model is predicting the expert’s typical next step rather than the effect of the supplied action.
What They Found
Failures are broad and heterogeneous. Across all five end-to-end model families and all four environments, goal-shifted variants degrade both rollout error and planning success relative to the base task. The authors do not claim one architecture is the fix.
The oracle-state experiment is the key diagnostic. Giving the predictor true physical state (positions, orientations, joint angles) instead of pixels does not uniformly rescue performance. Free-space variants (navigation, avoidance, hopping) often match or beat base-task performance with oracle state. Contact-rich variants (stacking, anti-goal pushing, peg extraction, diagonal grasping) still degrade substantially, with rollout error rising one to three orders of magnitude even without any vision involved. So the problem is not just the encoder failing on recombined visuals. The learned dynamics itself does not reliably transfer across new state-action combinations when interaction physics matter.
A secondary finding: in TwoRoom, where the only varying factor is agent position and the goal-shifted observations stay visually in-support, end-to-end models still degrade while oracle-state predictors stay stable. The t-SNE projections of learned latents show the same agent positions organized with different geometries across models. Representation geometry alone can tank goal-shift performance even without an observation shift.
The action-sensitivity probe supports the behavior-shortcut hypothesis. In state regions where the expert policy is most constrained (near the narrow passage in TwoRoom, approaching the block in Push-T, carrying the peg toward the target), models respond less to swapped actions. They have partially learned “what the expert does here” rather than “what this action does here.”
What’s Useful
If you train or evaluate world models for planning, treat in-distribution rollout error as insufficient evidence of reusable dynamics. The benchmark and library are released at GitHub with 400 episodes per variant and a unified CLI, so you can take a model trained on Push-T or Cube and test it on the goal-shifted variants under the authors’ MPC protocol. The action-sensitivity probe is worth borrowing even outside this benchmark. If you have a trained world model and access to its predictions, intervening on actions at fixed states and measuring prediction change is a cheap diagnostic for whether the model has absorbed behavior-policy shortcuts in regions where expert data is narrow.
For method design, the paper’s theoretical sketch points to a specific direction worth testing: if each next-state factor depends on only a small subset of state and action coordinates (sparse local mechanisms), then global compositional shifts reduce to local coverage questions, and generalization becomes tractable. The authors do not propose a trained model that exploits this. It is a hypothesis for architectures or objectives to pursue.
One scope note: the oracle-state result means improving visual encoders will not close the gap on contact-rich tasks. If your use case involves precise object interaction, focus on the dynamics predictor or on data collection that covers interaction regimes more deliberately, not on a better visual backbone.
Caveats
All environments are simulated with low-dimensional physics; the paper does not test real-robot deployment or high-dimensional manipulation. Prediction errors across model families are not directly comparable because JEPA (Joint Embedding Predictive Architecture) models predict in latent space and generative models predict in pixels, so the authors deliberately use base-relative ratios. Planning success and rollout error sometimes diverge, especially in free-space tasks where many action sequences reach the goal, so neither metric alone tells the full story. The theoretical proposition on sparse local mechanisms is a sufficient condition for a favorable case, not a trained method or an empirical result.