Skip to content

Benchmark results ​

INFO

Esta página aún no está traducida. Leer en inglés

Models and planners compared on one task, with one dataset and one protocol. Each table comes from an executed notebook in examples/comparisons; rerun a notebook to reproduce its table.

Protocol ​

  • Task: TwoRooms, PLDM's two rooms joined by a door, seen as 64×64 images. Each policy gets 60 steps to reach a goal image, from starts with the goal in the same room (short) and in the other room (long: the way goes through the door): 32 tasks of each kind in the main benchmark and the encoder and representation comparisons, 24 in the robustness comparison, 64 in the others. Each notebook gives its planners' settings.
  • Data: 1024 episodes of 65 steps from a wandering policy that keeps its previous action with probability 0.8; no rewards and no expert. Every model trains on the same episodes.
  • Success: coming within 0.1 of the goal at any step, as in LeWM's and PLDM's protocols, with its 95% Wilson interval. Random actions set the floor.
  • Scale: small models (predictors of 4 blocks of width 128 to 512) trained for 5 epochs on one GPU (10 in the deterministic vs stochastic comparison), so these numbers compare methods at a small budget, not at the papers' scale. See the reproduction report for each model against its paper.

Main benchmark ​

comparisons/main_benchmark: LeWM, PLDM, DINO-WM (frozen DINOv2), V-JEPA 2-AC (frozen V-JEPA 2.1) and TD-MPC2 (hindsight goals), each with its own recipe and planner.

modelencodersame roomother roomtrainingplanning, ms / step
PLDMCNN, end to end100% [89, 100]88% [72, 95]13.8 min23
DINO-WMDINOv2 ViT-S/14, frozen97% [84, 99]28% [16, 45]7.5 min17,300
V-JEPA 2-ACV-JEPA 2.1 ViT-B, frozen88% [72, 95]44% [28, 61]25.4 min41,800
LeWMViT, end to end78% [61, 89]34% [20, 52]5.6 min1,220
TD-MPC2 †CNN, end to end19% [9, 35]0% [0, 11]3.1 min14
random actions56% [39, 72]3% [1, 16]

† Trained offline on hindsight goals, stacked as input channels, with the reference loss weights. Offline goal-conditioned training with those weights collapses TD-MPC2's encoder (#45); this run was not checked for it. Its numbers show the limit of using the method offline, not a like-for-like comparison. See offline, goal-conditioned training.

32 tasks of each kind. In the same room every world model but TD-MPC2 beats random actions, which reach a nearby goal by chance half of the time. Through the door PLDM is far ahead: its open-loop multi-step objective learns where the wall stops the agent, and planning with it costs a few milliseconds a step. The frozen web encoders plan well in the same room but less well across the wall, and their larger latents make planning 15 to 35 times slower than LeWM's. TD-MPC2 is built to learn online, from its own interaction; with 5 epochs of offline data and hindsight goals its value function does not learn to reach them, so it is listed for completeness, not as a fair measure of the method.

Frozen vs end-to-end encoders ​

comparisons/frozen_vs_end_to_end: frozen DINOv2 and V-JEPA 2.1 encoders under DINO-WM's predictor, a frozen LeJEPA encoder pre-trained on the frames and an end-to-end LeWM, with training time and trained parameters.

encoderpredictorsame roomother roomtrained / total parameterstrainingplanning, ms / step
DINOv2 ViT-S/14, frozenDINO-WM91% [76, 97]25% [13, 42]2.5M / 24.5M7.5 min17,400
V-JEPA 2.1 ViT-B, frozenDINO-WM91% [76, 97]56% [39, 72]4.8M / 91.7M23.2 min29,400
LeJEPA ViT, pre-trained on the frames, frozenLeWM91% [76, 97]22% [11, 39]1.5M / 2.3M4.5 + 6.6 min1,230
LeWM ViT, end to endLeWM69% [51, 82]38% [23, 55]2.3M / 2.3M6.4 min1,230

32 tasks of each kind. Every frozen encoder reaches nearby goals as well as the others; the long tasks separate them. The video encoder, V-JEPA 2.1, crosses the wall most often, at 24 times the planning cost of the small encoders. A small encoder pre-trained on the frames alone (LeJEPA) matches the web image encoder (DINOv2) at a fraction of its size. Training the encoder end to end with the dynamics (LeWM) costs some accuracy nearby but does not lose ground on the long tasks.

Model notebooks ​

Each model's own notebook, with the goal on the other side of the wall, reached at any step within 40 to 60 steps. The first six fly the macaw over Two-Rooms (Macaw(rooms=True)) on 32 tasks; the others use TwoRooms itself, with the setting in parentheses.

modelplannersuccessrandom actions
PLDMCEM, 20 steps, path cost100% [89, 100]28%
H-JEPAhierarchical, gradient97% [84, 99] (flat: 91%)22%
HWMhierarchical CEM22% [11, 39] (flat: 72%)16%
Flow-JEPACEM on sampled futures66% [48, 80]12%
Variational JEPACEM on the mean47% [31, 64] (on samples: 12%)3%
LpWMCEM, 5 steps38% [23, 55]9%
TD-JEPAnone: zero-shot policy π_z, z = ψ(goal) (64 tasks)98% [92, 100]3%
AdaJEPACEM, 10 steps, one adaptation step per replan (32 tasks, 32×32)69% [51, 82] (frozen: 44%)9%
DreamerV3actor trained on hindsight goals (32 tasks)41% [26, 58] (CEM on the model state: 16%)3%
CF-JEPACEM on the controllable part (64 tasks, 3 drifting discs)16% [9, 26] (LeWM: 44%)5%

The settings differ from notebook to notebook (data windows, frameskip, horizon), so this table shows what each model does with its own recipe, not a controlled comparison; the comparisons below are.

Planners ​

comparisons/planners: CEM, MPPI and GRASP on one LeWM at horizons 3, 8 and 16, on the same-room tasks with 40 steps, with planning time per step.

plannerhorizon 3horizon 8horizon 16ms / step (horizon 8)
CEM61% [49, 72]70% [58, 80]62% [50, 73]5,830
MPPI86% [75, 92]98% [92, 100]89% [79, 95]4,700
GRASP50% [38, 62]50% [38, 62]48% [37, 60]9,410

MPPI, which weights every sample by its cost instead of keeping a top set, beats CEM at every horizon. GRASP succeeds only on the tasks a step or two away (1.3 steps on average when it does) and stalls on the rest: its default learning rates come from the authors' LeWM, whose latents differ in scale from this smaller model's, and were not tuned here.

Flat vs hierarchical ​

comparisons/flat_vs_hierarchical: LeWM with flat CEM against HWM and H-JEPA planned top-down, on short and long tasks.

modelplannersame roomother roomms / step
LeWMflat CEM, 20 steps58% [46, 69]28% [19, 40]29,800
HWMhierarchical CEM41% [29, 53]9% [4, 19]9,370
H-JEPAhierarchical, gradient78% [67, 86]67% [55, 77]10,200

H-JEPA, whose two levels train together end to end, more than doubles flat LeWM on the long tasks, at a third of its planning time. HWM, whose upper level learns on a frozen latent space, does worse than flat planning here, as in its own notebook; at this scale its macro-actions do not yet lead the low level around the wall.

The subgoal hand-off in HierarchicalPlanner matches the reference implementation (TwoLvlPlanner in HWM_PLDM): the low level targets the first predicted waypoint, over stride primitive actions. What differs is how the notebooks train and plan HWM, compared with the paper's Diverse Maze setup, where hierarchical planning beats flat (83% against 44% on the longest goals):

  • High-level loss. The notebooks train the upper level with teacher forcing only, the paper's Franka and Push-T recipe. On Diverse Maze the paper trains it on its own 6-step autoregressive rollouts instead, which is how the planner uses it: 5 macro-actions rolled out from a single waypoint. A teacher-forced upper level is only trained one waypoint ahead, so its later waypoints can drift, and the first waypoint, the subgoal, is then chosen to suit a drifted endpoint. HWM(..., gamma_tf_high=0.0, gamma_roll_high=1.0) gives the maze recipe (HWM).
  • Planning schedule. The paper shortens the high horizon as the episode runs (shrink_every=4, min_horizon=3), scores the last three low-level latents, plans with MPPI, and switches to flat planning toward the goal for the last 15 steps. The notebooks keep a fixed horizon of 5 macro-actions and plan both levels with CEM.
  • Encoder. HWM's upper level never shapes the latent space; on these small, SIGReg-trained encoders a 4-step jump is harder to predict than on the paper's PLDM encoder, which was trained with an inverse-dynamics term. H-JEPA's upper level trains its own encoder end to end, which is why it does not have the problem.

A controlled ablation on 64 other-room tasks (6 epochs, same architecture and data as the notebook, #48) tests the high-level loss and shrinking horizon against flat H=20 CEM on the same model:

HWM variantfixed H=5shrink_every=4, min_horizon=3
teacher forcing (gamma_tf_high=1, gamma_roll_high=0)22% [14, 33]38% [27, 50]
rollout only (gamma_tf_high=0, gamma_roll_high=1)23% [15, 35]27% [17, 38]
rollout only, 6-step windows (history=6)16% [9, 26]30% [20, 42]
both (gamma_tf_high=1, gamma_roll_high=1)31% [21, 43]45% [34, 57]
flat CEM (H=20, same baseline model)61% [49, 72]

Shrinking the high horizon gave the largest single gain (+14 to +16 points, cutting planning time from 2,020 to 1,390 ms/step). Keeping teacher forcing alongside the rollout loss (gamma_tf_high=1, gamma_roll_high=1) outperformed pure rollout at this 6-epoch budget and more than doubled hierarchical success (22% to 45%) at 4.4× faster planning than flat H=20 CEM (6,160 ms/step), though it still trails flat CEM on this SIGReg encoder.

Deterministic vs stochastic ​

comparisons/deterministic_vs_stochastic: LeWM, a point forecast, against Flow-JEPA (flow matching over the next 8 embeddings) and Variational JEPA (a Gaussian over the next embedding), with the same encoder and predictor size, 10 epochs each, planned with the same CEM (8 steps, path cost); and the calibration of their 8-step predictions on 1024 held-out windows, 32 futures each, errors in units of each model's embedding spread.

modelplannersame roomother roomms / stepRMSEspread / skill90% interval coversCRPS
LeWMCEM67% [55, 77]23% [15, 35]1,0000.20400%0.121
Flow-JEPACEM on sampled futures95% [87, 98]64% [52, 75]3,3900.2271.5496%0.117
Variational JEPACEM on the mean83% [72, 90]11% [5, 21]1,0000.2931.9298%0.192
Variational JEPACEM on samples83% [72, 90]9% [4, 19]1,020
random actions55% [43, 66]8% [3, 17]

64 tasks of each kind. Flow-JEPA nearly triples LeWM's success through the door, at three times its planning time; it is also the only one of the three trained to predict all 8 steps at once from one frame, so part of the gain is likely that multi-step objective rather than sampling itself. Variational JEPA plans alike on its mean and on samples, as its paper expects, and does no better than random actions across the wall. Neither stochastic model is overconfident: both spread more than they err (spread / skill above 1, intervals that cover more than their level), most at the first step, and the gap narrows with the horizon. Variational JEPA's variance mostly matches the noise of its own target distribution, about 8 times its actual squared error. Scored as distributions (CRPS, energy score), Flow-JEPA's futures only match LeWM's single prediction, which is the most accurate point forecast in the first steps.

Robustness ​

comparisons/robustness: the main benchmark's five models, recipes and planners, trained on clean Two-Rooms frames and evaluated with three drifting colored discs in every image (distractors) or with the floor tinted green, a color absent from training (background shift). Starts and goals are the same under every condition; the drop is 1 − success / clean success.

modelsame room: cleandistractorsbackgroundother room: cleandistractorsbackground
PLDM100% [86, 100]100% [86, 100] (0%)100% [86, 100] (0%)75% [55, 88]75% [55, 88] (0%)79% [60, 91] (−6%)
DINO-WM88% [69, 96]83% [64, 93] (5%)62% [43, 79] (29%)29% [15, 49]21% [9, 40] (29%)29% [15, 49] (0%)
V-JEPA 2-AC83% [64, 93]75% [55, 88] (10%)54% [35, 72] (35%)29% [15, 49]33% [18, 53] (−14%)29% [15, 49] (0%)
LeWM62% [43, 79]79% [60, 91] (−27%)46% [28, 65] (27%)29% [15, 49]29% [15, 49] (0%)0% [0, 14] (100%)
TD-MPC24% [1, 20]4% [1, 20] (0%)4% [1, 20] (0%)0% [0, 14]0% [0, 14]0% [0, 14]
random actions62% [43, 79]62% [43, 79]62% [43, 79]0% [0, 14]0% [0, 14]0% [0, 14]

24 tasks of each kind per condition (relative drop in parentheses); the run takes 1 h 42 min on one GB10. PLDM is the only model the nuisances do not touch: its encoder barely moves when discs or a tint are added (0.36 and 0.01 times a 0.1 step in its planning cost). The background shift is the harder nuisance for the others: DINO-WM, V-JEPA 2-AC and LeWM all lose ground in the same room, and LeWM, whose latent moves 15 times a goal-sized step under the tint, no longer crosses the door at all, the one drop clear of the intervals. Distractors change no success rate by more than the intervals but make the agents several times slower to reach the goal. TD-MPC2 reaches almost no goal under any condition, so its flat line says nothing about robustness; random actions are identical across conditions by construction. With 24 tasks the intervals are about ±20 points, about the run-to-run spread of LeWM between this run and the main benchmark.

Representation vs planning ​

comparisons/representation_vs_planning: the five main-benchmark models and three cheap JEPAs (LpWM, Variational JEPA, Flow-JEPA), each measured on held-out frames (probes, RankMe, LiDAR, prediction error, and how well its planning cost follows the geodesic distance), then planned with the main benchmark's protocol (64 tasks pooled). Rank correlation of each measure with success, with exact permutation p-values over the 8! orderings:

measureSpearman ρpKendall τp
position R² (linear)+0.630.10+0.470.14
room accuracy (linear)+0.170.69+0.150.70
room accuracy (kNN)−0.010.99−0.040.98
8×8 cell (attentive probe)−0.180.67−0.250.47
RankMe−0.170.69−0.041.00
LiDAR−0.510.20−0.250.47
1-step prediction error+0.220.61+0.250.47
8-step prediction error+0.110.81+0.110.81
distance fidelity+0.750.038+0.620.042

With eight models, no measure predicts planning success once the nine tests are corrected for (Bonferroni threshold 0.0056). The probes saturate (R² ≥ 0.978 and room ≥ 99.6% for every model but TD-MPC2), RankMe mostly tracks the size of the latent, LiDAR leans the wrong way (Flow-JEPA and PLDM score lowest and plan best), and the best predictor (LeWM) plans at 50% while PLDM, ten times worse at prediction, plans at 94%. Only distance fidelity, the rank correlation between a model's planning cost and the geodesic distance through the door, comes near, driven by PLDM (best fidelity, 94% success) and TD-MPC2 (which plans with a value function, 31%); a real test needs many more models, such as hyperparameter sweeps of one method.