VIGOR: Zero-Shot Visual Generalization via Latent-Space Consistency in Model-Based Reinforcement Learning

1ETRI, 2KAIST
*Equal contribution, †Equal advising

TD-MPC2

V1 VIGOR rollout: walker-walk, background-video (hard)

VIGOR (Ours)

Trained on clean pixels, tested on distractions it has never seen, with no test-time adaptation.

Key Contributions

  • A two-level failure mode. Visual distractions first push encoder outputs out of distribution, and those errors then compound through recursive latent rollouts. This does not arise in single-step model-free RL.
  • An integrated framework for MBRL robustness. Three interdependent components (AW, DC, and ES) enforce latent-space consistency at both levels, without modifying the planner or optimizer.
  • State-of-the-art zero-shot generalization across backbones. In mean return, VIGOR improves TD-MPC2 by 29.8% on DMC and more than threefold on Robosuite, and DreamerV3 by 20.9% and 52.6%, while preserving each backbone's sample efficiency.

Abstract

Model-based reinforcement learning (MBRL) achieves strong sample efficiency by planning within learned latent dynamics, yet its performance degrades substantially under unseen visual distractions such as background variations, lighting changes, color shifts, or camera translations. Unlike model-free RL, where encoder perturbations affect only single-step predictions, MBRL suffers from a two-level vulnerability: visual distractions first push encoder outputs out of distribution, and these errors then compound through recursive latent rollouts over the planning horizon. We propose VIsual Generalization via latent-space cOnsistency in model-based RL (VIGOR), a framework that enables zero-shot generalization to unseen appearance-based distractions while retaining the sample efficiency of its MBRL backbone.

VIGOR enforces latent-space consistency at both levels through three interdependent components: (i) asymmetric weak-to-strong augmentation, which pairs weak-only and weak-to-strong latent views within a single batch; (ii) dynamics-level consistency, which enforces augmentation-invariant transition predictions through direct latent regression; and (iii) encoder-level stabilization, which prevents encoder drift under the cross-augmentation supervision imposed by dynamics-level consistency.

On the DeepMind Control Suite (DMC) and Robosuite, VIGOR consistently improves zero-shot generalization when instantiated with either TD-MPC2 or DreamerV3, outperforming state-of-the-art model-free and model-based baselines. In mean return, it improves TD-MPC2 by 29.8% on DMC and more than threefold on Robosuite, and DreamerV3 by 20.9% and 52.6%, respectively. These results demonstrate that VIGOR transfers across decoder-free and decoder-based world models. Ablations further show that VIGOR's robustness is augmentation-agnostic within appearance-based perturbation families (contextual, textural, and spectral), confirming that latent-space consistency, not the augmentation choice, drives robustness.

The Problem: A Two-Level Vulnerability

Latent-space MBRL plans inside a learned world model. An encoder \(h_\theta\) maps pixels to a latent state, and a dynamics model \(d_\theta\) rolls that state forward to evaluate future actions. This works well as long as test observations look like training observations. The video below walks through what happens when they do not.

In model-free RL, a visual shift perturbs only a single-step prediction. In model-based RL the same shift causes two failures in sequence:

  1. Encoder-level drift. Visual distractions yield out-of-distribution latents \(z'_t \notin \mathcal{Z}^{\text{train}}\), even though the physical state is unchanged.
  2. Dynamics-level error accumulation. The dynamics model propagates these latents recursively over the planning horizon \(H\), so errors compound across steps and the rollouts used for planning diverge.

Techniques designed for single-step robustness are therefore insufficient. Our goal is zero-shot generalization: no test-time data and no adaptation, and only appearance-based distractions change between training and deployment.

Clean and distracted observations produce diverging latent rollouts; VIGOR aligns them with the training manifold.
Challenges of unseen visual distractions. Left: clean observations are encoded into in-distribution latents, while test-time distractions yield out-of-distribution latents and erroneous transitions. Right: these deviations compound over horizon \(H\). VIGOR aligns perturbed rollouts with their in-distribution counterparts.

From Problem to Solution

If the failure happens at two levels, the fix has to act at two levels. The world model should predict the same transitions regardless of the appearance-based perturbation applied to its input, and the shared encoder should remain stable while this constraint is imposed.

What goes wrong What VIGOR requires Component
Perturbed rollouts diverge from clean ones Augmentation-invariant transition predictions DC
Encoder outputs drift, including under DC's cross-augmentation supervision Consistent encodings of the same frame across views ES
Consistency needs paired views, but strong augmentation alone destabilizes training Paired weak and strong latents from one stable batch AW

Simply transferring model-free strategies does not work: applying strong augmentation uniformly across the batch, without AW's asymmetric split, reaches only 48% of VIGOR's performance on DMC.

Method

VIGOR overview: asymmetric weak-to-strong augmentation feeds dynamics-level consistency and encoder-level stabilization.
Overview of VIGOR. Left: AW partitions a mini-batch into weak-only and weak-to-strong subsets, encoded together into a mixed representation. DC rolls it forward and aligns each prediction with a weakly augmented target. Right: ES aligns weak-only and weak-to-strong encodings of the same frame.

Asymmetric Weak-to-Strong Augmentation (AW)

AW splits each mini-batch evenly at random. One half passes through weak augmentation \(\tau^w\) (random-shift), the other through \(\tau^s \circ \tau^w\) (random-overlay after random-shift). The two branches are concatenated and encoded in a single forward pass, which preserves the batch size and provides the pairs that DC operates on.

\[ s^m_t = s^w_t \oplus s^{ws}_t, \qquad z^m_t = h_\theta(s^m_t) \]

Dynamics-Level Consistency (DC)

DC re-targets the standard dynamics loss. The mixed latent is injected at the first step of each trajectory segment, and every rollout prediction \(\hat{z}^m_{t+h} = d_\theta(\hat{z}^m_{t+h-1}, a_{t+h-1})\) is aligned with a weakly augmented target, propagating the initial perturbation through the whole horizon while requiring augmentation-invariant transitions.

\[ \mathcal{L}_{\text{DC}}(\theta) = \big\| d_\theta(\hat{z}^m_t, a_t) - \text{sg}(z^w_{t+1}) \big\|_2^2, \quad \text{where } z^w_{t+1} = h_\theta\big(\tau^w(s_{t+1}, \upsilon^w)\big) \]

Encoder-Level Stabilization (ES)

A single shared encoder feeds the dynamics model, Q-value networks, and the MPC planner, and DC's cross-augmentation supervision can distort it. ES adapts the alignment objective of SODA to counteract this drift, anchoring weak-to-strong encodings to their weak-only counterparts.

\[ \mathcal{L}_{\text{ES}}(\theta) = \left\| \frac{z^{ws}_t}{\|z^{ws}_t\|_2} - \frac{\text{sg}(z^w_t)}{\|\text{sg}(z^w_t)\|_2} \right\|_2^2 \]

Plugging into a World Model

AW modifies only the input pipeline, DC only re-targets the existing dynamics loss, and ES adds a single auxiliary loss, so the planner and optimizer stay unchanged. We instantiate VIGOR on two structurally different backbones.

TD-MPC2 (default) DreamerV3
World model Decoder-free, deterministic latents, MPC planning Decoder-based RSSM, categorical latents, actor-critic
AW Mixed latent injected at the start of a rollout segment Augmented stream drives the posterior at every time step
DC \(\ell_2\) regression onto weakly augmented latents KL dynamics and representation terms re-targeted to the weak-only posterior
ES Alignment of encoder outputs Alignment of the observation embedding fed to the posterior

Evaluation Setup

Agents are trained on clean observations and evaluated on unseen distractions in DMC and Robosuite.
Agents are trained on clean observations and evaluated zero-shot under unseen visual distractions, across tasks, distraction types, and difficulty levels.

Tasks

DMC: walker-walk, walker-stand, finger-spin, cheetah-run, reacher-easy, cartpole-swingup. Robosuite: door-opening, lifting, nut-assembly, peg-in-hole.

Distractions

RL-ViGen protocol. DMC: object-color, background-color, background-video, cam-pos, light-position, light-color, moving-light (easy, hard). Robosuite: predefined scenes (easy, hard, extreme).

Baselines

MFRL: DrQ-v2, SVEA, SRM, SimGRL. MBRL: TD-MPC2, DreamerV3, HRSSM, Dr. G. All results are averaged over ten random seeds.

Results

Zero-Shot Generalization

Both VIGOR instantiations exceed every baseline on every metric, on both benchmarks. The default backbone TD-MPC2 ranks lowest among all baselines; VIGOR lifts it to the top of the table.

Method DMC Robosuite
Mean IQM Mean IQM
DrQ-v2 626.1 [618.7, 633.6] 739.5 [727.1, 751.6] 41.0 [39.3, 42.8] 15.7 [14.2, 17.2]
SVEA 726.2 [721.2, 731.2] 815.5 [811.6, 819.4] 82.8 [78.7, 87.0] 38.7 [33.9, 43.9]
SRM 752.0 [747.2, 756.7] 834.9 [831.3, 838.5] 91.8 [87.2, 96.6] 50.5 [45.5, 55.6]
SimGRL 710.2 [706.4, 713.8] 807.9 [805.5, 810.2] 40.3 [38.3, 42.6] 7.2 [5.5, 9.1]
TD-MPC2 599.1 [592.2, 606.1] 672.2 [661.1, 683.3] 40.2 [39.2, 41.2] 1.7 [1.4, 2.0]
DreamerV3 635.3 [629.3, 641.3] 738.3 [728.6, 747.6] 64.3 [62.5, 66.3] 30.1 [27.2, 33.0]
HRSSM 663.1 [657.8, 668.3] 749.1 [742.3, 755.9] 45.1 [44.3, 45.9] 6.2 [5.7, 6.8]
Dr. G 623.7 [616.9, 630.4] 704.8 [694.3, 714.9] 54.0 [52.0, 56.3] 3.6 [2.4, 5.1]
TD-MPC2+VIGOR (Ours) 777.6 [773.6, 781.5] 856.9 [853.2, 860.6] 131.8 [124.9, 138.8] 58.7 [50.8, 67.2]
DreamerV3+VIGOR (Ours) 767.8 [763.0, 772.6] 894.5 [890.6, 898.2] 98.1 [95.7, 100.4] 84.4 [80.1, 88.6]

Mean and interquartile mean (IQM) of episode returns across all tasks, distraction types, and difficulty levels. Brackets: 95% stratified bootstrap confidence intervals. Bold: best in column.

Side-by-Side Rollouts

walker-walk, background-video (hard)

TD-MPC2

V2Dr. G rollout

Dr. G

V3SRM rollout

SRM

V1VIGOR rollout

VIGOR (Ours)

door-opening, eval-extreme

V4TD-MPC2 rollout

TD-MPC2

V5Dr. G rollout

Dr. G

V6SRM rollout

SRM

V7VIGOR rollout

VIGOR (Ours)


Sample Efficiency

Robustness comes at negligible cost. VIGOR's learning curves closely track those of the unmodified backbone on both TD-MPC2 and DreamerV3. On Robosuite, TD-MPC2 and TD-MPC2+VIGOR converge at comparable rates, while the other baselines fall behind in both speed and asymptotic returns.

Learning curves on DMC and Robosuite.
IQM normalized scores on DMC and Robosuite. Shaded regions: 95% stratified bootstrap confidence intervals.

Latent-Space Consistency

VIGOR is consistent at both levels of the vulnerability. Rolling out each world model from identical inputs shows that VIGOR's initial encodings stay close to their clean counterparts, and this alignment is preserved through the rollout horizon. TD-MPC2 and Dr. G produce scattered initial encodings or divergent rollouts, with degraded returns.

UMAP projections of latent rollouts and return curves for Dr. G, TD-MPC2, and VIGOR, with environment snapshots.
walker-walk under background-color distractions. Left: UMAP projections of latent rollouts (top) and episode returns (bottom). Right: environment snapshots across settings.

Why All Three Components?

Each component fails differently when removed. Without DC, performance on Robosuite falls to 46%: encoder-level alignment alone cannot stop the dynamics model from amplifying residual discrepancies. Among augmentation strategies, only AW performs well on both benchmarks, because the asymmetric split provides both optimization stability and perturbation diversity.

AugmentationDMCRobosuite
Weak-only83%47%
Strong-only48%62%
Weak-to-strong-only62%79%
AW (VIGOR)100%100%
LossesDMCRobosuite
w/o DC & ES76%33%
w/o DC89%46%
w/o ES93%88%
VIGOR100%100%

Zero-shot performance relative to full VIGOR.

Limitations

VIGOR targets appearance-based perturbations. Geometric viewpoint changes, dynamics shift, and task-level shift are outside its scope: under unseen camera rotations, all evaluated methods, including VIGOR, degrade sharply. Our backbone-generality evidence is limited to two world-model families, and validation on real robots remains future work.

Rollout Gallery

Supplementary Results

Detailed breakdowns from the paper's appendix. Select a topic to expand it. "VIGOR" denotes the default TD-MPC2+VIGOR instantiation unless stated otherwise.

Generalization breakdowns

By distraction type and difficulty

Returns degrade as difficulty increases for all methods, but the magnitude differs substantially. VIGOR ranks first on every DMC distraction except background-video, where SimGRL scores highest under hard shifts, and maintains the highest returns at every Robosuite difficulty level.

IQM normalized scores per distraction type across difficulty levels.
IQM normalized scores for each distraction type across difficulty levels.
By task

Among all baselines, TD-MPC2+VIGOR ranks first on every individual task in both benchmarks. Bold marks the best score per task across all methods, including DreamerV3+VIGOR.

TaskDrQ-v2SVEASRMSimGRLTD-MPC2DreamerV3HRSSMDr. GTD-MPC2
+VIGOR
DreamerV3
+VIGOR
DMC
walker-walk731.5
± 344.4
738.5
± 177.0
730.2
± 153.6
719.3
± 128.5
642.2
± 344.8
795.5
± 279.0
775.3
± 153.0
769.8
± 331.9
811.3
± 201.7
927.7
± 144.7
finger-spin721.6
± 373.0
739.8
± 246.4
801.5
± 319.8
787.9
± 242.5
643.9
± 336.7
268.2
± 301.6
734.6
± 319.1
584.2
± 321.9
809.1
± 212.2
458.3
± 441.4
cheetah-run379.3
± 295.5
429.1
± 179.1
443.7
± 228.9
206.1
± 25.6
318.4
± 243.4
364.3
± 281.2
323.8
± 85.7
413.7
± 286.7
461.6
± 176.7
490.9
± 167.2
walker-stand754.3
± 313.7
933.5
± 132.0
932.7
± 105.0
929.5
± 110.3
737.1
± 320.5
891.9
± 233.4
915.7
± 116.0
834.6
± 274.9
938.6
± 72.9
979.7
± 81.8
reacher-easy501.8
± 449.9
829.8
± 322.1
858.2
± 291.8
875.5
± 286.8
621.9
± 422.5
758.5
± 345.7
571.2
± 427.5
500.9
± 388.8
899.0
± 232.3
925.2
± 187.5
cartpole-swingup668.3
± 289.2
686.5
± 281.8
745.7
± 143.4
742.7
± 87.5
631.1
± 241.7
733.5
± 212.5
657.8
± 192.1
638.7
± 274.7
746.0
± 173.8
825.2
± 138.3
Average626.1
± 375.1
726.2
± 279.4
752.0
± 269.8
710.2
± 292.9
599.1
± 349.8
635.3
± 363.2
663.1
± 308.4
623.7
± 347.5
777.6
± 241.5
767.8
± 309.7
Robosuite
door-opening7.6
± 32.2
76.1
± 98.1
92.5
± 90.9
1.0
± 0.4
1.0
± 1.0
35.0
± 41.5
6.8
± 12.7
13.2
± 69.0
143.9
± 201.6
175.2
± 77.7
lifting27.0
± 25.1
20.6
± 58.9
25.5
± 78.7
21.6
± 74.1
1.8
± 5.0
23.7
± 27.7
1.5
± 2.7
1.3
± 2.5
35.4
± 74.9
12.6
± 6.1
nut-assembly0.6
± 1.6
11.8
± 31.7
10.2
± 26.8
1.3
± 0.0
0.7
± 1.1
3.4
± 21.7
5.2
± 3.8
0.7
± 1.0
15.5
± 39.3
12.6
± 15.1
peg-in-hole128.8
± 45.0
222.6
± 86.6
239.1
± 114.2
137.3
± 12.9
157.4
± 35.9
195.2
± 39.1
166.9
± 24.1
200.8
± 28.7
332.6
± 114.2
192.0
± 24.8
Average41.0
± 59.9
82.8
± 111.9
91.8
± 123.4
40.3
± 68.0
40.2
± 70.1
64.3
± 83.5
45.1
± 71.7
54.0
± 92.8
131.8
± 176.1
98.1
± 95.3
Bar charts of mean episode return per task for every method.
Mean episode returns across tasks, averaged over all distraction types and difficulty levels. Error bars: standard deviations.
Latent-space visualizations

Across background-color, background-video, and light-color distractions, VIGOR maintains consistency at both the encoder and rollout levels, which neither TD-MPC2 nor Dr. G does.

UMAP projections, returns, and snapshots for Dr. G, TD-MPC2, and VIGOR under three distraction types.
Latent rollouts on walker-walk under background-color, background-video, and light-color.

Ablating DC and ES reproduces the expected failure modes: without DC, rollouts diverge; without ES, encoder outputs are displaced; only the full model stays aligned at both levels.

UMAP projections, returns, and snapshots for VIGOR and its DC and ES ablations.
Ablation on DC and ES under background-color and object-color.

Efficiency

Per-task sample efficiency

VIGOR reaches every threshold in the fewest episodes among all non-oracle methods on both benchmarks. On Robosuite, the second-best baseline needs roughly 1.9× more episodes.

Per-task learning curves for every method.
Per-task learning curves. Shaded regions: 95% stratified bootstrap confidence intervals.
ThresholdDrQ-v2SVEASRMSimGRLDreamerV3HRSSMDr. GVIGOR
DMC
25%772493623625437802415395
50%883605702642550833540412
75%895640722657553847617422
Robosuite
25%1,3351,4501,2401,9851,8402,0001,685655
50%1,3601,7001,3401,9901,8402,0001,925720
75%1,3651,7801,3701,9901,8452,0001,965740

Mean number of episodes (lower is better) to reach 25%, 50%, and 75% of the oracle baseline (TD-MPC2). Methods that miss a threshold receive the maximum count: 1,000 on DMC, 2,000 on Robosuite.

DMC 100K: a 10× smaller training budget

With only 100K steps, TD-MPC2 remains the most sample-efficient method, with VIGOR closely following, but VIGOR achieves the strongest zero-shot generalization. Its benefits emerge early in training rather than requiring extended training.

Learning curves and zero-shot generalization bars after 100K steps.
Left: sample efficiency. Right: zero-shot generalization after 100K steps.
Wall-clock training time

VIGOR closely matches TD-MPC2 per environment step and adds a modest wall-clock overhead, mainly from strong-augmentation preprocessing. The IQM normalized-score gap averages about 0.17 over a 24-hour window.

Learning curves of TD-MPC2 and VIGOR against environment steps and wall-clock time.
Left: learning curves against environment steps. Right: against wall-clock time.

Design choices and limits

Augmentation families and mixture ratio

Contextual (random-overlay), textural (random-conv), and spectral (SRM) strong augmentations all maintain strong zero-shot generalization, indicating that latent-space consistency, not the augmentation choice, drives robustness within these families.

Random-overlay, random-conv, and SRM applied to walker-walk frames.
Strong augmentation families applied to walker-walk.
Learning curves and generalization bars for three augmentation families.
Augmentation-agnostic robustness across the three families.

The balanced mixture \(\zeta = 1\) is the only ratio that performs best on both benchmarks, and AW is the only strategy that preserves both training stability and robustness.

Learning curves for AW variants and mixture ratios.
Sample efficiency of AW variants (left) and mixture ratios \(\zeta\) (right).
Design-choice ablations

On finger-spin, cheetah-run, and walker-walk, VIGOR outperforms variants with fixed augmentation parameters across the horizon, random-conv in place of random-overlay, and a contrastive ES objective.

Learning curves and generalization bars for three design-choice ablations.
Left: sample efficiency. Right: zero-shot generalization.
Longer planning horizons

With \(H \in \{3, 5, 10\}\) on finger-spin and door-opening, VIGOR stays stable and reaches comparable asymptotic returns, although convergence slows at longer horizons.

Learning curves and bars for planning horizons 3, 5, and 10.
VIGOR under extended planning horizons.
Unseen camera rotations (a known limitation)

Rotations change the projection geometry and fall outside the invariances learned by current encoder-based methods. Performance drops sharply for all methods, including VIGOR, which motivates geometry-aware representations as future work.

Scores for all methods under static and dynamic camera rotations.
Zero-shot generalization under cam-ori and cam-dyn.

Second backbone and environments

VIGOR on DreamerV3

DreamerV3+VIGOR retains AW, re-targets DreamerV3's KL-balancing terms toward the weak-only posterior across the two branches, and adds ES at the observation embedding. It improves over the DreamerV3 backbone and attains the highest IQM among the evaluated methods, without compromising sample efficiency relative to its backbone.

Overview of DreamerV3+VIGOR and its recurrent state-space model.
(a) Overview of DreamerV3+VIGOR. (b) Its RSSM.
Scores per distraction type for both backbones with and without VIGOR.
Zero-shot generalization per distraction type for both backbones.
Per-task learning curves for both backbones with and without VIGOR.
Per-task sample efficiency for both backbones.
Environments and evaluation scenes
The six DMC tasks and four Robosuite tasks.
Six visuomotor control tasks from DMC and four manipulation tasks from Robosuite.
Robosuite tasks across train, eval-easy, eval-hard, and eval-extreme scenes.
Robosuite tasks across increasing levels of visual distraction.

BibTeX

@inproceedings{park2026vigor,
  author    = {Park, Mingyu and Noh, Samyeul and Myung, Hyun and Lee, Donghwan},
  title     = {{VIGOR}: Zero-Shot Visual Generalization via Latent-Space Consistency in Model-Based Reinforcement Learning},
  booktitle = {Advances in Neural Information Processing Systems (NeurIPS)},
  year      = {2026},
}