world2vec: Mechanistic world models through latent dynamics learning
Tobias Schmidt, Rodrigo Gonzalez Laiz, Krisztián Szuppinger, Steffen Schneider
arXiv:2610.40637v1World models are often judged by whether they can solve a control task. But this paper starts from a deeper question: can a learned world model actually represent the environment’s dynamics in a way that is faithful, interpretable, and useful for scientific discovery? That distinction matters. A model might predict rewards well enough to act, while still failing to capture the true underlying state evolution. If we want models that help us understand physical systems, not just exploit them, we need more than task performance. We need models whose latent variables correspond to real system state up to a change of coordinates, and whose learned dynamics reproduce the actual evolution of that state over time. That is the problem world2vec is trying to solve. The setting is the standard latent world modeling setup: the real system has some hidden state, actions influence how that state evolves, and we only observe the system through a nonlinear measurement process, such as pixels. In practice, that means the model must infer state from observations, then predict how that state changes under actions. This is especially hard under partial observability, because a single frame usually does not tell you everything. Velocities, for example, are not visible directly in one image; you need a short history. There is a useful distinction in the background here. Some world models are built for reconstruction or forecasting. Others are optimized for planning or reinforcement learning, often with reward information. More recent approaches, especially joint-embedding predictive methods like JEPA-style models and dynamics contrastive learning, try to learn in latent space without explicit reconstruction. Those approaches have shown promise, and theory suggests that under the right assumptions they can recover meaningful latent representations. But there has still been a gap between the theory and scalable algorithms that both perform well and remain mechanistically interpretable. World2vec is the authors’ answer. The core idea is to learn a latent state and a latent dynamics model directly from observations and actions, without reward supervision, in a way that encourages the latent trajectory to match the true system’s evolution over multiple steps. The paper calls this latent dynamics matching. Instead of just asking the model to make one-step predictions, it asks whether rolling the learned dynamics forward in latent space produces the same future representation as encoding the future observation sequence. That matters because long-horizon agreement is much closer to what we mean by a real model of the system, and it exposes whether small errors accumulate over time. The architecture has two parts. First is an encoder that maps a short observation history into a latent state. The history is important because the system may be partially observed, so the encoder needs enough context to infer the full state. Second is a dynamics model that predicts the latent rate of change conditioned on the latent state and action. The paper frames this in continuous-time terms: the model predicts a latent velocity field, and a numerical integrator, such as an explicit Euler step, advances the latent state forward. This is a nice choice conceptually because it mirrors how dynamical systems are usually written in physics and control. Training works by sampling a sequence from the dataset, encoding the initial history, and then rolling the latent dynamics forward for multiple steps while holding actions fixed over each interval. The predicted latent rollout is compared against the encoded future observations. The paper emphasizes that this is not just a single-step matching problem. Over multiple steps, the model must reproduce the cumulative latent displacement produced by the learned velocity field. That makes the objective sensitive to compounding error, which is exactly what matters if you want the model to support long-horizon planning or identify system structure. The authors build world2vec on top of two objective families that are already associated with identifiable representations under idealized conditions: DCL, or dynamics contrastive learning, and LeJEPA-style objectives with a regularizer that encourages non-collapsed embeddings. In the paper’s terminology, the resulting variants are world2vec-dcl and world2vec-sigreg. The exact training objective can vary, but the key requirement is that it belongs to a class of objectives with theoretical identifiability guarantees. So world2vec is less about inventing a brand-new loss from scratch and more about turning those theoretical ideas into a practical algorithm that scales. A second important piece is interpretability. The paper is not satisfied with just good control. It also wants evidence that the learned representation is stable and meaningful. To assess that, the authors look at whether independently trained encoders recover equivalent latent spaces up to an affine transformation, which they call consistency. They also measure whether the learned dynamics actually reproduce the evolution of the representation using latent rollout consistency, and they use an equivariance-style retrieval metric as well. These are useful because they test more than task reward: they ask whether the latent space itself behaves like a coherent coordinate system for the underlying dynamics. There is also a more interpretable dynamics option. Besides an MLP vector field, the framework can use a structured parameterization inspired by sparse identification of nonlinear dynamics, or SINDy. In that version, the latent dynamics are expressed as a linear combination of fixed library features, with learned coefficients and an L1 penalty to encourage sparsity. That is a classic scientific-computing idea: if the world model can be written in a compact symbolic form, it becomes easier to inspect and potentially relate to known equations. For control, world2vec uses model predictive control in latent space. The controller receives a target observation sequence, encodes it into a goal latent state, and then searches over candidate action sequences using the cross-entropy method. It rolls out the learned latent dynamics, scores candidate trajectories against the goal, executes a prefix of the best plan, and replans from fresh observations. Importantly, this is done without a learned reward model and without a decoder back to pixels. The model is used directly as a predictive simulator in latent space. The experiments focus on three continuous-control environments from the DeepMind Control Suite: Pendulum, Reacher, and Cartpole. The data are collected offline from random policies, with 200,000 RGB frames at 64 by 64 resolution in each environment. For Reacher they use uniform random actions, and for Pendulum and Cartpole temporally correlated Ornstein-Uhlenbeck actions. That setup is important because it tests whether the model can learn from passive data rather than from an on-policy reinforcement learning loop. They also create a non-visual variant for identifiability analysis. In that version, the positional and angular coordinates, but not velocities, are passed through a randomly initialized injective MLP and projected to 50 dimensions. This gives a more abstract observation space while preserving the hidden-state structure, which is a good test of whether the method can recover meaningful latents beyond raw pixels. The model sizes are relatively small. With a latent dimension of 32, the main world2vec model has 263,000 parameters total, with 221,000 in the encoder and 42,000 in the dynamics model. The paper highlights that this is at least an order of magnitude fewer parameters than several larger baselines, including DreamerV3, TD-MPC2, and LeWM. Training is done for 20,000 iterations with Adam and cosine learning-rate decay. So what do the results show? First, world2vec achieves strong control performance from pixels on these continuous environments, and it does so while also producing accurate long-range forecasts. The abstract states that across the three environments, it jointly achieves high reward and strong forecasting, and that it enables successful model predictive control in two of the three environments. The paper also notes that none of those environments were solvable by the previous best JEPA-based approach, LeWM. That is a meaningful result because it suggests the method is not trading off control for interpretability; it improves both. Second, the forecasting behavior is not just superficially good on one-step prediction. The emphasis throughout the paper is on long-horizon rollout fidelity, which is the harder and more informative test. If a latent model only works for a single step, it may still be useful as a policy prior, but it is not much of a mechanistic simulator. World2vec is designed to preserve dynamics over longer horizons, and the reported results indicate that this objective helps. Third, the paper claims accurate system identification across a benchmark of 71 attractors. That is a strong statement about scientific utility. It suggests that the approach can go beyond control benchmarks and into settings where the goal is to recover the structure of dynamical systems. In other words, the model is not just learning a useful compressed state for action selection; it is learning latent dynamics that can support discovery. The consistency and equivariance analyses are also important. They provide evidence that independently trained models can converge to equivalent latent descriptions, up to affine transformations, which is what you would want if the representation is truly identifying the underlying state rather than memorizing arbitrary codes. This is one of the paper’s main mechanistic claims. There are, of course, limitations and things to watch. The first is that the framework still depends on assumptions from the identifiability literature. The theory is strongest when the observations are sufficiently informative over a short history and when the chosen objective and parameterization satisfy the right conditions. Real-world systems may violate those assumptions, especially under severe partial observability, noise, changing dynamics, or insufficient data coverage. Second, the strongest claims are demonstrated on relatively controlled benchmark environments. MuJoCo tasks are useful, but they are still much simpler than many real physical systems. It remains to be seen how far the approach scales to richer sensors, more complex contact dynamics, or settings where the state is only weakly observable from short histories. Third, model predictive control in latent space is only as good as the learned dynamics over the planning horizon. Even with multi-step training, compounding error can still become a problem as horizons lengthen or the system moves out of the data distribution. The paper’s emphasis on rollout consistency is exactly the right response to that issue, but it does not eliminate it. Finally, the most interpretable parameterization, the sparse SINDy-style dynamics, is promising but likely trades off flexibility for readability. That is a familiar tension in scientific machine learning: the more structured the model, the easier it may be to interpret, but the harder it can be to fit complex dynamics. Overall, world2vec is interesting because it tries to unify three goals that are often treated separately: good control, faithful dynamics modeling, and mechanistic interpretability. The paper’s main message is that these goals do not have to be in conflict. By learning latent dynamics that match long-horizon evolution, and by grounding the method in identifiable objectives, world2vec shows that world models can be more than planning tools. They can also become instruments for understanding the systems they model.
Also spotted that day
Previous daily papers