Learning Invariant Visual Representations for Planning with Joint-Embedding Predictive World Models

Leonardo F. Toso, Davit Shadunts, Yunyang Lu, Nihal Sharma, Donglin Zhan, Nam H. Nguyen, James AndersonarXiv 2026

TL;DR

Joint-Embedding Predictive Architectures (JEPAs) are powerful for reward-free world modeling, but they easily get distracted by task-irrelevant "slow features" like background changes. This paper introduces a patch-based bisimulation encoder that filters out these visual nuisances, mapping states with identical transition dynamics to the same compact latent space. The resulting model achieves robust zero-shot planning under severe visual distribution shifts while using a latent space up to 10× smaller than previous methods.

What Problem Does This Paper Address?

Model-based reinforcement learning and robotics rely heavily on world models to plan actions in latent space without expensive pixel-level reconstruction. Recently, Joint-Embedding Predictive Architectures (JEPAs) have gained traction by predicting future latent states using frozen visual foundation models (like DINOv2).

However, JEPAs suffer from a fundamental flaw: they inadvertently optimize for "slow features"—elements of an environment that change gradually over time but are completely irrelevant to the task, such as background textures, lighting shifts, or moving distractors. Because these features change slowly, the predictive loss can be minimized simply by memorizing them. Consequently, when a world model trained on a fixed background is tested under a new background, its planning performance collapses because its latent dynamics are entangled with visual noise.

Methods

The authors tackle this by introducing a bisimulation encoder on top of pretrained visual features (e.g., DINOv2, SimDINOv2, iBOT).

Visually distinct observations with identical underlying dynamics are mapped to nearby representations in the bisimulation space.

Key components of their approach include:

  1. Reward-Free Bisimulation Metric: Traditionally, bisimulation metrics group states based on both immediate rewards and transition dynamics. Since JEPAs are reward-free, the authors show that dropping the reward term entirely still yields a powerful, task-agnostic equivalence relation based solely on transition dynamics. States that behave identically under the same actions are collapsed into the same latent representation.
  2. PCA-based Variance-Covariance Regularization (VCReg): To prevent representation collapse (where the encoder maps all states to a single constant), self-supervised methods use VICReg to enforce variance across coordinates. However, standard VICReg forces uniform variance, which can accidentally preserve dominant nuisance features. The authors propose a novel PCA-based VCReg that only enforces a variance floor on the tail principal components, allowing the bisimulation encoder to successfully collapse the task-irrelevant top components.
  3. Patch-based Architecture: Instead of flattening the entire feature map, the bisimulation encoder processes visual inputs patch-by-patch using a shared MLP, preserving spatial structure while drastically reducing parameters.
Figure 2. Left. Model architecture and training objectives. Visual observations are encoded using a frozen pretrained visual encoder, followed by a bisimulation encoder that maps features into a low-dimensional, control-relevant latent space. The bisimulation loss is trained jointly with the latent transition model, enforcing invariance to task-irrelevant visual features. Right. Rollouts for PointMaze navigation under a background change at test time. For clarity, the background change is not depicted in the figure. See Section 5.3 for details on background changes. While DINO-WM fails to reach the goal due to background change our model succeeds.

Planning is performed using the Cross-Entropy Method (CEM) over the learned invariant latent space.

Datasets

The model is evaluated on the MuJoCo PointMaze navigation task, a standard benchmark for goal-conditioned planning from visual observations. To test robustness against slow features, the authors evaluate the model under six test-time scenarios:

  • NC: No Change (default checkerboard background)
  • SC: Slight background Change
  • C: Color gradient background
  • LC: Large Color background Change
  • LCG: Large Color Gradient background change
  • D: Moving Distractors (yellow and magenta dots moving independently of the agent)

Key Insights and Ideas

  • Foundation Models are Distracted by Layouts: Analysis of DINOv2, SimDINOv2, and iBOT features reveals that their first principal component (PC1) predominantly captures background and layout information rather than control-relevant features.
First principal component (PC1) of latent embeddings predominantly encodes background and layout information.
  • Rewards are Optional for Invariance: Explicitly predicting rewards is not necessary to learn an invariant world model. Transition dynamics alone provide a sufficient signal to filter out visual nuisances for downstream planning.
  • Uniform Variance Regularization Can Backfire: Standard VICReg can hurt robustness if the underlying features concentrate task-irrelevant noise in dominant components. Performing regularization in the PCA basis solves this by letting the model discard the noisy top components.

Key Results

  • Robustness to Visual Shifts: Under aggressive background changes (LCG), the baseline DINO-WM success rate drops from 0.80 to 0.48. In contrast, the proposed model maintains a steady success rate of 0.78.
  • Outperforming Domain Randomization: While Domain Randomization (DR) handles seen variations well, its performance degrades under severe out-of-distribution shifts (0.64 success rate on LCG vs. 0.78 for the proposed model).
  • Massive Dimensionality Reduction: By mapping the 384-dimensional patch embeddings of DINOv2 down to 32 dimensions, the model operates in a latent space that is 10× smaller than DINO-WM while delivering superior robustness.
  • Encoder Agnostic: The approach consistently improves robustness across multiple foundation model backbones, including DINOv2, SimDINOv2, and iBOT.

Limitations and Future Work

  • Dependence on Quality Pretrained Features: The bisimulation encoder cannot fix fundamentally poor visual features; performance degrades significantly if trained completely end-to-end without a strong foundation model backbone.
  • Horizon-Dependent Bounds: Dropping the reward term results in a theoretical planning generalization bound that scales linearly with the horizon $O(T)$, which is looser than reward-aware counterparts.
  • Task Complexity: The current evaluation is limited to a relatively simple 2D navigation task (PointMaze). Future work aims to extend this approach to complex manipulation tasks and long-horizon planning problems.

Summary updated

BibTeX
@misc{toso2026learning,
  author = {Leonardo F. Toso and Davit Shadunts and Yunyang Lu and Nihal Sharma and Donglin Zhan and Nam H. Nguyen and James Anderson},
  title = {{Learning Invariant Visual Representations for Planning with Joint-Embedding Predictive World Models}},
  year = {2026},
  eprint = {2602.18639},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.18639},
}
Figure