Manuscript Offprint

arXiv:2610.01373

Learning Commute-Time-Preserving World Models for Planning

Michael Hauri, Peter Buttaroni, Fabian A. Mikulasch, Friedemann Zenke

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. †^{\dagger}

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.

†^{\dagger}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.

References (82)