Manuscript Offprint
arXiv:2610.01373Learning Commute-Time-Preserving World Models for Planning
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
World models allow agents to plan in latent space by choosing a sequence of actions that most reduces the distance to a given goal state. Thus, planning can benefit from latent representations whose distances mirror commute-times in the environment. The spectral embedding space of the graph Laplacian provides such a representation, if it obeys a specific eigenvalue-dependent scaling. Unfortunately, instantiating the graph Laplacian is intractable in large, continuous environments. Self-supervised learning offers a natural route to such commute-time-preserving embeddings at scale. However, here we show that existing methods, which commonly encourage isotropic representations to prevent representational collapse, tend to degrade the “correct” eigenvalue-dependent scaling, leading to an inaccurate representation of commute times. To address this problem, we introduce Commute-Time-Preserving World Models (CTWMs), combining a latent displacement predictor and a log-determinant regularizer that prevents collapse, which provably recover the correctly scaled Laplacian representation under reversible deterministic dynamics and at the predictor’s fixed point. In numerical simulations, CTWM matches or outperforms LeWM, a task-agnostic baseline, on several complex, continuous goal-reaching benchmarks, while using half the parameters.
1 INTRODUCTION
Acting intelligently in complex environments requires imagining the future. An agent that can simulate the consequences of its actions before taking them can plan, rather than merely react. This is the promise of model-based reinforcement learning (RL), where a learned world model might enable fast RL and generalization (Sutton, 1990; Deisenroth & Rasmussen, 2011; Chua et al., 2018; Janner et al., 2019). Still, the world models behind seminal successes (e.g., Schrittwieser et al., 2020) are shaped end-to-end by a single, fixed reward function, and adapt poorly when the objective changes (van Seijen et al., 2020). Animals do not share this inflexibility. For instance, a rat allowed to explore a maze in the absence of any reward will act as it possesses a full map of the maze the instant a reward is introduced (Tolman & Honzik, 1930; Tolman, 1948). Such latent learning suggests that nature has settled on task-agnostic world models as a strategy. What does it take for artificial agents to do the same, reliably and at scale?
Ha & Schmidhuber (2018) took the first step by learning representation and dynamics separately by first training a variational autoencoder first and then fitting a recurrent dynamics model to it afterward. Dreamer and its successors instead train both jointly, but through reconstruction (Hafner et al., 2020; 2022; 2025), which can bias representations on uninformative nuisance variables required to redraw the scene pixel-by-pixel (Deng et al., 2021). More recently, Maes et al. (2026b) introduced Le World Model (LeWM), a task-agnostic world model trained jointly, end-to-end, without reconstruction, using only a lightweight regularizer to prevent collapse. This work provides a strong baseline for learning task-agnostic representations, but collapse-avoidance alone does not
Equal contribution.
Project page: https://CTWM-website.github.io naturally lead to representational geometries that are also useful for planning (Wang et al., 2026; Nguyen et al., 2026).
What properties should a representation suited for planning have? In classical RL on discrete state spaces there exists a principled choice of representation geometry: the Laplacian representation, which embeds states using eigenvectors of the transition graph's Laplacian (Mahadevan & Maggioni, 2007), and under an appropriate eigenvalue-dependent rescaling, recovers the graph's commute-time distance in its Euclidean distances (Xiao & Gutman, 2003; Qiu & Hancock, 2007). This distance accounts for temporal distances between states, and thus forms a natural basis for planning, which has to take obstacles and other relevant factors of the environment into account. Learning this representation directly from data is well understood (Wu et al., 2018; Wang et al., 2021; Gomez et al., 2024), with applications to option discovery (Machado et al., 2017) and planning (Wang et al., 2022).
What is missing is a bridge between these two lines of work: the question is whether the same reconstruction-free, joint-embedding recipe that makes LeWM scale can also be steered toward a representational geometry that is optimal for planning, a question that has not, to our knowledge, been investigated. We show that this is possible and introduce Commute-Time-Preserving World Model (CTWM). Our key contributions are:
• We introduce CTWM, a reconstruction-free world model that jointly learns an encoder and a latent dynamics model by predicting action-induced latent displacements and applying an entropy-maximizing regularizer.
• We prove that, under deterministic and reversible dynamics, CTWM converges exactly to the Laplacian representation of the environment’s transition graph, correctly scaled such that latent distances equal commute-time distances.
• On discrete environments with a known transition graph, we confirm this directly: the learned embeddings’ pairwise distances match ground-truth commute times, whereas methods encouraging isotropic representations, e.g., SIGReg, do not recover the correct scaling.
• Finally, we show that CTWM outperforms LeWM on half the parameter budget across LeWM’s own goal-reaching benchmarks and two additional visual benchmarks from OG-Bench (Scene and Pointmaze), all evaluated from pixel observations with no oracle goal representation, which puts the full burden of representation learning on the encoder.
World models for policy learning. Ha & Schmidhuber (2018) trained a VAE as an encoder and then a predictive model on its latent space to train an agent entirely in imagination. More recently, the Dreamer family brought this idea to scale allowing policy iteration in complex environments (Hafner et al., 2020; 2022; 2025). While the above works relied on reconstruction objectives for representation learning, the notion was further extended to the reconstruction-free setting (Burchi & Timofte, 2024; Hauri & Zenke, 2026).
World models for planning. To plan directly by simulating action sequences, classic work searched decision trees of future moves using known environment dynamics (Silver et al., 2016), later extended to learned transition models when the true dynamics are unavailable (Schrittwieser et al., 2020). However, these approaches depend on reward and thus on the policy. This dependence typically precludes zero-shot generalization, as it requires retraining the model when the task or the rules of the game change.
Task agnostic world models address this limitation by learning representations and transition models from data without requiring reward. One line of work first trains an encoder network on generic image or video data (Zhou et al., 2024; Assran et al., 2025) using reconstruction-free self-supervised learning (SSL) and then learns a latent dynamics model on top for planning. More recently several studies relied on joint-embedding predictive architectures (JEPAs), allowing the encoder and predictor, i.e., the dynamics model, to be trained jointly (Sobal et al., 2026; Maes et al., 2026b; Zhao et al.,
2026), thereby further boosting planning performance and enabling zero-shot generalization. To mitigate the compounding rollout error such joint-embedding predictors accumulate over long horizons, some models predict jumpy, temporally abstract transitions instead (Farebrother et al., 2025; 2026). The main difference of the above reconstruction-free approaches is how they avoid collapse.
Avoiding collapse in SSL: To prevent trivial solutions in SSL different methods use distinct mechanisms. On the one hand, contrastive methods pull together the representations of positive samples while pushing apart negative ones (Sohn, 2016; Oord et al., 2018; Chen et al., 2020). On the other hand, non-contrastive methods forgo negatives and either rely on asymmetric architectures using a predictor and a stop-gradient, for instance, SimSiam (Chen & He, 2021) and BYOL (Grill et al., 2020), or additional regularization (Barlow Twins; Zbontar et al., 2021) as well as variance-invariance-covariance regularization (VICReg) (Bardes et al., 2021). More recently Balestriero & LeCun (2025) proposed Sketched Isotropic Gaussian Regularization (SIGReg) that matches the full projected embedding distribution to an isotropic Gaussian. Most existing SSL methods encourage isotropic representations either explicitly or implicitly (Halvagal et al., 2023), which can pose challenges for learning scaled representations.
Laplacian representations embed states using eigenvectors of the graph Laplacian induced by the Markov Decision Process (MDP)'s transition structure (Mahadevan & Maggioni, 2007), and are closely related to slow feature analysis (Wiskott & Sejnowski, 2002; Sprekeler, 2011; Richthofer & Wiskott, 2015). In RL, Wu et al. (2018) proposed an objective for learning these representations directly from data, which was improved subsequently (Wang et al., 2021). Gomez et al. (2024) introduced augmented Lagrangian Laplacian objective (ALLO), a method explicitly designed to recover both the Laplacian eigenvectors and eigenvalues from sampled transitions through a constrained optimization scheme. Laplacian representations have served to define spatio-temporally abstract states (Shehmar et al., 2026) and intrinsic reward functions (Machado et al., 2017). Connections between SSL objectives and spectral embedding methods were already studied by Balestriero & LeCun (2022). Although the above methods recover the Laplacian geometry, they neither necessarily learn a latent dynamics model nor guarantee appropriate eigenvalue-dependent scaling.
Alternative latent geometries for goal-reaching. A separate line of work shapes latent representations directly around planning-relevant distances, by learning (quasi-)metric embeddings via temporal-difference estimation of the transit time between states and goals (Wang et al., 2023; Myers et al., 2026; Park et al., 2026; Zheng et al., 2025). Unlike our method, these models only compute temporal distances between states, but do not train a world model with latent state predictor end-to-end. A second body of work learns successor features that aggregate discounted future state occupancies (Eysenbach et al., 2022; Bagatella et al., 2026). While these methods enable zero-shot goal-reaching, their learned distances are inherently policy-dependent rather than the intrinsic structure of the environment. In contrast, CTWM recovers the environment's commute-time distance.
3 CONSTRUCTING COMMUTE-TIME-PRESERVING WORLD MODELS
Before we start, we briefly introduce the basic notation. Let be an action space and an observation space. An encoder maps observations to a latent space , and a predictor simulates the dynamics in that space, .
3.1 PLANNING IN METRIC LATENT SPACES
Planning refers to finding the action sequence that minimizes a cost over a horizon . This cost can be reward-based, as in Hansen et al. (2024), or reward-free, as is common in goal-conditioned reinforcement learning. In the latter case, the cost measures the distance between the final latent state and an encoded goal :
where is obtained by recursively applying the learned dynamics from . This problem is commonly solved with the sampling-based cross-entropy method (CEM) (Rubinstein & Kroese, 2004), or gradient-based methods (V et al., 2023). Common to both approaches is that they rely on computing distances in the latent space, which requires these distances to be meaningful in the environment. A prominent choice is to require points in the latent space to preserve commute-time distances in the environment (Xiao & Gutman, 2003; Qiu & Hancock, 2007). On a graph, the commute time corresponds to the expected number of steps for a random walk to travel from node to node and back. It relates to the eigenvalues and eigenvectors of the graph Laplacian through
where , the volume of the graph, is the sum of its node degrees (Qiu & Hancock, 2007). For latent distances to correspond to commute time distance, we further define the scaled Laplacian representation (Qiu & Hancock, 2007; Wang et al., 2022; Shehmar et al., 2026) as , which yields
so that squared distances in are commute-time distances up to a global multiplicative constant.
In other words, there exists a representation space in which the commute-time distance is Euclidean. It requires an eigenvalue-dependent scaling of the representations, which is realized by the scaled Laplacian representation. This property makes the scaled Laplacian representation well-suited for planning and thus a desirable learning target for SSL algorithms whose embeddings should facilitate planning in downstream tasks. Crucially, the scaled Laplacian representation is anisotropic for most environments with non-degenerate eigenvalues. In contrast, existing SSL methods commonly encourage isotropic embeddings. Before we can study whether and to what extent different SSL methods recover the scaled Laplacian representation, we first present the general framework for learning task-agnostic world model with SSL.
3.2 LEARNING TASK-AGNOSTIC WORLD MODELS WITH SSL
Given a task-agnostic dataset of transitions , collected without rewards or task labels by an arbitrary behavior policy, the canonical approach to learning a world model via SSL is specified by the tuple , in which the encoder maps a state to a latent representation , and the predictor estimates the effect of an action in latent space, . Both components are typically learned by minimizing
where denotes a regularizer that prevents representational collapse. For instance, LeWM (Maes et al., 2026b) relies on SIGReg (Balestriero & LeCun, 2025), but other regularizers are possible. Importantly, the regularizer may also be realized implicitly, e.g., through a stop-gradient operation (Grill et al., 2020; Tian et al., 2021; Halvagal et al., 2023), as long as it preserves representational entropy (Shwartz-Ziv et al., 2023; Mikulasch & Zenke, 2026).
Our CTWM approach deviates from the formulation above in two distinct ways: We use residual prediction and entropy regularization to prevent collapse, which we will explain in the following two sections.
3.3 LEARNING WORLD MODELS VIA RESIDUAL PREDICTIONS
The first difference of CTWM to existing approaches such as LeWM is residual prediction. Concretely, the predictor is trained to predict the residual or displacement between successive embeddings such that the next embedding is given by (Figure 1a). The encoder and displacement are then trained jointly by minimizing:
where the term acts as a regularizer that penalizes large changes (Saanum et al., 2024), which can also be seen as a slowness objective (Wiskott & Sejnowski, 2002; Sprekeler, 2011). Without this term, a sufficiently expressive predictor can absorb arbitrarily large latent displacements, leaving the encoder free to map temporally consecutive states to distant points in the latent space. By penalizing large predictor outputs, forces the encoder to keep consecutive b

c
Figure 1: (a) Overview of CTWM: a shared encoder maps observations and to the representations and respectively. The transition model conditioned on action , predicts a residual displacement that is added to the current embedding via a residual connection. The loss is computed from the predicted and actual next-state embeddings. (b) Geometric interpretation of the loss in the latent space; arrow colors refer to terms in equation 6. The loss terms encourage predictable transitions (teal), penalize large distances between consecutive points (blue), and prevent collapse of representation (magenta). (c) Latent distances reflect commute-time distance rather than spatial proximity. Left: Two-room connected by a door; and are adjacent but separated by a wall (dashed line). Right: in the CTWM embedding the rooms unfold around the door, placing near and far from .
latent states close together: the only way to simultaneously achieve low prediction error and low predictor norm is to produce small displacements. Where required, the above loss can be equivalently written as a next-state prediction problem instead of residual prediction, by simply adapting the regularizer (see Appendix D.1).
For deterministic dynamics, one can show that the embeddings resulting from optimizing equation 5 converge to the Laplacian subspace if the regularization introduces an orthonormality constraint (Appendix C.1). To understand this intuitively, it is helpful to assume that the predictor is at its fixed point of learning . This assumption allows us rewrite the loss as follows
where is the mean conditioned displacement and the colors correspond to the diagram in Figure 1b. Given a stochastic transition function , the first term tries to make predictable by making the sum of variances small, all the while the second term attracts states that are correlated in time together. Finally, the last term prevents global collapse. The fixed point condition also implies that we should use for rollouts instead of (Appendix D.2).
3.4 REGULARIZATION TO PREVENT COLLAPSE
The second distinction of CTWM from previous work is that it uses entropy regularization to prevent collapse. Specifically, we use the log-determinant (log-det) of the covariance matrix, which corresponds to the entropy of the multivariate Gaussian, as the regularizer . The underlying reasons is that different regularizers converge to different representations. For example, a hard orthonormality constraint (Appendix B.1) yields a Laplacian representation, but without eigenvalue-dependent scaling by design (Wu et al., 2018, Appendix C.2). The constraint can be relaxed through VCReg (Zhu et al., 2023), which enforces a minimal floor on the diagonal of the covariance matrix (Appendix B.2). Assuming that this regularizer converges to the Laplacian representation, the eigenvalue-dependent scaling is constant for the smallest eigenvalues and for the rest (Appendix C.2). Thus many regularizers used in SSL encourage an isotropic covariance spectrum, either explicitly (Zhu et al., 2023; Zbontar et al., 2021; Balestriero & LeCun, 2025) or implicitly (Halvagal et al., 2023). Generally this isotropy is incompatible with the scaled Laplacian representations and, thus, does not represent commute-times accurately.
To address this issue, we use log-det regularization, which instead constrains the product of the eigenvalues. Crucially, it does not impose a hard threshold on feature variance and VCReg can be seen as an approximation when the representational covariance matrix is close to diagonal (Shwartz-Ziv et al., 2023; Mikulasch & Zenke, 2026). We will show in the next section that log-det gives representations enough flexibility to achieve scaling, as required for capturing commute-time distances.
3.5 CONVERGENCE TO THE SCALED LAPLACIAN REPRESENTATION
Combining residual prediction with log-det regularization yields the CTWM training objective:
with the two hyperparameters and and the covariance matrix . In the following we will show that this objective is well suited for learning world models for planning. Our main result is that, at the optimum, the encoder recovers the scaled Laplacian representation.
Theorem 1 (Recovery of scaled Laplacian representation). Let be the eigenvalues and eigenvectors of the Laplacian of the transition graph, ordered as with , and let
be the scaled Laplacian representation. Under deterministic dynamics, and assuming the predictor is at its fixed point , equation 7 becomes:
and is minimized, up to a rotation and a translation, by
The proof is given in Appendix C.3. The eigendirections are the slowest ones of the Laplacian, so they are shared with VCReg (Balestriero & LeCun, 2022) and orthonormality constraints (Wu et al., 2018), but what distinguishes the log-det from the two other regularizers is the eigenvalue-dependent scaling , which carries the metric information relevant for planning. This relationship between the commute-time distance to the distance in the learned space can be made explicit as follows:
Corollary 1.1 (Relationship to commute-time distance). Let
be the rank-d truncation of the commute-time distance on the transition graph (Shehmar et al., 2026), then
This result follows trivially from combining equation 10 with equation 11. To verify this relation experimentally, we further link the eigenvalues of the underlying graph to the variance of the representations:
Corollary 1.2 (Variance of the representation). The k-th eigendirection of carries variance
In other words, slow directions are amplified and fast ones inhibited (see Appendix C.4 for the proof). For comparison we compute the ratios , which are equal to for our loss, to get rid of the global scale factor. Together, these results show that regularizers for preventing representational collapse may result in differently scaled representations. Specifically, the analysis shows that orthonormality constraints and VCReg are not consistent with the scaled Laplacian representation, whereas the log-det supports a correctly scaled representation, with variance and distances equal to commute times (Figure 1c). In the following, we will confirm these findings in numerical experiments.

b
d
c
ALLO
VICReg
WM-GDO
CTWM (ours)
Figure 2: Torus environment and empirical verification of the theoretical predictions. (a) The torus graph: each vertex carries a unique three-digit label, randomly shuffled across the graph, observed as three MNIST images sampled independently from the corresponding classes at each visit. (b) Subspace similarity to the ground-truth Laplacian eigenbasis for the four methods ± SD (n = 4; see Appendix F); the dashed line indicates the ceiling imposed by the degenerate eigenspectrum. (c) Variance ratio against eigenvalue index (cf. Corollary 1.2), with the ground-truth scaling in dashed black. Only CTWM tracks it, confirming that the log-det regularizer recovers the scaling; VICReg and WM-GDO show more isotropic spectra, as encouraged by their respective regularizers. (d) Squared latent distance versus ground-truth commute-time distance, one point per pair of graph nodes. Black line: least-squares linear fit, with its coefficient of determination . CTWM achieves the highest .
4 EXPERIMENTS
We first sought to verify that CTWM learns successfully in a setting in which the ground-truth Laplacian representation can be computed explicitly. To this end, we constructed a simple environment in which the agent moves along the edges of a discrete toroidal graph (Fig. 2a). Each node on the graph corresponded to an image displaying a unique three digit sequence, which were randomly assigned to the nodes. To make this a non-trivial representation learning problem, the digits' images were drawn from the MNIST dataset (LeCun et al., 1998) and every time the agent revisited a given state, a different digit corresponding to the same class were drawn. The underlying graph dynamics are thus deterministic, while the observations, and hence the transitions in observation space, are stochastic, requiring the encoder to learn digit representations that generalize.
We trained a small CTWM model on 20,000 transitions in the above environment using a random policy. The encoder was a small convolutional network that produced a 12-dimensional embedding, and the predictor was a single-hidden-layer MLP with 32 units. The action was one-hot encoded and we set the displacement penalty to . All simulations were run for seeds.
To check whether CTWM had learned the correct representational subspace shared with the actual spectral embedding of the graph Laplacian and the correct eigenvalue scaling, we computed the subspace similarity of the learned embeddings to the analytical solution. For comparison, we further computed the subspace similarity for VICReg, as a representative example of non-residual world-modeling approaches, and ALLO (Gomez et al., 2024), which served as a proxy of the Laplacian representation. We found that CTWM's subspace similarity was notably higher than VICReg and on par with ALLO (Fig. 2b). We wondered whether this difference could be explained by residual prediction alone. To address this question, we trained a model, called WM-GDO, that keeps CTWM's residual prediction while replacing its log-det regularization with a graph-drawing orthonormality constraint (Koren, 2003; Wu et al., 2018). This modification resulted in comparable subspace similarity to VICReg. Thus residual prediction alone is not sufficient for good subspace alignment.

Figure 3: Success rates of CTWM and LeWM on the six benchmark tasks: Reacher, Cube, Two-Room, PushT, Scene and Pointmaze. CTWM (red) matches or outperforms LeWM (blue) on every environment using half the number of parameters. Shaded regions indicate the SD (n = 3).
Moreover, neither ALLO nor CTWM reach a subspace similarity of one. We reasoned that his is a consequence of a degenerate eigenvalue Laplacian spectrum on the torus: every non-trivial eigenvalue has a multiplicity and, hence, the eigenbasis is not uniquely determined. This degeneracy puts an inherent ceiling on the subspace similarity metric at , estimated by randomly rotating the eigenvectors within each degenerate block. CTWM and ALLO approach this ceiling.
We next quantified the relative variance explained per principal component for the different approaches. This analysis revealed that CTWM's spectrum closely followed the ground-truth Laplacian (Fig. 2c). In contrast, VICReg and WM-GDO displayed markedly different eigenvalue scaling. Finally, we checked how the resulting representation differences affect the encoding of commute time distances. To that end, we compared ground-truth commute times with the corresponding embedding distances for all algorithms. CTWM represented commute times most faithfully ( ; Fig. 2d), followed by VICReg ( ), WM-GDO ( ), and ALLO ( ). Thus, CTWM learns the Laplacian spectral space, the correct eigenvalue scaling, and its embeddings faithfully encode commute-time distances.
4.1 LEARNING CTWM IN CONTINUOUS RL ENVIRONMENTS
To evaluate whether the advantage of representing commute-time geometry transfers beyond discrete graphs, we compared CTWM against LeWM (Maes et al., 2026b) on the following six benchmarks tasks. For (i–iv) we used the dataset provided by Maes et al. (2026a), while for (v, vi) we used two environments from (Park et al., 2025). All environments provide pixel observations. (i) Two-Room: 2D navigation between two rooms joined by a door (Sobal et al., 2026), with trajectories from a noisy heuristic policy. (ii) Reacher: a two-link arm reaching a target point in the plane (Tassa et al., 2018), with trajectories from a trained soft actor-critic policy. (iii) PushT: a point agent pushing a T-shaped object to a target pose (Zhou et al., 2024), with expert demonstrations. (iv) Cube: 3D manipulation in which a robot arm moves a cube between positions, with trajectories from the heuristic policy of the benchmark (Park et al., 2025). (v) Pointmaze: 2D maze navigation, using the 1000 trajectories of the OGBench medium-navigate dataset (Park et al., 2025) converted to visual inputs (Figure 4a). (vi) Scene: 3D manipulation with diverse objects (drawer, window, cube, buttons) (Park et al., 2025), with data from Maes et al. (2026a).
As in Maes et al. (2026b), we predicted 25 steps ahead with a maximum planning budget of 50 steps. To implement CTWM, we replaced LeWM's SIGReg training objective with equation 7, while using the same ViT-T encoder with 5.5M parameters. For the predictor, we retained the deep-AdaLN architecture with six layers but reduced the latent dimension from 192 to 64, which decreased the predictor's parameter count from 11M to 3M. The total model size was 9M parameters, compared to 18M for LeWM. As T is already normalized, we further removed the weight decay for CTWM. Instead of batch normalization, required for SIGReg, we used layer normalization (Ba et al., 2016).
4.1.1 CTWM RESULTS IN SUPERIOR PLANNING PERFORMANCE
Following the steps of Maes et al. (2026b), we evaluated planning accuracy using CEM on models trained with LeWM and CTWM on all six environments for n = 3 seeds each, using the same hyperparameters across all of them. CTWM performed either better than, or on par with LeWM on all tasks (Fig. 3; Table 1). On Two-Room, where Maes et al. (2026b) noted that SIGReg can

b
d
C
Figure 4: Commute-time distance and variance scaling on Pointmaze. (a) The view of the Pointmaze environment. (b) Ground truth commute-time distance from the blue star to any other point on the map computed from the discretized continuous state space. (c) Top row: Relative distance (normalised) in the embedding space of LeWM (left) and CTWM (right). Bottom row: difference to the ground-truth commute-time distance. CTWM reproduces the ground-truth distance more closely. (d) Variance of the first 64 latent features for both models. CTWM exhibits the decay predicted by Corollary 1.2 (dashed line), whereas LeWM produces a flatter spectrum.
be detrimental in low-complexity environments, CTWM reached 100% success rate, matching the ceiling obtained by other methods. On Reacher and PushT, both methods achieved comparable performance. The clearest gains appeared on the three harder tasks: Cube, Scene, and Pointmaze, on which CTWM consistently outperformed LeWM, with larger margins during early training.
Given the high success rate on several benchmarks, we repeated planning experiments in which we further increased the goal distance from 25 to 100 steps, with a maximum planning budget of 125 steps (Table 1). CTWM also outperformed LeWM across environments in this harder setting, and the margin widened considerably. For example, LeWM collapses on Two-Room (17.3%), PushT (15.3%) and Pointmaze (28.2%), whereas CTWM retains near-ceiling performance on Two-Room (98.3%), Pointmaze (98.8%) and Reacher (98.2%), while success rate on PushT decreased for both algorithms. These results suggest that the benefits of a commute-time-preserving geometry become more pronounced as the goal moves further away. Thus, CTWM provides better task-agnostic representations for planning in continuous environments, especially when faced with bottlenecks and higher-dimensional state spaces (see Table 1). Ultimately, we confirmed that these advantages also translate to gradient-based planning strategies (see Appendix E).
| Model | Reacher | Cube | Two-Room | PushT | Scene | Pointmaze |
|---|---|---|---|---|---|---|
| Random | 13.0 ± 2.3 | 45.2 ± 0.9 | 24.3 ± 2.7 | 4.3 ± 2.1 | 49.8 ± 3.1 | 14.3 ± 1.7 |
| LeWM | 83.3 ± 2.1 | 64.8 ± 1.3 | 88.8 ± 1.6 | 91.5 ± 1.1 | 69.3 ± 2.6 | 68.5 ± 1.8 |
| CTWM | 82.3 ± 2.6 | 89.8 ± 1.0 | 100.0 | 92.2 ± 0.6 | 82.3 ± 1.4 | 100.0 |
| Random-100 | 7.3 ± 1.9 | 45.5 ± 2.5 | 1.0 ± 0.4 | 0.3 ± 0.2 | 24.2 ± 1.7 | 11.3 ± 1.0 |
| LeWM-100 | 81.0 ± 0.8 | 61.7 ± 1.4 | 17.3 ± 0.8 | 15.3 ± 1.4 | 40.3 ± 2.5 | 28.2 ± 1.2 |
| CTWM-100 | 98.2 ± 0.8 | 73.0 ± 1.2 | 98.3 ± 0.9 | 26.5 ± 2.6 | 57.5 ± 1.6 | 98.8 ± 0.2 |
Table 1: Planning success rate in percent for each model trained on three seeds after ten epochs using CEM for the standard setting by Maes et al. (2026a) with a goal distance of 25 steps and planning budget of 50 steps (top half) and for an extended goal distance of 100 steps with planning budget of 125 steps (bottom half). A baseline floor is given by the random policy for each setting and environment.
4.1.2 COMMUTE-TIME GEOMETRY IN CONTINUOUS SPACES
Finally, we tested whether CTWM's planning success correlates with its ability to faithfully represent commute-time distance in one of the above continuous environments. To that end, we discretized the Pointmaze state space into a graph, computed the ground-truth commute-time distances from a given point (Fig. 4b), and compared them to the embedding space distances by LeWM and CTWM (Fig. 4c). CTWM reproduced the ground-truth picture more faithfully. Then, we quantified the variance projected onto the first 64 feature dimensions (Fig. 4d). CTWM exhibited the characteristic decay as predicted (cf. Corollary 1.2), whereas LeWM produced a flatter decay consistent with a more isotropic representation. Together, these results suggest that CTWM faithfully represents commute-time geometry in continuous environments learned from pixels.
5 CONCLUSION
We introduced CTWM, a self-supervised world model whose latent geometry is shaped for planning rather than probing. CTWM predicts latent displacements, regularized by the log-det of the representation's covariance, provably recovers the scaled Laplacian representation under deterministic dynamics and at the predictor's fixed point, so that distance in latent space equals commute-time distance on the environment's transition graph. This makes the learned representation directly usable by any planner that scores candidate trajectories by goal distance. Across six goal-reaching tasks spanning navigation and manipulation, CTWM matches or outperforms LeWM while using half the parameters. Beyond planning performance, it is striking that a purely self-supervised, reward-free objective recovers the geometry that classical graph theory identifies as optimal for planning in reversible environments. This raises the broader question of whether this correspondence is a quirk of our architecture, or a general principle. We suspect the latter. Since commute time depends only on the environment, not on any policy or reward, it is a natural target for any agent that, like Tolman's rats mapping their maze before any reward is introduced (Tolman, 1948), must build a map before it knows what that model will be used for.
AI USE STATEMENT
In this work, we used generative AI tools to assist with the writing of the proof in Appendix C.3. and to implement parts of our experimental code. All proofs were independently derived and verified by the authors, and all AI-assisted code was reviewed and tested by at least two authors. We did not use generative AI tools to generate synthetic datasets, propose or refine hypotheses, design our research methodology or experiments, clean or reformat datasets, or interpret results; the remaining tasks requiring disclosure are not applicable to this work. Additionally, we used generative AI tools to improve the readability of author-written text, to identify related literature, and to format references. All suggested references were manually checked against their original sources, and all AI-assisted text was reviewed and edited by the authors. We have reviewed all AI-assisted work and take responsibility for the final content of this work, including text, claims or artifacts produced with the aid of generative AI.
REPRODUCIBILITY STATEMENT
The code and access to datasets that we used in this paper can be found here: https://github.com/fmi-basel/commute-time-preserving-world-models. All hyperparameter values we used are reported in Appendix A. The assumptions and complete proofs of our theoretical results are given in Appendices C.2 and C.3.
ACKNOWLEDGMENTS
The authors thank Ashena Gorgan Mohammadi and all members of the Zenke Lab for their thoughtful input. This project was supported by the Swiss National Science Foundation (Grant Number PCEFP3_202981) and the Novartis Research Foundation.
REFERENCES
Assran, Mido, Bardes, Adrien, Fan, David, Garrido, Quentin, Howes, Russell, Muckley, Matthew, Rizvi, Ammar, Roberts, Claire, Sinha, Koustuv, Zholus, Artem, et al. V-jepa 2: Self-supervised video models enable understanding, prediction and planning. arXiv preprint arXiv:2506.09985, 2025.
Ba, Jimmy Lei, Kiros, Jamie Ryan, and Hinton, Geoffrey E. Layer normalization. arXiv preprint arXiv:1607.06450, 2016.
Bagatella, Marco, Pirotta, Matteo, Touati, Ahmed, Lazaric, Alessandro, and Tirinzoni, Andrea. Td-jepa: Latent-predictive representations for zero-shot reinforcement learning. In International Conference on Learning Representations, volume 2026, pp. 36211–36244, 2026.
Balestriero, Randall and LeCun, Yann. Contrastive and non-contrastive self-supervised learning recover global and local spectral embedding methods. Advances in Neural Information Processing Systems, 35:26671–26685, 2022.
Balestriero, Randall and LeCun, Yann. Lejepa: Provable and scalable self-supervised learning without the heuristics. arXiv preprint arXiv:2511.08544, 2025.
Bardes, Adrien, Ponce, Jean, and LeCun, Yann. Vicreg: Variance-invariance-covariance regularization for self-supervised learning. arXiv preprint arXiv:2105.04906, 2021.
Belkin, Mikhail and Niyogi, Partha. Laplacian eigenmaps and spectral techniques for embedding and clustering. Advances in neural information processing systems, 14, 2001.
Björck, Åke and Golub, Gene H. Numerical methods for computing angles between linear subspaces. Mathematics of Computation, 27(123):579–594, 1973.
Burchi, Maxime and Timofte, Radu. Mudreamer: Learning predictive world models without reconstruction, 2024.
Chen, Ting, Kornblith, Simon, Norouzi, Mohammad, and Hinton, Geoffrey. A simple framework for contrastive learning of visual representations. In International conference on machine learning, pp. 1597–1607. PmLR, 2020.
Chen, Xinlei and He, Kaiming. Exploring simple siamese representation learning. In 2021 IEEE/CVF conference on computer vision and pattern recognition (CVPR), pp. 15745–15753. IEEE, 2021.
Chua, Kurtland, Calandra, Roberto, McAllister, Rowan, and Levine, Sergey. Deep reinforcement learning in a handful of trials using probabilistic dynamics models, 2018. URL https://arxiv.org/abs/1805.12114.
Deisenroth, Marc Peter and Rasmussen, Carl Edward. Pilco: a model-based and data-efficient approach to policy search. In Proceedings of the 28th International Conference on International Conference on Machine Learning, pp. 465–472. Omnipress, 2011.
Deng, Fei, Jang, Ingook, and Ahn, Sungjin. Dreamerpro: Reconstruction-free model-based reinforcement learning with prototypical representations, 2021.
Eysenbach, Benjamin, Zhang, Tianjun, Levine, Sergey, and Salakhutdinov, Russ R. Contrastive learning as goal-conditioned reinforcement learning. Advances in Neural Information Processing Systems, 35:35603–35620, 2022.
Farebrother, Jesse, Pirotta, Matteo, Tirinzoni, Andrea, Munos, Rémi, Lazaric, Alessandro, and Touati, Ahmed. Temporal difference flows. arXiv preprint arXiv:2503.09817, 2025.
Farebrother, Jesse, Pirotta, Matteo, Tirinzoni, Andrea, Bellemare, Marc G, Lazaric, Alessandro, and Touati, Ahmed. Compositional planning with jumpy world models. arXiv preprint arXiv:2602.19634, 2026.
Gomez, Diego, Bowling, Michael, and C Machado, Marlos. Proper laplacian representation learning. In International Conference on Learning Representations, volume 2024, pp. 28911–28934, 2024.
Grill, Jean-Bastien, Strub, Florian, Altché, Florent, Tallec, Corentin, Richemond, Pierre, Buchatskaya, Elena, Doersch, Carl, Avila Pires, Bernardo, Guo, Zhaohan, Gheshlaghi Azar, Mohammad, et al. Bootstrap your own latent-a new approach to self-supervised learning. Advances in neural information processing systems, 33:21271–21284, 2020.
Ha, David and Schmidhuber, Jürgen. World models. arXiv preprint arXiv:1803.10122, 2(3):440, 2018.
Hafner, Danijar, Lillicrap, Timothy, Ba, Jimmy, and Norouzi, Mohammad. Dream to control: Learning behaviors by latent imagination, 2020.
Hafner, Danijar, Lillicrap, Timothy, Norouzi, Mohammad, and Ba, Jimmy. Mastering atari with discrete world models, 2022.
Hafner, Danijar, Pasukonis, Jurgis, Ba, Jimmy, and Lillicrap, Timothy. Mastering diverse control tasks through world models. Nature, 640(8059):647–653, 2025.
Halvagal, Manu Srinath, Laborieux, Axel, and Zenke, Friedemann. Implicit variance regularization in non-contrastive SSL. NeurIPS, 2023.
Hansen, Nick, Su, Hao, and Wang, Xiaolong. Td-mpc2: Scalable, robust world models for continuous control. In International Conference on Learning Representations, volume 2024, pp. 47376–47405, 2024.
Hauri, Michael and Zenke, Friedemann. Dreamer-cdp: Improving reconstruction-free world models via continuous deterministic representation prediction. arXiv preprint arXiv:2603.07083, 2026.
Janner, Michael, Fu, Justin, Zhang, Marvin, and Levine, Sergey. When to trust your model: Model-based policy optimization. Advances in neural information processing systems, 32, 2019.
Koren, Yehuda. On spectral graph drawing. In International Computing and Combinatorics Conference, pp. 496–508. Springer, 2003.
LeCun, Yann, Bottou, Léon, Bengio, Yoshua, and Haffner, Patrick. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
Machado, Marlos C, Bellemare, Marc G, and Bowling, Michael. A laplacian framework for option discovery in reinforcement learning. In International conference on machine learning, pp. 2295–2304. PMLR, 2017.
Maes, Lucas, Lidec, Quentin Le, Facury, Luiz, Massaudi, Nassim, Chaurasia, Ayush, Capuano, Francesco, Gao, Richard, Gillin, Taj, Haramati, Dan, Scieur, Damien, et al. stable-worldmodel: A platform for reproducible world modeling research and evaluation. arXiv preprint arXiv:2605.21800, 2026a.
Maes, Lucas, Lidec, Quentin Le, Scieur, Damien, LeCun, Yann, and Balestriero, Randall. Leworld-model: Stable end-to-end joint-embedding predictive architecture from pixels. arXiv preprint arXiv:2603.19312, 2026b.
Mahadevan, Sridhar and Maggioni, Mauro. Proto-value functions: A laplacian framework for learning representation and control in markov decision processes. Journal of Machine Learning Research, 8(10), 2007.
Mikulasch, Fabian A and Zenke, Friedemann. Understanding self-supervised learning via latent distribution matching. arXiv preprint arXiv:2605.03517, 2026.
Myers, Vivek, Zheng, Bill, Eysenbach, Benjamin, and Levine, Sergey. Offline goal-conditioned reinforcement learning with quasimetric representations. Advances in Neural Information Processing Systems, 38:19654–19679, 2026.
Nguyen, Hoang, Xu, Xiaohao, and Huang, Xiaonan. Latent geometry beyond search: Amortizing planning in world models, 2026.
Oord, Aaron van den, Li, Yazhe, and Vinyals, Oriol. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018.
Park, Seohong, Frans, Kevin, Eysenbach, Benjamin, and Levine, Sergey. Ogbench: Benchmarking offline goal-conditioned rl. In International Conference on Learning Representations, volume 2025, pp. 94937–94982, 2025.
Park, Seohong, Mann, Deepinder, and Levine, Sergey. Dual goal representations. In International Conference on Learning Representations, volume 2026, pp. 153307–153324, 2026.
Qiu, Huaijun and Hancock, Edwin R. Clustering and embedding using commute times. IEEE Transactions on Pattern Analysis and Machine Intelligence, 29(11):1873–1890, 2007.
Richthofer, Stefan and Wiskott, Laurenz. Predictable feature analysis. In 2015 IEEE 14th international Conference on machine learning and applications (ICMLA), pp. 190–196. IEEE, 2015.
Rubinstein, Reuven Y and Kroese, Dirk P. The cross-entropy method: a unified approach to combinatorial optimization, Monte-Carlo simulation, and machine learning, volume 133. Springer, 2004.
Saanum, Tankred, Dayan, Peter, and Schulz, Eric. Simplifying latent dynamics with softly state-invariant world models. Advances in Neural Information Processing Systems, 37:38355–38382, 2024.
Schrittwieser, Julian, Antonoglou, Ioannis, Hubert, Thomas, Simonyan, Karen, Sifre, Laurent, Schmitt, Simon, Guez, Arthur, Lockhart, Edward, Hassabis, Demis, Graepel, Thore, Lillicrap, Timothy, and Silver, David. Mastering atari, go, chess and shogi by planning with a learned model. Nature, 588(7839):604–609, December 2020. ISSN 1476-4687. doi:10.1038/s41586-020-03051-4.
Shehmar, Dikshant, Schlegel, Matthew, Taylor, Matthew E, and Machado, Marlos C. Laplacian representations for decision-time planning. arXiv preprint arXiv:2602.05031, 2026.
Shwartz-Ziv, Ravid, Balestriero, Randall, Kawaguchi, Kenji, Rudner, Tim GJ, and LeCun, Yann. An information theory perspective on variance-invariance-covariance regularization. Advances in neural information processing systems, 36:33965–33998, 2023.
Silver, David, Huang, Aja, Maddison, Chris J., Guez, Arthur, Sifre, Laurent, van den Driessche, George, Schrittwieser, Julian, Antonoglou, Ioannis, Panneershelvam, Veda, Lanctot, Marc, Dieleman, Sander, Grewe, Dominik, Nham, John, Kalchbrenner, Nal, Sutskever, Ilya, Lillicrap, Timothy, Leach, Madeleine, Kavukcuoglu, Koray, Graepel, Thore, and Hassabis, Demis. Mastering the game of go with deep neural networks and tree search. Nature, 529(7587):484–489, 2016. doi: 10.1038/nature16961.
Sobal, Uladzislau, Zhang, Wancong, Cho, Kyunghyun, Balestriero, Randall, Rudner, Tim GJ, and LeCun, Yann. Learning from reward-free offline data: A case for planning with latent dynamics models. Advances in Neural Information Processing Systems, 38:43905–43941, 2026.
Sohn, Kihyuk. Improved deep metric learning with multi-class n-pair loss objective. Advances in neural information processing systems, 29, 2016.
Sprekeler, Henning. On the relation of slow feature analysis and laplacian eigenmaps. Neural computation, 23(12):3287–3302, 2011.
Sutton, Richard S. Integrated architectures for learning, planning, and reacting based on approximating dynamic programming. In Machine Learning Proceedings 1990, pp. 216–224. 1990. ISBN 978-1-55860-141-3. doi: https://doi.org/10.1016/B978-1-55860-141-3.50030-4. URL https://www.sciencedirect.com/science/article/pii/B9781558601413500304.
Tassa, Yuval, Doron, Yotam, Muldal, Alistair, Erez, Tom, Li, Yazhe, Casas, Diego de Las, Budden, David, Abdolmaleki, Abbas, Merel, Josh, Lefrancq, Andrew, et al. Deepmind control suite. arXiv preprint arXiv:1801.00690, 2018.
Tian, Yuandong, Chen, Xinlei, and Ganguli, Surya. Understanding self-supervised learning dynamics without contrastive pairs. In International Conference on Machine Learning, pp. 10268–10278. PMLR, 2021.
Tolman, Edward C. Cognitive maps in rats and men. Psychological Review, 55(4):189–208, 1948. doi: 10.1037/h0061626.
Tolman, Edward C and Honzik, Charles H. Introduction and removal of reward, and maze performance in rats. University of California Publications in Psychology, 4:257–275, 1930.
V, Jyothir S, Jalagam, Siddhartha, LeCun, Yann, and Sobal, Vlad. Gradient-based planning with world models, 2023.
van Seijen, Harm, Nekoei, Hadi, Racah, Evan, and Chandar, Sarath. The loca regret: A consistent metric to evaluate model-based behavior in reinforcement learning, 2020.
Von Luxburg, Ulrike. A tutorial on spectral clustering. Statistics and computing, 17(4):395–416, 2007.
Wang, Kaixin, Zhou, Kuangqi, Zhang, Qixin, Shao, Jie, Hooi, Bryan, and Feng, Jiashi. Towards better laplacian representation in reinforcement learning with generalized graph drawing. In International Conference on Machine Learning, pp. 11003–11012. PMLR, 2021.
Wang, Kaixin, Zhou, Kuangqi, Feng, Jiashi, Hooi, Bryan, and Wang, Xinchao. Reachability-aware laplacian representation in reinforcement learning. arXiv preprint arXiv:2210.13153, 2022.
Wang, Tongzhou, Torralba, Antonio, Isola, Phillip, and Zhang, Amy. Optimal goal-reaching reinforcement learning via quasimetric learning. In International Conference on Machine Learning, pp. 36411–36430. PMLR, 2023.
Wang, Ying, Bounou, Oumayma, Zhou, Gaoyue, Balestriero, Randall, Rudner, Tim GJ, Le-Cun, Yann, and Ren, Mengye. Temporal straightening for latent planning. arXiv preprint arXiv:2603.12231, 2026.
Wiskott, Laurenz and Sejnowski, Terrence J. Slow feature analysis: Unsupervised learning of in-variances. Neural computation, 14(4):715–770, 2002.
Wu, Yifan, Tucker, George, and Nachum, Ofir. The laplacian in rl: Learning representations with efficient approximations. arXiv preprint arXiv:1810.04586, 2018.
Xiao, Wenjun and Gutman, Ivan. Resistance distance and laplacian spectrum. Theoretical chemistry accounts, 110(4):284–289, 2003.
Zbontar, Jure, Jing, Li, Misra, Ishan, LeCun, Yann, and Deny, Stéphane. Barlow twins: Self-supervised learning via redundancy reduction. In International conference on machine learning, pp. 12310–12320. PMLR, 2021.
Zhao, Kai, Nie, Dongliang, Lin, Yuchen, Luo, Zhehan, Gu, Yixiao, Fan, Deng-Ping, and Zeng, Dan. Sub-jepa: Subspace gaussian regularization for stable end-to-end world models. arXiv preprint arXiv:2605.09241, 2026.
Zheng, Bill Chunyuan, Myers, Vivek, Eysenbach, Benjamin, and Levine, Sergey. Multistep quasimetric learning for scalable goal-conditioned reinforcement learning. arXiv preprint arXiv:2511.07730, 2025.
Zhou, Gaoyue, Pan, Hengkai, LeCun, Yann, and Pinto, Lerrel. Dino-wm: World models on pre-trained visual features enable zero-shot planning. arXiv preprint arXiv:2411.04983, 2024.
Zhu, Jiachen, Evtimova, Katrina, Chen, Yubei, Shwartz-Ziv, Ravid, and LeCun, Yann. Variance-covariance regularization improves representation learning. arXiv preprint arXiv:2306.13292, 2023.
A HYPERPARAMETERS
| Hyperparameter | Value | |
| Architecture | encoder projector | ViT-Tiny (5.5 M)MLP with LayerNorm |
| predictor | Transformer architecture of (Maes et al., 2026b) of width D (3.3 M) | |
| Data | image size | |
| context length | ||
| frame skip | ||
| prediction steps | ||
| embedding dimension | ||
| Optimisation | optimiser | AdamW |
| weight decay | ||
| learning rate | ||
| batch size | ||
| epochs | ||
| Loss | ||
| Planning | solver | CEM: 300 samples, 30 iterations, 30 elites, scale 1.0 |
| horizon | blocks of actions | |
| replanning interval | blocks | |
| goal offset / step budget | environment steps | |
| evaluation episodes | ||
Table 2: Main hyperparameters. (Green) Changes from LeWM.
B REGULARIZERS
B.1 ORTHONORMALITY
Wu et al. (2018) constrain the coordinates of to be orthonormal under the data distribution, enforced by the soft penalty
which drives the second moments of the representations toward the identity.
B.2 VCREG
VICReg (Bardes et al., 2021) is a common SSL regularization methods and also motivates the loss of Sobal et al. (2026). The variance term with
pushes the standard deviation of every coordinate above the threshold . The covariance term with decorrelates the coordinates. We use only these two terms, i.e. VCReg (Zhu et al., 2023) and do not consider the invariance term as this could be seen to be implemented through the main loss:
which can be seen as a relaxation of the orthonormality constraint: coordinates are decorrelated and each standard deviation must reach , but is otherwise free.
C PROOFS
C.1 CONVERGENCE OF EQUATION 5
Lemma 1. If learning achieves the optimum of the CTWM loss function (equation 5)
and if the dynamics are deterministic and regularization is an orthonormality constraint, then the latent states converge to the Laplacian representation.
Proof. For simplicity, let , and define the conditional mean displacement as . In the following we also drop the arguments of the predictor . Using the multivariate bias-variance decomposition
the conditional objective becomes
For , this objective is strictly convex in . Its gradient is , so the unique minimizer satisfies . Therefore,
Substituting into the objective gives
Thus, the final objective can be written as
If the dynamics are deterministic, i.e., , the covariance is 0 and the conditional mean displacement , the objective simplifies to:
If the regularization implements an orthonormality constraint, this is the Graph-drawing objective of Koren (2003); Wu et al. (2018). As proven previously, learned representations under this loss converge to the Laplacian representation up to a rotation (Wang et al., 2021; Gomez et al., 2024).
C.2 SCALING OF THE REPRESENTATION UNDER DIFFERENT REGULARIZERS (HEURISTICS)
In the following we derive heuristics for the scaling of representations under different regularizers, by assuming that representations align with the eigenvectors of the Laplacian—even though not all regularizers guarantee this. We first consider the objective with an arbitrary regularizer, and later investigate orthonormality, VCReg and log-det as three particular instances.
Write and assume the representation is aligned with the eigenbasis, i.e., each coordinate is a scaled eigenvector, for distinct indices , where and a permutation. Since the eigenvectors satisfy and , we have and . Applying Von Luxburg (2007, Prop. 1) to each coordinate and by the eigenvalue problem , the predictive term can be rewritten as which implies:
so the objective separates across directions: each contributes a cost , increasing in both the eigenvalue and the variance, against whatever the regularizer contributes. The regularizer alone therefore determines the scaling . In each case, the selected eigendirections are the slowest, , since equation 22 is increasing in .
Orthonormality. The constraint fixes directly:
The variance is the same in every direction, and the representation is the unscaled Laplacian representation . The general setup is studied in Koren (2003).
VCReg. In this case, the objective is . For the solution is . For the derivative is , which gives a minimum at . In other words,
Fast directions decays as whereas the slow ones are constant. Note that Balestriero & LeCun (2022) introduce a surrogate coinciding with the soft penalty of Appendix B.1, which does not recover the commute-time scaling either.
Log-det. For the log-det variant, the objective is . The derivative for each term is , so the unique minimum is at
which is the scaling ( equation 8) we are interested in for the scaled Laplacian representation. A stronger result is provided in the next section for the log-det where the assumption of alignment with the eigenbasis is removed.
C.3 PROOF OF THEOREM 1
Theorem 1 (Restated). Let denote the eigenpairs of the Laplacian, ordered as
and assume an eigengap , where . Let
be the rank-d scaled Laplacian representation.
Under deterministic dynamics, consider the reduced CTWM objective following Lemma 1
(26) where is the stationary state distribution. Then every minimizer is, up to an orthogonal transformation and a translation,
Proof. The proof proceeds in four steps. We first reduce the problem to a matrix optimization (Step 1), then factor the coefficient matrix into the subspace R spanned by the features and the covariance that scales it, rewriting the loss in terms of both (Step 2). We then minimize over for a fixed subspace (Step 3), and substituting the result back leaves a problem in R alone, which we solve with the Poincaré separation theorem (Step 4).
Notation. Define . Since both terms in the objective are invariant under translation of the representation, we may assume without loss of generality that .
Let denote the nonconstant Laplacian eigenfunctions, normalized with respect to the stationary state distribution such that . Collect them in
Because the form an orthonormal basis of the centered functions on the finite state space, any centered d-dimensional representation can be expanded as
Step 1: Reduction to a matrix optimization. By orthonormality of the Laplacian eigenfunctions,
We will now rewrite equation 26 in terms of A. We first apply to its first term Von Luxburg (2007, Prop. 1) to each coordinate:
In addition, if we use the definition of the generalized eigenproblem , we have:
Combining the two last equations leads to:
with . The objective therefore becomes
Step 2: Separate the represented subspace from its scaling. Let
Then
and
This decomposition separates two properties of the representation: determines the -dimensional subspace represented by , whereas determines the covariance, and hence the scaling, within that subspace.
Substituting into equation 27 gives
Define the Laplacian restricted to the selected subspace as
Since for all and has full row rank, .
Step 3: Optimal covariance for a fixed subspace. For fixed , equation 29 is minimized over . Using
the stationary condition is
Therefore,
Thus, for any fixed spectral subspace, the optimal representation covariance is proportional to the inverse Laplacian restricted to that subspace.
Substituting equation 30 back into the objective gives
The first two terms do not depend on R. Hence optimizing the subspace is equivalent to
Step 4: The optimal subspace contains the slowest modes. Let
denote the eigenvalues of . By the Poincaré separation theorem,
Therefore,
Equality is attained when the row space of is the span of the first Laplacian eigendirections. Because , this subspace is unique. Hence, up to an orthogonal transformation ,
Writing
we consequently have
Equation 30 then gives
One corresponding coefficient matrix is
Thus
Finally, substituting yields
Restoring the arbitrary translation b gives
which corresponds to equation 10.
□
C.4 PROOF OF COROLLARY 1.2
Proof. By definition of the eigenvectors of the Laplacian (Belkin & Niyogi, 2001). Moreover is itself an eigenvector, so orthogonality to it gives for . Hence , and since ,
□
D SMOOTHNESS CONSTRAINT
D.1 SMOOTHNESS WITH NEXT-STATE PREDICTION
Instead of using residual prediction as in 5, we could reparametrize it into a mathematically equivalent next-state prediction loss. Let's denote with the network to predict the next state embedding starting from the current state embedding and the action. We can write the following loss:
Now, if we substitute we get:
By simplifying we obtain:
Eventually, denoting with , we have:
This is the equation 5.
| 0.005 | 0.0074 |
| 0.1 | 0.108 |
| 0.25 | 0.26 |
| 0.5 | 0.52 |
| 1.0 | 1.04 |
Table 3: Comparison of and on PushT.
D.2 PLANNING WITH BETA
The fixed point condition (equation 19) implies that our planning method should rely on:
We trained the model with different beta values and estimated the that would minimize the scaling error from the predictor for each of them using Ordinary Least-Squares (OLS):
The results (Table 3) show that the estimated scaling for the predictor is close to the one computed in equation 19 on the PushT environment.
E PLANNING WITH FIRST-ORDER METHODS
| Model | Reacher | Cube | Two-Room | PushT | Scene | Pointmaze |
|---|---|---|---|---|---|---|
| Random | ||||||
| LeWM | ||||||
| CTWM |
Table 4: Planning success rate in percent for each model trained on three seeds after ten epochs using Adam. A floor is given by the random policy for each environment.
F SUBSPACE SIMILARITY
The subspace similarity is measured using the canonical angles (principal angles) method, a mathematical technique used to measure the alignment and distance between two linear subspaces. Let collect the learned embeddings of the graph nodes, and let collect the Laplacian eigenvectors , excluding the constant eigenvector . We first subtract the mean embedding from , since the Laplacian eigenvectors are orthogonal to the constant vector and the learned embeddings are only defined up to a translation. We then take the left singular vectors of the centered as an orthonormal basis of its column space, and similarly obtain from . The singular values of are the cosines of the principal angles between the two subspaces (Björck & Golub, 1973), and we report their mean, , which equals 1 for identical and 0 for orthogonal subspaces. The same procedure is applied to all methods. This measure is invariant to rotations within degenerate eigenspaces, which is essential on the torus, and to any rescaling of the embedding; eigenvalue-dependent scaling is therefore assessed separately (Fig. 2c).