betaFeedback

WorksComputer Science

What Should World Models Plan Over? Learning Geometry-Aligned Representations of Body Motion

Abstract

We introduce MotionPort, which learns low-dimensional latent representations of body motion for accurate dynamics prediction and effective long-horizon planning. Existing world-model planners often search over action representations learned for prediction, yet we show that predictive accuracy alone does not ensure that optimization can discover successful trajectories. MotionPort addresses this mismatch by representing body trajectories rather than action chunks and organizing the search space by motion similarity, helping predicted improvements translate into successful execution. Without fine-tuning state encoders, MotionPort raises average goal-reaching success from 37.9% to 87.8% across three backbones and seven settings in four domains. On the evaluated AntMaze-OGBench tasks, it achieves 72% success, compared with 4% for the strongest baseline.

Introduction

Visual world models enable goal-directed planning by predicting how candidate actions affect the environment [10, 14, 23]. Extending this process to longer horizons, however, introduces two challenges: prediction errors accumulate across imagined steps, and searching over extended sequences of primitive actions becomes increasingly costly [21, 22]. Recent works address these challenges through temporal abstraction, compressing primitive action sequences into latent macro-actions and predicting at coarser timescales [6, 21, 22]. As illustrated in Figure 1(c), some approaches employing temporal abstraction exhibit relatively small performance drops from short- to long-horizon goals. Beyond temporal compression, these macro-action codes condition the predictive dynamics and define the planner’s search space.

Figure 1. Body motion connects prediction and planning. (a) MotionPort explicitly represents body motion as an intermediate step between actions and their effects on the environment, rather than encoding action chunks. (b) Illustrative optimization in latent macro-action space versus geometry-structured motion-code space. (c) MotionPort maintains high success on short- and long-term PushT goals.

These two roles, however, impose different requirements on the same latent space. Macro-action codes are typically

learned to predict future states from recorded trajectories, whereas gradient-based planners optimize these codes to minimize goal-dependent costs [1, 21]. Yet accurate prediction does not guarantee an optimization-friendly search space [5, 17]: the resulting cost landscape may contain flat regions or poor local minima that hinder gradient-based search [1, 23]. Moreover, even when the predicted cost decreases, the planner may simply exploit errors in the learned dynamics rather than discover actions that lead to genuine progress in the environment [1, 2]. This raises a fundamental question: can we learn an action representation that supports accurate prediction while providing a more effective search space for goal-directed planning?

We introduce MotionPort, which organizes world-model prediction and planning around the agent’s own body motion. As illustrated in Figure 1(a), in many physics-based simulators, low-level actions induce movements of the agent’s body, which in turn interact with the surrounding environment to determine future states [16]. For example, an Ant’s joint actions drive coordinated body motion, while the simulator resolves interactions with the maze, including collisions with walls, to determine the resulting state [16, 21]. Conventional action-chunk world models instead predict future states directly from encoded action sequences, leaving this intermediate body motion implicit [21, 22, 23]. MotionPort makes it explicit by encoding short trajectories of representative body features into compact motion codes, without directly encoding the underlying actions. We further train a conditional generative policy to translate these codes into executable actions given the current body state [9, 20], and a motion-conditioned dynamics model [6, 13] to predict their consequences in the environment. Beyond prediction, body motion also provides a natural structure for planning. For goal-reaching tasks, similar body trajectories from the same initial state tend to produce nearby outcomes and comparable goal costs. We therefore align distances between motion codes with differences in their corresponding body trajectories [20], encouraging local updates to produce coherent changes in physical behavior, as illustrated in Figure 1(b). To make planning in this space more effective, we additionally learn motion priors to provide plausible initial candidates [4, 8] and a temporal goal metric to evaluate their predicted progress toward distant goals [11, 12, 15, 19]. The planner then optimizes these motion codes through imagined rollouts and decodes the selected motions into actions for execution. Our contributions are:

  • We introduce MotionPort, which represents body trajectories rather than action chunks in a low-dimensional latent space for world-model prediction and planning. Aligning distances between motion codes with distances between the corresponding body trajectories encourages planning updates to produce coherent changes in physical behavior.

  • We show that predictive accuracy alone does not ensure effective planning, and that motion-space geometry makes learned priors more effective for discovering successful trajectories. Together with temporal goal scoring, this structure helps translate improvements in imagined rollouts into physical progress.

  • We demonstrate that MotionPort improves planning without fine-tuning pretrained state encoders. Across LeWM, HWM, and H-JEPA [10, 21, 22], it improves goal-reaching success in all 21 comparisons spanning seven settings in four domains, with an average gain of 50 percentage points. On the evaluated AntMaze–OGBench tasks, it achieves 72% success, compared with 4% for the strongest baseline.

Related Work

Visual world models and action abstraction. Visual world models enable planning by predicting action-conditioned futures in learned representations. DINO-WM [23] predicts pretrained visual features, while LeWM [10] and PLDM [14] learn predictive representations from offline trajectories. To extend planning over longer horizons, skill-based approaches such as SkiMo [13] and OPOSM [6] learn temporally abstract dynamics, while HWM [22], H-JEPA [21], and Hi-LeWM [3] introduce hierarchical world models with latent macro-actions. Related work also explores the structure of behavior representations: PDP [20] learns geometry-aligned behavior latents for controllable action generation and test-time adaptation.

Planning reliability and goal-directed search. Accurate prediction on recorded trajectories does not necessarily translate into effective planning, as studied through decision-relevant prediction errors [17], JEPA prediction fidelity [5], and model exploitation [2]. Closing the Train-Test Gap [1] addresses this mismatch through planning-aware world-model training, while Temporal Straightening [18] improves gradient-based planning by regularizing state-representation geometry. Other approaches improve planning through structured search and candidate generation, including WorldPlanner [8], SAGE [4], and LeFlow [7], or through learned temporal and functional goal distances, including HILP [12], MBOLD [15], TEMPO [11], and Time-to-Goal [19]. These works primarily address prediction reliability, state representations, candidate selection, or goal evaluation, leaving the organization of executable action representations as a complementary direction.

MotionPort

MotionPort focuses on the representation of behavior for world-model prediction and planning, while preserving the visual state representations learned by existing world models [10, 21, 22]. Specifically, we use a pretrained state encoder EE, which remains frozen and maps the current observation sts_t and goal observation sgs_g to latent features ht=E(st)h_t = E(s_t) and hg=E(sg)h_g = E(s_g). Each observation contains an image ItI_t and available body state oto_t, such as joint states or end-effector poses. Given an offline dataset D\mathcal{D} of state–action trajectories, we learn compact motion codes zz that represent body movements spanning LL primitive actions. We then train a motion-conditioned dynamics model to predict how these movements affect the environment, and a conditional generative policy to translate motion codes into executable actions. At test time, the planner optimizes a sequence Z=(z1,…,zH)Z = (z_1, \ldots, z_H) of HH motion codes while keeping all model parameters fixed. Figure 2 provides an overview of the learning and planning procedures.

Figure 2. Learning and planning with MotionPort. (a) Representative body trajectories are encoded into geometry-structured motion codes, which condition an action decoder and a dynamics model, while the pretrained state encoder remains frozen. (b) A learned prior initializes motion-code sequences, which are iteratively refined by an optimizer. The diagram shows successive motion segments horizontally and iterative plan refinement vertically. The selected motion is decoded into executable actions and checked before execution.

Geometry-Structured Motion Codes

We represent the agent’s movement using representative body features rather than the actions that produce it [20]. Specifically, a fixed function XX extracts motion-related features xt=X(st)x_t = X(s_t), such as end-effector poses, pusher positions, or locomotion coordinates. For a segment of LL primitive actions, we obtain a body-motion trajectory x=xt:t+L−1x = x_{t:t+L-1}, expressed relative to its starting configuration when appropriate. As shown in Figure 2(a), we learn a variational motion encoder QψQ_\psi from these trajectories, without directly encoding primitive actions, scene images, or task goals. The encoder defines qψ(z∣x)=N(μψ(x),Σψ(x))q_\psi(z \mid x) = \mathcal{N}(\mu_\psi(x), \Sigma_\psi(x)), with diagonal covariance Σψ(x)\Sigma_\psi(x), while a reconstruction head RρR_\rho recovers the normalized motion features x~\tilde{x}. The training objective combines three weighted losses:

Lmotion=λrecLxrecon+λgeoLgeo+λKLLKL.(1)\mathcal{L}_{\mathrm{motion}} = \lambda_{\mathrm{rec}}\mathcal{L}_{x_{\mathrm{recon}}} + \lambda_{\mathrm{geo}}\mathcal{L}_{\mathrm{geo}} + \lambda_{\mathrm{KL}}\mathcal{L}_{\mathrm{KL}}. \tag*{(1)}

Here, Lxrecon=Ex,z∼qψ(⋅∣x)[MSE(Rρ(z),x~)]\mathcal{L}_{x_{\mathrm{recon}}} = \mathbb{E}_{x,z\sim q_\psi(\cdot\mid x)}[\mathrm{MSE}(R_\rho(z),\tilde{x})] preserves motion information, while LKL=Ex[DKL(qψ(⋅∣x)∥N(0,I))]\mathcal{L}_{\mathrm{KL}} = \mathbb{E}_x[D_{\mathrm{KL}}(q_\psi(\cdot\mid x)\| \mathcal{N}(0,I))] regularizes the latent distribution. However, reconstruction alone does not explicitly organize the latent space according to physical similarity. Since gradient-based planning continuously modifies motion codes, we align distances between codes with differences in their corresponding body trajectories. Given a minibatch B={xi}i=1B\mathcal{B} = \{x_i\}_{i=1}^{B}, let I\mathcal{I} denote a set of sampled index pairs $(i,j)with$1≤i<j≤Bwith \$1 \leq i < j \leq B. We define the geometry loss as

Lgeo=1∣I∣∑(i,j)∈I(δz(i,j)rz−δx(i,j)rx)2.(2)\mathcal{L}_{\mathrm{geo}} = \frac{1}{|\mathcal{I}|}\sum_{(i,j)\in\mathcal{I}}\left(\frac{\delta_z(i,j)}{r_z}-\frac{\delta_x(i,j)}{r_x}\right)^2. \tag*{(2)}

Here, δz(i,j)=∥μψ(xi)−μψ(xj)∥pp\delta_z(i,j) = \lVert\mu_\psi(x_i)-\mu_\psi(x_j)\rVert_p^p and δx(i,j)\delta_x(i,j) measures the corresponding distance between scaled body trajectories using the same norm power pp. The factors rzr_z and rxr_x normalize the respective distances over the sampled pairs. This constraint encourages local changes in motion codes to correspond to coherent changes in physical behavior without assuming identical environmental effects. After training, we use the encoder mean, standardized using training-set statistics, as the deterministic motion code zz for subsequent prediction and action generation. Further analyses of motion-code geometry are provided in Appendices A and C.2.

Predicting and Executing Motions

With the motion encoder QψQ_\psi fixed, we learn two complementary mappings from motion codes: generating the actions required to realize a movement and predicting its consequences in the environment. To generate executable actions, we train a conditional generative policy DθD_\theta using flow matching [9]. Given the current body state oto_t and motion code ztz_t, the policy generates an action chunk a^t:t+L−1=Dθ(ot,zt)\hat{a}_{t:t+L-1} = D_\theta(o_t,z_t). For a normalized training action chunk a~\tilde{a}, Gaussian noise ϵ\epsilon, and flow time ξ∈[0,1]\xi\in[0,1], we define yξ=(1−ξ)ϵ+ξa~y_\xi= (1-\xi)\epsilon+\xi\tilde{a} and optimize

Lrecon=EB,ϵ,ξ[MSE⁡(vθ(yξ,ξ,ot,zt),a~−ϵ)].(3)\mathcal{L}_{\mathrm{recon}}=\mathbb{E}_{B,\epsilon,\xi}\left[\operatorname{MSE}\left(v_\theta(y_\xi,\xi,o_t,z_t),\tilde{a}-\epsilon\right)\right]. \tag*{(3)}

Here, vθv_\theta is the conditional flow velocity network, whose integration produces the decoded action chunk. We train a motion-conditioned dynamics model GηG_\eta to predict future visual features from motion codes, using the frozen EE. Rather than predicting only the endpoint of a motion segment, GηG_\eta also predicts future visual representations at intermediate steps. Let K⊆{1,…,L}\mathcal{K}\subseteq\{1,\ldots,L\} denote the prediction offsets within a segment, including its endpoint LL. For each k∈Kk\in\mathcal{K}, the model predicts h^t+k=Gη,k(ht,ot,zt)\hat{h}_{t+k}=G_{\eta,k}(h_t,o_t,z_t), supervised by the corresponding future representation through

Lpred=EB,k∈K[MSE⁡(h^t+k,ht+k)].(4)\mathcal{L}_{\mathrm{pred}}=\mathbb{E}_{B,k\in\mathcal{K}}\left[\operatorname{MSE}\left(\hat{h}_{t+k},h_{t+k}\right)\right]. \tag*{(4)}

During planning, these predictions are composed across motion segments to support long-horizon rollouts, while intermediate predictions accommodate shorter execution prefixes. Additional details are provided in Appendix § 10.§ 1.

Planning in Motion Space

To initialize planning, we learn goal-conditioned and goal-free motion priors pωg(z∣h,o,hg)p_\omega^g(z\mid h,o,h_g) and pω0(z∣h,o)p_\omega^0(z\mid h,o) using conditional flow matching [9] on recorded motion codes, with future observations providing goal labels. Rather than generating entire sequences directly, we construct each candidate by alternating motion-code sampling and dynamics prediction, as illustrated in Figure 2(b). Starting from (h^0,o^0)=(ht,ot)(\hat{h}_0,\hat{o}_0)=(h_t,o_t), each motion code zjz_j is sampled from a mixture of the goal-conditioned prior, goal-free prior, and Gaussian distribution. The dynamics model then predicts the next state h^j=Gη,L(h^j−1,o^j−1,zj)\hat{h}_j=G_{\eta,L}(\hat{h}_{j-1},\hat{o}_{j-1},z_j), with the body state o^j\hat{o}_j updated accordingly. Repeating this process for HH segments produces NN initial candidate sequences {Zi(0)}i=1N\{Z_i^{(0)}\}_{i=1}^N.

To evaluate progress toward a goal beyond visual proximity, we learn two state embeddings ϕℓ\phi_\ell, ℓ∈{1,2}\ell\in\{1,2\}, following HILP-inspired expectile temporal-difference learning [12]. Each embedding maps a single visual feature hh to a latent vector, while the distance between two embeddings defines a goal-conditioned value Vℓ(h,hg)=−∥ϕℓ(h)−ϕℓ(hg)∥2V_\ell(h,h_g)=-\lVert\phi_\ell(h)-\phi_\ell(h_g)\rVert_2. For a recorded transition h→h′h\to h', we relabel hgh_g as the current state, a future state in the same trajectory, or a randomly sampled training state. Let m=0m=0 when the current and goal states correspond to the same dataset node, and m=1m=1 otherwise. Using target value networks Vˉℓ\bar{V}_\ell, we construct TD targets yℓ=−m+γmVˉℓ(h′,hg)y_\ell=-m+\gamma m\bar{V}_\ell(h',h_g) and minimize

Lϕ=E[wτ(aTD)∑ℓ=12(Vℓ(h,hg)−sg⁡[yℓ])2].(5)\mathcal{L}_\phi=\mathbb{E}\left[w_\tau(a_{\mathrm{TD}})\sum_{\ell=1}^{2}\left(V_\ell(h,h_g)-\operatorname{sg}[y_\ell]\right)^2\right]. \tag*{(5)}

where aTD=min⁡ℓyℓ−12∑ℓ=12Vˉℓ(h,hg)a_{\mathrm{TD}}=\min_\ell y_\ell-\frac{1}{2}\sum_{\ell=1}^{2}\bar{V}_\ell(h,h_g), sg⁡\operatorname{sg} denotes stop-gradient, and wτ(a)w_\tau(a) assigns weight τ\tau to nonnegative advantages and 1−τ1-\tau otherwise. This objective propagates goal-reaching information across transitions, allowing the learned distances to reflect temporal reachability rather than visual proximity alone. At planning time, we define dϕ(h,hg)=12∑ℓ=12∥ϕℓ(h)−ϕℓ(hg)∥2d_\phi(h,h_g)=\frac{1}{2}\sum_{\ell=1}^{2}\lVert\phi_\ell(h)-\phi_\ell(h_g)\rVert_2 and combine it with visual distance:

c(h,hg)=(1−wϕ)∥h−hg∥22rh+wϕdϕ(h,hg)rϕ,(6)c(h,h_g)=(1-w_\phi)\frac{\lVert h-h_g\rVert_2^2}{r_h}+w_\phi\frac{d_\phi(h,h_g)}{r_\phi}, \tag*{(6)}

where wϕw_\phi balances the two distances and rh,rϕr_h,r_\phi are fixed normalization factors. We refine each candidate motion sequence ZZ by minimizing

J(Z)=∑j=1Hαjc(h^j,hg)+λdisΔG(Z),(7)\mathcal{J}(Z)=\sum_{j=1}^{H}\alpha_j c(\hat{h}_j,h_g)+\lambda_{\mathrm{dis}}\Delta_G(Z), \tag*{(7)}

where αH=1\alpha_H=1 assigns full weight to the predicted endpoint, while intermediate weights αj\alpha_j optionally encourage progress along the trajectory. When the remaining execution budget ends within a motion segment, we use its latest valid prefix prediction as the endpoint. To account for prediction uncertainty, we independently train a second motion-conditioned dynamics model using the same prediction objective as GηG_\eta. Both models predict the outcomes of a candidate motion sequence, and ΔG(Z)\Delta_G(Z) measures their disagreement in predicted visual features, normalized by a fixed calibration scale. Larger disagreement indicates less consistent predictions and is penalized during planning. We jointly optimize all motion codes in ZZ using AdamW, keeping both dynamics models fixed throughout optimization.

After refining the candidate sequences, we perform a final execution check using the pretrained, frozen action-conditioned predictor F1F_1, without further optimization. Specifically, we select the mm lowest-cost sequences and decode their first motion codes into executable action chunks. The best sequence under J\mathcal{J} defines a common subgoal hsubh_{\mathrm{sub}}, corresponding to its first-motion endpoint predicted by GηG_\eta. For each shortlisted candidate i∈Ci\in\mathcal{C}, we use F1F_1 to predict the outcome of its decoded actions, obtaining h~i\tilde{h}_i in the planning feature space. We then select the candidate whose predicted outcome is closest to the common subgoal:

iexec=arg⁡min⁡i∈CMSE⁡(h~i,hsub).(8)i_{\mathrm{exec}}=\underset{i\in\mathcal{C}}{\arg\min}\operatorname{MSE}(\tilde{h}_i,h_{\mathrm{sub}}). \tag*{(8)}

This step only re-ranks the shortlisted candidates without updating their motion codes or actions. We execute a prefix of the selected action chunk and replan from the next observation. Further details are provided in Appendix § 10.

Experiments

In this section, we evaluate MotionPort’s goal-reaching performance and planning efficiency, and examine the roles of motion geometry, learned proposals, and temporal goal scoring. We consider seven evaluation settings across four environments, following the visual-control protocols of H-JEPA [21] where applicable. PushT and Cube retain their standard task protocols, with additional goals sampled under the same settings. FourRoom includes a standard setting requiring two doorway crossings and a hard setting requiring three, with longer detours under the same execution budget. Visual AntMaze includes a standard setting with the original D3 goals, a hard setting mixing new D3 and longer D6 goals under the same budget, and an OGBench setting with official long-range goals and a stricter success threshold. MotionPort can be integrated with different pretrained state encoders without fine-tuning them. We focus our detailed analyses on HWM, with cross-backbone comparisons in § 4.5 and complete results in Appendix C.5.

Evaluation protocol. We evaluate goal-reaching performance using ever success, which measures whether the agent reaches the goal at any point during an episode. We also report terminal success at the final execution step in § 4.6. For each evaluation setting, we report the mean success rate across all evaluation tasks, with error bars indicating standard errors. Additional details on task configurations and evaluation protocols are provided in Appendices A, C.1, and C.5.

MotionPort Performance Across Seven Settings

We compare MotionPort against six world-model planning baselines: LeWM, HWM, H-JEPA, SAGE, LeFlow, and Hi-LeWM-C [3, 4, 7, 10, 21, 22]. All methods are evaluated under the same task settings and environment-step budgets, with MotionPort using a frozen HWM state encoder.

As shown in Table 1, MotionPort achieves the highest mean success rate across all seven settings. It reaches 92.67% on PushT, compared with 47.33% for the strongest baseline, and achieves 100% on hard FourRoom, outperforming the previous best result of 80%. The improvement is particularly pronounced on AntMaze–OGBench, where MotionPort achieves 72% success compared with 4% for the strongest baseline. These results demonstrate effective goal-reaching across both manipulation and navigation, including challenging long-range tasks.

MethodPushTCubeFourRoom standardFourRoom hardAntMaze standardAntMaze hardAntMaze OGBenchAverage
H-JEPA46.67 (±4.10\pm4.10)49.33 (±4.08\pm4.08)98.00 (±2.00\pm2.00)41.00 (±4.94\pm4.94)78.00 (±5.92\pm5.92)22.82 (±4.94\pm4.94)0.00 (±0.00\pm0.00)47.97
HWM47.33 (±4.07\pm4.07)61.33 (±4.00\pm4.00)98.00 (±2.00\pm2.00)23.00 (±4.23\pm4.23)60.00 (±7.00\pm7.00)14.00 (±4.29\pm4.29)0.00 (±0.00\pm0.00)43.38
LeWM40.00 (±4.03\pm4.03)30.67 (±3.79\pm3.79)58.00 (±7.05\pm7.05)0.00 (±0.00\pm0.00)24.00 (±6.10\pm6.10)3.00 (±1.71\pm1.71)0.00 (±0.00\pm0.00)22.24
SAGE44.00 (±4.07\pm4.07)68.67 (±3.79\pm3.79)98.00 (±2.00\pm2.00)80.00 (±4.02\pm4.02)20.00 (±5.71\pm5.71)11.00 (±3.14\pm3.14)4.00 (±4.00\pm4.00)46.52
LeFlow17.33 (±3.11\pm3.11)92.00 (±0.67\pm0.67)0.00 (±0.00\pm0.00)0.00 (±0.00\pm0.00)2.00 (±2.00\pm2.00)0.00 (±0.00\pm0.00)0.00 (±0.00\pm0.00)15.90
Hi-LeWM-C18.00 (±3.15\pm3.15)4.00 (±1.61\pm1.61)38.00 (±6.93\pm6.93)0.00 (±0.00\pm0.00)18.00 (±5.49\pm5.49)0.00 (±0.00\pm0.00)0.00 (±0.00\pm0.00)11.14
MotionPort92.67 (±2.13\pm2.13)97.33 (±1.31\pm1.31)100.00 (±0.00\pm0.00)100.00 (±0.00\pm0.00)92.00 (±3.88\pm3.88)58.00 (±4.96\pm4.96)72.00 (±10.20\pm10.20)87.43
Δ\Delta vs. best+45.33+5.33+2.00+20.00+14.00+35.18+68.00+39.45

Table 1. Goal-reaching success on Push-T, Cube, FourRoom, and AntMaze. Results show mean success rates (%) and standard errors across seven settings. MotionPort uses a frozen HWM encoder. Δ\Delta denotes improvement over the strongest baseline in each setting.

From Prediction to Physical Execution

High goal-reaching success does not necessarily imply that a planner’s predictions remain reliable under optimization. A world model is trained on logged trajectories, but planning evaluates commands selected to minimize its predicted cost. We investigate this discrepancy on PushT and Cube by comparing prediction accuracy on logged trajectories and planner-selected commands, followed by the physical outcomes of latent-space optimization. We compare the native HWM macro-action planner (HWM-Macro), MotionPort without geometry (MP-noGeo), and full MotionPort using frozen HWM encoders. MP-noGeo differs from MotionPort only by setting λgeo=0\lambda_{\mathrm{geo}} = 0 in Equation (1), with all other training and planning settings unchanged.

We first compare prediction accuracy on logged trajectories and planner-selected actions. As shown in Table 2, HWM-Macro and MotionPort have similar validation errors on PushT (2.81 vs. 2.89), while HWM-Macro achieves lower validation error on Cube (0.42 vs. 0.68 cm). However, its planning errors are substantially higher, reaching 19.00 on PushT and 5.69 cm on Cube, compared with 3.43 and 1.07 cm for MotionPort. Accordingly, the error ratios (ER) are 6.76 and 13.65 for HWM-Macro, but only 1.19 and 1.59 for MotionPort. MP-noGeo also achieves low planning errors, but falls behind full MotionPort in success rate. These results show that accurate prediction on logged trajectories does not necessarily translate into reliable predictions on planner-selected actions (Appendix C.1).

DomainMetricHWM-MacroMP-noGeoMotionPort
PushTVE2.81 (±0.42\pm0.42)2.80 (±0.48\pm0.48)2.89 (±0.49\pm0.49)
PushTPE19.00 (±1.45\pm1.45)3.39 (±0.23\pm0.23)3.43 (±0.25\pm0.25)
PushTER6.76 (±1.13\pm1.13)1.21 (±0.22\pm0.22)1.19 (±0.22\pm0.22)
PushTSR47.33 (±4.07\pm4.07)71.33 (±2.31\pm2.31)92.67 (±2.13\pm2.13)
CubeVE0.42 (±0.01\pm0.01)0.70 (±0.01\pm0.01)0.68 (±0.01\pm0.01)
CubePE5.69 (±0.19\pm0.19)1.38 (±0.06\pm0.06)1.07 (±0.04\pm0.04)
CubeER13.65 (±0.53\pm0.53)1.97 (±0.09\pm0.09)1.59 (±0.06\pm0.06)
CubeSR61.33 (±4.00\pm4.00)85.33 (±1.73\pm1.73)97.33 (±1.31\pm1.31)

Table 2. Prediction reliability and control performance on PushT and Cube. Validation error (VE) measures prediction accuracy on logged trajectories, while planning error (PE) measures prediction accuracy on planner-selected actions. Error ratio (ER) is defined as PE/VE, and success rate (SR) measures goal-reaching performance (%). Results are reported as mean ±\pm standard error using frozen HWM42. Prediction errors are measured in latent SSE for PushT and position error (cm) for Cube.

The large gap between validation and planning errors raises a question: is HWM’s dynamics model inherently unreliable, or does its planner select actions for which predictions are inaccurate? Starting from the same 100 Cube states, we run HWM-Macro and MotionPort and obtain executable action sequences through HWM’s low-level solver and MotionPort’s motion decoder, respectively. We feed both sets of primitive actions into HWM’s original action-conditioned predictor F1F_1 and compare its predictions with the visual features observed after ten environment steps. The sum of squared errors is 52.71 for HWM-Macro’s actions but only 1.59 for MotionPort’s (Appendix C.1). Thus, the same predictor is substantially more accurate on MotionPort’s actions than on those selected by HWM’s own planner. This suggests that optimization can steer the planner toward actions for which the model’s predictions are

tions for which the model’s predictions are unreliable. Such actions may appear promising because of prediction errors, allowing the optimizer to lower the imagined cost without making corresponding physical progress—a form of model exploitation. But why does the planning space allow such misleading improvements?

Figure 3 illustrates this problem by comparing imagined costs and actual execution outcomes in two-dimensional slices of the planning spaces on Cube. The top row shows the predicted goal costs, while the bottom row shows the actual cube-to-goal distance after executing the corresponding actions. The same optimization path is shown in both rows, allowing us to see whether reducing the predicted cost also improves the real outcome. HWM-Macro reaches the low-cost region after only five updates, but nearby points in its planning space lead to drastically different physical outcomes. This explains how the optimizer can exploit prediction errors: actions that appear promising to the model do not necessarily bring the cube closer to its goal. In contrast, MP-noGeo and MotionPort directly optimize representations of body motion (§ 3.1) rather than abstract action chunks, producing much smoother execution maps. However, their optimization landscapes differ substantially. For MP-noGeo, the predicted low-cost region is relatively small and poorly aligned with the physical success region, leaving the final solution outside the goal. With geometry regularization (Equation (2)), MotionPort exhibits a broader low-cost region that overlaps much more with the actual success region. So, its optimizer has a larger region of physically successful solutions to reach, and the final solution achieves the goal in this example. These results illustrate how structuring the planning space around physical motion helps turn predicted improvements into successful execution, rather than simply minimizing an imperfect model’s cost.

Two-dimensional slices of the planning spaces for HWM-Macro, MP-noGeo, and MotionPort, showing imagined and executed optimization paths

Figure 3. From imagined optimization to physical execution on Cube. We visualize two-dimensional slices of the planning spaces of HWM-Macro, MP-noGeo, and MotionPort. The top row shows predicted goal costs, while the bottom row shows actual cube-to-goal distances after executing the corresponding actions for 20 environment steps. The same optimization path is shown in both rows, with circles marking the starting points, stars marking the first updates reaching the predicted-cost threshold, and squares marking the final solutions after 30 updates. Solid contours indicate the predicted low-cost region (J/Jref≤0.6J/J_{\mathrm{ref}} \le0.6), while dashed contours indicate the physical success region (distance ≤4\le4 cm). MotionPort exhibits a larger overlap between these regions, allowing optimization to find a solution that succeeds.

Learning Where to Search in Motion Space

We next examine how learned priors improve planning in motion space (§ 3.3; Appendix § 10.§ 2). As shown in Table 3, adding the prior increases MotionPort’s success rate from 58.4% to 97.3% on Cube and from 19.0% to 100% on hard FourRoom. These gains are larger than those of MP-noGeo (28.2 and 46.7 percentage points, respectively), suggesting that learned initialization is more effective in a geometry-structured motion space. Figure 5 illustrates this effect on PushT, where none of the methods reaches the goal without the prior, while only full MotionPort succeeds with it. Together, these results suggest that the prior provides promising starting motions, while geometry makes it easier to refine them into actions that successfully reach the goal (Appendix § 9.§ 3).

DomainMetricHWM-MacroMP-noGeoMotionPort
PushTNP47.3 (±4.1)62.6 (±2.3)80.9 (±2.5)
LP55.8 (±2.8)71.3 (±2.3)92.7 (±2.1)
Δ\DeltaP+8.5+8.7+11.8
CubeNP61.3 (±4.0)57.1 (±2.3)58.4 (±2.7)
LP71.1 (±2.5)85.3 (±1.7)97.3 (±1.3)
Δ\DeltaP+9.8+28.2+38.9
FourRoom hardNP23.0 (±4.2)23.3 (±3.7)19.0 (±2.7)
LP56.0 (±4.2)70.0 (±0.5)100.0 (±0.0)
Δ\DeltaP+33.0+46.7+81.0
AntMaze OGBenchNP0.0 (±0.0)55.3 (±14.5)44.0 (±18.8)
LP0.0 (±0.0)56.7 (±11.5)72.0 (±10.2)
Δ\DeltaP+0.0+1.4+28.0

Table 3. Effect of learned priors on goal-reaching. NP (No Prior) uses Gaussian initialization, while LP (Learned Prior) uses a 1:1 mixture of prior and Gaussian samples. Δ\DeltaP denotes the improvement from NP to LP in percentage points.

Figure 5. Effect of learned priors on PushT planning. All methods share the same start and goal. Rows compare planning without (top) and with (bottom) learned priors. Only full MotionPort with the prior successfully reaches the goal in this example.

Temporal Goal Geometry Guides Executable Plans

We next investigate whether a better goal score leads to better planning. As shown in Figure 4(a–Figure 4d), visual distance alone can favor states that are close to the goal but difficult to reach, while combining it with the learned temporal distance ϕ\phi produces a score (Equation (6)) that better reflects the maze’s reachable paths. Across five Ant goals, the rank correlation with geodesic distance increases from 0.31 to 0.96 (Appendix § 9.§ 4). However, a better score does not benefit all planners equally. On AntMaze-hard, adding ϕ\phi improves MotionPort’s success rate from 38% to 58%, while HWM-Macro slightly decreases from 14% to 12%, as shown in Figure 4(e).

Figure 4. A better goal score benefits motion-space planning. (a–d) Goal-cost landscapes for two AntMaze goals, comparing visual-feature distance (E2E_2) with the combined visual and temporal score (E2+ϕE_2 + \phi). Darker regions indicate lower costs, and stars mark the goals. The learned temporal score better captures the maze’s reachable paths. (e) Goal-reaching success on AntMaze-hard with and without ϕ\phi, where MotionPort improves from 38% to 58%, while HWM-Macro decreases from 14% to 12%.

To understand this difference, we compare the predicted and actual progress of the actions selected by each planner in Table 4. Although HWM-Macro predicts a larger reduction in goal distance (0.912 vs. 0.491), it achieves less progress after execution (0.198 vs. 0.340). Consequently, HWM-Macro realizes only 22% of its predicted progress, compared with 69% for MotionPort, which also has a substantially lower prediction error (0.89 vs. 2.68). This explains why improving the goal score alone is insufficient: HWM-Macro may favor actions whose predicted outcomes fail to materialize, whereas motion-space planning more reliably translates predicted progress into actual goal-reaching (Appendix § 9.§ 4).

PlannerPPRPRPRNPE
HWM-Macro0.9120.19822%2.68
MotionPort0.4910.34069%0.89

Table 4. Motion-space planning better realizes predicted progress. Both planners use the same temporal goal score on AntMaze-hard. PP (Predicted Progress) and RP (Realized Progress) measure reductions in ϕ\phi-distance based on predicted and actual outcomes. RPR (Realized-to-Predicted Ratio) is the ratio of mean RP to mean PP. NPE (Normalized Prediction Error) measures squared prediction error relative to squared observed state change.

Efficient Planning across Frozen World Models

We evaluate whether MotionPort generalizes across different world models while maintaining planning efficiency. Averaged equally across 21 matched comparisons on LeWM, HWM, and H-JEPA, MotionPort improves ever success from 37.9% for native planning to 87.8%, a gain of 50 percentage points, without fine-tuning the pretrained state encoders (Appendix § 9.§ 5). Figure 6 further compares their success rates under different planning budgets on long-horizon PushT (Appendices § 9.6 and § 10.§ 4). Within a shared planning budget of 25 seconds per episode, MotionPort outperforms native HWM, H-JEPA, and LeWM by 59.3, 54.7, and 74.0 percentage points, respectively. Notably, with HWM, MotionPort

Figure 6. Planning efficiency across frozen world models. Goal-reaching success versus planning time on long-horizon PushT. Colors distinguish LeWM, HWM, and H-JEPA, while dashed lines with circles represent native planners and solid lines with triangles represent MotionPort. Using their frozen backbones, MotionPort achieves higher success with substantially less planning time.

achieves 72.7% success in only about 4 seconds, exceeding the best native result of 49.3% at approximately 40 seconds. Thus, MotionPort achieves higher success while requiring only one-tenth of the planning time.

Retaining a Goal under Continued Feedback

Finally, we evaluate whether goal-reaching success persists under continued closed-loop control. Figure 7 compares ever success with terminal success on PushT and Cube. MotionPort achieves terminal success rates of 84.67% and 92.00%, respectively, substantially outperforming the strongest baselines at 39.33% and 66.67%. Moreover, its terminal success is only 8.0 and 5.3 percentage points below its ever success, indicating that most goals reached during an episode remain satisfied at the final step. These results show that MotionPort not only reaches goals more reliably but also maintains high success under continued execution. Without reliable prediction of subsequent actions, continued replanning can move the object away from an already reached goal. MotionPort reduces this mismatch between predicted and actual outcomes, helping preserve goal success (Appendix § 9.7).

Figure 7. High goal-reaching success persists under continued execution. Ever success measures whether a goal is reached at any point, while terminal success measures success at the final step. Results on PushT and Cube show that MotionPort achieves both higher goal-reaching success and smaller gaps between ever and terminal success than most baselines.

Conclusion

We introduce MotionPort, a geometry-structured motion interface that connects prediction, planning, and execution in frozen visual world models. By representing body motion rather than action chunks, MotionPort provides a more effective optimization space, while learned priors and temporal goal scoring further improve planning. Experiments across manipulation and navigation tasks demonstrate substantial gains in goal-reaching success and planning efficiency across different world-model backbones. These results highlight the importance of action-space representation in bridging the gap between accurate prediction and effective control.

LLM Usage Statement

We used OpenAI Codex and Anthropic Claude Code to assist with manuscript polishing and code development.

SettingEvaluation casesGoal and success convention
PushT150Public50 + Fresh100; joint pusher/block position and block angle
Cube150Public50 + Fresh100; cube position within 4 cm of the target
FourRoom standard50Two doorway crossings; original environment success rule
FourRoom hard100Three doorway crossings; same rule and budget as standard
AntMaze standard50D3 goals; 1 m success radius
AntMaze hard100New D3/D6 goals; 1 m success radius
AntMaze OGBench25Five official goals with five initializations; 0.5 m radius

Table S1. Seven evaluation settings. All methods in a setting receive the same evaluation goals and environment-step budget.

Evaluation Protocol and Motion Representation

This supplement follows the organization of the main paper. Section A specifies the evaluation and motion-representation conventions; Section B explains the short- and long-goal comparison in Figure 1(c). Sections C.1–C.7 expand the prediction, optimization, prior, goal-score, backbone, efficiency, and retention results. Section D gives the training and planning details of the main method.

Tasks and reported success

The seven evaluation settings use four environments. PushT and Cube retain the original task definitions. FourRoom standard requires two doorway crossings, while FourRoom hard requires three. AntMaze standard uses the D3 goal set; AntMaze hard mixes D3 and longer D6 goals in the New100 set. AntMaze OGBench uses the official long-range goals and the stricter success threshold. The environment-step budget is shared across methods within each setting.

Ever success indicates that the task criterion is satisfied at least once during an episode. Terminal success tests the final environment step. Their difference measures the fraction of episodes that reach the goal but do not finish there; it is not a test of uninterrupted success after first arrival. PushT success requires a joint four-coordinate pusher/block position error below 20 pixels and a wrapped block-angle error below π/9\pi/9. Its object-only pixel distance, used to annotate illustrations, is a diagnostic rather than a replacement for the task’s success predicate. Cube success depends on cube position, not gripper position or object orientation.

Training information and motion features

The pretrained visual encoder remains frozen. For hierarchical backbones, features are taken at the active planning level. All trainable components use the offline training trajectories; goal relabeling draws goals from those trajectories rather than the evaluation tasks. The native LeWM interface uses primitive command blocks, whereas HWM and H-JEPA use their learned macro-action interfaces.

The fixed extractor XX maps an observation to representative body features. These describe the agent’s own movement: pusher position in PushT, end-effector pose and gripper configuration in Cube, realized agent motion in FourRoom, and locomotion coordinates in AntMaze. A motion code encodes a short trajectory of these features. It does not encode a task goal or an object’s desired future pose. The current body state oo can contain additional information required to decode the motion, and is not assumed to equal the representative feature xx.

Motion features are scaled using training statistics before motion reconstruction and distance alignment. The deterministic planning code is the standardized encoder mean. MP-noGeo uses the same motion-code dimension and learning formulation with the geometry weight set to zero. Its decoder and predictor are trained for the corresponding motion coordinates. In the main geometry loss, PushT, FourRoom, and AntMaze use squared distances (p=2p = 2), normalized by their batch means; Cube uses squared distances (p=1p = 1), normalized by their batch maxima. Gradients are retained through the code-distance normalization factor. Dynamics targets stay in the coordinates of the frozen visual encoder; the same encoder dimension alone does not make features from different backbones interchangeable.

Metrics and uncertainty

Prediction metrics compare each forecast with the corresponding real future observation. Latent SSE is meaningful within one feature space; centimetre errors use the separately described position readout. The ratio PE/VE compares planning and validation errors at the stated forecast horizons. Ratios and percentage-point differences are computed before rounding when unrounded estimates are available.

Parenthesized uncertainties are the reported standard errors over evaluation units. Repeated calls within an episode remain together when resampling prediction diagnostics. The OGBench analysis groups its five initializations under each official goal. Intervals are explicitly marked as confidence intervals where provided.

Distances in the action representations

We compare code distances with body-motion distances on 2,000 held-out windows and 200,000 fixed pairs. These measurements test what the coordinates represent. They

DomainNative inputMP-noGeoMotionPort
PushT0.8400.9430.920
Cube0.5870.7800.938
FourRoom0.5200.7980.995
Ant0.0870.8630.958

caption: tbl:S2. Motion-distance alignment with LeWM. Spearman correlation with body-motion distance on the same 2,000 held-out windows and 200,000 fixed pairs. Native input is the native primitive command chunk. The two motion variants both use four dimensions and share their representation across backbone instantiations. LeWM has no learned native macro-action; its input is the standardized command sequence. The native comparison changes the representation type; the two motion columns isolate geometry at fixed code dimension.

:::

DomainHWM-MacroMP-noGeoMotionPort
PushT0.9430.9430.920
Cube0.2860.7800.938
FourRoom0.4880.7980.995
Ant0.5910.8630.958

Table S3. Table S3. Motion-distance alignment with HWM. Spearman correlation with body-motion distance on the same 2,000 held-out windows and 200,000 fixed pairs. Native input is the native learned macro-action. The two motion variants both use four dimensions and share their representation across backbone instantiations. Native macro-actions have four dimensions except Cube, where two four-dimensional macros cover the same twenty-step skill. The native comparison changes the representation type; the two motion columns isolate geometry at fixed code dimension.

DomainNative inputMP-noGeoMotionPort
PushT0.9420.9430.920
Cube0.2790.7800.938
FourRoom0.4880.7980.995
Ant0.6090.8630.958

Table S4. Table S4. Motion-distance alignment with H-JEPA. Spearman correlation with body-motion distance on the same 2,000 held-out windows and 200,000 fixed pairs. Native input is the native learned macro-action. The two motion variants both use four dimensions and share their representation across backbone instantiations. Native macro-actions have four dimensions except Cube, where two four-dimensional macros cover the same twenty-step skill. The native comparison changes the representation type; the two motion columns isolate geometry at fixed code dimension.

are distinct from validation prediction error and from the optimization slices in Section C.2. Motion codes align body-motion distances across Cube, FourRoom, and AntMaze. Section C.2 examines how this structure shapes optimization and physical execution.

Short- and Long-Horizon PushT Evaluation

This section documents main Figure 1(c). Short goals lie 25 logged steps ahead and use a 50-step control budget. The long-goal asset has a nominal offset of 75 frames (74 state transitions) and uses a 90-step budget. The two columns therefore compare their stated goal-and-budget protocols; they are not an equal-budget truncation experiment.

Temporal abstraction also changes the planning schedule. In the native hierarchy, an upper layer is skipped when its remaining horizon reaches one, after which the lower layer targets the final goal directly. Under the standard short and long protocols, this transition occurs at steps 40 and 70, respectively. This explains why a longer-goal protocol need not have a lower observed success rate: it also allows more environment steps and changes when direct-goal optimization begins.

A separate Public50 intervention changes the native upper horizon to three while keeping its model weights fixed. The control below concerns planning timing, rather than the geometry intervention of MotionPort.

With the shorter upper horizon, the transition to direct-goal control occurs at step 30 and median first arrival moves to step 35. These results show that planning performance is sensitive to the horizon schedule.

Additional Experimental Results and Analysis

We first examine prediction accuracy on logged and planner-selected motions, then relate code geometry to physical execution. The following analyses study how priors and temporal goal scores guide search, how MotionPort transfers across frozen backbones, and how planning efficiency and goal retention change under the resulting controller.

Prediction errors across all seven setups

A common prediction comparison. Table S7 extends main-paper Table 2 to all seven evaluation settings, including the motion representation trained without geometry. Native F1F_1 and each motion variant’s own GG forecast the outcome of their respective planner-selected commands. Validation uses the same predictor and forecast lengths on logged motions, with lag weights matched to each planning protocol. Errors use one common frozen world-model coordinate system within each domain. Cube instead reports 3-D position error through its shared diagnostic readout; its centimetre values should not be compared numerically with the latent SSE in other domains.

SettingMetricHWM-MacroMP-noGeoMotionPort
PushTVE2.81 (±0.42)2.80 (±0.48)2.89 (±0.49)
PushTPE19.00 (±1.45)3.39 (±0.23)3.43 (±0.25)
PushTER6.76 (±1.13)1.21 (±0.22)1.19 (±0.22)
PushTSR47.33 (±4.07)71.33 (±2.31)92.67 (±2.13)
CubeVE0.42 (±0.01)0.70 (±0.01)0.68 (±0.01)
CubePE5.69 (±0.19)1.38 (±0.06)1.07 (±0.04)
CubeER13.65 (±0.53)1.97 (±0.09)1.59 (±0.06)
CubeSR61.33 (±4.00)85.33 (±1.73)97.33 (±1.31)
FourRoom standardVE0.49 (±0.04)1.21 (±0.09)1.41 (±0.10)
FourRoom standardPE2.86 (±0.24)2.51 (±0.09)2.17 (±0.11)
FourRoom standardER5.80 (±0.70)2.06 (±0.16)1.55 (±0.13)
FourRoom standardSR98.00 (±2.00)100.00 (±0.00)100.00 (±0.00)
FourRoom hardVE0.49 (±0.04)1.21 (±0.09)1.41 (±0.10)
FourRoom hardPE10.59 (±0.72)2.62 (±0.07)2.04 (±0.06)
FourRoom hardER21.49 (±2.36)2.16 (±0.16)1.45 (±0.12)
FourRoom hardSR23.00 (±4.23)70.0 (±0.5)100.00 (±0.00)
AntMaze standardVE3.30 (±0.37)1.21 (±0.25)1.17 (±0.22)
AntMaze standardPE30.21 (±2.81)12.79 (±1.36)11.27 (±0.95)
AntMaze standardER9.16 (±1.33)10.54 (±2.55)9.64 (±2.04)
AntMaze standardSR60.00 (±7.00)82.00 (±5.49)92.00 (±3.88)
AntMaze hardVE3.30 (±0.37)1.21 (±0.25)1.17 (±0.22)
AntMaze hardPE39.57 (±1.86)14.88 (±1.10)18.61 (±1.43)
AntMaze hardER12.00 (±1.46)12.26 (±2.76)15.91 (±3.30)
AntMaze hardSR14.00 (±4.29)63.00 (±4.85)58.00 (±4.96)
AntMaze OGBenchVE3.27 (±0.36)1.22 (±0.24)1.18 (±0.22)
AntMaze OGBenchPE38.31 (±4.10)16.37 (±3.81)15.73 (±1.58)
AntMaze OGBenchER11.71 (±1.74)13.42 (±4.02)13.37 (±2.83)
AntMaze OGBenchSR0.00 (±0.00)56.7 (±11.5)72.00 (±10.20)

Table S7. Validation and planning across all seven settings. VE is prediction error on held-out logged trajectories, PE is prediction error on planner-selected commands, ER is PE/VE, and SR is ever success (%). Entries are mean (± SE). The PushT and Cube rows reproduce main-paper Table 2; overlapping success results follow Tables 1 and 3. Cube errors are three-dimensional position errors in cm through a common diagnostic readout; other domains use latent SSE. Errors are compared within a domain, in the frozen HWM feature coordinates. Evaluation tasks, not individual replanning calls, are the sampling units; OGBench retains its official-goal grouping. Ratios use unrounded error estimates.

Averaging over decisions. Each forecast is compared with the observation after its executed prefix. Errors are averaged over the available transitions of an episode, and then over evaluation episodes. Validation uses the analogous averaging of held-out windows within their source episodes. ER is the ratio of the two aggregate errors. The image used to start each new planning call is observed, so errors from different feedback calls are not treated as one uninterrupted imagined rollout.

MethodShort-term ever success (%)Long-term ever success (%)
MotionPort93.33 (±3.33)92.67 (±2.13)
HWM44.89 (±2.64)47.33 (±4.07)
H-JEPA42.00 (±2.77)46.67 (±4.10)
SAGE43.78 (±2.88)44.00 (±4.07)
AP-CEM73.33 (±3.62)41.33 (±4.03)
LeWM81.78 (±2.22)40.00 (±4.03)
GC-IDM60.67 (±4.00)30.67 (±3.78)
Hi-LeWM-C23.56 (±2.22)18.00 (±3.15)
LeFlow81.56 (±2.22)17.33 (±3.11)
DINO-WM80.67 (±3.24)10.67 (±2.53)
Sub-JEPA84.67 (±2.95)6.00 (±1.95)
Qantara78.00 (±2.63)4.89 (±1.24)
Fast-LeWM82.67 (±3.10)4.00 (±1.61)
LP234.44 (±3.52)2.67 (±1.07)

Table S5. Numerical values in the introductory comparison. Means and error bars reproduce main Figure 1(c). Long-term values for the methods in main Table 1 agree with that table. The two horizons retain their respective goal and environment-step budgets.

MethodDefault shortHorizon-three shortGain (pp)
HWM40.0070.00+30.00
H-JEPA38.0070.00+32.00

Table S6. A planning-schedule intervention on Public50. Ever success (%). This changes the prediction span, transition to direct-goal control, and subsequent feedback schedule together. It is a separate 50-task control.

Position readout used only for evaluation. The planner predicts visual features rather than decoded images. For Cube, a common frozen diagnostic readout RposR_{\mathrm{pos}} maps a forecast feature to a three-dimensional cube position. It is fit on separate logged states and shared by the compared methods. The error is 100∥Rpos(h^)−pactual∥2100\lVert R_{\mathrm{pos}(\hat{h}) - p_{\mathrm{actual}}\rVert_2} in cm. Simulator cube positions provide the evaluation target; this readout and target are not inputs to the policy or its goal-scoring objective. Linear and MLP readouts provide the robustness comparison in Section C.7.

Validation and transition coverage. PushT uses all 21 episodes of the separate validation file, with four sampled windows per episode. Its planning comparison retains 1,350 paired transitions over all 150 evaluation episodes: nine decisions per episode, including the initial decision. The final call lacks the matching next-observation error record used by this comparison. HWM’s upper encoder is the identity for this comparison, so H1H_1 and H2H_2 are identical for all three predictors.

For FourRoom, validation uses 200 independent episodes from the original collection procedure, yielding 800 held-out windows. Its validation errors are 0.49, 1.21, and 1.41 for native, no-geometry, and full-motion prediction. Ant uses 500 held-out episodes and 2,000 windows, weighted by the executed forecast lengths of each goal set.

Interpreting the planning gap. Action support explains part of the other domains’ differences. In PushT, 4.1% of native decisions leave the logged action range; native PE is 94.34 on these decisions and 16.20 within the range, still well above VE of 2.81. In FourRoom, the environment clamps commands to [−1,1][-1,1]. Predicting with the actions actually executed reduces native PE to 0.48 on standard tasks and 1.40 on hard tasks, compared with VE of 0.49. These checks distinguish the predictor’s behavior on executed actions from discrepancies between the commands it imagines and those the environment executes.

Cube decision-index breakdown. For Cube, the main-paper prediction table includes every planning decision: four per episode, at start steps 0, 10, 20, and 25. The aggregate includes the initial decision. Each decision index and the three post-initial calls are also reported separately to show how error changes over an episode. All forecasts start from the current observed state. Consequently, a larger error at a later decision is not, by itself, evidence of latent rollout error accumulating across replanning calls. The native schedule also changes: level 2 is solved at the initial call and skipped on the subsequent calls.

The fixed-predictor control first decodes motion codes to raw command chunks A=D(o,z)A = D(o,z), then passes AA to

Figure S1. Where validation looks, and where each planner goes. Cube with frozen HWM. Each sample is translated so that its real cube lies at the central filled square; each outline shows the predicted position relative to that outcome, using a shared diagnostic readout. Top: 450 sampled moving-cube validation windows at +10 steps; “table xx” and “up” denote world-xx and height errors. Bottom: all 450 post-initial decisions across the same 150 tasks per system, pooling executed 5- and 10-step blocks. Horizontal errors are rotated so that “to goal” points from the real cube toward the target in the table plane; “up” remains height error. For horizontal goal distances below 0.5 cm, the horizontal axis is world-xx (41 native, 111 no-geometry, and 143 full-motion samples). Thus the panels overlay prediction errors, rather than absolute trajectories. Labels report median 3-D position error; Table S8 reports means. Native forecasts are the final F1F_1 predictions after low-level optimization; motion forecasts use the matching prefix of GG. Later states and commands follow each system’s own policy.

Cube position error (cm)HWM-Macro F1F_1MP-noGeoMotionPort
Logged validation, +50.3840.6320.634
Logged validation, +100.4500.7670.718
Planning, 0 → 101.370.330.49
Planning, 10 → 206.551.671.02
Planning, 20 → 257.521.471.48
Planning, 25 → 307.342.051.30
All four decisions (600 per system)5.691.381.07
Post-initial subgroup (450 per system)7.141.731.27

Table S8. Prediction error by planning decision. Results average over 150 Public50+Fresh100 episodes per HWM system. Position errors use a shared MLP diagnostic readout of the imagined feature and the simulator’s actual cube position. Section C.7 analyzes goal retention.

Command sourceHWM-MacroMP-noGeoMotionPort
Same F1F_1, +10 feature SSE52.711.581.59
95% task-bootstrap interval[47.95, 57.34][1.24, 1.97][1.28, 1.92]

Table S9. Fixing the predictor and the current state. At the same 100 shared simulator states (two decisions on each of 50 development tasks), the same frozen F1F_1 predicts the outcomes of candidate commands from each planning interface. Feature SSE compares its forecast with the encoded image after actual 10-step execution; no position readout is involved. Candidate pools have different construction rules (35 native candidates and 40 motion candidates per state), so this measures the respective queried action populations. This is a separate shared-state cohort, not the 150-goal closed-loop sample in Table S8.

the unchanged native F1F_1 with its native preprocessing. It changes the command source, not the predictor. This differs from the full-system comparison, in which native F1F_1 and motion-conditioned GG predict their respective executed commands.

Table 2 of the main paper reports standard errors over evaluation units. Cube VE uses the 200 validation episode means, pairing the +5 and +10 windows within each episode; PE uses all four decisions in each of 150 episodes, stratified into Public50 and Fresh100. ER uses the standard deviation of 10,000 bootstrap ratios, independently resampling validation episodes and stratified planning tasks. AntMaze OGBench PE and SR use five official-goal cluster means. These uncertainties describe evaluation variation at fixed model weights.

In the native population at decision 1, the mean F1F_1 feature SSE is 31.47 for initial random candidates and 89.70 for the optimized top-20. This increase shows that optimization can select commands with larger forecast errors. Motion-code candidates keep the same native predictor accurate, linking the planning representation to the reliability of the actions queried during search.

The consequences of these prediction errors after reaching a goal are analyzed separately in Sec. C.7, including all decision counts and the common position-readout checks.

Code distributions and execution maps

Optimization and execution on a common slice. For each planning interface, we form a two-dimensional affine slice through the initial code z(0)z^{(0)}. Its first basis vector follows the initial-to-final displacement of a 30-update optimization trajectory; the second captures the largest orthogonal excursion of that trajectory. A point (u,v)(u, v) therefore denotes z(0)+ue1+ve2z^{(0)}+u e_1+v e_2 in the original planning coordinates.

We evaluate predicted costs on a common displayed rectangle using a 51×5151 \times51 grid. Costs are normalized by JrefJ_{\mathrm{ref}}, the objective at the initial reference code. Starting-point selection targets a comparable normalized cost of J/Jref=2J/J_{\mathrm{ref}} = 2, followed by 30 AdamW updates within the slice. We mark the first update reaching J/Jref≤0.6J/J_{\mathrm{ref}} \le0.6 and the final iterate.

For the execution map, each grid code generates a command sequence that is executed from the same physical state for 20 steps. Native macro-actions use the original low-level solver; motion codes use their decoders. The lower row plots cube-to-goal distance and its 4 cm success boundary along the same optimization path.

The native Cube macro-action encoder applies layer normalization to its four outputs. Logged codes lie on the resulting sphere, while optimized codes can leave it. With the same 2,000-code validation-reference size, 59% of selected native codes exceed the validation 99th-percentile nearest-neighbor spacing; the corresponding proportions are 0.3% for full MotionPort and 0.7% without geometry. The execution maps then assess how these distribution shifts relate to physical outcomes.

Across ten Cube development states, MotionPort reduces neighboring-code success disagreement from 24.5% to 2.6% and the mean neighboring-code goal-distance difference from 3.07 to 0.35 cm. These measurements show that nearby motion codes produce more consistent physical outcomes.

The experiment uses one planning decision from each of ten Cube development tasks. Its native grids use 17×1717 \times17 nodes and motion grids 26×2626 \times26 nodes. At the single displayed state, we additionally execute equal-resolution 26×2626 \times26 grids and dense 51×5151 \times51 grids. Halving the spacing changes native neighbor success disagreement from 45.5% to 44.7%, while MotionPort changes from 4.5% to 2.3%. Mean neighbor distance differences change from 4.82 to 4.91 cm for native macros and from 0.29 to 0.15 cm for MotionPort. The dependence on the low-level solver is checked separately by using a common solver initialization across all native codes.

Across ten decisions, agreement of native-code success under the two solver-initialization schemes is 76.4%, compared with a chance agreement of 71.5% (mean Cohen’s κ=0.17\kappa= 0.17). Execution therefore depends on both the macro-action code and the lower-level solve.

Learned-prior initialization and physical execution

Without a learned prior, candidates are initialized from a Gaussian in each interface’s planning space. With the prior, half of the candidates come from the learned goal-conditioned and goal-free models and half from the Gaussian. One-motion sampling alternates with prediction to initialize sequences; all codes are then optimized jointly.

The prior increases MotionPort’s ever success by 38.9 percentage points on Cube and 81.0 on FourRoom hard, compared with 28.2 and 46.7 for MP-no-Geo. We examine how initialization changes the candidate population and how candidate refinement translates into executed actions.

Experimental protocol. The Cube population study evaluates 200 refined candidates for each interface and prior condition at each of ten development states. The code-space illustration uses one of these states and shows 400 candidates per condition: all motion candidates and a fixed half of the native planner’s 800 candidates. Native macro-actions are decoded using independently initialized low-level solves; their population statistics therefore include variability from this solver. The closed-loop study uses 150 evaluation goals and the commands selected by each controller. Both studies measure whether the gripper reaches within 3 cm of the cube after ten steps; closed-loop evaluation additionally measures whether the cube reaches its task goal.

Figure S2. Validation codes and selected planning codes. Native macro coordinates and projected motion coordinates are shown with their validation distributions. Nearest-neighbor statistics use equally sized reference sets. Execution outcomes are evaluated in the code-slice experiments.

SetupInterfaceNo priorLearned priorΔP\Delta P (pp)
PushTHWM-Macro47.3 (±\pm4.1)55.8 (±\pm2.8)+8.5
PushTMP-noGeo62.6 (±\pm2.3)71.3 (±\pm2.3)+8.7
PushTMotionPort80.9 (±\pm2.5)92.7 (±\pm2.1)+11.8
CubeHWM-Macro61.3 (±\pm4.0)71.1 (±\pm2.5)+9.8
CubeMP-noGeo57.1 (±\pm2.3)85.3 (±\pm1.7)+28.2
CubeMotionPort58.4 (±\pm2.7)97.3 (±\pm1.3)+38.9
FourRoom hardHWM-Macro23.0 (±\pm4.2)56.0 (±\pm4.2)+33.0
FourRoom hardMP-noGeo23.3 (±\pm3.7)70.0 (±\pm0.5)+46.7
FourRoom hardMotionPort19.0 (±\pm2.7)100.0 (±\pm0.0)+81.0
AntMaze OGBenchHWM-Macro0.0 (±\pm0.0)0.0 (±\pm0.0)+0.0
AntMaze OGBenchMP-noGeo55.3 (±\pm14.5)56.7 (±\pm11.5)+1.4
AntMaze OGBenchMotionPort44.0 (±\pm18.8)72.0 (±\pm10.2)+28.0

Table S10. Prior effects in the main configurations. Ever success (%, mean ±\pm SE). NP uses Gaussian initialization; LP allocates half of the initial proposals to the learned-prior mixture and half to Gaussian samples. The learned component combines the goal-conditioned and goal-free priors described in Appendix § 10.§ 2. This table expands the prior comparison in main-paper Table 3.

InterfaceNo prior (%)With prior (%)Gain (pp)
HWM-Macro63.15 [51.15, 75.00]92.65 [89.45, 95.65]29.50 [19.45, 39.60]
MP-noGeo8.50 [5.50, 11.65]99.80 [99.40, 100.00]91.30 [88.30, 94.15]
MotionPort21.15 [18.05, 24.50]99.90 [99.70, 100.00]78.75 [75.40, 81.95]

Table S11. Candidate approach rates across ten Cube states. Share of refined candidates bringing the gripper within 3 cm of the cube after ten steps. Each state contributes 200 candidates per interface and prior condition. Brackets give paired 95% bootstrap intervals over states. This intermediate approach criterion is distinct from task success.

Code-space refinement. Each plane in Figure S3 passes through the no-prior mean, the prior’s initial mean, and its mean refined code. Points and trajectories are orthogonal projections of full-dimensional candidates. Background colors result from executing grid codes in the plane; candidate markers use executions of the full codes.

Six-panel code-space plots comparing no prior and with prior for HWM-Macro, MP-noGeo, and MotionPort

Figure S3. Where the prior places search in code space. Cube’s first planning decision with frozen HWM. Rows compare Gaussian initialization and learned priors; columns compare HWM-Macro, MP-noGeo, and MotionPort. Dots and curves show initial codes and optimization trajectories. Shading gives gripper-to-cube distance after ten steps; the dashed contour marks 3 cm. Green squares and percentages indicate refined candidates meeting this approach criterion, among 400 candidates per panel. The population protocol is described above; closed-loop outcomes appear in Table S12.

InterfacePriorGripper at cube at step 10 (%)Ever task success (%)
HWM-MacroNo prior75.8 (±2.2)61.3 (±4.0)
HWM-MacroLearned prior91.1 (±1.3)71.1 (±2.5)
MP-noGeoNo prior23.1 (±2.4)57.1 (±2.3)
MP-noGeoLearned prior98.9 (±0.5)85.3 (±1.7)
MotionPortNo prior41.3 (±2.9)58.4 (±2.7)
MotionPortLearned prior98.4 (±0.7)97.3 (±1.3)

Table S12. The same intermediate condition in closed-loop control. Cube, with the 150 evaluation goals. The intermediate condition tests whether the gripper is within 3 cm of the cube at step 10. Ever success uses the official cube-to-goal criterion. Parentheses report SEs. The intermediate condition and goal-reaching are different metrics; a successful approach does not by itself establish successful manipulation.

From candidates to executed actions. MotionPort checks the 20 lowest-cost candidates with the frozen native predictor before execution. This re-ranking replaces the minimum-JJ candidate in 71–90% of the first planning calls in this study.

Rendered examples. Main Figure 5 and Figure S4 use the environment’s renderer at physical states, rather than images reconstructed from predicted features. PushT’s pixel annotation measures block-position error; its success mark uses the joint position-and-orientation rule in Section A. These examples illustrate refinement from a shared initial state and goal, while the prior tables measure aggregate performance.

Additional prior comparisons for Ant and Cube tasks

Figure S4. Additional prior comparisons. Rows compare Gaussian initialization and learned priors; columns compare HWM-Macro, MP-noGeo, and MotionPort. All conditions share the start and goal within each task. In the AntMaze OGBench example, only MotionPort with the learned prior reaches the goal, at step 583; this pattern occurs in 3 of the 25 tasks. In Cube, both motion variants with the prior reach the goal at step 27, while the other four conditions fail. The Cube example illustrates the prior’s benefit for both motion representations. Scenes use the original renderer, with Ant paths overlaid on the maze. Checks denote ever success; failed cases show the final goal offset.

Temporal scoring: spatial signal and delivered progress

We evaluate the temporal score used by HWM-based MotionPort. Spatial maps use 1,280 rendered Ant positions and five goals. Mean geodesic rank correlation is 0.31 for visual distance and 0.96 for the deployed mixed score. Geodesic distances are used only to evaluate the landscape; the temporal embedding is learned from transitions, as specified in Section D.3.

Goal-reaching with visual and temporal scores. Table S14 compares native and motion planning on the three AntMaze settings. Table S15 gives the motion-space score ablation across all seven settings. The same head and normalization are used for the native-versus-MotionPort intervention. The displayed spatial maps use official OGBench goals, whereas main Figure 4(e) uses the separate AntMaze-hard evaluation set; the map examples and the bar chart therefore answer complementary questions.

SetupPlannerE2E_2E2+ϕE_2 + \phiGain (pp)
AntMaze standardHWM-Macro60.00 (±\pm7.00)60.0 (±\pm7.0)+0.00
AntMaze standardMotionPort60.0 (±\pm7.0)92.00 (±\pm3.88)+32.00
AntMaze hardHWM-Macro14.00 (±\pm4.29)12.0 (±\pm3.3)-2.00
AntMaze hardMotionPort38.0 (±\pm4.9)58.00 (±\pm4.96)+20.00
AntMaze OGBenchHWM-Macro0.00 (±\pm0.00)0.0 (±\pm0.0)+0.00
AntMaze OGBenchMotionPort0.0 (±\pm0.0)72.00 (±\pm10.20)+72.00

Table S14. The same temporal scoring rule in native and motion planning. Ever success (%, mean ±\pm SE). Native visual references follow main-paper Table 1; the AntMaze-hard means reproduce Figure 4(e). The two methods use the same goal-scoring head, mixture, and normalization in this intervention. The standard and hard tasks use a 1 m threshold; OGBench uses 0.5 m.

SetupVisual score EEMixed score E+ϕE + \phiGain (pp)
PushT89.3 (±\pm2.5)92.67 (±\pm2.13)+3.37
Cube96.7 (±\pm1.5)97.33 (±\pm1.31)+0.63
FourRoom standard100.0 (±\pm0.0)100.00 (±\pm0.00)+0.00
FourRoom hard100.0 (±\pm0.0)100.00 (±\pm0.00)+0.00
AntMaze standard60.0 (±\pm7.0)92.00 (±\pm3.88)+32.00
AntMaze hard38.0 (±\pm4.9)58.00 (±\pm4.96)+20.00
AntMaze OGBench0.0 (±\pm0.0)72.00 (±\pm10.20)+72.00

Table S15. MotionPort goal scoring across the seven HWM settings. Ever success (%, mean ±\pm SE). The mixed-score column matches main-paper Table 1. EE uses visual distance and E+ϕE + \phi uses the normalized visual–temporal score. Gains are percentage-point differences of the displayed means. The corresponding native-versus-MotionPort intervention is reported in Table S14.

OGBench uses the official 0.5 m success radius; AntMaze standard and hard use a 1 m radius.

With the shared mixed score, native ever success on Public50/New100/OGBench is 60/12/0%, compared with 92/58/72% for MotionPort.

Progress and prediction definitions. For each call, let hh be its observed feature, h^+\hat{h}^{+} the forecast at the end of the prefix actually executed, and h+h^{+} the next observed feature. Promised and delivered progress are respectively dϕ(h,hg)−dϕ(h^+,hg)d_{\phi}(h,h_g)-d_{\phi}(\hat{h}^{+},h_g) and dϕ(h,hg)−dϕ(h+,hg)d_{\phi}(h,h_g)-d_{\phi}(h^{+},h_g), evaluated with the same frozen head. The displayed delivery fraction is the ratio of the two means, not the mean of per-call ratios. Native forecasts come from the level-1 prediction at the actual execution horizon; motion forecasts come from the matching prefix head of GG. The last call is omitted when its next encoded observation is unavailable. The analysis includes every other call, including the first. Normalized error is ∑∥h^+−h+∥2/∑∥h−h+∥2\sum\lVert\hat{h}^{+}-h^{+}\rVert^{2}/\sum\lVert h-h^{+}\rVert^{2}.

Together, the progress and prediction results show how motion-space planning translates temporal-score improvements into physical progress.

Frozen-backbone comparisons

Table S17 expands the three-backbone comparison in main-paper § 4.5. MotionPort keeps the pretrained state encoder frozen and learns its motion-conditioned predictor in the corresponding feature space. The table reports ever

BackboneSetupNativeMotionPortGain (pp)
LeWMPushT40.0085.91+45.91
LeWMCube30.6799.21+68.54
LeWMFourRoom standard58.0099.21+41.21
LeWMFourRoom hard0.0099.21+99.21
LeWMAntMaze standard24.0091.21+67.21
LeWMAntMaze hard3.0068.21+65.21
LeWMAntMaze OGBench0.0083.21+83.21
HWMPushT47.3392.67+45.33
HWMCube61.3397.33+36.00
HWMFourRoom standard98.00100.00+2.00
HWMFourRoom hard23.00100.00+77.00
HWMAntMaze standard60.0092.00+32.00
HWMAntMaze hard14.0058.00+44.00
HWMAntMaze OGBench0.0072.00+72.00
H-JEPAPushT46.6781.21+34.54
H-JEPACube49.3397.21+47.88
H-JEPAFourRoom standard98.0099.21+1.21
H-JEPAFourRoom hard41.0099.21+58.21
H-JEPAAntMaze standard78.0091.21+13.21
H-JEPAAntMaze hard22.8271.21+48.39
H-JEPAAntMaze OGBench0.0067.21+67.21

Table S17. Goal-reaching across three frozen backbones. Ever success (%). Native references and all HWM MotionPort results reproduce main-paper Table 1. The remaining rows report the corresponding MotionPort backbone configurations. Gains are differences in percentage points; small discrepancies between displayed subtraction and a reported gain can result from rounding.

Goalρ(E2)\rho(E_2)ρ(E2+ϕ)\rho(E_2 + \phi)Misleading E2E_2 (%)Misleading mixed (%)
10.360.9837.914.6
20.470.9634.016.4
30.230.9732.714.7
40.160.9634.516.4
50.330.9528.715.2
Mean0.310.9633.615.5

Table S13. Spatial scoring statistics for every OGBench goal. The main paper displays goals 1 and 3. Here each row uses all 1,280 sampled Ant positions. E2E_2 is visual-feature distance; the mixed score uses the deployed normalized weights 0.05 visual and 0.95 temporal. ρ\rho compares the score ranking with geodesic maze distance. A misleading location is one whose lowest-cost four-neighbor has lower score but greater geodesic distance. These are deterministic spatial diagnostics, not control success rates.

New100 systemPromised progressDelivered progressNormalized prediction error
HWM-Macro, visual score0.0600.0783.96
HWM-Macro, shared mixed score0.9120.1982.68
MotionPort, visual score−0.4690.1584.62
MotionPort, shared mixed score0.4910.3400.89

Table S16. Predicted and realized progress on AntMaze-hard. 100 tasks and 3,500 decisions per system, frozen HWM. Normalized error is next-state prediction error relative to the real state change; values above one are worse than predicting no change. A negative mean promise does not define a useful delivered/promised ratio.

success and the gain over native planning for each backbone and evaluation setting.

Ant trajectories for OGBench goals 1, 3, and 5 comparing HWM-Macro and MotionPort

Figure S5. The same temporal score must be translated into real progress. Ant trajectories with frozen HWM, OGBench goals 1, 3, and 5, five initializations per goal. Top: the native planner with the same mixed goal score used by MotionPort; bottom: MotionPort. Background color shows the shared mixed goal cost; white circles mark starts, and stars mark goals. Across all five goals, the two systems reach 0/25 and 18/25, respectively.

Planning budgets and timing

The main timing comparison uses long-horizon PushT and the same 150-goal evaluation set for every point. Table S18 reports all 36 operating points shown in main Figure 6. Times include visual encoding and planning and exclude simulator stepping. Measurements use an otherwise idle L40S. Per-episode planning time accounts for the number of planning calls; reusing a cached action is not a new optimization. Each method’s budget sweep varies its own candidate and optimizer budget, while keeping its trained modules fixed.

BackboneBudgetNativeMotionPort
HWM1/1610.7 / 5.7472.7 / 3.77
1/824.0 / 11.1179.3 / 6.87
1/433.3 / 24.7786.7 / 14.18
1/242.0 / 39.7591.3 / 20.94
149.3 / 40.8692.7 / 20.83
245.3 / 40.4890.7 / 20.94
H-JEPA1/166.0 / 5.8161.3 / 3.66
1/819.3 / 10.6171.3 / 6.83
1/428.7 / 24.5477.3 / 14.31
1/240.0 / 36.8983.3 / 24.45
142.7 / 35.8282.0 / 20.40
241.3 / 38.8781.3 / 21.61
LeWM1/164.7 / 4.1856.7 / 3.94
1/810.7 / 7.2774.7 / 6.68
1/418.0 / 16.9179.3 / 14.48
1/236.0 / 29.9784.7 / 22.70
140.0 / 34.8286.7 / 20.61
242.7 / 47.4492.0 / 20.25

Table S18. All operating points in main Figure 6. Each cell is ever success (%) / planning seconds per episode. Budget is the method-specific compute multiplier, not an environment-step budget. The success means and timing coordinates reproduce the main figure; its error bars are shown there.

MotionPort with HWM reaches 72.7% success in approximately 4 seconds per episode, while the best evaluated native HWM point reaches 49.3% at approximately 40 seconds. Section D.4 specifies the common sequence-optimization and execution conventions.

Goal retention under continued feedback

Goal attainment and endpoint success. Table S20 to Table S22 extend main Figure 7 to all seven evaluation settings and all baseline methods, including LeFlow.

MethodEver (%)Terminal (%)Δ (pp)
PushT
H-JEPA46.67 (±4.10)31.33 (±3.81)15.33
HWM-Macro47.33 (±4.07)32.00 (±3.83)15.33
LeWM40.00 (±4.03)26.00 (±3.60)14.00
SAGE44.00 (±4.07)39.33 (±4.01)4.67
LeFlow17.33 (±3.11)0.00 (±0.00)17.33
Hi-LeWM-C18.00 (±3.15)0.67 (±0.67)17.33
MotionPort92.67 (±2.13)84.67 (±2.96)8.00
Cube
H-JEPA49.33 (±4.08)36.00 (±3.88)13.33
HWM-Macro61.33 (±4.00)17.33 (±3.07)44.00
LeWM30.67 (±3.79)24.67 (±3.54)6.00
SAGE68.67 (±3.79)66.67 (±3.83)2.00
LeFlow92.00 (±0.67)0.67 (±0.67)91.33
Hi-LeWM-C4.00 (±1.61)0.00 (±0.00)4.00
MotionPort97.33 (±1.31)92.00 (±2.20)5.33

Table S20. Table S20. Goal attainment and final-step success: manipulation. Ever success and its SE reproduce main-paper Table 1. Terminal success tests the final execution step. Parentheses give the reported evaluation SEs; Δ = Ever − Terminal in percentage points, with rounding applied after subtraction where available.

MethodEver (%)Terminal (%)Δ (pp)
AntMaze standard
H-JEPA78.00 (±5.92)76.00 (±6.10)2.00
HWM-Macro60.00 (±7.00)48.00 (±7.14)12.00
LeWM24.00 (±6.10)22.00 (±5.92)2.00
SAGE20.00 (±5.71)20.00 (±5.71)0.00
LeFlow2.00 (±2.00)2.00 (±2.00)0.00
Hi-LeWM-C18.00 (±5.49)16.00 (±5.24)2.00
MotionPort92.00 (±3.88)76.00 (±6.10)16.00
AntMaze hard
H-JEPA22.82 (±4.94)22.82 (±4.94)0.00
HWM-Macro14.00 (±4.29)14.00 (±4.29)0.00
LeWM3.00 (±1.71)3.00 (±1.71)0.00
SAGE11.00 (±3.14)11.00 (±3.14)0.00
LeFlow0.00 (±0.00)0.00 (±0.00)0.00
Hi-LeWM-C0.00 (±0.00)0.00 (±0.00)0.00
MotionPort58.00 (±4.96)49.00 (±5.02)9.00
AntMaze QGBench
H-JEPA0.00 (±0.00)0.00 (±0.00)0.00
HWM-Macro0.00 (±0.00)0.00 (±0.00)0.00
LeWM0.00 (±0.00)0.00 (±0.00)0.00
SAGE4.00 (±4.00)4.00 (±4.00)0.00
LeFlow0.00 (±0.00)0.00 (±0.00)0.00
Hi-LeWM-C0.00 (±0.00)0.00 (±0.00)0.00
MotionPort72.00 (±10.20)56.00 (±9.80)16.00

Table S22. Table S22. Goal attainment and final-step success: ant. Ever success and its SE reproduce main-paper Table 1. Terminal success tests the final execution step. Parentheses give the reported evaluation SEs; Δ = Ever − Terminal in percentage points, with rounding applied after subtraction where available.

Prediction at already-successful states. Main Figure 7 measures the final consequence of continued feedback. To inspect the associated prediction failure, we separately examine all Cube decisions that start inside the 4 cm goal region. A loss is a prefix whose actual endpoint leaves that region. Each system contributes 600 planning decisions across 150 episodes.

The MLP and linear diagnostic position readouts agree that most native losses were predicted to remain successful: 44/45 and 42/45. The corresponding counts are 18/76 and 11/76 for MP-noGeo, and 0/3 for MotionPort. Both readouts are used only for evaluation.

Across all already-successful starts, mean 3-D forecast error is 6.383 cm for native HWM and 1.553 cm for MotionPort

Figure S6. Promised and delivered temporal progress. Each point is one planning decision on the 100 new Ant goals; rings show means. The decrease predicted by each planner is compared with the decrease at its real next state. Under the same mixed score, native planning delivers 22% of its mean promised progress and MotionPort delivers 69%.

BackboneMotionPort gain below 25 s/episode (pp)
HWM+59.3
H-JEPA+54.7
LeWM+74.0

caption: tbl:S19. Shared time allowance. Improvements reported in main-paper Section 4.5. Each method uses its best evaluated configuration within the allowance; this does not require equal candidate counts.

:::

tionPort. The observation supports the connection between planning-time prediction reliability and retention.

Failure cases after reaching the goal. Table S24 examines four large native departures from the goal region. At these decisions, the hierarchy already directs the low-level planner toward the final goal. Three of four cases reduce predicted goal cost, although all four executions increase realized cost and move the cube outside the success region. The mismatch therefore persists even when the planner explicitly optimizes for the final goal.

ExampleGoal distance (cm) — BeforeGoal distance (cm) — AfterFinal-goal cost — CurrentFinal-goal cost — PredictedFinal-goal cost — Realized
13.84518.2072.3741.555406.658
21.09814.461129.58215.945377.804
32.48715.1970.2863.332319.310
41.49113.97511.9903.277227.975

Table S24. Native predictions during four goal departures. The examples are the four largest departures among 43 eligible episodes. All start within the 4 cm goal region. Three have lower predicted cost than the current state, but all four have higher realized cost after execution. These selected failure cases illustrate the discrepancy between imagined progress and physical outcome.

Training and Planning Details

This section describes how we train the motion-conditioned dynamics, proposal priors, and temporal embedding, and how we optimize and execute motion sequences.

MethodEver (%)Terminal (%)Δ (pp)
FourRoom standard
H-JEPA98.00 (±2.00)98.00 (±2.00)0.00
HWM-Macro98.00 (±2.00)98.00 (±2.00)0.00
LeWM58.00 (±7.05)58.00 (±7.05)0.00
SAGE98.00 (±2.00)98.00 (±2.00)0.00
LeFlow0.00 (±0.00)0.00 (±0.00)0.00
Hi-LeWM-C38.00 (±6.93)10.00 (±4.29)28.00
MotionPort100.00 (±0.00)100.00 (±0.00)0.00
FourRoom hard
H-JEPA41.00 (±4.94)41.00 (±4.94)0.00
HWM-Macro23.00 (±4.23)23.00 (±4.23)0.00
LeWM0.00 (±0.00)0.00 (±0.00)0.00
SAGE80.00 (±4.02)80.00 (±4.02)0.00
LeFlow0.00 (±0.00)0.00 (±0.00)0.00
Hi-LeWM-C0.00 (±0.00)0.00 (±0.00)0.00
MotionPort100.00 (±0.00)100.00 (±0.00)0.00

Table S21. Table S21. Goal attainment and final-step success: fourroom. Ever success and its SE reproduce main-paper Table 1. Terminal success tests the final execution step. Parentheses give the reported evaluation SEs; Δ = Ever − Terminal in percentage points, with rounding applied after subtraction where available.

ControllerStarts insideLeaves goalLoss rate (%)Predicts inside on a loss — MLP readoutPredicts inside on a loss — Linear readout
HWM-Macro1064542.54442
MP-noGeo1137667.31811
MotionPort4137.300

Table S23. Goal departures after success on Cube with frozen HWM. Each system has 600 planning decisions in 150 episodes. A loss starts with the real cube within 4 cm of the goal and ends with it outside after the executed prefix. The last two columns classify predicted positions with the shared MLP and linear evaluation readouts.

Frozen features, skill dynamics, and body propagation

The observation encoder is supplied by a released LeWM, HWM, or H-JEPA model and remains frozen. Hierarchical backbones use features from the active planning level with their original observation and auxiliary inputs. Each backbone uses its own feature coordinates and normalization. The comparison across frozen backbones is in main-paper § 4.5.

Action generation from the same motion code. Each training window pairs the representative body trajectory with its corresponding primitive action chunk and current body state. After fixing the motion encoder, its standardized mean code conditions both the decoder and the predictor. For the decoder, the flow-matching velocity target is the difference between the normalized action chunk and a Gaussian noise sample, with a uniformly sampled interpolation time. Integrating the conditional velocity field yields the normalized action chunk. At inference, fixed-step integration starts from zero noise, followed by inverse action normalization and clipping to the environment’s command bounds. Decoding is therefore deterministic for a fixed current body state and motion code. These numerical settings remain fixed while planning optimizes the code. The same code conditions GG directly; it is not obtained by re-encoding the decoded action trajectory.

Prefix prediction. The skill predictor uses a four-hidden-layer residual MLP of width 1,024 with SiLU activations. One shared trunk predicts visual-feature residuals at all prefixes. Inputs and residual targets are standardized with fixed training-window means and population standard deviations. The predicted residuals are transformed back and added to the current feature, so the output remains in the released encoder’s coordinates. The prediction loss is mean squared error over samples, prefixes, and feature dimensions.

The prefix set is {5,10}\{5, 10\} for PushT and {5,10,20}\{5, 10, 20\} for the other three domains. Cube and Ant use a separate residual body-state head, trained against the future body state with a standardized error weighted by 0.1. PushT propagates pusher position and velocity through its known control law applied to decoded, bounded commands. FourRoom uses no separate body-state input. These alternatives supply the predicted body state used by the next motion in the main rollout.

The main configuration learns single-skill prefix effects and recursively composes them at planning time, using predicted visual and body states. Training uses AdamW with learning rate 3×10−43 \times10^{-4}, weight decay 0.01, batch size 1,024, 500 warm-up updates, and cosine decay to 3% of the peak learning rate. We train for 100,000 updates on PushT and Ant, 60,000 on Cube, and 50,000 on FourRoom, using the final model in each case.

Conditional flow priors

Each window contributes the standardized mean code of its frozen motion encoder. The goal-conditioned prior receives the current visual feature, the current body state where used, and a future feature from the same episode. Its goal offset is sampled uniformly from LL, 3L3L, 5L5L, and the episode end; the first three offsets are clipped to the last available frame. The goal-free prior omits the goal feature. Its supervised target is the same one-skill motion code. GG connects these one-skill proposals into sequences at planning time.

Each prior is a conditional flow network with three width-256 SiLU hidden layers and a 16-dimensional sinusoidal flow-time embedding. Training uses independent Gaussian noise and uniform flow time, and regresses the noise-to-code displacement. Codes and conditioning inputs have fixed training-set normalization. Sampling uses eight Euler steps from Gaussian noise; the output normalization is inverted to recover the motion encoder’s standardized planning coordinates.

Both priors use AdamW with learning rate 10−310^{-3}, weight decay 0.01, batch size 1,024, and 30,000 updates. We use a fixed episode-level development split and evaluate its loss every 2,000 updates. The trained prior with the lowest development loss is used for evaluation. Goal-conditioned and goal-free priors are trained independently; their relative allocation within the learned component is fixed for the evaluation configuration. In the main prior comparison, the learned component and Gaussian proposals each receive half of the initial candidates. Goal-conditioned and goal-free draws use the same one-motion target and the same planning coordinates.

Temporal embedding and goal relabeling

The temporal embedding has two independently parameterized MLP heads. Each standardizes its input with training-node statistics, applies two width-256 linear layers with LayerNorm and SiLU, and outputs a 32-dimensional vector through a bias-free linear layer. Its value is the negative distance between current-state and goal embeddings. For numerical stability, the implementation evaluates −max⁡(∥ϕ(h)−ϕ(hg)∥22,10−6)-\sqrt{\max(\lVert\phi(h)-\phi(h_g)\rVert_2^2,10^{-6})}. The planner averages the two positive distances.

Temporal learning uses transitions separated by 20 environment steps. Goals are sampled as the transition’s current node, a uniformly sampled strictly later node of the same trajectory, or a random node of the same training split, with probabilities 0.2, 0.5, and 0.3. The reward is zero when the current and goal nodes are identical and −1-1 otherwise, with discount 0.99 per training edge. Transition and goal samples come from the offline training split.

Each embedding head uses its corresponding target head’s bootstrapped value as that head’s regression target. The minimum of the two targets is used only to compute the shared advantage against the mean current target value. Both heads then receive the same expectile weight: 0.95 for nonnegative advantage and 0.05 otherwise. The two weighted squared errors are summed over heads and averaged over the minibatch. Targets and advantage weights are computed without gradients.

Only the online embedding parameters are optimized.

SettingValue
OptimizerAdamW
Weight decay0.01
Minimum / maximum updates30 / 90
Early-stopping patience5 updates
Relative improvement threshold1%

caption: tbl:S25. Shared motion-sequence optimization settings. An improvement exceeding 1% in the minimum candidate objective resets the patience counter. Early stopping begins after 30 updates.

:::

Target parameters are updated after every optimizer step as

vˉ←(1−ηEMA)vˉ+ηEMAv,ηEMA=0.005.(9)\bar{v}\leftarrow(1-\eta_{\mathrm{EMA}})\bar{v}+\eta_{\mathrm{EMA}}v,\qquad\eta_{\mathrm{EMA}}=0.005. \tag*{(9)}

Training uses AdamW with learning rate 3×10−43\times10^{-4}, weight decay 10−410^{-4}, gradient-norm clipping at 1, and batch size 128. We use the final checkpoint after 6,000 training updates. Each head uses the feature coordinates and normalizer of its backbone.

The learned distance measures discounted temporal reachability at the training transition stride. Current-goal relabeling anchors the value, future and random goals supply reachability relationships, and TD bootstrapping propagates them through the observed transition graph.

Sequence optimization and execution conventions

For each planning call, the observed starting state is encoded once and held fixed during optimization. Alternating one-skill prior sampling and skill-dynamics rollout produces the initial candidates Zi(0)=(zi,1(0),…,zi,H(0))Z_i^{(0)}=(z_{i,1}^{(0)},\ldots,z_{i,H}^{(0)}). The starting observed features and all learned module weights remain fixed during this optimization.

AdamW jointly updates each candidate sequence:

Zi(r+1)=AdamW⁡(Zi(r),∇ZJi(Zi(r))).(10)Z_i^{(r+1)}=\operatorname{AdamW}\left(Z_i^{(r)},\nabla_Z J_i(Z_i^{(r)})\right). \tag*{(10)}

The optimizer’s momentum and second-moment state are initialized anew for each planning call. Gradients pass through the composed skill predictor and body-state updates. The prior is not resampled during these updates. AdamW refines unconstrained motion codes, while decoded commands are clipped to the environment bounds.

Table S25 summarizes the shared optimizer and stopping settings. The planning-budget study in Section C.6 varies candidate and update budgets while holding the trained models fixed. PushT, Cube, and FourRoom use the final optimization iterates; AntMaze uses each candidate’s lowest-cost iterate, including its initialization.

Visual and temporal goal-distance normalization constants remain fixed throughout optimization.

The objective combines goal costs along the predicted sequence with normalized predictor disagreement, as defined in main-paper Section 3.3. The two dynamics models evaluate the same motion sequence; their feature discrepancy is divided by a fixed calibration scale. When the remaining environment budget ends within a motion segment, the objective uses the latest predicted prefix within that budget.

The lowest-cost plan supplies the common first-skill subgoal. First skills from the top candidates are decoded from the same current body state and checked by the frozen native predictor, with feature and temporal projection into the planning coordinates. This check evaluates the mean squared feature distance to the common first-motion subgoal without gradients. It reselects a decoded candidate and does not run another low-level optimizer. The agent executes the selected command prefix and replans from a fresh observation.

Limitations

Dependence on the motion interface. MotionPort uses body-motion similarity to organize planning, so its benefit depends on how much physical structure the original action representation already provides. In PushT, native commands already closely describe pusher movement, and geometry regularization offers limited improvement in pairwise motion-distance alignment. Gains from individual components also vary across settings; their strongest effect comes from their combination in the planning system.

Offline coverage and temporal scoring. The learned motions, priors, and temporal embedding depend on the movements and transitions represented in the offline data. The temporal score improves global goal-distance ranking, but can remain locally misleading. Extending coverage and learning more accurate local reachability models are promising directions for more complex manipulation and navigation.

References

  1. [1]Rohun Agrawal, Nimit Kalra, Arjun Parthasarathy, Yann LeCun, Oumayma Bounou, Pavel Izmailov, and Micah Goldblum. Closing the train-test gap in world models for gradient-based planning. arXiv preprint arXiv:2512.09929, 2025. 2arxiv.org/abs/2512.09929
  2. [2]Logan Mondal Bhamidipaty, Esmeralda S. Whitammer, David Abel, Mykel J. Kochenderfer, and Subramanian Ramamoorthy. Imperfect world models are exploitable. In Advances in Neural Information Processing Systems, 2026. To appear. 2arxiv.org/abs/2605.15960
  3. [3]Niccolò Caselli, Francesco Massafra, Samuele Punzo, Salvatore Lo Sardo, Ippokratis Pantelidis, and Sathya Kamesh Bhethanabhotla. Mind the gap: Promises and pitfalls of hierarchical planning in LeWorldModel. arXiv preprint arXiv:2607.12547, 2026. 2, 5arxiv.org/abs/2607.12547
  4. [4]Letian Cheng, Qi Zhang, and Yisen Wang. SAGE: Subgoal-conditioned action generation for latent world model planning. arXiv preprint arXiv:2607.17973, 2026. 2, 5arxiv.org/abs/2607.17973
  5. [5]Joshua Cheung and Zhang He. One-step prediction fidelity is a poor proxy for planning performance in JEPA world models. arXiv preprint arXiv:2610.19375, 2026. 2arxiv.org/abs/2610.19375
  6. [6]Benjamin Freed, Siddarth Venkatraman, Guillaume Adrien Sartoretti, Jeff Schneider, and Howie Choset. Learning temporally abstract world models without online experimentation. In Proceedings of the 40th International Conference on Machine Learning, pages 10338–10356. PMLR, 2023. 1, 2
  7. [7]Hsiang-Wei Huang, Jianxu Shangguan, Junbin Lu, and Jenq-Neng Hwang. LeFLow: Generative latent flow planning for world models. arXiv preprint arXiv:2608.24855, 2026. 2, 5arxiv.org/abs/2608.24855
  8. [8]R. Khorrambakht, Joaquim Ortiz-Haro, Joseph Amigo, Omar Mostafa, Daniel Dugas, Franziska Meier, and Ludovic Righetti. WorldPlanner: Monte Carlo tree search and MPC with action-conditioned visual world models. arXiv preprint arXiv:2511.03077, 2025. 2arxiv.org/abs/2511.03077
  9. [9]Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. In International Conference on Learning Representations (ICLR), 2023. 2, 3, 4arxiv.org/abs/2210.02747
  10. [10]Lucas Maes, Quentin Le Lidec, Damien Scieur, Yann LeCun, and Randall Balestiero. LeWorldModel: Stable end-to-end joint-embedding predictive architecture from pixels. arXiv preprint arXiv:2603.19312, 2026. 1, 2, 5arxiv.org/abs/2603.19312
  11. [11]Lama Moukheiber, Haotian Xue, and Yongxin Chen. How long, not how close: A learned temporal metric for planning in latent world models. arXiv preprint arXiv:2610.04988, 2026. 2arxiv.org/abs/2610.04988
  12. [12]Seohong Park, Tobias Kreiman, and Sergey Levine. Foundation policies with Hilbert representations. In Proceedings of the 41st International Conference on Machine Learning, pages 39737–39761. PMLR, 2024. 2, 4arxiv.org/abs/2402.15567
  13. [13]Lucy Xiaoyang Shi, Joseph J. Lim, and Youngwoon Lee. Skill-based model-based reinforcement learning. In Proceedings of The 6th Conference on Robot Learning, pages 2262–2272. PMLR, 2023. 2
  14. [14]Uladlzislau Sobal, Wancong Zhang, Kyunghyun Cho, Randall Balestriero, Tim G. J. Rudner, and Yann LeCun. Learning from reward-free offline data: A case for planning with latent dynamics models. In Advances in Neural Information Processing Systems, pages 43905–43941. Curran Associates, Inc., 2025. 1, 2
  15. [15]Stephen Tian, Suraj Nair, Frederik Ebert, Sudeep Dasari, Benjamin Eysenbach, Chelsea Finn, and Sergey Levine. Model-based visual planning with self-supervised functional distances. In International Conference on Learning Representations (ICLR), 2021. 2arxiv.org/abs/2012.15373
  16. [16]Emanuel Todorov, Tom Erez, and Yuval Tassa. MuJoCo: A physics engine for model-based control. In 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems, pages 5026–5033. IEEE, 2012. 2DOI
  17. [17]Linhao Wang, Yiyan Fan, and Dongjin Huang. Not all errors matter: Decision-relevant prediction error predicts planning quality. arXiv preprint arXiv:2609.23222, 2026. 2
  18. [18]Ying Wang, Oumayma Bounou, Gaoyue Zhou, Randall Balestriero, Tim G. J. Rudner, Yann LeCun, and Mengye Ren. Temporal straightening for latent planning. In Proceedings of the 43rd International Conference on Machine Learning, pages 125168–125196. PMLR, 2026. 2arxiv.org/abs/2603.12231
  19. [19]Ruilong Yu and Fei Ye. Time-to-goal: Learned temporal metrics for long-horizon planning with JEPA world models. arXiv preprint arXiv:2611.05847, 2026. 2arxiv.org/abs/2611.05847
  20. [20]Renhao Zhang, Haotian Fu, Mingxi Jia, George Konidaris, Yilun Du, and Bruno Castro da Silva. From noise to control: Parameterized diffusion policies. In Proceedings of the 43rd International Conference on Machine Learning, pages 155532–155559. PMLR, 2026. 2, 3arxiv.org/abs/2606.00336
  21. [21]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. 1, 2, 5arxiv.org/abs/2610.06805
  22. [22]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. In Conference on Robot Learning (CoRL), 2026. 1, 2, 5arxiv.org/abs/2604.03208
  23. [23]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, pages 79115–79135. PMLR, 2025. 1, 2arxiv.org/abs/2411.04983

Paper details

vlnc:W_d8s74btv
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 5

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Codex, Claude Code

View statement
Looking for related papers…
Contents