AnyGoal: On World Model Generalization Beyond Expert Rollouts
Organizations: Brown University · Cold Spring Harbor Laboratory · Mila, Université de Montréal · New York University
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.
Figures & tables
| Model | Family | Representation | Action conditioning |
| End-to-End World Models | |||
| LeWorldModel | JEPA | Learned latent | AdaLN |
| Sensorimotor WM | JEPA | Learned latent | AdaLN |
| DINO-WM | JEPA | Frozen DINO features | Feature concatenation |
| DriftWorld | Generative | Pixels | Conditional generator |
| IRASim | Generative | Frozen SDXL VAE | DiT conditioning |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Reference dataset | Query dataset | Factor groups checked |
| TwoRoom | TR-Route | Agent position ; action position delta |
| PushT | Avoid-T; Stack-T; Push-T Antigoal | Agent position ; block position ; action ; block angle. |
| Insert-Peg | Avoid-Peg; Extract-Peg | Arm root angle; Arm shoulder angle; Arm elbow angle; Arm wrist angle; Finger angle; Fingertip angle; Thumb angle; Thumbtip angle; hand, peg, and target position (2D); hand, peg, and target orientation (2D) ; 5 motor commands ( ) independently. |
| Cube | Cube-Hop; Cube-Diagonal | End-effector position ; block position ; block quaternion ; action position delta ; gripper opening; gripper contact; end-effector yaw; action yaw delta; action gripper delta. ; 6 joint pos independently |
| Factor of variants | Mahalanobis 0.99 | KDE | Range | Final verdict | ||
|---|---|---|---|---|---|---|
| TwoRoom | TR-Route | agent pos (2D) | 0.970 | 1.000 | 1.000 | pass |
| action (2D) | 1.000 | 0.957 | 1.000 | pass | ||
| PushT | Avoid-T | block angle | 0.970 | 0.963 | – | pass |
| agent pos (2D) | 0.968 | 0.984 | 1.000 | pass | ||
| block pos (2D) | 1.000 | 0.990 | 1.000 | pass | ||
| action (2D) | 1.000 | 0.995 | 1.000 | pass |
| Family | |||
| TwoRoom | position (2D) | position (2D) | 4D |
| PushT | agent position (2D) | block pose (5D total) | 7D |
| Cube | EE/gripper state (6D) | block pose (13D total) | 18D |
| Manipulator | joints hand pose (20D) | peg/target poses (28D total) | 33D |
| Base environment | Dim. | Oracle state variables |
| TwoRoom | 2D | Agent position . |
| Push-T | 10D | Goal position , goal orientation , block position , block orientation , and agent position . |
| Cube | 15D | End-effector position , end-effector yaw , gripper opening, gripper contact, gripper velocity, block position , and block quaternion . |
| Manipulator Insert-Peg | 33D | Arm joint positions, touch sensors, hand pose , peg pose , and target pose . |
| Dataset | Model | LR | Configured duration | Selected checkpoint |
| Push-T | LeWM | - | - | official LeWM checkpoint |
| Push-T | Sensorimotor-WM | 10 epochs | epoch 10 | |
| Push-T | DINO-WM | - | - | official DINO-WM checkpoint |
| Push-T | DriftWorld | max 500k steps | step 500k | |
| Push-T | IRASim | max 300k steps | step 300k | |
| Cube | LeWM | - | - | official LeWM checkpoint |
| Dataset | Model | selected LR | Configured duration | Selected checkpoint |
| Push-T | Toy-AdaLN | 100 epochs | epoch 100 | |
| Push-T | Toy-Action-Duplicate | 100 epochs | epoch 100 | |
| Push-T | Toy-DriftWorld | 50 epochs, max 500k steps | step 500k | |
| Cube | Toy-AdaLN | 100 epochs | epoch 100 | |
| Cube | Toy-Action-Duplicate | 100 epochs | epoch 100 | |
| Cube | Toy-DriftWorld | 50 epochs, max 500k steps | step 500k |
| Environment | Planning success criterion |
| TwoRoom | The 2D Euclidean distance between the agent position and the goal agent position is less than 16 pixels. Target and door positions are not used. |
| PushT | The 4D Euclidean error over agent and block positions is less than 20 pixels, and the block angle error is less than radians. The angle error accounts for object symmetries. |
| Cube | The rollout must simultaneously satisfy: end-effector 3D position error m, end-effector yaw error rad, and cube 3D position error m. Cube orientation, gripper opening, contact, and velocity are not used. |
| Insert Peg | The rollout must simultaneously satisfy: hand 2D position error m, hand planar angle error rad, peg 2D position error m, and peg planar angle error rad. Arm joints, touch, velocity, and the physical target or slot pose are not used. |
| Base-Env | Horizon | LeWM | SMWM | DINO-WM | DriftWorld | IRASim | AdaLN | Action Dup. | Toy-Drift |
| TwoRoom | 5 | 0.065188 | 0.000058 | 0.033841 | 0.000154 | 0.003838 | 0.00000466 | 0.0000144 | 0.000051 |
| 25 | 0.511843 | 0.000754 | 0.23277 | 0.002164 | 0.023646 | 0.000145 | 0.000636 | 0.00111671 | |
| PushT | 5 | 0.00743 | 0.02933 | 0.05124 | 0.001331 | 0.005813 | 0.000005 | 0.000028 | 0.000066 |
| 25 | 0.16739 | 0.23039 | 0.48649 | 0.018599 | 0.050163 | 0.000229 | 0.001068 | 0.00388751 | |
| Insert Peg | 5 | 0.000717 | 0.002913 | 0.172737 | 0.001448 | 0.00939 | 0.003526 | 0.009356 | 0.054486 |
| 25 | 0.010678 | 0.024729 | 1.410328 | 0.013113 | 0.0593 | 0.053553 | 0.149251 | 0.404549 |
| End-to-End World Models | Oracle State Predictors | ||||||||
| Env | Variant | LeWM | SMWM | DINO-WM | DriftWorld | IRASim | AdaLN | Action Dup. | Toy-Drift |
| TwoRoom | TR-Route | 14.56 | 19.11 | 6.56 | 0.012 | 0.9 | 0.045 | 1.03 | 0.014 |
| AvoidT | 4.14 | 5.2 | 5.77 | 0.71 | 0.77 | 1.26 | 1.25 | 1.32 | |
| StackT | 11.33 | 3.13 | 3.38 | 2.54 | 1.36 | 501.14 | 113.55 | 70.24 | |
| PushT | Anti-goal | 6.23 | 2.66 | 2.83 | 1.64 | 1.09 | 54.74 | 12.85 | 19.96 |
| Avoid-Peg | 6.83 | 2.54 | 1.3 | 7.01 | 7.1 | 1.45 | 0.62 | 0.08 | |
| end-to-end world models | oracle state predictors | ||||||||
| Env | Variant | LeWM | SMWM | DINO-WM | DriftWorld | IRASim | AdaLN | Action Dup . | Toy-Drift |
| TwoRoom | TR-Route | 11.2 | 41.6 | 9.66 | 0.01 | 0.82 | 0.062 | 0.816 | 0.01 |
| StackT | 9.83 | 4.56 | 3.8 | 2.34 | 1.44 | 158.5 | 47.57 | 22.09 | |
| PushT | Anti-goal | 8.49 | 4.27 | 3.94 | 1.72 | 1.28 | 29.97 | 12.68 | 8.96 |
| Avoid-Peg | 9.73 | 16.69 | 2.8 | 1.14 | 1.12 | 0.67 | 0.42 | 0.09 | |
| Insert Peg | Extract-Peg | 4.08 | 7.15 | 1.78 | 2.75 | 1.19 | 34.39 | 12.52 | 4.49 |
| Task | LeWM | SMWM | DINO-WM | DriftWorld | IRASim | AdaLN | Action Dup. | Drift Toy |
| TwoRoom | 89.30 | 100.00 | 100.00 | 90.00 | 76.00 | 100.00 | 99.30 | 100.00 |
| TR-Route | 60.70 | 64.70 | 68.00 | 76.00 | 63.30 | 100.00 | 100.00 | 100.00 |
| Push-T | 84.70 | 84.70 | 74.00 | 43.30 | 5.30 | 92.70 | 92.00 | 89.30 |
| AvoidT | 3.30 | 4.70 | 6.70 | 0.70 | 0.00 | 100.00 | 100.00 | 99.30 |
| StackT | 20.70 | 20.00 | 8.70 | 10.70 | 2.00 | 70.70 | 66.70 | 54.00 |
| Push-T Antigoal | 34.00 | 44.00 | 27.30 | 14.70 | 5.30 | 79.30 | 81.30 | 75.30 |
World Models
World models represent and predict how environments change, helping agents plan, act, and reason about possible futures.
See all 359 papers