WorksComputer Science
LeHami: Symplectic Latent Dynamics Toward Long-Horizon Rollouts in World Models
Abstract
Joint-embedding predictive architectures (JEPAs) learn world models in latent space, but unconstrained autoregressive predictors may contract the latent distribution over long rollouts. We introduce Symplectic Hamiltonian JEPA (LeHami), which replaces the standard predictor with an action-conditioned Hamiltonian flow over a structured latent state (q, p) integrated using an exactly symplectic leapfrog step. This construction preserves phase-space volume at every rollout step and rules out uniform contraction, asymptotically stable fixed points, and merging of distinct latent states, independently of the learned parameters or action sequence. We obtain the momentum-like component from temporal derivatives of the learned position-like representation, providing an explicit second-order state for prediction and control. We measure rollout collapse on the data, with four ratios of the rollout to the truth, on five environments learned from pixels: conservative and actuated pendulums, a mass-spring, a two-body system and a cart pole. With the encoder and latent state held fixed, an MLP and a transformer predictor contract the rollout on every environment, while LeHami's rollouts do not merge. LeHami is the most accurate of the three at long horizons, in position on four of the five environments and in velocity on three, while at short horizons the free predictors are more accurate on two of the five. The learned flow also integrates at unseen sub-frame step sizes and, run backward with the recorded actions, recovers earlier frames as well as it predicts later ones. LeWM, with a richer three-frame encoder of its own, is more accurate on four of the five, which suggests incorporating a richer encoder within LeHami in future work. These results show how geometric structure can provide inference-time guarantees that are complementary to representation regularization in latent world models.
Introduction
Joint Embedding Predictive Architecture (JEPA) [25] has emerged as a promising framework for action-conditioned latent world modeling. While existing JEPA formulations successfully prevent encoder collapse: mapping distinct inputs to constant representations, via training-time regularization [6] (Balestriero & LeCun 2025) or frozen backbones [3] (Zhou et al. 2024), maintaining consistent dynamics over extended evaluation rollouts remains a persistent challenge [27] (Zhang et al. 2026). Long-horizon stability is further hindered by predictor contraction: in an autoregressive rollout each prediction is fed back as the next input, so even a slight per-step contraction of the transition map compounds over the horizon and progressively shrinks the latent distribution.
Physics avoids this contraction through geometric structure. Hamiltonian mechanics governs dynamics via a single scalar , constraining conservative trajectories to energy level sets and preserving phase-space volume at every discrete step [2]. Crucially, volume preservation persists under actuation, provided the action enters the Hamiltonian. Port-Hamiltonian extensions further cover dissipative systems [29, 13] (Zhong et al. 2020), making it a physically grounded prior for latent spaces rather than an idealization. While is traditionally derived analytically [14], recent methods parameterize a learnable directly from trajectories or pixel inputs [16, 9, 37]. LeHami brings this line of work into JEPA world models learned from video under actions, to address one of their failures: the collapse of long rollouts. § 2 sets out how it differs from prior Hamiltonian models.
We propose LeHami (Symplectic Hamiltonian JEPA), a framework that embeds the latent representation space onto a symplectic manifold where evolution is driven by a learnable action-conditioned Hamiltonian flow over a canonical latent pair , where denotes the control action vector, integrated by an exact symplectic leapfrog step [19] and trained end-to-end without decoders or supervised coordinates. LeHami inherits three structural properties from the Hamiltonian flow, illustrated in Figure 1 (right):
Figure 1. LeHami: Learning symplectic world models end-to-end. Bottom left: Actuated pendulum frames and applied torque sequence (green). Upper left: Latent phase space , where transitions are generated by a learned scalar via a symplectic step. Grey lines indicate level sets; the blue curve shows the rollout. Right: Three properties of the Hamiltonian flow: (i) Volume preservation: Latent volume is exactly preserved under any action sequence. (ii) Continuous step size: integrates at arbitrary time intervals, including between observed frames. (iii) Invertibility: Integrates backward by flipping the step and replaying the actions in reverse order.
Exact volume preservation: Symplectic integration preserves phase-space volume by construction, probably eliminating some representation collapse modes during evaluation rollouts for arbitrary action sequences (Proposition 1).
Continuous-time step size: Because parameterizes a continuous vector field, a single trained model can be integrated at arbitrary step sizes without retraining, facilitating training on multi-frequency data [12] and non-uniform planning grids [34].
Invertibility given the action history: Flipping the step and replaying the actions in reverse order allows backward-in-time rollouts, serving as an essential primitive for
computing backward reachable tubes and online safety guarantees in optimal control [30, 21].
Moreover, a central objective in physical world modeling is learning representations that capture the complete physical state of an environment, especially for control tasks like object interception [24] and precision throwing (Zeng et al., 2020). In physics, uniquely determining future evolution requires canonical momentum alongside position within a structured phase space. Without this geometric prior, standard JEPA architectures with unstructured predictors resort to architectural design, such as expanding the encoder’s temporal window or context-conditioned predictors to capture velocity, lacking guarantees. In contrast, LeHami leverages this prior to model the latent space as a canonical phase space, enabling complete physical representations.
Contributions. We summarize our key contributions as follows:
Symplectic latent world model (LeHami): We introduce an end-to-end trainable JEPA framework equipped with a learned separable Hamiltonian predictor over a canonical latent split (). We prove that its volume-preserving step eliminates three specific collapse modes during evaluation rollouts across arbitrary horizons and actions (Proposition 1).
Rollout collapse, measured on the data: To our knowledge, this is one of the first works to show rollout collapse in JEPA world models with measures taken on the data. With the encoder and latent state fixed, an MLP and a transformer predictor contract the rollout on all five environments and four measures, while LeHami’s rollouts do not merge (§ 4.2).
Continuous-time & invertibility: We show that a single trained predictor acts as a continuous vector field, enabling sub-frame time integration without performance degradation, and that run backward with the recorded actions it recovers earlier frames as well as it predicts later ones.
Complete physics representation & principled planning: By construction rather than by architectural tuning, LeHami represents the full state through exact geometric structure. Across five environments, LeHami is the most accurate of the same-state predictors at long horizons in position on four of five and in velocity on three of five (the pendulums and the mass-spring), and beats chance in both on all five. It can also be used for planning, with the limits we report.
Related work
Hamiltonian learning. Hamiltonian neural networks learn from positions and momenta, measured or encoded from pixels [16]. Symplectic recurrent networks integrate a learned with leapfrog over many steps [9]. Hamiltonian generative networks infer a latent phase space from pixels and decode every step back to a frame [37]. Lagrangian networks learn the Lagrangian instead [10], and SympNets form the general class of symplectic networks that includes the leapfrog step [23]. On the DeepMind Hamiltonian Dynamics Suite, physics priors do not reliably beat generic models, while a continuous, time-reversible step helps [8]; SyMetric measures whether a model learned from pixels recovers the true dynamics [22]. The properties of the leapfrog step are classical [2, 19], and we do not claim them as new.
Hamiltonian world models. Cui & Ma [11] propose Hamiltonian World Models, a perspective that decodes predicted latent trajectories into future observations and plans over the resulting rollouts; as a position paper, it reports no experiments. Tang et al. [35] decompose the latent into a canonical and a context subspace and train it with a JEPA-style objective, and add the action as an external control term, which makes the update non-symplectic. Luan & Shi [26] use port-Hamiltonian dynamics as a structural regularizer alongside the recurrent transition of a decoder-based Dreamer-style agent [17, 18]. LeHami differs in that the action enters the Hamiltonian rather than an external control term, and every rollout step is exactly symplectic, so phase-space volume is preserved by construction, learned end to end from pixels without a decoder.
Structured predictors in JEPAs. HamJEPA [1] maps one augmented view to another with a leapfrog step of a Hamiltonian, to learn image representations evaluated by classification accuracy, with no time and no actions. LIFS-JEPA [7] refines one prediction by iterating a contractive map, where converging is the goal. In a world model each iteration is a step in time, and a contracting predictor makes distinct states merge.
Overall, LeHami brings Hamiltonian learning into JEPA world models learned from video with actions for a problem that, to our knowledge, none of these works targets: the collapse of long rollouts (Appendix § 11.§ 1).
LeHami: Symplectic Hamiltonian JEPA
LeHami makes the latent dynamics of a JEPA world model Hamiltonian. Its latent state is a canonical pair : the encoder outputs the position-like , and the momentum-like is its time derivative, obtained by zero-parameter numerical differentiation of the encoder trajectory. The predictor advances this pair by one leapfrog step of a learned, action-conditioned Hamiltonian, so every step of the rollout is a symplectic map. We first state what this structure guarantees (Proposition 1), then give the flow, the multi-step objective and the design choices.
A symplectic map preserves the canonical two-form , the oriented area spanned in each position–momentum plane (Appendix § 11), and with it phase-space volume: a cloud of latent states can be stretched, rotated and sheared by the rollout, and squeezed in some directions only if it is stretched in others: its total volume never shrinks. Constraining the predictor to be such a map therefore rules out, at every step, the contraction available to an unconstrained rollout (Proposition 1).
Proposition 1 (Symplectic volume preservation and the rollout failure modes it removes). Let be the leapfrog step of Eq. (4) for step size generated by a separable with held fixed within the step. Then is an exactly symplectic diffeomorphism of for every step size and every parameter ; it then preserves phase-space volume exactly at every horizon. Here is the integrator’s step, which equals the observation interval during training but need not at inference (§ 4.4). Consequently, three collapse modes are ruled out: uniform contraction, convergence to an asymptotically stable fixed point, and the merging of distinct states. They are stated and proved in Appendix § 12.§ 1.
Crucially, symplecticity in the latent representation space is a structural guarantee as it holds at every inference step by construction, not only in expectation over training batches. By endowing the rollout with symplectic geometry, it may also improve long-horizon consistency and planning performance. Moreover, it has certain properties, as discussed in § 1, that are of interest for many applications and that no unstructured predictor can have. We chose the Hamiltonian framework rather than the Lagrangian one; the reasons are given in Appendix § 12.§ 3.
Why a free predictor can contract. A world model is trained on short clips ( steps here) and then rolled out far beyond them, each prediction fed back as the next input. Let be the Jacobian of the one-step predictor at step . Each step multiplies the volume of a small cloud of latent states by , and two rollouts from nearby starts differ, to first order, by . An MLP or a transformer puts no constraint on , and beyond the training horizon nothing in the loss does either: a contraction of 0.99 per step is barely visible in training () and collapses a long rollout (). Encoder regularizers such as SIGReg (Balestro & LeCun, 2025) and VICReg [6] act on the encoder output, not on the predictor. A symplectic step has by construction.
Scope and limitations of the guarantee. Three immediate remarks follow Proposition 1. We state them here in short form; Appendix § 12.§ 2 gives the arguments in full. (i) Shape, not size. Volume preservation forbids the degenerate failures but it does not bound the growth of rollout error. It holds over the whole latent space, for any , trained or random, and says nothing about the thin surface the data occupy, so we measure collapse on the data (§ 4.2). Nor does it exclude a latent that does not move: a constant encoder with is a neutrally stable fixed point. (ii) Regularization is not made redundant. Symplecticity preserves volume, not distributional shape. The two act at different places: The regularizer acts on the encoder distribution in expectation over batches, while symplecticity on every inference step. (iii) No tie to the physical Hamiltonian. Nothing in training ties the latent or to the physical ones: the encoder may choose any representation in which the flow predicts well, and physical quantities are read by frozen probes. The guarantee holds for any learned .
The architecture
We train on unannotated trajectories of observations and actions . LeHami has two learned components, an encoder and a Hamiltonian flow (Ham flow) that replaces the predictor, joined by the zero-parameter Savitzky–Golay (SG) stencil ([15]) that reads the momentum off the encoder trajectory (Figure 2):
Figure 2. LeHami multi-step training. Left: at the anchor, the encoder block (Enc + SG, a Savitzky–Golay stencil) maps a window of frames, drawn here as the causal window , to the latent state . The Hamiltonian flow (Ham flow) advances it by one leapfrog step of the separable Hamiltonian , with the action entering the potential, and is applied times to its own outputs. Middle: each prediction is scored by the prediction loss (C) against the encoding of the corresponding frames, shown here for the last step . The regularizer (R) acts on the encoder’s embeddings of (blue) and (orange). Right: the encoder block as instantiated in this work: a pixel encoder (Enc) outputs , and a fixed Savitzky–Golay stencil (SG) derives from .
where is a window of that includes ( reads alone; Appendix § 13.§ 2). The flow advances the state by one step of Hamilton’s equations for a learned scalar ,
and and are trained end-to-end by backpropagating through the rollout, so the encoder is shaped to produce latent states that admit this structured evolution.
The integration. In principle, different integration techniques can be used. We leverage the leapfrog (Störmer–Verlet) integrator ([19]), which is second-order accurate and, crucially, exactly symplectic. For a separable Hamiltonian
the update over a time step is
where is learned and absorbs the relative scale of and , which the self-supervised objective leaves undetermined. Because is a constant linear rescaling, the flow remains exactly symplectic.
Action-conditioned Hamiltonian. Under actuation the controller does work and is no longer constant, but symplecticity is a property of the map. We condition the potential on the action so and the generalized force is a -gradient for every action by construction. Separability is untouched and the leapfrog of Eq. (4) stays exactly symplectic for every action sequence, provided only that is constant within a step.
Multi-step learning. We consider multi-step prediction over a -step horizon by iteratively applying the Hamiltonian flow. The loss is the average MSE across the trajectory. Given an anchor of time steps used to form the embedding of the first time step of the episode, and self-fed leapfrog steps, the loss is
where the first term is the prediction loss in the position-like embedding, the second is the prediction loss in the momentum-like embedding weighted by and the last term is the regularizer, which, in principle, can be any (e.g., SIGReg (Balestriero & LeCun, 2025}) and it can be applied to the embeddings and independently, to only , or to both embeddings concatenated. It acts on ground-truth embeddings, never on the rollout. We compare the performance across the three placements in Table 12 in Appendix § 14.§ 3.
| window | SIGReg | within-episode % | std() | std() | std()/std() |
| joint | 1.356 | 0.006 | 0.0043 | ||
| q | 0.980 | 0.101 | 0.1031 | ||
| split | 1.174 | 0.236 | 0.2014 | ||
| joint | 1.405 | 0.051 | 0.0362 | ||
| q | 0.979 | 0.051 | 0.0519 | ||
| split | 1.124 | 0.201 | 0.1784 |
Table 12. Within- versus between-episode variance of the encoder’s latent coordinates, by SIGReg placement. For each latent dimension, is the mean squared deviation of an episode’s trajectory about its own mean and is the variance of those per-episode means; the column reports , averaged over dimensions. A value near zero means the latent is an episode identifier rather than a state. Measured on the encoder’s own latents (gt_q, gt_p) over the test episodes at a common horizon ; mean standard deviation over three training seeds. Bold marks the largest within-episode share per window. The unstructured baseline attains 42.8% on this measure but cannot be tabulated here, as its evaluation path stores latents only at .
Design choices. The shape of . While the core LeHami framework is general and agnostic to the choice of Hamiltonian, in this work we adopt a separable structure. This design choice enables fast, explicit leapfrog integration without requiring iterative numerical solvers. The guarantee is not specific to separable : for a non-separable Hamiltonian, e.g., exact symplecticity is retained by replacing leapfrog with a non-separable symplectic integrator (Tao, [36]). How is obtained. We enforce the canonical relation by computing as the temporal derivative of generalized coordinates via a fixed Savitzky–Golay (SG) stencil (Gorry, [15]) on the encoder trajectory. This is a least-squares quadratic fit over that is then differentiated at time step . The stencil is linear with constant coefficients, so it adds no learned parameters and cannot itself collapse. Computing as assumes unit mass. A mass that is constant within an episode, possibly different between episodes, is absorbed by the encoder through a stretched coordinate ; a mass that depends on the configuration, , is not, and the cart pole of § 4 tests that case. More details in Appendix § 12.§ 4.
Empirical validation of LeHami
We evaluate our approach on five environments rendered as RGB images. In the conservative pendulum there is no actuation, and episodes vary across three rod lengths. In the actuated pendulum, a recorded sequence of scalar torques , drawn uniformly, does work on the system, so energy is no longer conserved; episodes vary across the same three rod lengths and three masses, since under actuation the mass sets the response to the torque. In both environments the true dynamics preserve phase-space volume, which is the property LeHami builds in; the actuated pendulum tests it once energy conservation no longer holds. Appendix § 13.§ 3 describes each in full (Figure 3). To test beyond the pendulum, we add the mass-spring and the two-body system of the DeepMind Hamiltonian Dynamics Suite (Botev et al., [8]), and a cart pole with Gymnasium’s physics and no force (Towers et al., [38]). The cart pole has two degrees of freedom and a mass that depends on the pole angle, so it breaks the unit-mass assumption of § 3. Appendix § 13.3.3 describes them.

Figure 3. The two pendulum environments. Top: the conservative pendulum, with no actuation. Bottom: the actuated pendulum. Beneath each row is its respective torque , drawn as the piecewise-constant signal, held constant for three frames.
Experimental setup
Methodology. LeHami is designed as a drop-in replacement for the predictor of a JEPA world model, so we compare against LeWorldModel (LeWM) (Maes et al., [27]), the state-of-the-art among JEPA world models trained end-to-end from pixels, which reported gains over PLDM [33] and DINO-WM (Zhou et al., 2024). LeWM’s predictor is unstructured: a causal transformer that takes three context embeddings to predict the next one. LeHami is encoder-agnostic and it replaces only this predictor, plus the fixed Savitzky–Golay (SG) stencil that computes (§ 3). The main text uses a temporal ConvNet [39] (Appendix Fig. 6) and Appendix § 14.§ 2 repeats the comparison with a tiny ViT [40]. Moreover, LeHami is plugged on top of a frozen pre-trained encoder with DINOv2 features [32], yielding DINO-LeHami. We do not compare against reward-driven agents such as Dreamer [17] or TD-MPC [20] variants, since they require task rewards whereas our setting, like LeWM’s, is reward-free, goal-conditioned planning. More details on methodology in Appendix § 13.§ 1.
Same-state controls. To separate the Hamiltonian step from the augmented state, we keep LeHami’s encoder (the per-frame ConvNet), state , losses, regularizer and 8-step training rollout, and replace only the predictor: an MLP with the same number of parameters as LeHami’s flow, and by LeWM’s transformer, both with the same augmented state as LeHami. LeWM with its own state, from one frame (the baseline above) or three, is compared in Appendix § 14.§ 5. Results are over three training seeds, next to two baselines that use no model: repeat the start, and predict the mean.
Probing. The pendulum’s state is fully described by the angle and the angular velocity , and we score their prediction along the rollout by MAE against ground truth; for we use MAE rather than , whose normalising variance is undefined on the circle. Three probe tiers of increasing capacity read the latent: a ridge, a -NN () and a two-layer MLP. Each is fitted once, either on the encoder’s own features (the anchor, ) or on the model’s one-step output (), and applied frozen. We report the results in the test split of episodes. The -NN fitted at puts the models on equal footing because LeWM’s encoder is per-frame, and only its predictor sees more than one time step. We use it throughout the main text. On the other three environments it reads the position and the velocity: and for the mass-spring, the position and velocity of a body for two-body, and the pole angle and its rate for the cart pole.
Rollout collapse, measured on the data
Proposition 1 holds over the whole latent space, for any learned , trained or random. The data, however, lie on a thin surface inside it, with as many dimensions as the physical state, and a map that keeps the total volume could still squeeze that surface while stretching other directions. We therefore measure collapse on the data, with four ratios of the rollout to the truth (the encoder’s latents of the true frames at the same step). Each is 1 when the rollout keeps the true geometry and below 1 when it contracts: the distance between rollouts started from different frames; the tangent area, how much the rollout stretches a small patch of the data surface compared with the true motion; the spread of the cloud of all rollout states; and its effective rank (Appendix § 13.§ 4.2).
Table 1 shows that both free predictors contract the rollout on every environment and on all four measures. Figure 4 (right) shows how this builds up on the conservative pendulum: the distance between rollouts falls steadily with the rollout step for the two free predictors, while LeHami’s stays at 1. LeHami’s rollouts never merge, but they are not exact: past the 8 trained steps they drift (values above 1), and on two-body and the cart pole they squeeze some directions while stretching others, keeping the total volume; their distance and spread stay above 1 there, so the rollouts move apart, not together. On the cart pole (tangent area 0.58) the mass depends on the pole angle, so is not the true momentum and the true motion does not keep volume in LeHami’s coordinates, which a volume-preserving step cannot follow. On two-body (tangent area 0.94, rank 0.83) the learned energy does not match the physical one at 0.2 s per frame, and the rollouts drift along the orbit. LeWM on its own state, and all four measures against the step, are in Appendix Fig. 8. A probe’s squared error can be written as offset, amplitude and loss of correlation (Appendix E.4). On the mass-spring, collapse (the amplitude term) is 79% and 83% of the free predictors’ position error (5% for LeHami; Table 22). On the other environments their error is mostly loss of correlation, which LeWM on its own state also shows without contracting. With the same and an explicit Euler step, the rollouts expand (distance 1.71) and the angle error reaches chance by (1.29 against 0.46; Table 23): the gain needs the symplectic step.

Figure 4. Prediction performance during conservative pendulum rollouts. Wrapped MAE of (left) and (middle) across the test rollout steps (). 25-NN probe fitted at and frozen; shaded: s.d. over three seeds. All three models share the encoder and the state [q, SG(q)]; only the predictor differs. Dotted: chance (the better of repeating the start and predicting the mean). (Right) Median distance between rollouts started from different test frames, over the true distance between the same frames (1, dotted, means no contraction). The two free predictors contract steadily; LeHami does not. LeWM with its own embedding and the other environments are in Appendix Figs. 8 and 18.
Evaluating Complete Phase-Space Physics Capture
The state of a mechanical system is position and momentum, so a world model scored on position alone is tested on half of it. We probe both, position and velocity, at the anchor and along the rollout; LeHami’s latent carries velocity by construction, which a per-frame baseline cannot.
On the conservative pendulum, at the anchor, the KNN probe reads the angular velocity significantly better (see the anchor row in Table 10). One image does not show motion, so a per-frame encoder, as in baseline, cannot supply it. While LeHami also encodes per frame, it reads velocity from the Savitzky–Golay channel, which does not require any training. During rollout, Figure 4 compares LeHami with the two predictors given the same state, so only the step differs. From on they are no better than chance, while LeHami stays below it in angle up to ; the right panel shows their rollouts contract. LeWM on its own state does not contract, yet its error also grows: its predictions keep the true spread but lose track of the true state (Appendix § 14.§ 4). The learned makes that each rollout stays on its own level set of , as the true energy confines the physical system, while LeWM’s rollouts cross them (Appendix Figs. 11–12).
| band | LeHami | LeWM | ratio | LeHami | LeWM | ratio |
| \multicolumn{3}{c}{MAE [rad, wrapped]} | \multicolumn{3}{c}{MAE [rad/s]} | |||||
| – | 0.107 | 0.100 | 0.93 | 0.364 | 1.020 | 2.80 |
| – | 0.225 | 0.287 | 1.27 | 0.669 | 1.169 | 1.75 |
| – | 0.596 | 0.981 | 1.65 | 1.534 | 2.331 | 1.52 |
| anchor (), from the frozen encoder features: | LeHami +0.975 | LeWM | ||||
| same anchor, LeHami read by the linear tier: | ridge +0.448, against the 25-NN’s +0.975 above |
Table 10. Performance in physics prediction of the conservative pendulum. Wrapped MAE of angle and predicted by the -NN probe (with ) fitted on each model’s own output and applied frozen along the rollout, averaged over the rollout band. Ratio is LeWM ÷ LeHami, so favours the LeHami.
This advantage does not come from a larger model or a larger training budget: LeHami has lower and error than LeWM at every matched training budget, over three seeds; its checkpoint at 0.75 PFLOP is on par with LeWM’s at 6 PFLOP (0.30 against 0.33 rad) (Appendix Table 7). The advantage also holds with a frozen pre-trained encoder: DINO-LeHami outperforms DINO-WM (Zhou et al., 2024) (Appendix Fig. 13).
Five environments. Table 2 extends this to all five environments. Given the same state, LeHami is the most accurate of the three predictors in position on four of five, and beats both baselines in position everywhere. In velocity, LeHami is the most accurate on the pendulums and the mass-spring; on two-body and the cart pole the free predictors are as accurate or better, and on the cart pole the probe reads poorly even before any rollout. LeWM with a three-frame state, fully learned, is more accurate on four of five (Appendix § 14.§ 5); combining it with a predictor that does not collapse is natural follow-up work. The gain depends on the horizon: at the free predictors are more accurate on the actuated pendulum (angle 0.20 and 0.26 against 0.32 rad, only on episodes that go over the top; Table 24) and the cart pole. On two-body at the suite’s 0.05 s per frame LeHami fails ( position 0.47 against 0.05 to 0.09); its 8 training steps cover 1 to 6% of an orbit, too little to learn the force (Appendix Table 21).
When incorporating actions. The actuated pendulum shows the same pattern at the anchor. Across three probe tiers (Appendix Table 11), LeHami’s velocity is decoded well by the non-linear probes while LeWM’s stays below the predict-the-mean floor; LeWM decodes more accurately, a gap that narrows with probe capacity. As on the conservative pendulum, a per-frame encoder carries no velocity, while LeHami reads it from the SG channel (Appendix Fig. 9). Along the rollout these advantages decay (Appendix Fig. 16): LeHami’s in velocity by , once LeWM’s predictor has seen enough frames to infer motion, and LeWM’s in by ; at , LeHami’s angle error is 0.91 rad against 0.98 for LeWM (Appendix § 14.§ 5).
LeHami is a world model with time re-stepping and invertibility
LeHami runs at any rate, and in either direction, because is a continuous-time vector field. We showcase this capability by holding the learned fixed and integrating it at , taking sub-steps per observed frame, and compare against a Runge–Kutta integration of the true ODE from the same initial condition. Refining below the observation rate leaves the predicted trajectory invariant (Figure 5 left); coarsening breaks it, as an explicit symplectic integrator leaves its stability band. The same structure makes the step invertible given the action history: running it with and the recorded actions in reverse order undoes the rollout for any learned , which we check in floating point as an implementation test (round-trip error below after 30 steps). What depends on the learned is whether the backward rollout lands on the true past. From a mid-episode frame of a held-out episode, we run the step backward with the actions that drove the earlier frames, and score it against the true earlier frames (Figure 5, right). On both pendulums the backward rollout recovers the earlier angles as well as the forward one predicts the later ones, and both stay well below chance up to 20 steps, under actuation too. A free predictor has no backward step.

Figure 5. The learned flow behaves like a continuous-time vector field, and runs backward to the true past. Left: MAE of integrated with step sizes never seen in training (to the ground-truth from the integration of the ODE), conservative pendulum. The model is trained only at s; halving and quartering the step (2 and 4 sub-steps per frame, respectively) traces the same trajectory, while doubling it breaks. Right: MAE of after steps forward (solid) and backward with the recorded actions (dashed), from mid-episode frames of held-out episodes, conservative (teal) and actuated (purple) pendulums; MLP probe, three seeds. Dotted: chance (Appendix § 14.6).
LeHami can be used for planning
We also plan with LeHami on the actuated pendulum, with CEM under a budget of 15 TFLOP per episode (Appendix § 13.§ 4.3). Its predictor is cheaper per step (2.23M against 3.31M parameters), so within the budget it can replan more often, and it represents the sign of the velocity by construction, which a LeWM encoder with a tied temporal kernel cannot. It does not yet reach goals better: LeWM has the highest success on every clause, from one frame on the angle and from three frames with an untied kernel on the velocity and on both (Appendix Table 6). Planning backward from the goal could help close this gap.
Conclusion
We introduced LeHami, a predictor for latent world models whose exact symplectic step preserves volume, which provably eliminates some rollout collapse modes, and integrates in continuous time, invertibly given the action history. On five environments and four measures taken on the data, with the same encoder and state, an MLP and a transformer predictor contract long rollouts while LeHami’s do not merge, and LeHami is the most accurate of the three in position at long horizons on four of five, but not at short horizons on two of five. Run backward with the recorded actions, it recovers the true past.
Limitations and future work. First, strongly dissipative systems (e.g., heavy friction) contract phase-space volume, which a volume-preserving step cannot follow; port-Hamiltonian extensions (Appendix C.4) are a natural direction for future work. Our experiments use simulated video of physical systems; extending them to contact, real video, observation noise, encoder error and complex actuation (e.g., LeWM’s Push-T) is the next step. Second, our is separable with a mass that is constant within an episode; on the cart pole, whose mass depends on the configuration, LeHami is less exact, and on two-body at the suite’s 0.05 s per frame it fails (Appendix § 14.§ 4). Third, the volume guarantee does not bound the error, and planning does not beat LeWM yet. Finally, a learned momentum could combine a richer encoder’s accuracy with rollouts that do not collapse.
AI USE STATEMENT
AI was used for the writing of some parts of the manuscript and for some parts of the code development used to run the experiments. Moreover, AI was used to check the proof of Proposition 2. The authors take full responsibility for the scientific contributions and all written content.
ETHICS STATEMENT
This work aims to advance fundamental machine learning research, specifically in the domain of world models. As foundational research, we do not foresee any immediate societal impacts associated with this work.
ACKNOWLEDGEMENTS
R.Y. thanks Alfredo Canziani for his guidance and feedback throughout this work, and Helmut Katzgraber for his insights during the planning of the project.
REPRODUCIBILITY STATEMENT
The claims of this paper are supported by the appendices and by the code release at https://github.com/rominay/LeHami. Theory. Proposition 1 is stated with its assumptions in § 3 and proved in full in Appendix § 12.§ 1; Appendix § 12.§ 2 sets out what the guarantee does and does not imply. Models and training. What is held fixed between LeHami and the baselines, and how checkpoints are selected, is in Appendix § 13.§ 1. The architecture as implemented and the parameter counts measured from the checkpoints are in Appendix § 13.§ 2 and Table 8, and the remaining design choices (the SG stencil, the scale gauge and the SIGReg placements) are in Appendix § 12.§ 4. Every trained model corresponds to one configuration file in the release, which fixes all its hyperparameters, and the resolved configuration is saved with each checkpoint. The third-party code we build on is pinned to the exact commits we used. Data. All five environments are specified by their equations of motion, rendering and generation parameters in Appendix § 13.§ 3 and Appendix § 13.3.3. The episode-level train/validation/test protocol, including the generator seed and the check that no episode is shared across splits, is in Table 4. The release contains the seeded generators and the split manifests that training and evaluation both read, and each manifest records the hash of the dataset file it was cut from, so a regenerated dataset can be verified. Evaluation. The probes are described in Appendix § 13.§ 4.1, and the planning protocol, with its goal construction, CEM optimiser, leakage checks and success criterion, is in Appendix § 13.§ 4.3. Results are reported as the mean and standard deviation over three training seeds unless stated otherwise. Code. One runner script per experimental block trains and evaluates every model and seed reported in the paper, and the planning and compute analyses reuse its checkpoints. The notebooks regenerate the figures and tables from the frozen numbers shipped with them, without a GPU, the datasets or retraining.
| conservative pendulum | actuated pendulum | |
| episodes used | 300 | 900 |
| frames per episode | 80 | 80 |
| 0.10 s | 0.10 s | |
| split, in episodes (train / val / test): | ||
| episodes | 210/45/45 | 630/135/135 |
| design cells | 3 rod lengths | 9 (3L 3m) |
| episodes per cell | 100 | 100 |
| train episodes per cell | 70 | 70 |
Table 4. The two pendulum environments and their episode-level splits. Both use the same protocol, described in Appendix § 13.§ 3.
| Model | Total | Encoder | Predictor | Projector | Pred. proj. |
| LeHami | 3.03 | 0.315 | 2.234 | 0.465 | — |
| LeWM | 4.44 | 0.315 | 3.310 | 0.530 | 0.268 |
| LeWM | 4.45 | 0.318 | 3.310 | 0.530 | 0.268 |
Table 8. Parameter counts of the models trained on the conservative pendulum environment. The values are shown in millions, measured from the checkpoints. The predictor is where the two families differ: LeHami’s separable Hamiltonian flow ( MLPs, hidden_dim = 1024) against LeWM’s 6-layer autoregressive transformer. pred. proj. is LeWM’s predictor projection head, which LeHami has no counterpart for; the encoder and the latent projector are matched across families, and the encoder adds only 3k parameters over .
Appendix organization
Appendix B collects the background on the Hamiltonian mechanics we use, including phase-space density and the symplectic form, and compares LeHami with prior Hamiltonian models (§B.1). Appendix C contains the theory: the formal statement and proof that the leapfrog step is exactly symplectic (§C.1); the scope of that guarantee, in three remarks on what volume preservation does and does not imply (§C.2); why we build on the Hamiltonian rather than the Lagrangian formulation (§C.3); and the design choices in the flow and the encoder (§C.4): the shape of the Hamiltonian, the SG stencil and its causal and centred windows, why no mass is learned, the learned scale gauge, and the SIGReg placements. Appendix D gives the experimental set-up in full: what is held fixed across models and how checkpoints are selected (§D.1); the implementation of LeHami (§D.2), covering the Hamiltonian flow, the per-frame and temporal encoders, the stencil at training and inference, and an extension to training across recording rates that the architecture supports but that we do not exercise here; the five environments and their split protocol (§D.3); and the evaluation, namely the probes (§D.4.1), the four measures of collapse (§D.4.2) and the planning protocol (§D.4.3), with its goal construction, the frames each latent state is read from, the optimiser, the leakage checks and the success criterion. Appendix E reports supplementary results. It first shows that the Hamiltonian structure replaces manual design choices at lower training compute and without extra parameters (§E.1). It then gives the full results on the conservative pendulum (§E.2): the geometry of the latent space against the learned and physical energies, rollout prediction across probe tiers, independence from the encoder with a frozen DINOV2, and the phase-space volume of the one-step map. Finally, it gives the full results on the actuated pendulum (§E.3): the learned energy under actuation, where to apply the regularizer, rollout prediction, how a temporal window in the encoder captures velocity, the goal distribution, the planning compute, a decomposition of the velocity clause of the planning criterion into speed and direction, and the prediction of the rod’s length and mass. It ends with the physical errors on all five environments (§E.4), LeHami against LeWM with its own state (§E.5), the backward rollout (§E.6), the mass carried by the rollout (§E.7) and further controls (§E.8).
Background in Hamiltonian mechanics
A physical Hamiltonian system with degrees of freedom evolves on a phase space , coordinated by generalized positions and conjugate momenta [2]. Its evolution is generated by the Hamiltonian, which is a scalar function that represents the system’s total energy, through Hamilton’s equations
The two main consequences of this that we use in this work are the following. The flow of Eq. (6) is symplectic: it preserves , and hence the phase-space volume due to Liouville’s theorem [2]. Thus, a phase-space density is transported without distortion, with the Poisson bracket.
Phase-space density. Rather than a single initial condition one works with a density normalised to unit mass. Its evolution obeys the Liouville equation , where . Equivalently : the density seen by an observer moving with the flow is constant, so the flow is an incompressible deformation of phase space.
Symplectic form. The two-form is closed and non-degenerate, and the Hamiltonian flow preserves it exactly. The wedge product records oriented area in the plane and changes sign under exchange of its arguments, which is the canonical asymmetry between position and momentum. Preservation of implies preservation of the volume form (Liouville’s theorem): a cloud of initial conditions may stretch, rotate and shear, but its volume is invariant. For particles the form extends additively, , and the statement holds on the full -dimensional space.
Comparison with prior Hamiltonian models
Table 3 sets LeHami beside the models of § 2. LeHami brings Hamiltonian learning into JEPA world models: it learns from video without a decoder, puts the action in the potential, obtains as the time derivative of , and is rolled out far past its training horizon. The properties of the leapfrog step itself are classical and shared with SRNN, HGN and HamJEPA.
| HNN | SRNN | HGN | HamJEPA | LeHami | |
| learns from | states, or pixels | states | pixels | static images | video |
| decoder for pixels | no | yes | no | no | |
| actions | no | no | no | no | yes, in |
| rolled out in time | yes (RK45) | yes (leapfrog) | yes (leapfrog) | no (two augmented views) | yes (leapfrog) |
| momentum | given, or encoded | given | inferred by the encoder | half of the latent | , time derivative of |
| volume kept at every step | no | yes | yes | within one prediction | yes, any horizon and actions |
| evaluated by | state error, energy | state error | pixel error, energy | classification | physical state from probes, collapse on the data |
Table 3. LeHami beside prior Hamiltonian models: HNN (Greydanus et al., [16]), SRNN (Chen et al., [9]), HGN (Toth et al., [37]) and HamJEPA (Alvarez, [1]). Rolled out in time: the step is applied to its own output, one step per observed frame. Volume kept at every step: the discrete step used at inference is exactly symplectic.
Theory
Symplecticity of the leapfrog step: formal statement and proof
Proposition 1 is stated in the main text in geometric terms. Here we give the regularity hypotheses, render the three consequences in explicit form. Throughout, and
A map is symplectic if for every , where denotes the Jacobian of at , i.e., .
Proposition 2 (Formal form of Proposition 1). Let and , and let be the leapfrog step of Eq. (4) generated by with the control held fixed within the step. This means that the leapfrog step can be written as with
Then is a diffeomorphism of that is exactly symplectic, which means that
for every step size , every control and every parameter . Consequently , Lebesgue measure volume on is -invariant, and for every horizon the three below conditions are met:
(i) (no uniform contraction) the singular values of with satisfy , hence at every ,
(ii) (no asymptotically stable fixed point) admits no asymptotically stable fixed point, where “asymptotically stable” means: a fixed point that is Lyapunov stable and attracts every point of some open neighbourhood of itself;
(iii) (no merging) is a composition of diffeomorphisms, hence itself a diffeomorphism of , in particular injective. Consequently, if then for every : two latents that differ at the anchor remain distinct at every horizon.
Proof. We start by showing that each of the half-steps are symplectic shears. For this, we fix and from Eq. (7) we compute their Jacobians as
which are well defined and continuous since . Both are unipotent block-triangular, so . By Clairaut’s theorem, the regularity implies that the Hessians and are symmetric. This symmetry gives and . Thus, both maps are symplectic. Separately, each map has an explicit global inverse: and . Hence and are diffeomorphisms of . Together, these facts show that both maps are exactly symplectic diffeomorphisms with unit Jacobian determinant, for every , and .
Now we show that these properties survive composition: given diffeomorphisms of , exactly symplectic, thus is. The chain rule shows that , and . Thus, a composition of diffeomorphisms is a diffeomorphism.
With these two properties we can affirm that is thus diffeomorphism of and exactly symplectic. Likewise, every iterate ( times) is a composition of diffeomorphisms of , exactly symplectic. Thus, also is, with , for every , , , . With this, the proof for the three conditions are straightforward.
Proof of (i). for any square matrix . By taking and using , it follows that , which means that at every .
Proof of (ii). Suppose is an asymptotically stable fixed point of , attracting an open neighbourhood . Choose a closed ball with . Lyapunov stability and attraction imply uniform convergence on : for any , stability gives an open neighbourhood of whose forward iterates stay in . Each point of enters after finitely many steps; by continuity, a neighbourhood of that point enters at the same step. Compactness gives a finite cover of by such neighbourhoods, so taking the largest of their entry times gives such that
::: Volume preservation then gives
where is the volume of the unit ball in . Letting yields a contradiction. Hence no such fixed point exists.
Proof of (iii). As shown, is a diffeomorphism of , which means bijective, and hence injective. As a consequence, for every .
Scope and limitations of the guarantee
Remark 3 (Shape, not size). A cloud that cannot be squeezed can still be sheared and stretched arbitrarily, so symplecticity places no bound on the growth of rollout error and does not make the rollout accurate. What it removes is the degenerate failure in its three forms: the rollout that shrinks in every direction at once, the one that settles onto an attractor and stops moving, and the one that merges states which started apart.
An unconstrained predictor is under no such constraint, and the one-step objective pushes it the other way. Under any observation or latent noise, the minimiser of is the conditional mean , which averages away whatever the anchor leaves undetermined: it contracts volume, and it sends latents that differ only in the averaged-out directions to a common image. Volume loss and merging are therefore the trained optimum for such a map and iterating it drives the rollout onto exactly the attracting set the proposition forbids for . The proposition says the Hamiltonian rollout cannot enter that regime at any step size , any parameter or any horizon.
Remark 4 (Regularization is not made redundant). Proposition 1 states that the flow carries phase-space volume exactly and its does not state nothing about the shape of the distribution that volume belongs to. Due to this, regularization techniques are not made redundant. In this work, we leverage the SIGReg ((Balestriero & LeCun, 2025)) as regularizer, as it is the one used in LeWM and has shown state-of-the-art performance ([27]). For the isotropic Gaussian installed by SIGReg at the encoder to be invariant under the flow, the radius would itself have to be a conserved quantity of the generator, that is . This is a genuine restriction: it is a functional constraint on , not a consequence of symplecticity, and a general learned Hamiltonian, which is action-conditioned, and parameterised by free-form networks as we do here, has no reason to satisfy it.
The two mechanisms are therefore complementary rather than substitutes. SIGReg shapes the encoder distribution, during training and in expectation over batches, which is where a collapse of the representation would originate. Symplecticity carries the volume of whatever distribution it is handed, at every inference step and for every input, which is where an iterated map would otherwise contract or explode.
Remark 5 (Geometric prior, no physical modeling). We are not modeling the physics of the observed system. is never fit to a known Hamiltonian and is not claimed to recover one: the true equations of motion enter only as evaluation targets for frozen read-out probes, never as a training signal. This is the point of departure from Hamiltonian neural networks ([16]) and SRNN ([9]), where the learned is a surrogate for the physical Hamiltonian and recovering it is the goal.
The prior models the latent representation space. Writing for the maps a JEPA predictor may realize, we restrict it to the symplectomorphisms reachable as one leapfrog step of a learned separable generator ; the content of that restriction is geometric (Proposition 1), and it governs the dynamics, or evolution, latent space. The canonical split is structural in the same sense: the encoder emits with and the flow operates on that split by construction, but is not assumed to encode position, nor momentum, in any observation-space sense.
Why Hamiltonian and not Lagrangian
The two formalisms describe the same mechanics in different coordinates, so the choice is made on what each buys a predictor, and two things separate them here. First, the guarantee we rely on is a statement about phase space: symplecticity, and the volume preservation it implies (Proposition 1), are properties of a flow on and have no equally cheap counterpart on the tangent bundle where a Lagrangian lives. Second, the Euler–Lagrange equations are second order in while Hamilton’s equations are first order on phase space and a separable makes the leapfrog step explicit, which is what keeps the map exactly symplectic at any rather than approximately so. Lagrangian neural networks [10] learn the Lagrangian directly; they keep energy but have no counterpart of the volume guarantee for the rollout map.
Design choices in the flow and the encoder
The shape of the Hamiltonian. In principle, there are multiple ways to structure the Hamiltonian. The simplest Hamiltonian is a separable one, where the kinetic term depends only on the momentum-like coordinates and the potential term depends only on the position-like coordinates and the action. This is a common choice in classical mechanics, and it allows for efficient integration using the leapfrog method, as discussed before. In this work, we focus on separable Hamiltonians, but more general forms can be considered as well.
We consider an action-conditioned Hamiltonian parametrized as , where the action represents an external control input that influences the evolution of the latent state. This can be interpreted as inducing an action-dependent vector field, where the action modulates the dynamics through the Hamiltonian. We condition the potential on the action:
so that the generalized force is and the dynamics remain in strict Hamiltonian form for every fixed action.
Let the action be piecewise constant, taking value on step , and write . Decompose the change in the Hamiltonian across a step into the part due to the action changing and the part due to the flow,
where is the work performed by the change of action, which is a physical transfer of energy that any actuated model must reproduce, and is the integrator residual. Summing, , so the model’s energy tracks the accumulated work up to .
Placing the prior on the latent map rather than on the observational world (see Remark 5) does not make it vacuous. If the observed dynamics contract phase-space volume, no dimensionally-matched re-coordinatization admits a symplectic latent map that reproduces them. While an overparameterized symplectic space could theoretically embed volume-contracting data by expanding orthogonal auxiliary dimensions to satisfy Liouville’s theorem, doing so forces the model to learn unphysical, exponentially diverging latent variables. Without such artificial dimensional expansion, dissipation is the primary property of the observed system that a purely symplectic representation cannot absorb.
Because both systems studied in this work preserve volume, we leave dissipative modeling to future work. This extension takes the same structured form as the rest of the model: introducing a learned matrix into the momentum equation, which is positive semi-definite by construction so that it can only dissipate, smoothly recovering the symplectic model at .
The encoder and the SG stencil. Our proposal to model the dynamics in the latent representation space with a Hamiltonian flow is independent of the encoder architecture. However, in the self-supervised setting, the embeddings are being learned, together with its Hamiltonian evolution. For this reason, the encoder has to be sufficiently expressive to encode canonical coordinates. Encoding is not just separating the embeddings as , in which we just split the embedding into two.
We enforce and to be canonical by enforcing that the momentum-like coordinates are the time derivative of the position-like coordinates ( with unit mass). This is a common assumption in classical mechanics, where the momentum is defined as the derivative of the Lagrangian with respect to the velocity. We can enforce this by making the encoder produce the momentum-like coordinates as the differentiation of the position-like coordinates. Specifically, we can do this with numerical methods. In this work, we use a Savitzky–Golay filter [15] to first approximate the position-like coordinates with a polynomial and then compute the momentum-like coordinates as the derivative.
Concretely, is a fixed linear functional of the encoder trajectory around frame . We fit a quadratic in time to the encoded positions in a window by least squares whose coefficients are fixed in closed form by the window offsets and polynomial order alone. The least-squares fit sees the encoder values only as its right-hand side, never in its design matrix. Then, its derivative is evaluated at , which for a fixed window is a constant stencil. Three properties of this choice matter. The estimate is at frame rather than half a step behind it, unlike a backward difference, so and refer to the same instant and the pair is canonical in the only sense we can enforce. The stencil is linear in the encoder output with constant coefficients (i.e., no training involved), so it adds no parameters and cannot itself collapse: whatever the momentum block carries, it carries because the encoder trajectory moves. And a least-squares fit over several frames attenuates the high-frequency amplification that differentiation applies to a noisy signal, which a two-point difference does not, at the price of a truncation bias.
At the rollout anchor, in training and at inference alike, we use a four-frame causal window, since a centred window would read the frames the model is about to predict; the flow then evolves with no further stencil. The momentum targets used in training are computed with a five-frame centred window, , on the encoded ’s. The causality constraint does not apply to the targets: they are read off the encoder trajectory only to be compared with the rollout, never fed into it, so frames on both sides of are available and using them leaks nothing. Given that choice, the centred window is the better estimator on both counts of the bias–variance trade-off above. Its weights, , are antisymmetric in time, which cancels every even-order error term, so the truncation bias starts at with no term, against plus a term for the four-frame causal window. It also amplifies independent per-frame encoder noise 24.5× less (a variance gain of against 2.45). Since the targets enter the loss at every rollout step, a noisier target would inject that variance into every gradient. The antisymmetry has one further consequence: reversing time maps exactly, the transformation law of a momentum under time reversal, which a one-sided window does not satisfy.
Why there is no mass. In classical mechanics the momentum is and the kinetic energy is , so a physical model must know the mass matrix . LeHami learns no mass, and the reason is the stencil: defining already fixes in the learned coordinates. To see it, combine the definition with Hamilton’s first equation, . On the data, a flow that reproduces the encoder trajectory must satisfy
and integrating in gives
the kinetic energy of unit mass, whatever is. A learned would therefore be redundant rather than missing. For a system of constant mass the encoder can absorb through the linear re-coordination , under which becomes ; this is a case of the latent-map freedom of Remark 5. For one degree of freedom with the stretch (for the pendulum, ), whose momentum carries the same kinetic energy with unit mass. The stretch may differ between episodes: on the actuated pendulum the encoder sees the mass in the frame (the bob is drawn larger), so one model learns from episodes with different masses, and the mass stays readable from the rollout (Table 20). What it needs is a mass that is constant within an episode. A configuration-dependent cannot be absorbed this way; the cart pole (Appendix § 13.3.3) is such a system. This is also why the scale below stays close to the identity. Two caveats. First, the argument constrains only on the support of the data and only to the accuracy of the stencil and of the leapfrog position step (which uses at the half-step momentum), so we keep as a 3-layer MLP, following Hamiltonian neural networks [16]. The quadratic is what that MLP must approximate at convergence, not a constraint we impose. Second, the re-coordination exists only when is constant. When the mass matrix depends on configuration, as in a double pendulum, no global linear change of coordinates removes it, is a velocity rather than a canonical momentum, and a separable is mis-specified. Lifting this requires learning jointly instead of reading it off with a fixed stencil.
| model | ||||
| LeHami | 0.999 ± 0.000 | 0.999 ± 0.000 | 0.999 ± 0.001 | 0.984 ± 0.011 |
| LeWM W=1 | 0.999 ± 0.000 | 0.993 ± 0.009 | 0.988 ± 0.019 | 0.979 ± 0.023 |
| LeWM W=3 | 0.998 ± 0.000 | 0.995 ± 0.003 | 0.991 ± 0.006 | 0.982 ± 0.016 |
| MLP, matched | 0.999 ± 0.000 | 0.994 ± 0.003 | 0.993 ± 0.003 | 0.993 ± 0.004 |
| Transformer (LeWM’s) | 0.999 ± 0.000 | 0.996 ± 0.002 | 0.995 ± 0.002 | 0.995 ± 0.003 |
Table 20. of the bob mass read from the rollout, actuated pendulum, linear probe, mean ± s.d. over three seeds.
Adaptation to the self-supervised setting. In the supervised setting, are the canonical coordinates of the physical system. Here, in the self-supervised setting, these coordinate-like embeddings are learned jointly with their evolution, so nothing fixes the relative scale of and . Rescaling the momentum, , together with , leaves the trajectory of unchanged, so this scale is a gauge freedom that the objective cannot determine. This scaling is learned: with learned (Eq. (3)) and the leapfrog of in Eq. (4) remains exactly symplectic; enters only the position step, through .
is initialised at , so , and is learned jointly with all other parameters (encoder, projector, and ) by back-propagating the multi-step rollout loss through the leapfrog updates of Eq. (4). Since enters only through , its gradient arrives through the position steps, via , and hence through every later prediction of the rollout. In practice remains close to the identity (diagonal entries between 0.95 and 1.09 across our trained models), since a per-dimension rescaling of can equally be absorbed by the input weights of the MLP . Because enters through rather than being inserted into the standard leapfrog of (Eq. (4)), appears only in the position step because while . This makes the map to remain exactly symplectic.
Regularization. As discussed in the main text, in principle, the regularization can be applied in different ways over the embeddings produced by LeHami: . Which is best is an empirical question our experimental results discuss. We apply step-wise SIGReg implemented by LeWM ([27]); they differ only in which embedding block contains. We show each of them below and they are the in the training loss (Eq. (5)).
We index the frames of a training clip by , as in Eq. (5). The anchor sits at frame , so its causal window is frames (, four frames). The rollout then predicts frames (). Each target is built from the centred window of half-width , so the last target reads frames up to , and a clip has encoded frames. SIGReg is applied at every frame where the centred momentum is defined,
which covers the anchor and all targets, plus the frames inside the anchor’s causal window. For the temporal encoders of window these indices are in latent time. The encoder consumes lead-in pixel frames, so a clip holds pixel frames. One way is to apply SIGReg over the joint embedding. Given each and slice and a batch of embeddings, stacks the concatenated phase-space embedding, step-wise over the full interior:
Another way is to split the application. Same , but and are never concatenated and step-wise Gaussianity is tested on each block separately and summed:
We apply SIGReg across all the time steps in the batch because, as discussed in § 3 in the main text and in Remark 4, the preservation of volume, which we obtain through the symplectic structure, is not redundant to what SIGReg enforces.
Description of the experimental set up
Methodology
What is held fixed across the models. LeHami is implemented on top of the stable-worldmodel framework ([28]) and its stable-pretraining training harness (Balestiero et al., 2025), the same stack LeWorldModel [27] is built on. Encoder, projector, action encoder, optimiser and data pipeline are therefore shared with the baseline, and the only component that differs between the two models is the predictor and SG stencil that LeHami implements. Both models of every comparison see identical data, identical clip construction and an identical multi-step objective, the same number of epochs and the same optimizer and learning-rate schedule, so a difference in rollout behavior is not attributable to the training scheme.
The data split and checkpoint selection. We split the datasets into training, validation and test. Checkpoints are selected on the validation split. Both models use the same total latent dimension (64), split by the LeHami into q and p of half that width each (32) and used whole by the baseline, which has no momentum-like block. We assess performance as the predictor is unrolled self-fed steps from an anchor. For LeHami we construct the anchor from the causal Savitzky–Golay stencil (Appendix § 12.§ 4), so it sits at latent index , with full backpropagation through time, the momentum term in the loss (Eq. (5)) carries and the distributional term is common among the models, and denotes the per-dimension mean rather than the sum, which differs from the sum by a constant absorbed into those weights. LeWM’s predictor is a causal, action-conditioned transformer over the three most recent latents while in LeHami it is the Hamiltonian flow that evolves one state at the time. Regarding the SIGReg regularizer, while it is applied on z for the baseline, in LeHami we tried out different places. If not said otherwise, SIGReg is applied on q only. Refer to the discussion on this for the actuated pendulum in Appendix § 14.§ 3.
Implementation of LeHami
The Hamiltonian flow. It a separable Hamiltonian with two independent three-layer tanh MLPs of width 1024, integrated by one exactly symplectic kick–drift–kick leapfrog step per frame. For LEWM the projector output is a single and the predictor is the baseline’s causal autoregressive transformer with a sliding context of three latents. For LeHami, the Hamiltonian autograd path is pinned to fp32.
The encoder. We implemented both a tiny ViT (Wu et al. [40]) and a temporal ConvNet (Tran et al. [39]). For this temporal encoder, when there is no time window () it means that the encoder takes one pixel frame and produces its respective embedding . Then, with these embeddings corresponding to multiple time steps, the is estimated. We also consider the temporal ConvNet with a temporal window in which pixel frames corresponding to multiple time steps are encoded to produce the embedding corresponding to a single time step. The general form of this architecture embedded into the LeHami framework is shown in Figure 6. The encoder is a network, meaning that the spatiotemporal convolution is factored into two spatial dimensions and one temporal one instead of a joint 3D kernel: a per-frame convolutional stem, one temporal mix, then the unchanged spatial trunk.

Figure 6. The temporal ConvNet encoder inside the LeHami framework, drawn at . A window of frames goes through a stem applied once per frame, then a single Conv1d over time with a symmetric tied kernel , then the baseline’s spatial trunk and projector, unchanged, to give . The same encoder is used by the LeWM baselines; the main LeHami model uses , i.e. no temporal mix. The rollout is initialised with the causal Savitzky–Golay momentum , computed from the current and three previous positions only, and advanced one frame at a time by the leapfrog step (orange) of , where the learnable per-dimension scale (blue) rescales the momentum and therefore appears only in the position update.
This encoder implementation allows to train across recording rates. The step size is an argument to the Hamiltonian flow rather than a property of its weights, so one learned can in principle be trained on episodes recorded at different rates. We describe the mechanism here for completeness, but no experiment in this paper uses it: every model is trained and evaluated at a single rate, and the conservative dataset is restricted to its s slice for exactly this reason (Table 4). We leave the mixed-rate comparison to future work.
A dataset that mixes recording rates stores each episode’s frame spacing in a dt_frame column; write for an episode’s value and for a single rate fixed once at config time (model.dt_ref). The leapfrog step carries a factor, so a fitted at one rate is wrong by at another: training directly on mixed-rate episodes would hand a target that shifts with which episode a clip happens to come from. Dividing by removes this factor, so one learned stays valid across every rate. We therefore integrate not in but in the dimensionless ratio .
Within an episode there is a single frame spacing and advancing one frame is one step. As LeHami parametrizes the time step inside the Hamiltonian flow, allowing to input, in principle, any arbitrary time step, episodes recorded at different rates could be trained on together. To do so, a recording rate is set as the reference, , and let the integrator step be that episode’s spacing measured in units of it. An episode recorded at the reference rate is integrated with , one recorded at twice the spacing with , and so on. The learned is then the same object for every episode, expressed in reference time, and all the rate information the model needs travels with the clip as a single scalar. This is available to a Hamiltonian predictor precisely because its step size is an argument; an unconstrained predictor has no slot to put in, so the asymmetry is structural. We
do not report a mixed-rate head-to-head, because we did not run one. Note that the momentum must ride the same clock as the position update, so it is likewise divided by : , so that and the -scaled position update share one clock.
The SG stencil to compute the momentum-like embedding. The momentum-like embedding is never learned. It is always read off the encoder trajectory by one of two fixed Savitzky–Golay stencils, least-squares quadratic fits differentiated at (Appendix § 12.§ 4):
the causal stencil, over , gives the momentum that initialises a rollout (the anchor);
the centred stencil, over , gives the momentum targets of the loss (Eq. (5)), the seen by SIGReg, and the reference in evaluation.
The anchor needs the causal stencil because the frames after are the ones the model is about to predict, and reading them would leak the targets. The anchor therefore sits at latent index , the first index with a full causal window.
There is no train–test shift in the momentum estimate. The state the flow is fed is built by the same causal stencil everywhere: in training, in the rollout evaluation, and in planning, both at the start state and at the goal (Appendix § 13.§ 4.3). The centred stencil is used only to build targets, never an input. After the anchor, is a state variable of the flow, and no stencil is applied to predicted latents.
The two stencils estimate the same derivative to the same order but differ in time parity. The centred weights are antisymmetric in the offset, so reversing the frame order sends to exactly. The causal stencil has no such symmetry: under reversal it becomes a forward stencil rather than minus itself. The reversal diagnostic starts from an anchor whose comes from the causal stencil, which is one reason it is reported as approximate rather than exact, even for a model whose were perfectly even.
Datasets and their architectures
Conservative pendulum.
The dynamics of a conservative pendulum of length and angle is described by
with .
Our environment integrates this differential equation with a fourth-order Runge–Kutta scheme. We consider three different rod lengths: rendered to scale, as shown in Figure 7, 300 episodes of 80 frames with a time step of which are split into 210/45/45 train/val/test at the episode level. Initial conditions are drawn independently per episode: , and the initial velocity is drawn in dimensionless units so that the phase-space coverage is matched across rod lengths such that with and at the reference length , so that the bound reads at and scales as across rods.

Figure 7. Frames from the three rod lengths of ( m), rendered to scale at 64 × 64. The rod length is therefore readable from a single frame, which is what makes it a positive control for the probes rather than a prediction target.
The range is well below the separatrix velocity , so trajectories starting near the bottom () always oscillate. However, because is drawn from the full , trajectories starting near the unstable equilibrium () carry large potential energy and rotate with any nonzero . The dataset therefore spans both the oscillating and rotating regimes.
Each episode corresponds to a given rod’s length. The natural frequency of the pendulum is . Thus, it spans a range and a single learned must cover all three, which makes the rod length a system-identification target as well as a control.
Action as a force: actuated pendulum.
Here we consider an actuated pendulum whose rod’s length is and mass , whose dynamics are as the conservative pendulum in Eq. (13) but with an additional torque term, giving
where is the applied torque.
Episodes are 64 × 64 RGB, the manifest splits 630/135/135 episodes at the episode level, and every rollout reported here is driven by the recorded torque. Energy is not conserved and the potential energy carries a time-varying input, so is explicitly time-dependent and drift along the rollout measures how much the torque moves the learned energy. Rod length again varies across episodes (0.7, 1.0, 1.4 m), as well as the rod mass (0.5, 1.0, 2.0 kg). In this dynamics, in contrast to the conservative pendulum, the mass impacts the torque term. Thus, a model whose latent does not carry signal of the mass, cannot know what a given torque will do.
The torque. The torque is held constant over frames (0.3 s), a zero-order hold at 3.3 Hz: this is 13–18% of the small-oscillation period (1.68–2.37 s over our lengths), so the drive is band-limited to roughly the natural frequency and injects or removes energy coherently over a fraction of a swing. A per-frame torque would instead be white noise on the dynamical timescale as averaging out over a period would leave trajectories close to the unforced pendulum. This choice also makes the torque observable from pixels. The physical time step is s, so the torque is held constant through a block of 0.3 s against periods of 1.68 s (L=0.7), 2.01 s (L=1.0), 2.37 s (L=1.4), which correspond to 18%, 15%, 13% of a period, with 3.4-4.8 swings per episode, which last 8 s.
Mass-spring, two-body and cart pole
All three are rendered at 64 × 64 RGB, with 300 episodes of 160 frames split by episode into 210/45/45 for training, validation and test, as the conservative pendulum. Every model is trained with the recipe of the conservative pendulum: the same encoder, a latent of 32 + 32 dimensions for LeHami, an 8-step training rollout and SIGReg.
Mass-spring. The MASS-SPRING system of the DeepMind Hamiltonian Dynamics Suite (Botev et al. [8]): with and , so one period lasts s. Initial states lie on circles of radius in phase space, the bob is drawn at height , and frames are 0.05 s apart, as in the suite. The solution is exact.
Two-body. The suite’s TWO-BODY system: two unit masses under gravity (), , starting on circular orbits, drawn as a red and a cyan disk. We use frames 0.2 s apart. A fit that the suite’s 0.05 s an episode of 160 frames covers between 0.2 and 1.1 of an orbit, and LeHami fails there; at 0.2 s an episode covers four times more of the orbit. We report both; the 0.05 s results are in Table 21. At 0.05 s the 8 training steps cover 1 to 6% of an orbit, a nearly straight path that shows little of the force; at 0.2 s they cover 4 to 22%. The probe reads the position and velocity of one body.
| LeHami | MLP, matched | Transformer (LeWM’s) | LeWM | |
| position, | 0.016 ± 0.001 | 0.017 ± 0.001 | 0.019 ± 0.002 | 0.015 ± 0.001 |
| position, | 0.474 ± 0.075 | 0.052 ± 0.006 | 0.091 ± 0.014 | 0.066 ± 0.005 |
| distance between rollouts, | 2.92 | 0.90 | 0.83 | 0.94 |
Table 21. Two-body at the suite’s 0.05 s per frame. MAE of the position of one body (canvas units), 25-NN probe, mean ± s.d. over three seeds, and distance between rollouts over the true distance at (1 is right). Velocity and the baselines were not computed at this spacing. LeHami’s rollouts do not merge but spread apart, and its position error is several times the others’. The state is read well at the anchor ( for position and velocity); the 8 training steps cover only 0.4 s, 1 to 6% of an orbit, too little curvature to learn the force.
Cart pole. Gymnasium’s cart pole ([38]), a cart of mass 1 carrying a uniform pole of mass 0.1 and half-length 0.5, with no force: the system is conservative, and it is integrated with RK4 (20 substeps per frame, frames 0.02 s apart) rather than Gymnasium’s explicit Euler, which adds energy. RK4 only generates the frames, as for the pendulum (App. D.3); it is not part of the model, and LeHami’s latent step is the leapfrog in every environment. The true cart pole cannot be stepped with an explicit leapfrog: that step needs a separable energy , and here the kinetic energy depends on the pole angle. Our generator integrates the equations of motion in positions and velocities; there the leapfrog (velocity Verlet) needs accelerations that depend only on positions, and the cart pole’s depend on velocities too. A symplectic step for it would have to be implicit, so we use a standard accurate solver to generate the data. The pole swings below the upright position and the cart drifts at a speed of at most 0.2. Its kinetic energy couples the cart and the pole through , so the mass matrix depends on the pole angle . Since assumes a mass that does not depend on the configuration (§ 3), this environment tests LeHami outside its assumption.
The data split protocol
The two pendulums are split into training, validation and test with the same protocol, summarised in Table 4. The split is 70/15/15 and is made at the episode level: a whole episode belongs to exactly one split, so no frame is shared between splits, and we verified that the episode indices of the three splits do not overlap in either dataset. The split is also stratified by design cell (rod length for the conservative pendulum; rod length and mass for the actuated one), so every cell contributes the same number of episodes to each split. Training clips are cut with stride 1 from the first 80 frames of each training episode, and the split is drawn with seed 42.
For the conservative pendulum we use 300 of the 1200 generated episodes. The generator sweeps four frame spacings, 300 episodes each, and we keep only the s slice, because every model in this paper is trained and evaluated at a single step size (see the paragraph on training across recording rates in Appendix D.2).
Evaluation
In this subsection we describe the evaluation we perform to benchmark the models.
The probes
Targets are and . For the first one, we probe , which are recombined by so the reported angular error is wrapped. As described in main text, we study the performance across multiple probes and lead with the KNN probe trained at the first predictor’s output (). This corresponds to equal-footing as both LeWM and LeHami capture relative differences among pixel frames. While LeHami does this structurally with the embedding , which is the approximated derivative of through the SG stencil, LeWM processes the history (three time steps) through the predictor.
Four measures of collapse on the data
Each measure compares the rollout from many test anchors with the truth: the encoder’s latents of the true frames steps later. Each is a ratio, rollout over truth, so 1 is right, below 1 the rollout contracts and above 1 it drifts.
Distance between rollouts. For pairs of anchors , the median of . Two rollouts that merge give 0.
Tangent area. The latents of real frames lie on a thin surface with as many dimensions as the physical state (2 for the pendulums, the mass-spring and two-body, 4 for the cart pole). Around an anchor, its nearby true states form a small patch of that surface. For the rollout and for the truth we fit the linear map from the offsets at the anchor to the offsets after steps, and compare the areas it gives to the patch: the ratio of their determinants on the leading directions, to the power . Below 1, the rollout squeezes the data surface.
Spread. The root-mean-square distance between all rollout states at step , over the same quantity for the true latents.
Effective rank. , with the singular values of the centred cloud of rollout states, over that of the true latents.
Figure 8 shows the four measures against the rollout step, on all five environments, with LeWM on its own state.

Figure 8. Collapse against the rollout step, five environments. Rows: the four measures, rollout over truth (1, dotted, means the rollout keeps the true geometry; below 1 it contracts). LeHami and the two predictors given the same state, next to LeWM on its own state from three frames (all environments) and from one frame (pendulums). Mean s.d. over three seeds. The free predictors on the same state contract on every environment and measure; LeHami’s rollouts do not merge but drift above 1 past the trained horizon, and contract some directions on two-body and the cart pole. Two-body: LeHami’s effective rank falls below 1 after step 30 while its distance and spread grow, so its rollouts stretch along a few directions rather than shrink, consistent with a slow drift along the orbit (its learned energy does not match the physical one at 0.2 s per frame). Cart pole: its tangent area falls below 1 because the mass depends on the pole angle, so is not the true momentum and the true motion does not keep volume in LeHami’s coordinates; LeHami’s step, which does, squeezes some data directions and stretches others (distance and spread above 1).
Trained or random. Proposition 1 holds for any , so a LeHami with random weights keeps the volume of the whole latent space exactly. Table 5 shows that this alone says nothing about the data: with random weights the tangent area ranges from 0.32 to 5.09.
| environment | LeHami, trained | LeHami, random weights | MLP matched, trained | Transformer, trained |
| cons. pendulum () | 0.342 | |||
| act. pendulum () | 5.089 | |||
| mass-spring () | 1.340 | |||
| two-body () | 0.322 | |||
| cart pole () | 0.744 |
Table 5. Tangent area at the longest step, trained against random weights. Mean s.d. over three seeds; the random-weights column is one draw. Steps as in Table 1.
Planning
Results. Table 6 gives the planning results. We evaluate goal-reaching performance on goals with position and velocity clauses, separately and together, under a strict computational budget of 15 TFLOPs per episode. Under this constraint, models must balance their per-solve computational cost against their replanning interval (R). Both LeWM and LeHami accurately decode the rod’s mass and length along the whole rollout (Appendix Table 15). Since the torque’s effect depends on mass and length (Appendix Eq.14), both models have the information needed to predict the response to an action. Differences in planning therefore do not stem from failed system identification.
Capturing velocity dynamics within standard JEPA frameworks requires explicit architectural asymmetry. As shown in Table 6, the baseline LeWM with ConvNet without time window (W=1) fails in the velocity clause because its per-frame goal embedding carries no velocity, even though its predictor infers it from context. Expanding the window with a symmetric (tied) kernel only captures speed while remaining direction-blind since it maps to the same latent (Appendix Table 13). As 92% of the goals require the correct sign (Appendix Fig. 17), it performs below floor on the sign-resolved criterion of Appendix Table 14. In contrast, expanding with untied weights breaks temporal parity, allowing the model to capture signed velocity and achieve the highest success rate. However, this unrestricted temporal formulation incurs a high computational cost per solve. To remain under the 15 TFLOP budget, LeWM W=3 (untied) is forced into larger replanning intervals.
In contrast, LeHami structurally guarantees the representation of signed velocity by embedding the system’s physics. Momentum-like embedding is read off the encoder trajectory by a zero-parameter SG stencil, and the Hamiltonian flow itself has 2.23M parameters, against LeWM’s transformer and its predictor projection with 3.31M parameters (Appendix Table 8). This computational efficiency allows LeHami to evaluate more trajectories and replan more frequently ( steps with 5 solves) on the velocity and joint clauses, consuming less TFLOPs. While LeWM W=3 (untied) achieves a higher success rate, LeHami provides a structurally rigorous alternative. Replacing the fixed SG stencil with a jointly learned embedding offers a clear path to closing this performance gap while maintaining the volume-preserving guarantees.
Protocol. Planning is evaluated on the actuated pendulum only, since the conservative pendulum has no action to plan. Everything in this subsection therefore refers to the actuated pendulum, and it completes the description in § 4.5. Goals are read off held-out episodes, each model is scored in its own latent coordinates, and the action sequence is optimised by CEM under MPC. Nothing in the loop observes the future.
Goal construction. Goals are drawn from test episodes, never from training data. For each of the episodes we sample a goal frame and set the start frame to , so the target is the state the trajectory actually occupied steps after the start. For the actuated pendulum this is a recorded that is in general neither upright nor at rest. Building the goal this way guarantees reachability, which the model-free pre-flight below confirms, so a failure is attributable to the world model rather than to an impossible target.
| Clause | Model | Success | TFLOP | Replanning interval |
| Position | LeWM | 0.800 ± 0.019 | 12.87 | , 4 solves |
| LeWM (tied) | 0.633 ± 0.020 | 13.65 | , 4 solves | |
| LeWM (untied) | 0.696 ± 0.016 | 13.65 | , 4 solves | |
| LeHami | 0.480 ± 0.084 | 8.05 | , 4 solves | |
| Velocity | LeWM | 0.184 ± 0.027 | 8.78 | , 2 solves |
| LeWM (tied) | 0.473 ± 0.014 | 13.65 | , 4 solves | |
| LeWM (untied) | 0.800 ± 0.058 | 13.65 | , 4 solves | |
| LeHami | 0.527 ± 0.019 | 10.98 | , 5 solves | |
| Position and Velocity | LeWM | 0.142 ± 0.033 | 12.87 | , 4 solves |
| LeWM (tied) | 0.400 ± 0.037 | 9.31 | , 2 solves | |
| LeWM (untied) | 0.636 ± 0.025 | 13.65 | , 4 solves | |
| LeHami | 0.304 ± 0.088 | 10.98 | , 5 solves |
Table 6. Goal-reaching success on the actuated pendulum, by clause. Best success probability per model at a matched budget of at most 15 TFLOP/episode. Mean ± s.d. over three model seeds. The floor probabilities (corresponding to ) are 0.060, 0.240 and 0.040 on each of the three clauses respectively. Bold marks the better model within a clause. The planner re-solves every steps towards the same goal at horizon 30, so it makes solves, the last of which covers only the remaining steps.
Latent states, and the frames they are read from. Each model is given the state its own architecture defines, encoded from real frames at two instants only. At the start, the 5 recorded frames ending at are encoded; LeHami forms from the frames and with the same Savitzky–Golay stencil used during training, while the baseline encodes only in the same way as (with frames) and it forms its context of latents and pass through the (unstructured) predictor. At the goal, LeHami encodes the in the same way using the causal stencil with embeddings corresponding to four time steps while LeWM is coming from frames to produce the goal state.
Optimisation. The cost is evaluated in each model’s own coordinates, so no ground-truth state enters the objective. A state-space cost would measure the probe rather than the world model. Actions are held over blocks of three frames, matching the hold of the dataset, and are constrained to to . CEM uses 300 samples, 30 iterations and 30 elites. Under MPC the first actions of a context is re-encoded from the frames the controller has by then observed, and the problem is re-solved. The horizon shrinks to the frames remaining before the goal instant, so the target does not recede as the episode advances; a fixed horizon would leave the goal perpetually steps away and success rate meaningless.
No leakage. The rollout is produced by self-feeding the model: one predictor call per step, with its output fed back as the next input. After the anchor, evolves under the learned flow as a state variable of the predictor; the Savitzky–Golay stencil is applied only to encoded real frames, at the start context and at the goal, never to predicted latents. Pixels therefore enter at two disjoint instants, the start context and the goal window, and no frame between them is ever encoded. No ground-truth state enters the rollout, the cost or the ranking of candidates. Under replanning, every re-encoded context is built from frames the controller has actually observed, all at or before the current step. The recorded actions of the episode are used only to fill the torques already applied at the start context, never as a candidate or as an initialisation of the search. Success is evaluated by the simulator on the executed trajectory, outside the planner.
Scoring success. Success is scored at the goal’s own timestep , on the angle and the velocity with separate tolerances, and . Raw errors are written for every episode, so success as a function of tolerance is recoverable without re-running. Scoring at the goal’s timestamp rather than at any step within the budget is necessary rather than cosmetic: under an “ever passes near the goal” criterion, the best of 300 random action sequences under exact dynamics reaches every goal, and the measurement saturates for every model at every tolerance.
Both models use the same temporal ConvNet encoder, with for LeHami and for LeWM, and the same latent dimension , with LeHami using and , each of dimension 32, and LeWM using only of dimension 64. SIGReg in LeHami is applied to only, while in LeWM it is applied to only. The weight of the SIGReg loss is 0.25 in both cases, and the same number of training epochs (35) was used for both models. Both models were trained with the same optimizer and learning rate schedule. For planning, both utilized the same CEM planner. When training, the temporal ConvNet encoder was centered in the window, to guarantee the embeddings of LeHami are canonical. For planning, in which we deploy online, we have to adapt. At wall-clock frame , having observed frames up to , the encoder can produce latents for instants up to so at planning time the context and goal latents are shifted by the encoder lag, and the rollout runs that many extra steps to reach the goal instant.
We integrate without wrapping, so a policy that completes revolutions ends near . Because the goal specifies a pose, and poses a full turn apart are indistinguishable, we score the angle on the circle:
evaluated at the goal’s own timestamp . Wrapping the difference is essential: wrapping each angle first and subtracting introduces a spurious jump at the branch cut, reporting a near-perfect match as a maximal error. An episode succeeds when rad and rad s. As is circular, we summarise it by the mean resultant length (0 = uniform, 1 = concentrated) rather than by a linear mean and standard deviation.
Settings. Goals are placed frames after the start, and the first solve plans over the full horizon . The replanning interval is swept over : is a single open-loop solve, and the smaller values are MPC at increasing feedback rates from the same first-solve horizon. Actions are bounded by and held for blocks of 3 frames, as in the dataset. CEM uses 300 samples, 30 elites, and 30 elites. Each configuration is run on test episodes, for 3 model seeds 3 planner seeds, with tolerances .
Supplementary experimental results
In this section we showcase supplementary experimental results. First, we comment on some general properties of the proposed LeHami. To exemplify we use results corresponding to one of the two environments but the claim is in general. Then, in the following subsections we share results for each of the two environments studied.
LeHami replaces manual design choices with structural priors and lower compute
Given a sequence of pixel frames, our goal is to train a world model that captures the system’s physics, specifically its higher-order dynamic states from position to its time derivatives, the velocity and the momentum it determines. In JEPA architectures, capturing these spatiotemporal differences efficiently is a central design consideration. The default implementation of LeWM (Maes et al., [27]) employs a single-frame encoder () and delegates the task of learning representations for higher-order moments entirely to a predictor that receives a three-step frame history. A direct limitation of encoding frames individually is the inability to represent goals containing velocity clauses at the single-latent level.
We assess these different design choices empirically. Figure 9 shows the of the angle and angular velocity decoded from anchor latents () using a -NN probe. As expected, LeWM with a single-frame encoder () fails to capture velocity, yielding an below zero. However, simply expanding the encoder to operate over a time window () does not inherently improve the representation of velocity and can actually deteriorate it even without architectural care.

Figure 9. The LeHami embeddings on the actuated pendulum are canonical. of the pendulum angle (left) and angular velocity (right) decoded from the position half (solid) and momentum half (hatched) of the frozen encoder output. Probes are 25-NN under five episode-grouped folds fitted on embedded anchor frames () pooled across test episodes. of is evaluated over . Bars indicate the mean over three training seeds; error bars denote standard deviation. LeWM has no partitioned momentum block and is reported as a single joint latent .
Specifically, a temporal ConvNet with employs a symmetric kernel by construction when weights are tied (e.g., where outer taps share parameters). Consequently, the tied encoder is invariant to reversing the temporal order of the three frames in its window. Reversing time leaves the central angle unchanged while flipping ; the states and are therefore mapped to the exact same latent representation, rendering the sign of the velocity unrecoverable by any probe (see Appendix § 14.§ 3 for a detailed breakdown). Only even functions of velocity survive: absolute velocity remains highly decodable (), while signed velocity sits at the predict-the-mean floor.
While the parity of the kernel can be manually broken—either by untying parameters or feeding explicit frame increments —nothing in the standard JEPA objective forces the model to retain directional information downstream. The encoder is trained merely to make future embeddings predictable, and a representation blind to the direction of motion predicts its own sign-blind future embeddings perfectly well. The architectural choice is therefore made implicitly, with its failure modes appearing only when evaluating single-latent state readouts.
LeHami provides a structural solution rather than an empirical workaround. Instead of requiring the temporal encoder to learn velocity implicitly, LeHami partitions the representation into canonical pairs and extracts momentum via , an explicitly odd stencil across latents whose parity is fixed by construction. There is no kernel to tune; the Hamiltonian latent structure dictates where resides, and encoder parity follows naturally.
As shown in Figure 9, the signal for predicting angular velocity originates almost entirely from the momentum block . Conversely, the angle is predominantly captured by the position block , with minor signal leakage into arising because is constructed as a temporal finite difference of .
Furthermore, LeHami is cheaper to train. At every matched training budget on the conservative pendulum (Table 7), LeHami’s error is – lower on and – lower on , over three seeds. Its 0.75 PFLOP checkpoint is on par with LeWM’s at 6 PFLOP on the angle (0.30 against 0.33 rad, within one s.d.) and better on the velocity (1.05 against 1.18 rad/s), so LeHami matches the baseline with one-eighth of the training compute. Both models cost about the same per 100-epoch run (6.0–6.5 PFLOP, 0.7–1.1 GPU-h), so the gap reflects how efficiently each converts compute into prediction accuracy, not a difference in budget. LeHami also has fewer parameters (Table 8), so the advantage is not explained by capacity. The first version of this paper reported one seed; the non-monotone LeWM value it had at 1.5 PFLOP (0.871) came from that seed.
| Metric | Model | 0.75 PFLOP | 1.5 PFLOP | 3 PFLOP | 6 PFLOP |
| MAE [rad] | LeHami | 0.304 ± 0.031 | 0.213 ± 0.008 | 0.247 ± 0.013 | 0.207 ± 0.041 |
| LeWM | 0.642 ± 0.048 | 0.710 ± 0.140 | 0.462 ± 0.025 | 0.332 ± 0.020 | |
| MAE [rad/s] | LeHami | 1.045 ± 0.093 | 0.939 ± 0.062 | 0.916 ± 0.128 | 0.854 ± 0.075 |
| LeWM | 1.604 ± 0.023 | 1.694 ± 0.408 | 1.345 ± 0.315 | 1.178 ± 0.132 |
Table 7. MAE at a fixed training budget for the conservative pendulum. Test error at rollout step , read by the frozen 25-NN probe, at the checkpoint with the lowest validation prediction loss within each compute budget (checkpoints saved every 10 epochs). Mean ± s.d. over three seeds.
Model parameters. The compute advantage above is not bought with capacity. Table 8 counts each model’s parameters from its checkpoint. The encoder is identical across the two families, and the latent projector differs only in its output width (32 for against 64 for ), and the SG stencil is not trainable. Thus, the difference sits in the predictor. LeHami’s Hamiltonian flow, the two MLPs and , has 2.23M parameters, against 3.31M for LeWM’s autoregressive transformer, which also needs a 0.27M predictor projection head. In total LeHami has about 32% fewer parameters (3.03M against 4.44M), and widening LeWM’s encoder to adds only 3k. The same predictor gap drives planning cost, since over 99% of a planning episode’s arithmetic is spent rolling the predictor out (Appendix § 14.§ 3, Planning compute).
Conservative pendulum
Visualization of the latent representation space LeHami constructs. We take the encoded ground-truth embeddings across the frames in the episodes and across episodes and perform PCA, shown in Figure 10. It can be seen that the trajectory is constrained to the learned . This is possible because this Hamiltonian describes a conservative system, without any action. This Fig. shows empirically how the proposed LeHami imposes structure in the latent representation space that sets clear trajectories for the evolution.

Figure 10. Conservative pendulum: rollout latents projected onto pairs of principal components. Each panel is one pair of the leading PCs of the encoder’s (q, p) over the test episodes, colour is the episode. The learned is conserved along each rollout, so an episode traces a closed curve in every projection rather than drifting across them.
Similarly, Figure 11 illustrates how the LeHami’s rollout stays on a single low-dimensional closed set per episode, stratified by its learned . The projection is obtained by mean-centring the latents per dimension and taking the SVD; the leading right-singular vectors are the components, with no

Figure 11. Latent representation space projected into the first two principal components (PCs). The embeddings correspond to LeHami (left) and unstructured LeWM (right), shown as a function (z-axis) of the Hamiltonian learned (left) and the physical energy corresponding to the episodes. The embeddings of four episodes are shown in colors. The planes with the same color correspond to the learned Hamiltonian and energy, respectively. While the rollout episode’s embeddings in LeHami are restrictive in each of the planes corresponding to the (constant) respective learned Hamiltonian, in LeWM, the rollout episode’s representations move across planes of energy, mixing up.
whitening and no rescaling. Centring matters here because otherwise the first component points at where the cloud sits rather than at how it spreads. Otherwise PC1 just points at where the data is, not at how it spreads. Refer to Figure 15 to see how the manifold in the latent representation space is modified by the action while still a surface of conserved energy minus work determines the trajectories. Each of the 60 test trajectories have been rolled out using the LeHami model, starting the anchor. In Figure 12 shows that the learned energy is conserved and that determines a horizontal plane in which the trajectory takes place without crossing different places. We compare with the ground-truth physical system on the left in which each energy level determines a clear shape for different values of energy, restricting the trajectories to those.

Figure 12. The learned energy landscape against the physical one. (left) level sets of the true energy of the conservative pendulum; (right) level sets of the learned over the same 60 test rollouts, each started from its own anchor. Distinct energies give disjoint closed curves in both, so the learned generator stratifies the latent space the way the physical energy stratifies phase space.

Figure 15. The learned energy landscape under actuation. The same projection as Figure 12, for the actuated pendulum. The torque does work, so is not constant along a rollout and the trajectories cross the level sets instead of nesting into disjoint shells. Symplecticity is unaffected: it constrains the map, not the value of .
Rollout prediction across probes. Linear tier underperforms non-linear: ridge recovers from the Hamiltonian phase space at only against 25-NN’s 0.975 (Table 10), so velocity is encoded non-linearly in and every linear number here is a lower bound. Moreover, the LeHami’s own momentum block degrades faster than its position block: against the reference momentum falls to 0.613 by and below zero by , while is still 0.950 at (Table 9). Both and are computed in the latent space against the encoder’s own reference embeddings, so no angle is wrapped and the caveat that applies to does not apply here. The velocity advantage is therefore inherited from the representation.
| rollout step | 0 | 1 | 5 | 10 | 20 | 25 | 50 |
| (position block) | 1.000 | 0.997 | 0.985 | 0.950 | 0.929 | 0.646 | 0.373 |
| (momentum block) | 1.000 | 0.935 | 0.867 | 0.613 | 0.586 |
Table 9. Where the LeHami’s two blocks lose the reference, conservative pendulum. of the predicted and against the encoded ground-truth and at the same frame, test split. These are latent-space quantities in the model’s own coordinates, not physical ones: they measure how far the flow drifts from the encoder trajectory it was trained to reproduce, and being self-referential they cannot by themselves establish that a physical quantity survives. What survives decoding is in Table 10.
Encoder independence. The encoder in the head-to-head above is a ConvNet. To check that the effect is a property of the predictor rather than of that choice, we compare the tiny ViT (Wu et al. [40]) and ConvNet encoder pairs on a single-rod dataset ( m, s, 500 episodes of 100 steps), holding everything else fixed. At the anchor, the LeHami decodes at with a ViT encoder and 0.939 with a ConvNet; the unconstrained baseline scores (ViT) and (ConvNet). The ordering, its sign and its magnitude are unchanged by the encoder family, so the velocity content is attributable to the phase-space split and the flow, not to the vision backbone. Note that this check uses the single-rod dataset, for this reason its anchor values differ from those in Table 10.
We showcase that the proposed LeHami can leverage a pre-trained encoder to be a world model on pre-trained visual features as DINO-WM (Zhou et al. (2024)) does. For this, the pre-trained encoder, DINO-v2 (Oquab et al. [32]) is followed by a projector to output , and all the other components of LeHami remain the same. Similarly DINO-WM has a projector to project to 64-dimension space. This is DINO-LeHami. The loss for this model, as well as DINO-WM, is the same as the one used for both LeHami and LeWM for the training of the models we discussed in their performance in Figure 4. The evaluation is also exactly the same. Figure 13 shows that MAE in both and is reduced in comparison to their respective implementations without the pre-trained encoder. The advantage of LeHami in the angle MAE to LeWM seems to be reduced while for the velocity it continues to outperform, while for larger than 60 both models start to deviate significantly.

Figure 13. DINO-LeHami vs. DINO-WM on the conservative pendulum. Both models use a frozen DINOv2 encoder followed by a learned projector; Wrapped MAE of (left) and (right) along the test rollout ( steps, s), read by a -NN probe () fitted at and kept frozen. One training seed per model, both at epoch 60.
Phase-space volume of the one-step map. For a one-step predictor , , the Jacobian linearises around , and is the factor by which an infinitesimal volume of states around is scaled. By multiplicativity of the determinant, is the log volume factor of the -step map. We divide by the state dimension so that maps of different sizes are comparable. A value of 0 means volume is preserved and a negative value means contraction. The true pendulum flow is symplectic, so 0 is also the ground truth. For LeHami, and is one leapfrog step, so exactly.
LeWM’s predictor takes three context embeddings and returns one, so it has no square map from a state to the next state. We therefore report two quantities. The full map acts on the context, so its Jacobian is block-companion, and its determinant equals . The newest block, , has the dimension of a single embedding and measures how the most recent state is rescaled and it is not a volume. Figure 14 shows both measures at the anchor of every test episode: LeWM contracts under the full map and under the newest block alike, with no overlap with LeHami, which stays at 0 for every state. The contraction is therefore not an artefact of which Jacobian is chosen for LeWM’s three-embedding context.

Figure 14. Log-volume factor of the one-step latent map on the conservative pendulum. One Jacobian per test episode at the anchor (45 states; bars mark the mean). Left: the full map, for LeHami on and for LeWM on its three-embedding context. Right: the newest block , for both. The dashed line is the true flow. One training seed per model.
Actuated pendulum
Physical state at the anchor. Table 11 scores the encoded state at the anchor, with no rollout, so it tests the encoder and the stencil rather than the predictor; § 4.3 discusses it.
| model | probe | MAE [ rad] | MAE [rad/s] | |
| LeHami | ridge | 23.0 ± 2.0 | 1.168 ± 0.001 | +0.491 ± 0.005 |
| 25-NN | 6.8 ± 1.8 | 0.419 ± 0.045 | +0.889 ± 0.024 | |
| MLP | 2.9 ± 0.4 | 0.184 ± 0.019 | +0.987 ± 0.004 | |
| LeWM | ridge | 1.4 ± 0.1 | 2.422 ± 0.001 | −0.014 ± 0.001 |
| 25-NN | 1.1 ± 0.0 | 2.508 ± 0.002 | −0.103 ± 0.001 | |
| MLP | 1.9 ± 0.1 | 2.419 ± 0.001 | −0.011 ± 0.001 |
Table 11. Performance in physics prediction of the actuated pendulum at the anchor K=0. Mean ± s.d.over three training seeds, test split. Bold marks the better model within a probe tier. A negative is below the predict-the-mean floor.
Visualization of the latent representation space LeHami constructs. In this dataset, work is performed by the action. While in the conservative pendulum the energy determines the orbit as we observe a closed rings in Figure 12, in the actuated case, the trajectory is free to wander over a large region in the phase-space, so the surface of is a horizontal plane spanning the whole space, not a ring bounding anything. Different episode’s planes overlap in the phase-space because they transverse similar regions, making the latent representation space to look as in Figure 15, projected over the main PC of and , respectively. The planes are now curves, and each one correspond to a single value of torque (action), and the trajectories can move between these planes. However, given a torque, position in the space is determined.
Where to apply regularizer in LeHami. Given the ground-truth embeddings (produced by the encoder) , with the Savitzky–Golay derivative of on the centred-valid window, the three placements to apply SIGReg are: SIGReg) (joint), SIGReg (q), and
SIGReg(q)+ SIGReg(p) (split). We study the variance of the embeddings within-episode and between-episode in Table 12. A random unit direction in the 64-wide concatenation puts on average half its squared length in the block, so with the projected variance is and satisfying a standard-normal test (as with SIGReg) requires as we measure against a predicted . Under q-mode, where the statistic sees only the 32 real dimensions, the variance lands at , the target. The joint statistic can be blind to the momentum block and indeed it is satisfied by killing it and inflating the position block to compensate as we see with the largest ratios of . When splitting, the within-episode variance increases significantly. However, the standard deviation of though we apply the regularizer over, it remains far from unit. This is because is not free, it is conditioned on as it is estimated as its differentiation.
What the q row of Table 12 means on the actuated pendulum. Each episode has one of nine (mass, length) settings. Write the variance of , summed over dimensions, as : is the motion about each episode’s average, the spread of the episode averages. The within share is 0.154 over three seeds, so 85% of the variance of is the episode average, which encodes the setting, and only 15% is the motion within the episode. is a time derivative, so it has no episode average (), and the pooled ratio factorises as , the 0.103 of the table, with the ratio of the spreads of and within episodes. So looks small next to the episode averages that carries, not because is missing. The cost is elsewhere: the motion within an episode lies close to one direction of the latent (that direction holds 99.2% of ), while 45 of the 135 test episodes (33%) go over the top at least once, 40 of them through a full turn: their angle wraps around, which one direction cannot represent. Split by episode type, the two cases separate (Table 24). On the 90 episodes that only oscillate, matches the data’s own ratio of the spreads of and (0.249), and LeHami matches or beats both free predictors at every step. On the 45 that go over the top, against the data’s 0.077, and LeHami is the least accurate of the three at short steps; its short-horizon gap on this set (§ 4.3) comes from these episodes.
| model | oscillating, | rotating, | oscillating, | rotating, |
| LeHami | 0.156 ± 0.040 | 0.646 ± 0.030 | 0.603 ± 0.106 | 1.512 ± 0.124 |
| MLP, same state | 0.229 ± 0.006 | 0.318 ± 0.030 | 0.826 ± 0.020 | 1.564 ± 0.044 |
| Transformer, same state | 0.170 ± 0.018 | 0.259 ± 0.018 | 0.781 ± 0.029 | 1.678 ± 0.026 |
| LeWM , own state | 0.047 ± 0.011 | 0.120 ± 0.020 | 0.343 ± 0.030 | 1.200 ± 0.090 |
Table 24. Actuated pendulum, by episode type. The test episodes that go over the top at least once (45, rotating) and those that never do (90, oscillating). MAE of [rad] by the 25-NN probe fitted at , mean ± s.d. over three seeds; existing checkpoints, evaluated again.
Weighting the loss within episodes does not fix it. We trained LeHami with each clip’s and prediction errors weighted by the inverse of that clip’s own spread, which gives the same weight as (three seeds, conservative pendulum; Table 23). The encoder then stores the episode and loses the motion: falls from 0.42 to 0.12 and the angle error at the anchor rises from 0.02 to 0.59 rad. Weighting the momentum term up rewards a latent that barely moves, which SIGReg allows because the episode constants keep the overall spread.
| model | collapse, | , | , | , | at the anchor | |
| LeHami (leapfrog) | 1.03/1.35/1.04/1.25 | 0.177 ± 0.002 | 0.460 ± 0.028 | 0.779 ± 0.034 | 0.020 ± 0.000 | 0.42 |
| Euler, same | 1.71/4.67/1.71/1.66 | 0.508 ± 0.012 | 1.291 ± 0.103 | 1.524 ± 0.262 | 0.018 ± 0.001 | 0.49 |
| LeHami, within-episode loss | 1.00/0.83/1.00/1.10 | 1.684 ± 0.063 | 1.515 ± 0.105 | 1.364 ± 0.085 | 0.588 ± 0.156 | 0.12 |
| MLP, same state | 0.81/0.49/0.78/0.56 | 0.416 ± 0.021 | 1.154 ± 0.002 | 1.310 ± 0.015 | 0.036 ± 0.000 | 0.64 |
| Transformer, same state | 0.86/0.62/0.83/0.70 | 0.279 ± 0.052 | 1.073 ± 0.009 | 1.313 ± 0.046 | 0.034 ± 0.001 | 0.62 |
| chance | – | 1.299 | 1.195 | 1.259 | – | – |
Table 23. Two controls on the conservative pendulum. Euler, same : LeHami’s , networks and parameter count, with an explicit Euler step instead of the leapfrog, which does not keep volume. Within-episode loss: LeHami with each clip’s q and p errors weighted by the inverse of that clip’s own spread. Collapse as in Table 1 at (distance / tangent area / spread / rank; above 1 the rollout expands). MAE of [rad] by the 25-NN probe; at the anchor, with the probe fitted on the encoder’s latents. : share of the variance of q that is motion within episodes. Mean ± s.d. over three seeds.
Physics prediction in rollout. We studied the performance of LeHami applying SIGReg on three placements: SIGReg(qp) (joint), SIGReg(q) (q), and SIGReg(q)+ SIGReg(p) (split). We study the variance of the embeddings within-episode and between-episode in Table 12. Based on this analysis, and on the performance in predicting the physical quantities of interest, applying SIGReg on the joint has very bad performance. For this reason, we compare the performance in physics prediction of the other two variants. Table 11 reports the q placement, the model used for planning; the split placement is analysed in Table 12. LeHami significantly improves the reconstruction of the velocity, over a LeWM that performs worse than predicting the average. Regarding angle, the MAE achieved by LeWM is smaller than LeHami’s at every probe tier, though the gap narrows as the probe gains capacity. This is attributed to the fact that LeHami splits the capacity of the latent representation space into q and p, each (32) having the half the dimension of LeWM (64). Thus, an improvement in expressivity in one seems to deteriorate the other one.
The results corresponding to the rollouts are shown in Figure 16. The probes are trained at the anchor on training data, and the evaluated frozen. While LeWM has significantly lower MAE in angle for the smaller rollout steps, after , the MAE overlaps with the one of LeHami. Regarding the velocity, for small LeHami show significantly lower MAE. As rollout progresses, after , the performance is on par. This has to do, as commented before, that the predictor takes three context frames, and after rollouts, the embeddings start to have a better representation of velocity though it suffers the expected decay due to error accumulation through rollout.

Figure 16. Performance in physics predictions in rollout of the actuated pendulum. Wrapped MAE of (left) and (right) along the test rollout, 25-NN probe fitted at and applied frozen. Same encoder, same schedule, same regularizer weight. Shaded area corresponds to the standard deviation across the three architecture seeds.
Capturing velocity through the encoder and unstructured predictor. While expanding the time window improves the prediction of the angle of LeWM, it deteriorates the performance in predicting unless the temporal weights are explicitly decoupled. The reason is that with no time window (), the velocity is captured only by the predictor, which takes three context frames to perform the next prediction. In the “tied” variant, the kernel of the temporal ConvNet is symmetric by construction, with weights . Thus, the tied encoder is invariant to reversing the order of the three frames in its window. Reversing time leaves the centre angle unchanged but flips ; the states and are therefore mapped to the same latent, and no readout of that latent can recover the sign. For a pendulum at with rate , the window holds , , , and the symmetric average is
which corresponds to the middle frame (at time step ), shrunk by that scalar factor between 0 and 1. Note that this contraction is even because the cosine function is even (i.e., ), so and give the identical output. Conversely, the “untied” variant removes this parameter sharing, learning independent weights . This unconstrained asymmetry allows the untied encoder to natively distinguish forward from backward motion.
This is measured empirically in Table 13 where it is shown that while the is significantly improved with expanding the time window in the tied encoder, the variance explained by the vector is lower with a lower , and the gap between the two is amplified, in comparison to .
| Model | gap | |||
| LeWM | 3 | |||
| LeWM | 3 |
Table 13. The comparison of the due to the time window in the encoder. They correspond to the -NN () probe applied on encoded anchor latents over held-out episodes, across 3 seeds. The refers to the history size of the predictor, which is the same in both. Note that refers here to the tied variant, which exacerbates the sign-blindness gap.
Both LeWM models use three frames for history so the predictor sees three consecutive latents to predict the next one. Ordering is preserved at the predictor even though the tied encoder discarded it, and the sign of is recoverable there. For , LeWM encodes no at all at yet it reads it at after a single predictor step, so that information can only have come from the ordering of its context. At tied that route survives but is degraded. With stride 1, latents and are built from frames and , respectively. Because these adjacent latents share two out of three frames, consecutive-frame motion is attenuated by 34% compared to . Since it is exactly this frame-to-frame change that carries the directional sign at the predictor level, the tied time window hurts twice over. It hands the model an easy, sign-blind estimate of speed from the encoder, and it attenuates the one signal coming from the change between consecutive latents, from which the direction could still have been read.
On the contrary, LeHami is on the other side of this symmetry. The Hamiltonian flow does not have any history; it is capturing velocity solely via computed with a Savitzky–Golay finite difference of . This finite difference is an odd operator, hence sign-aware by construction. Any consistent first-derivative estimator satisfies and , where indexes frames within the stencil window; reversing time sends and hence the estimate to times itself. The Hamiltonian model gets velocity not by seeing more frames or learning unrestricted asymmetric weights, but by applying an antisymmetric structural operator to them.
The distribution of the angles and velocities across the goals. As we perform a discussion about the models being able to capture the sign of the velocity, we show the distribution of the angles and the velocities across the goals for which we assess planning performance in Figure 17. Although the distribution of velocities is not centered around zero, and thus they are not balanced in sign, the difference is not sufficient to back up a claim that the goals favored the planning performance in terms of absolute value.

Figure 17. The 50 planning goals. Left: the goal velocity ; dashed lines mark , beyond which a sign error alone fails the velocity clause. 92% of the goals lie outside them. Right: the goal angle , wrapped; the green lines mark upright, which no goal is within of. Goals are recorded states of held-out test episodes at frames after the start, shared identically by every model, rung and seed.
Planning compute. At any fixed rung a planning episode costs LeHami 0.63 the baseline’s FLOPs. The saving is in the predictor rather than the encoder: over 99% of an episode’s arithmetic is the CEM rollout, where LeHami’s MLP flow costs 13.6 MFLOP per step per candidate against 21.7 for LeWM. LeWM’s predictor is a causal, action-conditioned transformer over the three most recent latents, in which self-attention is the only operation that mixes them; LeHami instead recovers the momentum-like coordinate from a causal Savitzky–Golay stencil, so its predictor never has to form that mixture.
Decomposing the velocity clause in planning: speed vs. direction. To understand the representational failure modes during planning, the task’s velocity clause can be decomposed into two distinct sub-components: a magnitude (speed) clause and a directional sign clause .
On this domain, directional sign is the decisive factor: 92% of goals satisfy , meaning an agent arriving at the goal state spinning in the wrong direction cannot satisfy the velocity clause regardless of speed precision. Table 14 reports performance on both components.
| Clause | Model | Success | TFLOP | Replanning Interval () |
| Velocity, magnitude | LeWM | 0.251 0.051 | 8.78 | , 2 solves |
| Velocity, magnitude | LeWM (tied) | 0.638 0.008 | 13.65 | , 4 solves |
| Velocity, magnitude | LeWM (untied) | 0.813 0.052 | 13.65 | , 4 solves |
| Velocity, magnitude | LeHami | 0.547 0.022 | 10.98 | , 5 solves |
| Velocity, magnitude | coast | 0.300 | — | — |
| Velocity, sign | LeWM | 0.656 0.017 | 5.85 | , 1 solve |
| Velocity, sign | LeWM (tied) | 0.649 0.022 | 13.65 | , 4 solves |
| Velocity, sign | LeWM (untied) | 0.962 0.017 | 13.65 | , 4 solves |
| Velocity, sign | LeHami | 0.800 0.034 | 8.05 | , 4 solves |
| Velocity, sign | coast | 0.680 | — | — |
Table 14. Velocity clause decomposition into magnitude and directional sign components. Evaluated under the same computational budget ( TFLOP/episode) and protocol as Table 6.
The magnitude clause is where temporal windowing assists the baseline: LeWM reaches 0.638 tied and 0.813 untied, compared to LeHami’s 0.547. On the sign clause, LeWM (0.656) and tied LeWM (0.649) both sit slightly below the passive coasting floor (0.680), so neither planner gets the sign right more often than passive dynamics do. For tied LeWM this is expected: its symmetric encoder maps opposite velocity directions to the same latent. Untying the kernel breaks this temporal parity, and untied LeWM gets the sign right most often (0.962). LeHami and the untied LeWM are the only models that improve over coasting on the sign clause; LeHami (0.800) does so without a learned temporal kernel and at 0.59 the compute (8.05 against 13.65 TFLOP).
Conditioning on the goal angle, , separates the two bottlenecks. LeHami’s advantage is on the sign, and it holds at every replanning interval: among plans that reach the goal angle, LeHami’s final velocity has the goal’s sign in 0.91–0.95 of cases, against 0.65–0.69 for tied LeWM and 0.55–0.67 for LeWM . Only untied LeWM does better (0.95–0.99). The full velocity clause given the angle does not consistently favor LeHami.
What limits LeHami’s joint success is reaching the goal angle. At it reaches it on of plans, against 0.63 for tied and 0.70 for untied LeWM , so for tied LeWM . On this task the bottleneck is positional goal-reaching, not the direction of the velocity.
Prediction of the rod’s length and mass. A symplectic flow conserves the Hamiltonian it has learned and phase-space volume, and nothing else by construction. The actuated pendulum has two further quantities that are exactly constant within an episode and visible in every frame: the rod length , drawn at its true length, and the bob mass , drawn as a constant-density sphere of radius . Neither the architecture nor the loss asks the latent to keep them. They matter for control because the torque enters the dynamics only through (Eq. (14)), so a model that loses cannot know what a given torque will do. We regress rather than classify: and are continuous parameters that happen to be sampled at three values, and registers the gradual drift of a frozen readout that a three-way accuracy would saturate over. Ridge and 25-NN probes are fitted on the anchor () latents of the 630 training episodes to predict (, ) jointly, then applied frozen to each model’s own rollout and scored on the 135 test episodes.
Table 15: Performance in prediction of rod’s length and mass in the actuated pendulum. Both episode-constant parameters are recovered from the latent by probes fitted at anchor () on training episodes and applied unchanged along each model’s own rollout over 135 held-out episodes produced by LeHami and LeWM. is reported at the anchor and at the end of the horizon (). Three seeds for LeHami (min–max in brackets) for both ridge and 25-NN probes. Both models carry both parameters. While the -NN (=25) probe is exact at every rollout, it is observed some drift for the ridge, affecting more LeHami. Note that the columns therefore measure how far the frozen readout drifts, not whether the parameter is still identifiable.
| probe | model | \multicolumn{2}{c}{rod length } | \multicolumn{2}{c}{bob mass } | ||
| ridge | LeHami | 0.999 | 0.900 [0.871, 0.951] | 0.999 | 0.977 [0.958, 0.993] |
| LeWM | 0.999 | 0.983 [0.976, 0.990] | 0.999 | 0.993 | |
| 25-NN | LeHami | 1.000 | 0.997 [0.992, 1.000] | 1.000 | 1.000 |
| LeWM | 1.000 | 1.000 | 1.000 | 1.000 |
Table 15.
Table 15 shows that both models carry both parameters. At the anchor every cell reads . After 76 rollout steps the 25-NN probe is still essentially exact () for both models, while the frozen ridge probe drifts, more for LeHami (0.900 on and 0.977 on ) than for LeWM (0.983 and 0.993). The drift is an affine deformation rather than a loss of information: by the linear readout of has over-dispersed by 3–6% and picked up a small offset, which a nearest-neighbour readout, depending only on which training points are closest, does not see. A local readout that keeps working while a fixed affine one loses calibration is the signature of a parameter that has been transported within the latent rather than destroyed. For control the drift is inconsequential: assigning the ridge prediction of to the nearest of {0.5, 1.0, 2.0} kg is correct on 99.3% of episodes at for both models, against a majority-class floor of 34.8%. The planning results of § 4.5 therefore cannot be attributed to either model being blind to the mass.
Physical errors at a short and a long step
All results in the rest of this appendix are over three training seeds, on the test split. Figure 18 shows the errors at every rollout step, against chance, and Tables 16 and 17 extend Table 2 with a short step.
| environment | LeHami | MLP, matched | Transformer (LeWM’s) | repeat the start | predict the mean | |
| cons. pendulum | position, | 0.460 ± 0.028 | 1.154 ± 0.002 | 1.073 ± 0.009 | 1.213 | 1.195 |
| velocity, | 1.318 ± 0.070 | 2.905 ± 0.106 | 2.658 ± 0.110 | 2.813 | 2.723 | |
| position, | 0.779 ± 0.034 | 1.310 ± 0.015 | 1.313 ± 0.046 | 1.259 | 1.324 | |
| velocity, | 2.185 ± 0.227 | 2.672 ± 0.085 | 2.566 ± 0.144 | 2.741 | 2.499 | |
| act. pendulum | position, | 0.596 ± 0.027 | 0.811 ± 0.020 | 0.707 ± 0.004 | 1.108 | 1.019 |
| velocity, | 1.458 ± 0.059 | 2.089 ± 0.052 | 1.858 ± 0.032 | 2.733 | 2.607 | |
| position, | 0.908 ± 0.067 | 1.073 ± 0.027 | 1.076 ± 0.015 | 1.186 | 1.168 | |
| velocity, | 2.280 ± 0.206 | 2.721 ± 0.033 | 2.801 ± 0.086 | 3.222 | 2.541 | |
| mass-spring | position | 0.074 ± 0.016 | 0.223 ± 0.005 | 0.164 ± 0.018 | 0.422 | 0.336 |
| velocity | 0.086 ± 0.009 | 0.254 ± 0.004 | 0.201 ± 0.019 | 0.436 | 0.347 | |
| two-body | position | 0.421 ± 0.047 | 0.148 ± 0.073 | 0.183 ± 0.037 | 2.502 | 1.456 |
| velocity | 0.112 ± 0.013 | 0.056 ± 0.034 | 0.062 ± 0.019 | 0.688 | 0.423 | |
| cart pole | position | 1.041 ± 0.098 | 1.190 ± 0.093 | 1.104 ± 0.081 | 2.276 | 1.285 |
| velocity | 2.314 ± 0.192 | 2.140 ± 0.101 | 2.248 ± 0.299 | 3.778 | 2.409 |
Table 2. Physical prediction at the longest step, five environments. MAE of the position and the velocity read from the rollout by the 25-NN probe, mean ± s.d. over three seeds. Pendulums: [rad], [rad/s], and , the step of Table 1. Mass-spring: , , . Two-body: position and velocity of a body, . Cart pole: [rad], [rad/s], . Bold: lowest of the three predictors given the same state. The two baselines use no model.

Figure 18. Physical errors against the rollout step, five environments. MAE of the position (top) and the velocity (bottom) read by the 25-NN probe, mean s.d. over three seeds; models as in Figure 8. Dotted: the better of the two baselines without a model. The dotted curve is the lower of the two baselines at each step, which explains its shape on the mass-spring: repeating the start is exact at step 0, and its error grows as the bob moves away; from about step 10 predicting the mean is lower, so the curve stays flat; near one period ( s, 63 steps) the bob returns to where it started, so repeating the start becomes exact again and the curve drops.
Collapse is not the only way to fail. LeWM on its own one-frame state keeps the distance between its rollouts (Figure 8), yet its error grows with the step. At a fixed step, we split the squared error of the decoded velocity over the test episodes into three parts: a constant offset, a wrong spread (predictions too spread out or too bunched together), and a loss of correlation with the truth. On the conservative pendulum at , loss of correlation is 98% of LeWM’s error and 87% of LeHami’s, and LeWM’s predictions keep about the true spread. So LeWM fails by losing track of the state, for example by drifting out of phase, not by merging states. Keeping volume prevents merging; it does not prevent losing track.
How much of the error is collapse. A frozen probe , fitted on the encoder’s latents of true frames, reads a physical quantity from the rollout: , against the true value . Over the test starts, the mean squared error of any such reading can be written as ([31])
with , and , the mean and standard deviation of and over the test starts, and the Pearson correlation between and over the same starts, at a fixed step . This is an identity, not a model of the error. Collapse of the rollout shows up in the amplitude term, as readings that vary less than they should (). Table 22 gives its share. On the mass-spring it is most of the free predictors’ error: their readings stay correlated with the truth (0.95 and 0.98) but vary too little, and the amplitude part is 79% and 83% of their position error, against 5% for LeHami. Their rollouts there also lose rank (Table 1), so this is more than a change of scale: directions of the motion are lost. On the pendulums, two-body and the cart pole their correlation with the truth is low, the amplitude part is small, and the error is mostly loss of correlation; merging can cause that, but so can drifting out of step, as LeWM on its own state shows.
| predictor | cons. pendulum | act. pendulum | mass-spring | two-body | cart pole |
| LeHami | 1.03/1.35/1.04/1.25 | 1.00/1.04/1.01/1.21 | 1.10/1.22/1.15/1.57 | 1.50/0.94/1.59/0.83 | 1.33/0.58/1.42/0.94 |
| MLP, matched | 0.81/0.49/0.78/0.56 | 0.91/0.68/0.90/0.84 | 0.73/0.17/0.70/0.37 | 0.85/0.75/0.85/0.94 | 0.72/0.22/0.71/0.56 |
| Transformer (LeWM’s) | 0.86/0.62/0.83/0.70 | 0.92/0.81/0.90/0.90 | 0.83/0.37/0.80/0.59 | 0.84/0.76/0.84/0.95 | 0.63/0.20/0.64/0.61 |
Table 1. Rollout collapse on the data, at the longest step. Each cell gives four ratios of the rollout to the truth, separated by slashes: distance between rollouts / tangent area / spread / effective rank; 1 is right, below 1 the rollout contracts, above 1 it drifts. Mean over three seeds (largest s.d. 0.17). Steps : 30 for the pendulums, 50 for the mass-spring, 70 for two-body and the cart pole.
| predictor | cons. pendulum, | act. pendulum, | mass-spring, | two-body, | cart pole, |
| LeHami | 14% / 13% | 24% / 23% | 5% / 2% | 22% / 24% | 17% / 5% |
| MLP, matched | 16% / 16% | 18% / 9% | 79% / 69% | 1% / 1% | 12% / 1% |
| Transformer (LeWM’s) | 22% / 15% | 20% / 9% | 83% / 71% | 1% / 1% | 3% / 3% |
| LeWM | 6% / 7% | 9% / 11% | 1% / 3% | 0% / 0% | 0% / 0% |
Table 22. Share of the squared error due to the amplitude part. Collapse shows up in this part, as predictions that vary less than they should. Each cell gives position / velocity, read by the 25-NN probe at the steps of Table 1, mean over three seeds. Position and velocity: sin and for the pendulums, and for the mass-spring, the orbit’s canonical coordinates and for two-body, and its momentum for the cart pole. The rest of the error is almost all loss of correlation.
The probe is the 25-NN probe fitted on one-step predictions of the training episodes. Two-body positions are in canvas units (one pixel is 0.087).
| environment, step | LeHami | MLP, matched | Transformer (LeWM’s) | repeat the start | predict the mean |
| cons. pendulum , | 0.177 0.002 | 0.416 0.021 | 0.279 0.052 | 1.981 | 1.299 |
| cons. pendulum , | 0.460 0.028 | 1.154 0.002 | 1.073 0.009 | 1.213 | 1.195 |
| cons. pendulum , | 0.779 0.034 | 1.310 0.015 | 1.313 0.046 | 1.259 | 1.324 |
| act. pendulum , | 0.319 0.037 | 0.259 0.012 | 0.200 0.018 | 1.688 | 1.053 |
| act. pendulum , | 0.596 0.027 | 0.811 0.020 | 0.707 0.004 | 1.108 | 1.019 |
| act. pendulum , | 0.908 0.067 | 1.073 0.027 | 1.076 0.015 | 1.186 | 1.168 |
| mass-spring , | 0.013 0.001 | 0.030 0.001 | 0.025 0.001 | 0.327 | 0.355 |
| mass-spring , | 0.074 0.016 | 0.223 0.005 | 0.164 0.018 | 0.422 | 0.336 |
| two-body position, | 0.027 0.006 | 0.024 0.009 | 0.027 0.001 | 0.828 | 1.456 |
| two-body position, | 0.421 0.047 | 0.148 0.073 | 0.183 0.037 | 2.502 | 1.456 |
| cart pole , | 0.109 0.005 | 0.072 0.014 | 0.058 0.012 | 0.511 | 1.224 |
| cart pole , | 1.041 0.098 | 1.190 0.093 | 1.104 0.081 | 2.276 | 1.285 |
Table 16. MAE of the position. Mean s.d. over three seeds. Bold: lowest of the three predictors given the same state. The baselines use no model.
LeHami against LeWM with its own state
Tables 1 and 2 compare predictors on the same state. Table 18 compares LeHami with LeWM on its own learned state: from one frame (, the baseline of the main text, run on the pendulums) or from three (, untied kernel, run on all five). Both have the same latent size as LeHami (64), but learn all of it, while LeHami learns 32 dimensions and computes the other 32 (); LeWM also has more parameters (4.45M against 3.03M).
| cons. pendulum | act. pendulum | mass-spring | two-body | cart pole | |
| Collapse | |||||
| LeHami | 1.03/1.35/1.04/1.25 | 1.00/1.04/1.01/1.21 | 1.10/1.22/1.15/1.57 | 1.50/0.94/1.59/0.83 | 1.33/0.58/1.42/0.94 |
| LeWM | 1.01/0.78/1.01/0.98 | 1.00/1.06/1.00/1.00 | – | – | – |
| LeWM | 0.99/1.00/0.99/0.99 | 0.99/1.00/0.99/0.99 | 0.99/1.00/0.98/1.01 | 0.98/0.95/0.98/1.00 | 0.93/0.76/0.92/0.97 |
| Position MAE | |||||
| LeHami | 0.779 ± 0.034 | 0.908 ± 0.067 | 0.074 ± 0.016 | 0.421 ± 0.047 | 1.041 ± 0.098 |
| LeWM | 1.242 ± 0.134 | 0.984 ± 0.151 | – | – | – |
| LeWM | 0.502 ± 0.090 | 0.644 ± 0.049 | 0.016 ± 0.003 | 0.165 ± 0.022 | 0.203 ± 0.033 |
| Velocity MAE | |||||
| LeHami | 2.185 ± 0.227 | 2.280 ± 0.206 | 0.086 ± 0.009 | 0.112 ± 0.013 | 2.314 ± 0.192 |
| LeWM | 2.732 ± 0.276 | 2.259 ± 0.151 | – | – | – |
| LeWM | 1.134 ± 0.145 | 1.820 ± 0.112 | 0.015 ± 0.004 | 0.052 ± 0.007 | 0.652 ± 0.077 |
Table 18. LeHami against LeWM with its own state. Collapse cells give distance between rollouts / tangent area / spread / effective rank, as in Table 1, at the same steps. MAE as in Table 2, at ( for the mass-spring), mean ± s.d. over three seeds. –: not run.
| environment, step | LeHami | MLP, matched | Transformer (LeWM’s) | repeat the start | predict the mean |
| cons. pendulum , | 0.473 ± 0.003 | 1.418 ± 0.038 | 1.160 ± 0.055 | 3.602 | 2.386 |
| cons. pendulum , | 1.318 ± 0.070 | 2.905 ± 0.106 | 2.658 ± 0.110 | 2.813 | 2.723 |
| cons. pendulum , | 2.185 ± 0.227 | 2.672 ± 0.085 | 2.566 ± 0.144 | 2.741 | 2.499 |
| act. pendulum , | 0.913 ± 0.049 | 0.895 ± 0.045 | 0.773 ± 0.024 | 3.120 | 2.065 |
| act. pendulum , | 1.458 ± 0.059 | 2.089 ± 0.052 | 1.858 ± 0.032 | 2.733 | 2.607 |
| act. pendulum , | 2.280 ± 0.206 | 2.721 ± 0.033 | 2.801 ± 0.086 | 3.222 | 2.541 |
| mass-spring , | 0.038 ± 0.003 | 0.144 ± 0.006 | 0.103 ± 0.011 | 0.324 | 0.367 |
| mass-spring , | 0.086 ± 0.009 | 0.254 ± 0.004 | 0.201 ± 0.019 | 0.436 | 0.347 |
| two-body velocity, | 0.007 ± 0.001 | 0.007 ± 0.003 | 0.008 ± 0.000 | 0.273 | 0.423 |
| two-body velocity, | 0.112 ± 0.013 | 0.056 ± 0.034 | 0.062 ± 0.019 | 0.688 | 0.423 |
| cart pole , | 2.015 ± 0.054 | 1.370 ± 0.104 | 1.272 ± 0.395 | 1.987 | 2.544 |
| cart pole , | 2.314 ± 0.192 | 2.140 ± 0.101 | 2.248 ± 0.299 | 3.778 | 2.409 |
Table 17. MAE of the velocity, same layout. On the cart pole the probe reads poorly from [q, SG(q)] even before any rollout, so those rows measure the probe more than the rollout.
LeWM is more accurate on four of five environments and mostly does not contract; on the cart pole, the hardest environment, it starts to (tangent area 0.76), and nothing in its predictor prevents this. LeWM is less accurate than LeHami on the conservative pendulum at (1.24 against 0.78 rad) and close on the actuated one (0.98 against 0.91).
Backward rollout
From a mid-episode frame of a held-out episode we roll LeHami back steps, with the torques that drove the earlier frames on the actuated pendulum, and score it against the true frame steps earlier; the forward rollout from the same frame is scored against the frame steps later. The probe is an MLP fitted on the encoder’s latents of the training episodes. The baselines are computed on the same earlier frames. Table 19 gives the numbers behind Figure 5 (right). The angle is recovered as well backward as forward on both pendulums. The velocity backward beats both baselines up to on the conservative pendulum and up to on the actuated one.
The mass stays in the rollout
On the actuated pendulum the bob is drawn with a constant density, so its mass is visible in one frame. Table 20 reads it from each model’s rollout with a linear probe fitted on the encoder’s latents of the training episodes, on held-out test episodes with the same three masses. Every model keeps it; unit mass does not stop LeHami from carrying it. Table 15 gives the rod length and the 25-NN probe for LeHami and LeWM.
Further controls
Tables referred to in Sections 4.2 and 4.3, and in Appendices E.3, D.3.3 and E.4.
| forward | backward | repeat the start | predict the mean | ||
| cons., [rad] | 1 | 0.052 ± 0.004 | 0.057 ± 0.003 | 0.251 | 1.272 |
| cons., [rad] | 5 | 0.209 ± 0.009 | 0.206 ± 0.002 | 1.196 | 1.286 |
| cons., [rad] | 10 | 0.456 ± 0.000 | 0.446 ± 0.008 | 1.676 | 1.299 |
| cons., [rad] | 20 | 0.527 ± 0.007 | 0.507 ± 0.008 | 1.054 | 1.274 |
| cons., [rad/s] | 1 | 0.238 ± 0.005 | 0.230 ± 0.021 | 0.640 | 2.509 |
| cons., [rad/s] | 5 | 0.873 ± 0.026 | 0.855 ± 0.036 | 2.870 | 2.477 |
| cons., [rad/s] | 10 | 1.141 ± 0.013 | 1.216 ± 0.010 | 4.306 | 2.433 |
| cons., [rad/s] | 20 | 1.801 ± 0.019 | 1.858 ± 0.034 | 3.047 | 2.500 |
| act., [rad] | 1 | 0.077 ± 0.009 | 0.074 ± 0.006 | 0.242 | 1.047 |
| act., [rad] | 5 | 0.343 ± 0.030 | 0.332 ± 0.031 | 1.120 | 1.041 |
| act., [rad] | 10 | 0.531 ± 0.036 | 0.506 ± 0.021 | 1.487 | 1.025 |
| act., [rad] | 20 | 0.716 ± 0.050 | 0.684 ± 0.096 | 1.038 | 1.004 |
| act., [rad/s] | 1 | 0.462 ± 0.053 | 0.452 ± 0.049 | 0.669 | 2.423 |
| act., [rad/s] | 5 | 1.708 ± 0.316 | 1.575 ± 0.156 | 2.800 | 2.382 |
| act., [rad/s] | 10 | 2.178 ± 0.414 | 1.895 ± 0.238 | 3.909 | 2.361 |
| act., [rad/s] | 20 | 3.193 ± 1.124 | 2.343 ± 0.410 | 2.863 | 2.282 |
Table 19. Forward and backward rollouts against the true frames. MAE, mean ± s.d. over three seeds; baselines on the earlier frames.
References
- [1]Robert Jenkinson Alvarez. Beyond isotropy in JEPAs: Hamiltonian geometry and symplectic prediction. arXiv preprint arXiv:2605.20107, 2026.arxiv.org/abs/2605.20107
- [2]Vladimir I. Arnold. Mathematical Methods of Classical Mechanics. Springer, 2nd edition, 1989.
- [3]Mido Assran, Adrien Bardes, David Fan, Quentin Garrido, Russell Howes, Matthew Muckley, Ammar Rizvi, Claire Roberts, Koustuv Sinha, Artem Zholus, et al. V-Jepa 2: Self-supervised video models enable understanding, prediction and planning. arXiv preprint arXiv:2506.09985, 2025.arxiv.org/abs/2506.09985
- [6]Adrien Bardes, Jean Ponce, and Yann LeCun. Vicreg: Variance-invariance-covariance regularization for self-supervised learning. arXiv preprint arXiv:2105.04906, 2021.arxiv.org/abs/2105.04906
- [7]Kamel Belloulata and Amina Belalia. Contractive MASO-generalized predictors for stable latent-space learning in JEPA. Transactions on Machine Learning Research, 2026.
- [8]Aleksandar Botev, Andrew Jaegle, Peter Wirnsberger, Daniel Hennes, and Irina Higgins. Which priors matter? Benchmarking models for learning latent dynamics. In NeurIPS Datasets and Benchmarks Track, 2021.arxiv.org/abs/2111.05458
- [9]Zhengdao Chen, Jianyu Zhang, Martin Arjovsky, and Léon Bottou. Symplectic recurrent neural networks. arXiv preprint arXiv:1909.13334, 2019.arxiv.org/abs/1909.13334
- [10]Miles Cranmer, Sam Greydanus, Stephan Hoyer, Peter Battaglia, David Spergel, and Shirley Ho. Lagrangian neural networks. arXiv preprint arXiv:2003.04630, 2020.arxiv.org/abs/2003.04630
- [11]Sen Cui and Jinheng Ma. Physically native world models: A hamiltonian perspective on generative world modeling. arXiv preprint arXiv:2605.00412, 2026.arxiv.org/abs/2605.00412
- [12]Ria Doshi, Homer Walke, Oier Mees, Sudeep Dasari, and Sergey Levine. Scaling cross-embodied learning: One policy for manipulation, navigation, locomotion, and aviation. arXiv preprint arXiv:2408.11812, 2024.arxiv.org/abs/2408.11812
- [13]Thai Duong and Nikolay Atanasov. Hamiltonian-based neural ode networks on the se (3) manifold for dynamics learning and control. arXiv preprint arXiv:2106.12782, 2021.arxiv.org/abs/2106.12782
- [14]Herbert Goldstein. Classical mechanics. Pearson Education India, 2011.
- [15]Peter A Gorry. General least-squares smoothing and differentiation by the convolution (savitzky-golay) method. Analytical Chemistry, 62(6):570–573, 1990.DOI
- [16]Samuel Greydanus, Misko Dzamba, and Jason Yosinski. Hamiltonian neural networks. Advances in neural information processing systems, 32, 2019.arxiv.org/abs/1906.01563
- [17]Danijar Hafner, Timothy Lillicrap, Jimmy Ba, and Mohammad Norouzi. Dream to control: Learning behaviors by latent imagination. arXiv preprint arXiv:1912.01603, 2019.arxiv.org/abs/1912.01603
- [18]Danijar Hafner, Timothy Lillicrap, Mohammad Norouzi, and Jimmy Ba. Mastering atari with discrete world models. arXiv preprint arXiv:2010.02193, 2020.arxiv.org/abs/2010.02193
- [19]Ernst Hairer, Christian Lubich, and Gerhard Wanner. Geometric numerical integration illustrated by the störmer–verlet method. Acta numerica, 12:399–450, 2003.
- [20]Nicklas Hansen, Xiaolong Wang, and Hao Su. Temporal difference learning for model predictive control. arXiv preprint arXiv:2203.04955, 2022.arxiv.org/abs/2203.04955
- [21]Sylvia L. Herbert, Mo Chen, SooJean Han, Somil Bansal, Jaime F. Fisac, and Claire J. Tomlin. Fast track: A modular framework for fast and guaranteed safe motion planning. In 2017 IEEE 56th Annual Conference on Decision and Control (CDC), pp. 1517–1522. IEEE, 2017.DOI
- [22]Irina Higgins, Peter Wirnsberger, Andrew Jaegle, and Aleksandar Botev. SyMetric: Measuring the quality of learnt Hamiltonian dynamics inferred from vision. In Advances in Neural Information Processing Systems, 2021.arxiv.org/abs/2111.05986
- [23]Pengzhan Jin, Zhen Zhang, Aiqing Zhu, Yifa Tang, and George Em Karniadakis. SympNets: Intrinsic structure-preserving symplectic networks for identifying Hamiltonian systems. Neural Networks, 132:166–179, 2020.arxiv.org/abs/2001.03750
- [24]Seung su Kim, Ashwini Shukla, and Aude Billard. Catching objects in flight. IEEE Transactions on Robotics, 30(5):1049–1065, 2014.DOI
- [25]Yann LeCun et al. A path towards autonomous machine intelligence version 0.9. 2, 2022-06-27. Open Review, 62(1):1–62, 2022.
- [26]Xueyu Luan and Chenwei Shi. Ph-dreamer: A physics-driven world model via port-hamiltonian generative dynamics. arXiv preprint arXiv:2605.18303, 2026.arxiv.org/abs/2605.18303
- [27]Lucas Maes, Quentin Le Lidec, Damien Scieur, Yann LeCun, and Randall Balestriero. LeWorld-Model: Stable end-to-end joint-embedding predictive architecture from pixels. arXiv preprint arXiv:2603.19312, 2026a. URL https://arxiv.org/abs/2603.19312.
- [28]Lucas Maes, Quentin Le Lidec, Luiz Facury, Nassim Massaudi, Ayush Chaurasia, Francesco Capuano, Richard Gao, Taj Gillin, Dan Haramati, Damien Scieur, Yann LeCun, and Randall Balestriero. stable world-model: A platform for reproducible world modeling research and evaluation, 2026b. URL https://arxiv.org/abs/2605.21800.
- [29]Jerrold E Marsden, Tudor S Ratiu, and M Golubitsky. Introduction to mechanics and symmetry: a basic exposition of classical mechanical systems, volume 17. Springer, 1999.
- [30]Ian M Mitchell, Alexandre M Bayen, and Claire J Tomlin. A time-dependent hamilton-jacobi formulation of reachable sets for continuous dynamic games. IEEE Transactions on automatic control, 50(7):947–957, 2005.DOI
- [31]Allan H. Murphy. Skill scores based on the mean square error and their relationships to the correlation coefficient. Monthly Weather Review, 116(12):2417–2424, 1988.doi.org/10.1175/1520-0493(1988)116<2417:ssbotm>2.0.co;2
- [32]Maxime Oquab, Timothée Darcet, Théo Moutakanni, Huy Vo, Marc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel Haziza, Francisco Massa, Alaeddin El-Nouby, et al. Dinov2: Learning robust visual features without supervision. arXiv preprint arXiv:2304.07193, 2023.arxiv.org/abs/2304.07193
- [33]Vlad Sobal, Wancong Zhang, Kyunghyun Cho, Randall Balestriero, Tim GJ Rudner, and Yann LeCun. Learning from reward-free offline data: A case for planning with latent dynamics models. arXiv preprint arXiv:2502.14819, 2025.arxiv.org/abs/2502.14819
- [34]Chee Keong Tan, Michael James Tippett, and Jie Bao. Model predictive control with non-uniformly spaced optimization horizon for multi-timescale processes. Computers & Chemical Engineering, 84:162–170, 2016.DOI
- [35]Haoyun Tang, Haodong Cui, Keyao Xu, Kun Wang, and Zhandong Mei. Ham-world: Soft-hamiltonian world models with selective memory for planning. arXiv preprint arXiv:2605.05951, 2026.arxiv.org/abs/2605.05951
- [36]Molei Tao. Explicit symplectic approximation of nonseparable hamiltonians: Algorithm and long time performance. Physical Review E, 94(4):043303, 2016.DOI
- [37]Peter Toth, Danilo J Rezende, Andrew Jaegle, Sébastien Racanière, Aleksandar Botev, and Irina Higgins. Hamiltonian generative networks. In International conference on learning representations, 2019.arxiv.org/abs/1909.13789
- [38]Mark Towers, Ariel Kwiatkowski, Jordan Terry, John U. Balis, Gianluca De Cola, Tristan Deleu, Manuel Goulão, Andreas Kallinteris, Markus Krimmel, Arjun KG, et al. Gymnasium: A standard interface for reinforcement learning environments. arXiv preprint arXiv:2407.17032, 2024.arxiv.org/abs/2407.17032
- [39]Du Tran, Heng Wang, Lorenzo Torresani, Jamie Ray, Yann LeCun, and Manohar Paluri. A closer look at spatiotemporal convolutions for action recognition. In 2018 IEEE/CVF conference on computer vision and pattern recognition, pp. 6450–6459. IEEE, 2018.
- [40]Kan Wu, Jinnian Zhang, Houwen Peng, Mengchen Liu, Bin Xiao, Jianlong Fu, and Lu Yuan. Tinyvit: Fast pretraining distillation for small vision transformers. In European conference on computer vision, pp. 68–85. Springer, 2022.arxiv.org/abs/2207.10666

