Manuscript Offprint
arXiv:2610.26179Learning Goal-Conditioned Subgoals through Frozen Hierarchical World Models
Abstract
Hierarchical world models plan over long horizons by passing predicted states from a coarse model to a lower-level controller. Choosing these states can be expensive: the upper-level planner repeatedly differentiates through candidate macro-action trajectories. We replace this search with a lightweight goal-conditioned network trained through the frozen high-level predictor. The network supplies a conditioning vector, while the predictor generates the next latent waypoint. Training uses hindsight goals and state-prediction losses on offline trajectories, without search-solution targets or macro-action labels. Inference retains an autoregressive high-level rollout, but requires no high-level candidate optimization. We evaluate this approach on the shared-latent HWM checkpoints distributed with H-JEPA, using three backbone seeds and three head initializations per backbone. With a common evaluation protocol, mean success is 70.4% on Cube, 48.7% on Push-T, 100.0% on FourRoom, and 71.1% on Visual AntMaze. The method improves over the corresponding HWM search baseline on three environments and has the same mean on Push-T. Dedicated measurements on an NVIDIA L40S give 1.28–4.39× end-to-end speedups for batched evaluation. Ablations identify state-adaptive conditioning as a consistent contributor, while predictor-mediated subgoals and unrestricted conditions have environment-dependent benefits.
1. Introduction
Visual world models support control by predicting the consequences of actions in a compact latent space [14, 15, 20, 24, 40]. Long-horizon planning remains difficult because the action search grows with temporal depth and prediction errors accumulate. Hierarchical models address this challenge by decomposing control across temporal scales: a coarse model predicts latent waypoints that a finer planner tries to reach. HWM [39] uses a shared latent space across levels, while H-JEPA [38] learns a separate representation at each level.
Choosing the high-level plan can itself be expensive. The planner optimizes candidate macro-action sequences by repeatedly rolling out and differentiating through the coarse predictor. The released two-level configurations permit up to 9,000–72,000 candidate-trajectory updates per decision. Although early stopping reduces this budget, high-level optimization accounts for a large fraction of evaluation time in the measured settings.
We propose to learn the inputs to this frozen predictor. Its conditioning interface provides a useful point of intervention: a small network maps a latent state, a goal, and a remaining-step input to a condition, and the coarse model turns that condition into the next waypoint. Figure 1 shows the resulting hierarchy. The encoder and both predictive models stay frozen, and the low level retains its action optimizer. The learned head removes upper-level candidate optimization while preserving autoregressive prediction through the world model.
The head learns from offline trajectories using their endpoints as hindsight goals. Teacher-forced prediction provides local transition supervision, autoregressive rollout loss trains on generated contexts, and an endpoint term emphasizes arrival at the goal. Gradients pass through the frozen predictor to update the head. This objective uses observed state sequences, without macro-action labels or search-solution targets. It consequently learns a goal-conditioned controller through the model rather than distilling a particular search algorithm.
We evaluate on the shared-latent HWM checkpoints distributed with H-JEPA, with three backbone seeds and three head initializations per backbone. Relative to HWM search with the same low-level objective, mean success increases from 51.3% to 70.4% on Cube, 72.0% to 100.0% on FourRoom, and 35.3% to 71.1% on Visual AntMaze; Push-T has the same mean, 48.7%. Dedicated NVIDIA L40S measurements give 1.28–4.39× end-to-end speedups for batched evaluation. Ablations show that state-adaptive conditioning consistently helps, while the benefit of routing subgoals through the predictor or restricting conditions to macro-action embeddings depends on the environment.
Our contributions are:
• A lightweight goal-conditioned head that replaces high-level macro-action optimization by learning predictor conditions through a frozen hierarchical world model.
• An evaluation across four visual-control environments, three backbones, and three heads per backbone, with a common success protocol and separate measurements of online and training cost.
• Controlled ablations of predictor-mediated subgoals, condition dimensionality, head inputs, and training losses that
*Corresponding author. Email: qliu@hosei.ac.jp.

Figure 1. Replacing upper-level search within a frozen hierarchy. The encoder E maps the observation and goal into latent states. HWM obtains predictor conditions by optimizing macro-actions; our head , with trainable parameters , produces a condition c from the state, goal, and remaining-step input. The frozen coarse predictor generates a latent trajectory over H coarse transitions. Its first waypoint becomes the target for the low-level model-predictive control (MPC) planner, which optimizes primitive actions through the frozen fine predictor . Blue-filled blocks denote the trainable head, gray blocks frozen modules, and dashed red arrows action optimization.
identify the design choices supported by these experiments.
Test-time optimization. Sampling and gradient-based planners optimize action sequences through learned dynamics. Examples include CEM [11, 32], PETS [10], PDDM [26], iCEM [31], MPPI [37], and differentiable MPC [2]. Rather than improving the optimizer, we replace the upper-level optimization with learned conditional inference. We retain the lower-level optimizer and therefore do not remove all test-time search.
Goal-conditioned and hierarchical policies. Options [6, 35], FeUdal Networks [36], HIRO [25], HAC [23], and Director [18] use temporal abstraction in reinforcement learning. Hindsight goal relabeling [3], visual goal representations [27], goal-conditioned supervised learning [13], and offline goal-conditioned methods [12, 29] provide ways to learn conditional controllers. Our head similarly learns from hindsight goals, but its output conditions a frozen coarse predictor rather than directly specifying a primitive action or an unconstrained subgoal.
Learning to replace planning. Amortized optimization learns a map that avoids repeatedly solving related optimization problems [1]. Search-supervised systems such as AlphaZero and MuZero [33, 34] explicitly learn from solver outputs. Our training targets are observed latent states, not optimized plans. Closest to our setting, Nguyen et al. [28] learn goal-conditioned latent inverse dynamics to replace planning in a flat world model. We instead learn conditions for a coarse predictor within a two-level controller, while keeping primitive-action planning. The two interfaces could be combined to learn conditions at the high level and actions at the low level.
3. Method
3.1. Frozen two-level world model
Let be the observation at environment step , the goal observation, and the frozen observation encoder. Their latent states are and in , where is the latent dimension. The frozen predictors and operate at fine and coarse temporal scales. For the HWM checkpoints used here, the upper state encoder is the identity, so both predictors use the same state space. We have for Cube, Push-T, and FourRoom, and for AntMaze. A coarse transition spans ten raw environment steps. Below, indexes environment time, whereas and index coarse
Table 1. Initial upper-level planning budgets. Here is the number of candidate trajectories, the optimization-update limit, and the number of coarse transitions. Early stopping reduces the search work; our planner makes head calls and predictor calls without high-level optimization.
| Environment | N | H | ||
|---|---|---|---|---|
| Cube | 100 | 90 | 2 | 9,000 |
| Push-T | 400 | 90 | 8 | 36,000 |
| FourRoom | 800 | 90 | 12 | 72,000 |
| AntMaze | 200 | 90 | 9 | 18,000 |
positions within a trajectory segment or a newly initialized rollout.
The high-level model receives a condition . In HWM search, a frozen lift maps a four-dimensional macro-action to . Let be the active number of coarse transitions and a candidate sequence. The rollout operator returns the predicted state sequence initialized at ; acts separately on each macro-action. The released upper-level cost is terminal squared latent distance, . Thus search approximately solves
The implemented solver approximates this optimum with a finite number of gradient updates and early stopping. Candidates are initialized from a Gaussian fitted to training macro-actions and clipped to their empirical per-coordinate bounds [38]. Search therefore operates in a data-anchored macro-action space. Let be the number of candidates and the maximum number of optimization updates. Table 1 lists the initial budgets; is an upper bound on candidate-trajectory updates, not a count of predictor forward calls.
The first predicted state becomes the target for the low level, which optimizes primitive actions through . Execution commits ten environment steps before replanning, truncated at the episode budget. The released horizon schedule reduces the active horizon near the episode's end; an upper level at horizon one is bypassed and the lower level targets the goal directly.
3.2. Goal-conditioned predictor inputs
Let be the condition head with trainable parameters . For a latent state , goal , and nonnegative integer remaining-step input , it produces
The head concatenates the state, goal, and a 16-dimensional sinusoidal encoding of . Layer normalization and two hidden layers of width 512 with Gaussian error linear unit (GELU) activations produce the condition. There are 567,264 parameters when , and 863,136 when . Unlike , this output is not restricted to the image of the macro-action lift.
The head acts pointwise on states, while the frozen transformer uses an ordered context of up to three state/condition pairs. At prediction step , define the index set and the state sequence , ordered by increasing . Let be the clock input assigned to context position at this call, and the corresponding ordered vector. We write for the predictor's last output, which is the next latent state, and define the head-conditioned transition operator by
The second argument of is an ordered condition sequence aligned with . With predicted states , we use the same index set to form . HWM search retains its released one-state rollout context; the learned planner uses up to three states. Backbone weights are fixed in both cases.
At inference, initialize and predict for . For nonterminal calls, ; at the terminal call , the released implementation sets for every retained position. The latest-state inputs are consequently . After the full rollout, the first predicted waypoint becomes the lower-level target. Each rollout makes vectorized head calls and predictor calls, including predictions after the first waypoint. Algorithm 2 includes this clock convention and the horizon-one bypass.
3.3. Learning from hindsight trajectories
Let be the number of coarse transitions in a training segment. We cache offline embeddings and sample segments of states, with the final state relabeled as the hindsight goal . Training uses clock values , so the latest-state inputs are . The evaluated controller uses the terminal-zero inference convention described above.
For latent vectors , define their mean absolute error (MAE), averaging absolute coordinate differences, as
All training terms use this coordinate-mean L1 error; the search cost in Eq. 1 instead uses squared L2 distance. The following equations describe one segment, and training averages the objective over a mini-batch.
Teacher-forced prediction loss. The teacher-forced loss evaluates each transition using its recorded state context :
It teaches the head to produce conditions that predict observed local transitions, with the preceding states supplied by the data.
(a) Condition Head: Training

(b) Condition Head: Inference

Figure 2. Learning and using predictor conditions. (a) A segment of K coarse transitions contains latent states ; its endpoint is the hindsight goal. The condition head supplies inputs to frozen predictor . Teacher-forced predictions use recorded contexts, while autoregressive predictions use generated contexts. Both are supervised by the recorded trajectory, with an additional endpoint weight. Dashed red arrows indicate gradients updating only the head. (b) At inference, the head reads each context state, the goal, and its clock input. Each of the H coarse transitions makes one vectorized head call and one predictor call. The generated state is appended to the context; only the first waypoint is sent to low-level MPC.
Autoregressive rollout loss. To train on contexts generated by the model itself, initialize and recursively predict
The rollout trajectory loss compares every generated future state with its recorded counterpart:
This supervises prediction under self-generated contexts and penalizes errors accumulated along the trajectory. Gradients propagate through the complete rollout without detaching intermediate predictions.
Endpoint loss. The endpoint loss emphasizes arrival at the hindsight goal after K transitions:
The same endpoint already appears in with weight . This separate term gives it additional weight; it does not introduce a different supervision target.
Total training objective. Let control this additional endpoint weight. Our default objective is
Thus the autoregressive endpoint has total weight . Local prediction, rollout tracking, and endpoint emphasis are design choices whose individual effects are tested in Sec. 4.4. Algorithm 1 summarizes training. Gradients pass through to optimize only ; the encoder, action lift, and both predictors stay fixed. The objective uses observation sequences, including proprioception when required, without macro-action labels. The backbone's earlier pretraining does use action information.
The head is trained to predict observed trajectories under hindsight goals, rather than to recover the optimized macro-action sequence in Eq. 1. An unrestricted condition need not correspond to an executable macro-action, and low prediction error alone gives no guarantee of low-level reachability.
4. Experiments
4.1. Evaluation protocol
Tasks and backbones. We use the four fixed 50-task sets distributed with H-JEPA: Cube from OGBench [30], PushT [9], FourRoom Distractors, and Visual AntMaze. Episode budgets are 30, 90, 210, and 350 environment steps, respectively. We use HWM backbone seeds 42, 43, and 44, with head initializations 0, 1, and 2 for each backbone. AntMaze embeddings use the same proprioceptive normalization during training and control. FourRoom head checkpoints are selected on a separately collected validation set of 150 trajectories. Data and selection details are provided in the supplement.
Algorithm 1: Learning a condition head through a frozen predictor
Input: cached training segments; fixed validation windows; frozen ; segment length ; endpoint weight
1 Initialize head parameters and AdamW optimizer; 2 for each training update do 3 Sample a mini-batch of -transition segments; 4 Set each goal to and clocks to ; 5 Predict teacher-forced transitions from recorded contexts using Eq. 3; 6 Initialize ; 7 for do 8 Form from indices and predict using Eq. 6; 9 Average Eq. 9 over the mini-batch; 10 Backpropagate through and the rollout; clip the head gradient; update only ; 11 Periodically retain the head with minimum endpoint MAE on the fixed validation windows; Output: validation-selected condition head
Algorithm 2: Hierarchical control with learned conditions
Input: frozen , , ; trained ; goal observation ; released horizon schedule
1 Encode goal ; 2 while evaluation budget remains do 3 Observe ; encode ; compute active horizon ; 4 if then 5 Initialize ; 6 for do 7 Form in temporal order; 8 Set for ; if , set all clocks to zero; 9 Predict ; 10 Use as the lower-level target; 11 else 12 Use as the lower-level target; 13 Optimize primitive actions through toward the target; 14 Execute the scheduled action prefix and observe;
Training and selection. The optimizer and head architecture are shared across environments: AdamW, learning rate , cosine decay, 20,000 updates, batch size 256, and gradient clipping at 1.0. Segment transition counts K are 2, 8, 12, and 9 for Cube, Push-T, FourRoom, and AntMaze. These equal the initial high-level planning horizons; we assess sensitivity to training length in Sec. 4.4. We select the minimum endpoint MAE on the same 256 validation windows, evaluated every 2,000 updates. Task success is not used to select head checkpoints.
Baselines and common settings. HWM search uses the identical frozen backbone as our head. H-JEPA search and the flat model use their separately trained checkpoints at the same model seeds. A simple baseline supplies equally spaced latent waypoints between the observed state and goal, retaining the same low-level controller. All success-rate experiments use the same tasks, budgets, and evaluation chunk size of one. The low-level macro-action matching coefficient is zero for both hierarchical search baselines and our method. Other optimizer settings retain the released values. Search budgets use the released defaults in Table 1.
Replication and uncertainty. For the learned method, we average three head runs within each backbone, then report the mean and standard error (SE) across the three backbone means. Baselines have one run per backbone and report the standard error across those three runs. All runs evaluate the same 50 tasks; nine heads do not constitute 450 independent tasks. Some environment reset randomness is not fixed by the task assets, so run variability includes more than head initialization. Error bars describe this replication design, not uncertainty over a newly sampled population of tasks.
4.2. Task success
Table 2 reports the final results. Mean success improves over HWM search from 51.3% to 70.4% on Cube, from 72.0% to 100.0% on FourRoom, and from 35.3% to 71.1% on AntMaze. Push-T has the same mean, 48.7%, for HWM search and learned conditions. These comparisons support replacing the fixed HWM upper-level search on these benchmarks; they do not establish dominance over all possible search settings.
The separately trained H-JEPA baseline reaches 46.7%, 40.7%, 78.7%, and 37.3% on Cube, Push-T, FourRoom, and AntMaze under this protocol. Flat planning is lower on all four task sets. This is consistent with useful temporal decomposition in these tasks, although the flat and hierarchical models differ in training as well as control. Linear latent interpolation performs poorly: 4.7% on Cube, 1.3% on Push-T, and 0% on both navigation environments. Thus the learned results are not explained by simply placing equally spaced subgoals on the straight line to the goal.
All nine FourRoom head runs solve all 50 fixed tasks. Per-backbone and per-head results appear in the supplement. Figure 3 shows an AntMaze example.
4.3. Online and training cost
We measure the preselected backbone-42/head-0 model and its HWM search baseline on dedicated NVIDIA L40S allocations, with synchronized solver instrumentation. Timing uses one parallel batch of 50 environments rather than the chunk-one protocol used to compare success. It estimates batched evaluation cost, not single-task or real-time action latency. For Cube and Push-T, the timing baseline retains the released action-matching coefficient 0.2, whereas the head uses zero; these are the timing configurations rather than a strict isolation of the high-level component.
Figure 4 shows end-to-end speedups of on Cube, on Push-T, on FourRoom, and on
Table 2. Success on the fixed 50-task benchmark sets (%). Mean ± SE across three backbone seeds; the learned planner first averages three head initializations within each backbone. All success experiments use chunk size one. Both hierarchical search baselines use zero low-level macro-action matching weight, matching the learned planner. AntMaze uses consistently normalized training/control inputs; FourRoom uses separately collected validation trajectories for head selection. Bold identifies our method, not a significance test.
| Environment | HWM search | H-JEPA search | Flat | Linear subgoals | Learned conditions |
|---|---|---|---|---|---|
| Cube | |||||
| Push-T | |||||
| FourRoom | |||||
| AntMaze |


Figure 3. AntMaze navigation, task 0. Recorded planar positions for learned conditions (a) and HWM search (b), using backbone 42 and learned-head initialization 0. Axes use native simulator coordinates; grey regions are walls and shaded circles are goal regions. Each panel marks its realized start and goal under the original stochastic resets. Paths end at first success, or at the 350-step budget on failure; panel labels give the observed outcomes and steps. Aggregate success is reported in Table 2.
AntMaze. The high-level solver totals decrease from 26.2–1963.9 seconds per evaluation batch to 0.068–0.661 seconds. The low level remains the principal cost for the learned planner. Its elapsed time can also change because different subgoals alter predicted trajectories and data-dependent early stopping.
Training the nine heads per environment takes a median of 6.9 minutes per head on Cube, 32.2 on Push-T, 24.0 on FourRoom, and 26.0 on AntMaze. These are L40S wall times for optimization and periodic validation, excluding embedding preparation. Consequently, online savings do not imply lower total cost for every workload. A deployment must amortize both representation-cache preparation and head training over subsequent control. The supplement gives ranges and complete timing totals. No inference-time gradient is needed at the high level; low-level search still differentiates through .
4.4. What the head needs to learn
We retrain ablations at backbone seed 42 with three head initializations, the same training samples for a given segment length, and the same validation windows. Table 3 reports means and sample standard deviations (SD) across complete runs. AntMaze uses the same normalized inputs as the main method. Unmeasured configurations are marked explicitly; they are not treated as zero success.
Routing subgoals through the predictor. The direct variant outputs the next latent state and bypasses . Its mean is similar to or higher than the full method on Cube and Push-T, and nearly saturated on FourRoom. On AntMaze, using increases the mean from 59.3% to 70.7% in this fixed-backbone comparison. We therefore find an environment-dependent benefit, rather than evidence that direct regression must fail or that predictor outputs are guaranteed reachable.
Conditioning on the current state. Masking the head's state input reduces mean success from 68.7% to 52.0% on Cube, 44.0% to 0.7% on Push-T, 100.0% to 6.7% on FourRoom, and 70.7% to 2.0% on AntMaze. The head needs to adapt its condition to the current state in these experiments. However, the frozen predictor still reads states; the masked variant is not a wholly open-loop controller.
Four-dimensional versus unrestricted conditions. We train a head that outputs a four-dimensional macro-action, then apply the frozen lift before . This constrained head
(a) End-to-end evaluation

(b) Upper-level computation

Figure 4. Dedicated L40S batched evaluation timing. Each measurement evaluates 50 tasks in parallel with backbone 42 and head initialization 0. (a) Paired wall times normalized to HWM search within each environment; labels give absolute seconds and end-to-end speedup. S denotes search and L learned conditions. (b) Accumulated high-level solver time on a logarithmic axis. There is one paired measurement per environment. Timing uses a different batching protocol from success evaluation, and retains the released search matching coefficient on Cube/Push-T; see Sec. 4.3.
Table 3. Representation and head-input ablations. Success (%), mean ± sample SD over three head runs at backbone 42. These are within-backbone experiments; their full-method row need not equal the three-backbone main table. AntMaze uses normalized inputs in every listed arm. “No head state input” leaves the frozen predictor’s state input intact. A dash denotes an experiment not performed.
| Variant | Cube | Push-T | FourRoom | AntMaze |
|---|---|---|---|---|
| Full objective | 68.7 ± 4.2 | 44.0 ± 2.0 | 100.0 ± 0.0 | 70.7 ± 6.1 |
| Direct subgoals | 69.3 ± 4.2 | 46.0 ± 4.0 | 98.7 ± 1.2 | 59.3 ± 4.2 |
| No head state input | 52.0 ± 3.5 | 0.7 ± 1.2 | 6.7 ± 3.1 | 2.0 ± 2.0 |
| 4D conditions via A | 73.3 ± 1.2 | 40.7 ± 8.3 | - | 70.7 ± 5.0 |
reaches 73.3% on Cube and 70.7% on AntMaze, compared with 68.7% and 70.7% for unrestricted conditions. Push-T is 40.7% versus 44.0%. These results do not support a universal need to leave the macro-action embedding. The final AntMaze head does depart from the leading four-dimensional subspace obtained by principal component analysis (PCA) of action-derived conditions, but such departure is a descriptive diagnostic, not a nonlinear-manifold membership test or an explanation of the success improvement.
Losses, labels, and temporal scale. The full loss sweep on Cube and Push-T is reported in the supplement. Removing individual terms does not consistently hurt Cube; on Push-T, removing decreases the mean from 44.0% to 33.3%, while teacher forcing alone reaches 31.3%. Removing only removes the extra endpoint weight, since Eq. 7 still supervises the final state. The shared three-term objective is therefore a practical default, with no evidence that each term is necessary in every environment. Predicting action-derived condition labels matches the full method on Cube and is worse on Push-T. Shortening training segments substantially reduces success in the measured environments, and doubling their length hurts Push-T. Segment length is a consequential environment-specific choice.
5. Discussion and Limitations
What is learned. The results support learning state-adaptive conditions for a fixed predictor. Prediction-mediated subgoals help most clearly on AntMaze, whereas direct regression and four-dimensional conditions are competitive in other environments. The head and search planner also use different context lengths. These comparisons favor a practical controller replacement, but do not isolate a unique mechanism for its success. Low prediction error remains an imperfect surrogate for physical reachability, and the lower controller can still fail to reach a predicted waypoint.
Data and generalization. The evaluation covers four fixed task sets and three shared-latent HWM backbones per environment. Cube and Push-T tasks come from the public validation datasets also used for head selection, so the scores describe these benchmark sets rather than an untouched test population. FourRoom uses separately collected head-validation trajectories, with no exact complete state/action trajectory duplicates in training; independence of frozen-backbone selection remains unverified. Broader assessment requires independent task collections, repeated environment seeds, and evaluation on learned upper representations or other world-model families.
Computational scope. Timing covers one preselected head and backbone per environment at a batch size of 50 on an L40S. The low level remains the main cost after upper-level search is removed, and total deployment cost also includes cache preparation and head training. Hardware, batching, search budgets, and the number of subsequent decisions will determine the practical savings. Three backbone seeds and three heads per backbone also leave limited power for small architectural differences.
6. Conclusion
A goal-conditioned network trained through a frozen coarse predictor can replace macro-action optimization in a hierarchical world model. Hindsight state supervision learns useful predictor inputs without search targets or macro-action labels. On the evaluated shared-latent HWM checkpoints, this improves mean task success on three of four environments, preserves the mean on Push-T, and substantially reduces batched online evaluation cost. The method retains autoregressive high-level prediction and low-level search. Its architectural advantages depend on the environment, and testing on independent tasks and learned upper representations is a necessary next step toward broader claims.
Acknowledgments
This work was supported by JSPS KAKENHI (Grant Number JP25K05040).
References
[1] Brandon Amos. Tutorial on amortized optimization. Foundations and Trends in Machine Learning, 16(5):592–732, 2023.
[2] Brandon Amos, Ivan Jimenez, Jacob Sacks, Byron Boots, and J. Zico Kolter. Differentiable MPC for end-to-end planning and control. In Advances in Neural Information Processing Systems (NeurIPS), pages 8289–8300, 2018.
[3] Marcin Andrychowicz, Filip Wolski, Alex Ray, Jonas Schneider, Rachel Fong, Peter Welinder, Bob McGrew, Josh Tobin, Pieter Abbeel, and Wojciech Zaremba. Hindsight experience replay. In Advances in Neural Information Processing Systems (NeurIPS), pages 5048–5058, 2017.
[4] Mahmoud Assran, Quentin Duval, Ishan Misra, Piotr Bojanowski, Pascal Vincent, Michael Rabbat, Yann LeCun, and Nicolas Ballas. Self-supervised learning from images with a joint-embedding predictive architecture. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 15619–15629, 2023.
[5] Mido Assran, Adrien Bardes, David Fan, Quentin Garrido, Russell Howes, Mojtaba Komeili, et al. V-JEPA 2: Self-supervised
video models enable understanding, prediction and planning. arXiv preprint arXiv:2506.09985, 2025.
[6] Pierre-Luc Bacon, Jean Harb, and Doina Precup. The option-critic architecture. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 1726–1734, 2017.
[7] Amir Bar, Gaoyue Zhou, Danny Tran, Trevor Darrell, and Yann LeCun. Navigation world models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 15791–15801, 2025.
[8] Adrien Bardes, Quentin Garrido, Jean Ponce, Xinlei Chen, Michael Rabbat, Yann LeCun, Mahmoud Assran, and Nicolas Ballas. Revisiting feature prediction for learning visual representations from video. Transactions on Machine Learning Research, 2024.
[9] Cheng Chi, Siyuan Feng, Yilun Du, Zhenjia Xu, Eric Cousineau, Benjamin Burchfiel, and Shuran Song. Diffusion policy: Visuomotor policy learning via action diffusion. In Robotics: Science and Systems (RSS), 2023.
[10] Kurtland Chua, Roberto Calandra, Rowan McAllister, and Sergey Levine. Deep reinforcement learning in a handful of trials using probabilistic dynamics models. In Advances in Neural Information Processing Systems (NeurIPS), pages 4754–4765, 2018.
[11] Pieter-Tjerk de Boer, Dirk P. Kroese, Shie Mannor, and Reuven Y. Rubinstein. A tutorial on the cross-entropy method. Annals of Operations Research, 134(1):19–67, 2005.
[12] Benjamin Eysenbach, Tianjun Zhang, Sergey Levine, and Ruslan Salakhutdinov. Contrastive learning as goal-conditioned reinforcement learning. In Advances in Neural Information Processing Systems (NeurIPS), 2022.
[13] Dibya Ghosh, Abhishek Gupta, Ashwin Reddy, Justin Fu, Coline Devin, Benjamin Eysenbach, and Sergey Levine. Learning to reach goals via iterated supervised learning. In International Conference on Learning Representations (ICLR), 2021.
[14] David Ha and Jürgen Schmidhuber. World models. arXiv preprint arXiv:1803.10122, 2018.
[15] Danijar Hafner, Timothy Lillicrap, Ian Fischer, Ruben Villegas, David Ha, Honglak Lee, and James Davidson. Learning latent dynamics for planning from pixels. In Proceedings of the 36th International Conference on Machine Learning (ICML), pages 2555–2565, 2019.
[16] Danijar Hafner, Timothy Lillicrap, Jimmy Ba, and Mohammad Norouzi. Dream to control: Learning behaviors by latent imagination. In International Conference on Learning Representations (ICLR), 2020.
[17] Danijar Hafner, Timothy Lillicrap, Mohammad Norouzi, and Jimmy Ba. Mastering Atari with discrete world models. In International Conference on Learning Representations (ICLR), 2021.
[18] Danijar Hafner, Kuang-Huei Lee, Ian Fischer, and Pieter Abbeel. Deep hierarchical planning from pixels. In Advances in Neural Information Processing Systems (NeurIPS), 2022.
[19] Danijar Hafner, Jurgis Pasukonis, Jimmy Ba, and Timothy Lillicrap. Mastering diverse control tasks through world models. Nature, 640(8059):647–653, 2025.
[20] Nicklas Hansen, Hao Su, and Xiaolong Wang. Temporal difference learning for model predictive control. In Proceedings of the 39th International Conference on Machine Learning (ICML), pages 8387–8406, 2022.
[21] Nicklas Hansen, Hao Su, and Xiaolong Wang. TD-MPC2: Scalable, robust world models for continuous control. In International Conference on Learning Representations (ICLR), 2024.
[22] Yann LeCun. A path towards autonomous machine intelligence. OpenReview preprint, version 0.9.2, 2022.
[23] Andrew Levy, George Konidaris, Robert Platt, and Kate Saenko. Learning multi-level hierarchies with hindsight. In International Conference on Learning Representations (ICLR), 2019.
[24] Lucas Maes, Quentin Le Lidec, Damien Scieur, Yann LeCun, and Randall Balestriero. LeWorldModel: Stable end-to-end joint-embedding predictive architecture from pixels. arXiv preprint arXiv:2603.19312, 2026.
[25] Ofir Nachum, Shixiang Gu, Honglak Lee, and Sergey Levine. Data-efficient hierarchical reinforcement learning. In Advances in Neural Information Processing Systems (NeurIPS), pages 3303–3313, 2018.
[26] Anusha Nagabandi, Kurt Konolige, Sergey Levine, and Vikash Kumar. Deep dynamics models for learning dexterous manipulation. In Proceedings of the Conference on Robot Learning (CoRL), pages 1101–1112, 2020.
[27] Ashvin Nair, Vitchyr Pong, Murtaza Dalal, Shikhar Bahl, Steven Lin, and Sergey Levine. Visual reinforcement learning with imagined goals. In Advances in Neural Information Processing Systems (NeurIPS), pages 9191–9200, 2018.
[28] Hoang Nguyen, Xiaohao Xu, and Xiaonan Huang. Latent geometry beyond search: Amortizing planning in world models. arXiv preprint arXiv:2605.08732, 2026.
[29] Seohong Park, Dibya Ghosh, Benjamin Eysenbach, and Sergey Levine. HIQL: Offline goal-conditioned RL with latent states as actions. In Advances in Neural Information Processing Systems (NeurIPS), 2023.
[30] Seohong Park, Kevin Frans, Benjamin Eysenbach, and Sergey Levine. OGBench: Benchmarking offline goal-conditioned RL. In International Conference on Learning Representations (ICLR), 2025.
[31] Cristina Pinneri, Shambhuraj Sawant, Sebastian Blaes, Jan Achterhold, Joerg Stueckler, Michal Rolinek, and Georg Martius. Sample-efficient cross-entropy method for real-time planning. In Proceedings of the Conference on Robot Learning (CoRL), pages 1049–1065, 2021.
[32] Reuven Y. Rubinstein and Dirk P. Kroese. The Cross-Entropy Method: A Unified Approach to Combinatorial Optimization, Monte-Carlo Simulation and Machine Learning. Springer, 2004.
[33] Julian Schrittwieser, Ioannis Antonoglou, Thomas Hubert, Karen Simonyan, Laurent Sifre, Simon Schmitt, Arthur Guez, Edward Lockhart, Demis Hassabis, Thore Graepel, Timothy Lillicrap, and David Silver. Mastering Atari, Go, chess and shogi by planning with a learned model. Nature, 588(7839): 604–609, 2020.
[34] David Silver, Thomas Hubert, Julian Schrittwieser, Ioannis Antonoglou, Matthew Lai, Arthur Guez, Marc Lanctot, Laurent Sifre, Dharshan Kumaran, Thore Graepel, Timothy Lillicrap, Karen Simonyan, and Demis Hassabis. A general reinforcement learning algorithm that masters chess, shogi, and go through self-play. Science, 362(6419):1140–1144, 2018.
[35] Richard S. Sutton, Doina Precup, and Satinder Singh. Between MDPs and semi-MDPs: A framework for temporal abstraction in reinforcement learning. Artificial Intelligence, 112(1–2): 181–211, 1999.
[36] Alexander Sasha Vezhnevets, Simon Osindero, Tom Schaul, Nicolas Heess, Max Jaderberg, David Silver, and Koray Kavukcuoglu. FeUdal networks for hierarchical reinforcement learning. In Proceedings of the 34th International Conference on Machine Learning (ICML), pages 3540–3549, 2017.
[37] Grady Williams, Paul Drews, Brian Goldfain, James M. Rehg, and Evangelos A. Theodorou. Aggressive driving with model predictive path integral control. In IEEE International Conference on Robotics and Automation (ICRA), pages 1433–1440, 2016.
[38] Wancong Zhang, Basile Terver, Michael Rabbat, Yann LeCun, and Randall Balestriero. H-JEPA: End-to-end learning of hierarchical world models for visual planning. arXiv preprint arXiv:2610.06805, 2026.
[39] Wancong Zhang, Basile Terver, Artem Zholus, Soham Chitnis, Harsh Sutaria, Mido Assran, Randall Balestriero, Amir Bar, Yann LeCun, and Nicolas Ballas. Hierarchical planning with latent world models. arXiv preprint arXiv:2604.03208, 2026.
[40] Gaoyue Zhou, Hengkai Pan, Yann LeCun, and Lerrel Pinto. DINO-WM: World models on pre-trained visual features enable zero-shot planning. In Proceedings of the 42nd International Conference on Machine Learning (ICML), pages 79115–79135, 2025.
Supplementary Material
A. Task protocol and statistical units
Every task-success cell evaluates the same 50 tasks for its environment, using the provided task file and task order. Evaluation chunk size is one for every method. Model seeds are 42, 43, and 44; a task's planner random stream follows the evaluator's per-task seeding rule. The learned method has head initializations 0, 1, and 2 for each backbone, with training segments sampled using a common NumPy generator initialized at zero. This pairs the segment sequence across heads and across variants with the same training length.
State-prediction and validation errors use mean absolute error (MAE) across latent coordinates, as defined in the main paper. Let index the backbone seed, the head initialization, and the percentage of successful tasks for that run. Denote the within-backbone mean by , the overall mean by , and the standard error across backbone means by . With SD denoting sample standard deviation (denominator two for three values), these statistics are
Baselines have one run per backbone and report the analogous standard error across three values. Repeated task outcomes are not pooled as independent Bernoulli samples. FourRoom's zero standard error describes agreement on these tasks, with uncertainty on new tasks unmeasured.
Ablations report the mean and sample standard deviation of three head runs at backbone 42. Some environment reset seeds are unspecified, including FourRoom's stochastic distractor. Run spread therefore combines head initialization, numerical execution, and environment randomness. Paired task IDs do not ensure identical observation noise.
Table S1. Learned-condition models: per-head success (%). All heads complete 20,000 training updates and are selected by validation endpoint MAE. AntMaze uses the evaluation normalizer for cached proprioception, and FourRoom uses its separately collected validation set. Each row is one fixed backbone.
| Environment | Backbone | Head 0 | Head 1 | Head 2 | Mean |
|---|---|---|---|---|---|
| Cube | |||||
| Cube | |||||
| Cube | |||||
| Push-T | |||||
| Push-T | |||||
| Push-T | |||||
| FourRoom | |||||
| FourRoom | |||||
| FourRoom | |||||
| AntMaze | |||||
| AntMaze | |||||
| AntMaze |
B. Data, normalization, and model selection
Offline trajectories. The datasets contain 9,800 training and 200 validation trajectories for Cube, 18,685 and 21 for Push-T, and 25,000 and 1,250 for AntMaze. FourRoom uses 3,750 training trajectories and 150 validation trajectories collected separately. The coarse training transition spans ten raw frames. Embedding caches retain trajectory boundaries, and sampled segments never cross between episodes.
FourRoom validation. Training collection uses seed 3072 and validation collection uses seed 1003072. Comparison of complete state/action sequences finds no exact validation-trajectory duplicate among the 3,750 training trajectories. This check excludes identical complete trajectories; it does not exclude shared states, partial paths, or common geometry. The validation set is used only for head checkpoint selection. Frozen backbone weights are retained, so this procedure does not independently certify their historical selection or hyperparameter choices.
Table S2. Baseline results (%). Every listed cell uses chunk size one. HWM and H-JEPA search both use zero low-level macro-action matching weight. The flat and H-JEPA models have their own pretrained weights; only HWM search shares the learned planner's backbone. Linear waypoints use the same frozen HWM encoder and low-level controller.
| Environment | Planner | 42 | 43 | 44 | Mean SE |
|---|---|---|---|---|---|
| Cube | HWM search | 48 | 44 | 62 | |
| Cube | H-JEPA search | 60 | 40 | 40 | |
| Cube | Flat | 24 | 26 | 28 | |
| Cube | Linear | 4 | 2 | 8 | |
| Push-T | HWM search | 50 | 44 | 52 | |
| Push-T | H-JEPA search | 32 | 52 | 38 | |
| Push-T | Flat | 42 | 52 | 46 | |
| Push-T | Linear | 2 | 2 | 0 | |
| FourRoom | HWM search | 80 | 58 | 78 | |
| FourRoom | H-JEPA search | 86 | 66 | 84 | |
| FourRoom | Flat | 42 | 44 | 34 | |
| FourRoom | Linear | 0 | 0 | 0 | |
| AntMaze | HWM search | 36 | 36 | 34 | |
| AntMaze | H-JEPA search | 40 | 34 | 38 | |
| AntMaze | Flat | 14 | 16 | 24 | |
| AntMaze | Linear | 0 | 0 | 0 |
Benchmark task membership. The Cube and Push-T task assets are drawn from their public validation data: all 50 stored pixel windows in each task set match windows in the corresponding validation trajectories. The files are goal_offset_20_pickup_val.pt and goal_offset_75_val.pt, respectively. FourRoom and AntMaze use the provided navigation task assets. We do not claim exhaustive exclusion of task-state or partial-trajectory overlap with training. Because public validation data also select head checkpoints, these are benchmark-set results rather than performance on an untouched end-to-end test set.
AntMaze inputs. The observation encoder combines a 256-dimensional visual embedding with a 128-dimensional proprioceptive embedding, giving latent dimension . Proprioception is formed by concatenating qpos [2:] and qvel; both cache generation and control apply the checkpoint's evaluation mean and standard deviation before the proprioceptive encoder. Pixel preprocessing is identical in the two paths. All AntMaze heads, ablations, and head timing measurements reported here use this input convention.
Checkpoint selection. We draw 256 validation windows using NumPy random seed 7 and reuse exactly those windows at every validation check. Each run is checked every 2,000 updates through update 20,000. The checkpoint with minimum autoregressive endpoint MAE is selected. Validation is on this fixed subset, not the entire validation corpus; main-task success is never the head-selection criterion. All variants, including short- and long-segment training, use the environment's default validation horizon and the same windows. Test-set maxima over model seeds, head initializations, or search budgets are not used in the main comparison.
C. Architecture and training details
We use the main paper's notation: is a latent state, the goal, the number of training transitions, and the frozen coarse predictor. Let be a nonnegative integer remaining-step input. For frequency indices , define . We write or semicolons for vector concatenation. The 16-dimensional sinusoidal encoding is
The condition head receives the concatenation of state, goal, and this encoding:
The network applies layer normalization, a linear layer from to 512 units, a Gaussian error linear unit (GELU), another 512-unit linear layer and GELU, then a linear output layer with units. Head parameter counts are 567,264 for and
Table S3. Training horizon and frozen predictor size. counts transitions, while a segment has states. Frozen coarse-predictor () parameters are reported in millions.
| Environment | States | params (M) | ||
|---|---|---|---|---|
| Cube | 192 | 2 | 3 | 11.584128 |
| Push-T | 192 | 8 | 9 | 11.584128 |
| FourRoom | 192 | 12 | 13 | 4.837504 |
| AntMaze | 384 | 9 | 10 | 10.247552 |
863,136 for . The predictor context contains at most three state/condition pairs, ordered in time; early steps use the available shorter context. During a high-level rollout, later context states are generated latents.
The head uses AdamW with learning rate , weight decay , cosine decay over 20,000 updates, batch size 256, and gradient-norm clipping at 1.0. The additional endpoint-loss weight is one unless ablated. Backbone parameters receive no updates; their state tensors and normalizer are unchanged after head training. Differentiating through a frozen predictor is still required to optimize its inputs and therefore incurs forward and backward computation through that predictor.
Training samples an eligible trajectory uniformly, then a valid start uniformly within it. In a level-one cache with stride five raw frames, a -transition segment uses cache entries and selects every second entry. Eligibility requires an episode long enough for the entire segment. This detail matters when changing : doubling Push-T's training horizon leaves 2,727 eligible trajectories rather than 18,685. The long-horizon experiment therefore changes the available training population as well as temporal scale.
Training uses the three MAE terms defined in the main paper. The autoregressive endpoint has total weight , including its contribution inside the rollout loss. An update makes batched coarse-predictor calls: teacher-forced and autoregressive. Encoder evaluation occurs during cache preparation.
Training cost. Table S4 summarizes nine L40S training runs per environment, including optimization and validation but excluding cache loading and preparation. Execution conditions also contribute to the spread. Let and denote one-time cache-preparation and head-training wall times, and wall time per evaluation at fixed batch size and hardware. Total time for evaluations is . Unmeasured cache-preparation time prevents a complete break-even estimate.
Table S4. Per-head training wall time. Each run performs 20,000 updates. Nine runs are summarized per environment; values are minutes. Cache preparation is excluded.
| Environment | Heads | Median (min) | Range (min) |
|---|---|---|---|
| Cube | 9 | 6.9 | 6.9–8.3 |
| Push-T | 9 | 32.2 | 28.6–43.3 |
| FourRoom | 9 | 24.0 | 23.6–30.4 |
| AntMaze | 9 | 26.0 | 25.7–31.4 |
Table S5. Batched evaluation timing on L40S. Units are seconds for a batched evaluation of 50 tasks. Speedup is the ratio of total evaluation wall times. There is one pair per environment, without an across-run confidence interval. HWM search retains its released matching coefficient 0.2 on Cube/Push-T; the learned planner uses zero, as required by its unrestricted condition interface. Both use zero on FourRoom/AntMaze. AntMaze head inputs use normalized proprioception.
| Environment | Method | High (s) | Low (s) | Total (s) | Speedup |
|---|---|---|---|---|---|
| Cube | HWM search | 26.189 | 100.80 | 148.44 | - |
| Cube | Learned conditions | 0.068 | 93.65 | 115.66 | |
| Push-T | HWM search | 505.278 | 237.39 | 757.51 | - |
| Push-T | Learned conditions | 0.201 | 207.31 | 221.56 | |
| FourRoom | HWM search | 1963.936 | 768.98 | 2784.24 | - |
| FourRoom | Learned conditions | 0.661 | 586.35 | 634.73 | |
| AntMaze | HWM search | 1871.047 | 991.06 | 2892.24 | - |
| AntMaze | Learned conditions | 0.463 | 816.15 | 846.92 |
D. Inference details and baseline definitions
Upper-level clock and rollout. Let be the active number of coarse rollout transitions, the prediction-call index, and a retained context position. The remaining-step input at that position is for , and zero for all positions when . Thus the latest-state inputs are . Both head and predictor are evaluated times, giving states including the initial state. Training instead uses , with latest-state inputs . The terminal inference convention differs from the final training clock. Algorithm 2 in the main paper states the inference rule explicitly.
Horizon and execution schedule. The configured initial high-level horizons are 2, 8, 12, and 9 for Cube, Push-T, FourRoom, and AntMaze. The schedule recomputes the active horizon from the remaining evaluation budget, rather than decrementing a head clock once per environment step. A high-level horizon of one is bypassed. Primitive action blocks span five raw steps, and the controller normally executes two blocks before replanning. Episode budgets are 30, 90, 210, and 350 raw steps. The lower planner otherwise retains the released horizon and optimization settings.
Linear waypoints. For the linear baseline, let be the current observed latent and its th waypoint. With goal and active horizon , it predicts
It hands the first waypoint to the same low-level controller and replans using the current observation and active horizon. In the context-based implementation, the latest predicted state z and its clock input r give the next state as ; the terminal zero clock yields the goal. This generates equally spaced waypoints over the full active horizon, without a learned dynamics model, trainable head, or high-level search.
Macro-action matching coefficient. The released lower-level controller can match its predicted action embedding to the upper-level macro-action as an auxiliary objective. Its coefficient is 0.2 on Cube and Push-T, and zero on FourRoom and AntMaze. Our unrestricted head does not supply a native macro-action, so this term is disabled. For the main success comparison, it is also disabled in both hierarchical search baselines. This is an action-embedding matching term, not simply a penalty on primitive-action magnitude.
Baseline optimization. Upper search uses at most 90 AdamW updates, with candidate counts 100, 400, 800, and 200 for Cube, Push-T, FourRoom, and AntMaze. Its objective sums squared coordinate differences between the terminal predicted state and the goal; only the final state is scored at the upper level. Early stopping uses the released solver criterion. Macro-action candidates are initialized from training statistics and clipped to per-coordinate training quantiles. The search rollout uses its released one-state context, whereas learned-condition rollouts use up to three state/condition pairs. All other search hyperparameters and task budgets retain their released values. These are fixed operating points without a new independent hyperparameter sweep.
E. Complete ablations
All tables in this section fix backbone seed 42. Each head is trained with initializations 0, 1, and 2, and selected independently by the common validation criterion. The full method in these tables is the backbone-42 subset of the main method. Sample standard deviations describe total run spread, not the standard error across backbones.
Prediction-mediated and direct subgoals. The direct head has the same inputs and hidden architecture as the full head, but its output is the next latent state. Teacher-forcing, rollout, and endpoint losses are computed directly on that output; is bypassed during its state prediction. The four-dimensional variant outputs a macro-action and applies the frozen lift A before . Both are trained end to end with the same state losses. A restricted output is therefore a trained control variant, not a projection of the unrestricted head after training.
Head inputs. The no-state variant masks the head’s state input during teacher forcing, autoregressive training, and deployment. still receives the true or predicted latent context. This removes a state input from the condition generator without removing all state dependence from control. The no-horizon variant sets the head’s remaining-step input to zero during both training and deployment.
Loss and supervision variants. Without teacher forcing, rollout loss, or endpoint loss, the corresponding objective coefficient is zero; teacher forcing only disables both rollout and endpoint terms. Removing the separate endpoint loss leaves the endpoint error inside the rollout loss. Removing rollout loss retains the autoregressive endpoint term, so that variant still backpropagates through a generated trajectory. Endpoint weights 0.1 and 10 change only . All variants are still selected using the same autoregressive endpoint validation error. In supervised-condition training, the target is , where is a macro-action inferred by the frozen action encoder from recorded action sequences and is the frozen macro-action lift. In supervised-macro-action training, the target is itself, followed by at deployment. Both use coordinate-mean L1 regression to these labels. They require action information that the main head objective does not need; neither uses optimized search solutions.
Short and long segments. The short choice uses transitions, and the long choice uses . Checkpoint selection still uses default- validation windows. This design holds the selection task fixed, but does not hold training sample eligibility fixed. We therefore interpret the results as sensitivity to this complete segment-sampling choice, not a pure isolated effect of temporal length.
Table S6. Cube: complete ablations. Success (%), three head initializations at backbone 42. The last column is mean sample SD. Default training length is two transitions; short and long lengths are one and four.
| Variant | Head 0 | Head 1 | Head 2 | Mean SD |
|---|---|---|---|---|
| Full objective | 64 | 72 | 70 | |
| Without teacher forcing | 68 | 66 | 68 | |
| Without rollout loss | 74 | 68 | 72 | |
| Without endpoint loss | 70 | 72 | 68 | |
| Teacher forcing only | 68 | 70 | 74 | |
| 76 | 64 | 68 | ||
| 66 | 62 | 68 | ||
| Short training segments | 14 | 14 | 12 | |
| Long training segments | 60 | 74 | 70 | |
| 4D conditions via | 74 | 72 | 74 | |
| Supervised lifted conditions | 68 | 70 | 68 | |
| Supervised macro-actions | 74 | 70 | 72 | |
| Direct subgoals | 66 | 74 | 68 | |
| No head state input | 50 | 50 | 56 | |
| No horizon input | 78 | 70 | 60 |
Table S7. Push-T: complete ablations. Success (%), three head initializations at backbone 42. The last column is mean sample SD. Default training length is eight transitions; short and long lengths are four and sixteen.
| Variant | Head 0 | Head 1 | Head 2 | Mean SD |
|---|---|---|---|---|
| Full objective | 42 | 44 | 46 | |
| Without teacher forcing | 38 | 42 | 54 | |
| Without rollout loss | 36 | 36 | 28 | |
| Without endpoint loss | 38 | 40 | 44 | |
| Teacher forcing only | 24 | 30 | 40 | |
| 42 | 40 | 46 | ||
| 20 | 26 | 22 | ||
| Short training segments | 20 | 24 | 32 | |
| Long training segments | 26 | 16 | 16 | |
| 4D conditions via | 50 | 38 | 34 | |
| Supervised lifted conditions | 20 | 28 | 26 | |
| Supervised macro-actions | 24 | 30 | 28 | |
| Direct subgoals | 46 | 50 | 42 | |
| No head state input | 0 | 2 | 0 | |
| No horizon input | 44 | 58 | 40 |
Reduced objectives have similar or higher means on Cube, whereas Push-T is more sensitive to rollout loss and endpoint weighting. Four-dimensional conditions are competitive on Cube and AntMaze, while removing head state inputs hurts all
Table S8. FourRoom: complete ablations. Every run uses the separately collected validation set for checkpoint selection. Default, short, and long training lengths are twelve, six, and twenty-four transitions. Only the listed variants were evaluated.
| Variant | Head 0 | Head 1 | Head 2 | Mean SD |
|---|---|---|---|---|
| Full objective | 100 | 100 | 100 | |
| Short training segments | 30 | 34 | 36 | |
| Long training segments | 100 | 100 | 100 | |
| Direct subgoals | 98 | 98 | 100 | |
| No head state input | 10 | 4 | 6 |
Table S9. AntMaze: complete ablations. Every listed run uses identical normalized proprioceptive preprocessing during training and control. The backbone is fixed at seed 42 and the training length is nine transitions. Only the listed variants were evaluated.
| Variant | Head 0 | Head 1 | Head 2 | Mean SD |
|---|---|---|---|---|
| Full objective | 72 | 76 | 64 | |
| 4D conditions via | 76 | 66 | 70 | |
| Direct subgoals | 58 | 64 | 56 | |
| No head state input | 2 | 0 | 4 |
environments. State-adaptive conditioning consistently helps; the best output constraint and loss combination depend on the task. Three head runs leave small differences unresolved.
F. Dedicated evaluation timing
Table S5 gives synchronized timing for the preselected backbone-42/head-0 model. Each pair runs on a dedicated NVIDIA L40S and evaluates 50 environments in one parallel batch, with the same task set and execution budget on the two sides. This measures batched evaluation cost separately from the chunk-one success protocol; it does not estimate sequential single-task latency.
The high and low columns accumulate synchronized solver wall time at the respective level. Total evaluation time additionally includes observation processing, simulation, and other evaluation work. Subgoal choice changes trajectories and data-dependent early stopping, so equal solver call counts can still yield different low-level times.
Solver calls. In the timed evaluations, both methods make four low-level calls and one high-level call on Cube, ten and seven on Push-T, twenty-two and nineteen on FourRoom, and thirty-six and thirty-one on AntMaze. A call operates on the parallel batch. The horizon schedule determines the difference between the two levels.
Removing candidate optimization leaves two, eight, twelve, or nine head/predictor calls at the initial horizons, respectively. The lower planner still performs gradient-based action optimization. Speedups therefore depend on the original search budget, the low-level workload, batch size, and hardware. The reported measurements exclude cache construction from any break-even calculation.
G. A linear condition-space diagnostic
For backbone 42 and head initialization 0 on normalized AntMaze, we fit principal component analysis (PCA) to 20,000 action-derived training conditions . After centering at their mean, we retain four principal components. We calibrate projection residuals on 10,000 separate action-derived validation conditions and evaluate 4,096 learned conditions from fixed validation segments, with sampling seed 314159.
The components explain 99.95% of training-condition variance. Mean Euclidean projection residual is 0.386 for action-derived validation conditions and 49.923 for learned conditions; all sampled learned conditions exceed the former distribution's 95th percentile, 0.909. On these segments, mean one-step state MAE is 0.119 with learned conditions and 0.188 with recorded-action conditions.
This measures departure from a fitted affine subspace, rather than membership in the nonlinear image of or physical waypoint reachability. The four-dimensional head also matches unrestricted conditions in AntMaze task success. These diagnostics characterize conditioning distributions without establishing a cause of improved control or estimating task-success uncertainty.
H. Qualitative rollouts
Figure S1 compares learned conditions (upper row of each panel) with HWM search (lower row) on task 0 of Cube and FourRoom. Both use backbone 42; the learned head uses initialization 0. These single rollouts illustrate behavior; aggregate success rates are given in the tables. An active high-level decision executes one autoregressive rollout with H condition-head calls and H frozen-predictor calls, without candidate search. The low-level action optimizer is retained.
(a) Cube
Learned
Success: 15

Goal
HWM search
No success: 30

Goal
(b) FourRoom
Learned
Success: 140

Goal
Goal
HWM search
Success: 169
Goal
Figure S1. Goal-referenced task-0 rollouts. Four observations per row are sampled uniformly through first success, or through the full budget on failure; each has its own recorded environment step t. The dashed final column is the task goal observation. (a) Cube: learned conditions first succeed at step 15; HWM search does not within 30 steps. (b) FourRoom: first success is at steps 140 and 169, respectively. Red is the controlled agent; blue is a moving distractor and need not match the goal image.
I. Reproduction details
The experiments use Python 3.11.13 and PyTorch 2.7.1 with CUDA 12.8. The model source is based on commit 840e76b5 of the H-JEPA codebase with the goal-conditioned rollout implementation accompanying the model package. Encoder embeddings, action lifts, normalizers, and predictors are fixed. Task-success runs retain the original reset semantics and per-task planner seeds, with chunk size one and the common zero matching coefficient described above.