INVAR

Randomization-Invariant Visual Representations
for Zero-Shot Sim-to-Real

Sunshine Jiang1,2,3, Shuo Cheng1,5, Francois Robert Hogan1, Matthew Chang1, Tingfan Wu1, Jitendra Malik1,4, Karen Liu1,2, Nur Muhammad Mahi Shafiullah1,4, Akash Sharma1

1 Amazon FAR 2 Stanford University 3 MIT 4 UC Berkeley 5 Georgia Tech

Work done during an internship at Amazon FAR.

INVAR representation works across embodiments, tasks and scenes.

Encoder attention maps on real-world rollouts
RGB observationDINOv3CAIPINVAR (ours)
01 Dexterous spray-bottle grasping Attention on the bottle and hand.
02 Bimanual manipulation
2× real-world success ratevs. finetuned DINOv3
1.5× faster convergencefor policy training
TL;DR

INVAR learns a visual representation from diverse simulation randomizations, then freezes it for reuse across tasks. Policies trained on clean simulation images transfer zero-shot to real robots.

01 / THE IDEA

Learn invariance once. Reuse it for every new policy.

Standard domain randomization couples visual invariance to task-specific policy weights. Every new policy must learn these invariances from scratch. INVAR separates representation learning from policy optimization, so the same frozen encoder can be reused across downstream tasks.

Prior approach

Clean simulationClean simulation of bimanual bottle manipulation
Start from the nominal scene
Randomize
Re-render randomized simulationThe same task with randomized materials, lighting, and background
Repeat for every new task
Vision encoderFROZEN / FINETUNED
TRAINPolicy π
Real-world deployment
Appearance changes can disrupt execution

Randomize for every new policy. Each policy learns the task and how to handle changes in appearance.

INVAR (ours)

Clean simulationClean simulation of bimanual bottle manipulation
Clean images for each new policy
INVARFROZEN ENCODER
TRAINPolicy π
Real-world deployment
Zero-shot transfer

Randomize during encoder pretraining. Freeze INVAR and train each new policy on clean simulation images.

02 / INSIDE THE REPRESENTATION

Visual invariance across
the sim-to-real gap.

Attention maps, patch-level PCA, and sim-to-real patch correspondence show how INVAR suppresses task-irrelevant appearance variation while preserving manipulation-relevant structure.

RGB inputDINOv3CAIPINVAR (ours)
0:00
Last-block attention on real robot footage.

These visualizations show where the encoders respond; they do not measure what causes policy success. The real-robot and human videos were not used to adapt INVAR.

03 / SELF-DISTILLATION

Self-distillation from
state-matched renders.

A simulator can generate paired renders from the exact same underlying state. INVAR uses these pairs for asymmetric self-distillation: the student processes randomized views and learns to match an EMA teacher that receives only clean renders.

1 Match the state

The same state, with two appearances. The student learns to ignore changes in appearance and match the teacher’s features.

EMA update
SIMULATORSame state s
Randomized render

Random lighting · materials · table texture · background

Head camera: randomized view of the same chess state
Head camera
Left wrist: randomized view of the same chess state
Left wrist
Right wrist: randomized view of the same chess state
Right wrist
StudentfθINVAR encoder
Stop gradientAction probe
Clean render

Nominal simulation appearance

Head camera: clean view of the same chess state
Head camera
Left wrist: clean view of the same chess state
Left wrist
Right wrist: clean view of the same chess state
Right wrist
Teacherfθ̄EMA encoder

Encoded features

INVAR patch features, visualized with PCASame state · shared color scale
zrandomizedRandomized render
INVAR PCA: head camera, randomized appearance 1
Head camera
INVAR PCA: left wrist, randomized appearance 1
Left wrist
INVAR PCA: right wrist, randomized appearance 1
Right wrist
Similar
features
zcleanClean render
INVAR PCA: head camera, clean appearance
Head camera
INVAR PCA: left wrist, clean appearance
Left wrist
INVAR PCA: right wrist, clean appearance
Right wrist

One shared PCA basis and color scale across all 27 clean and randomized camera views.

3 Freeze and reuse

Freeze INVAR after pretraining, then train each new policy on clean simulation images.

CLEAN SIMULATIONClean simulation policy-training input
New downstream task
❄INVARFROZEN ENCODER
πPolicyTRAIN IN SIMULATION
Same frozen representation↓
ZERO-SHOT REAL-WORLD DEPLOYMENT
Full training pipeline and technical details
INVAR pipeline: randomized student and clean EMA teacher with CLS loss and a detached action probe
The student receives randomized crops and matches the teacher’s outputs on clean crops using a CLS self-distillation loss. An exponential moving average of the student weights updates the teacher. We stop gradients through the teacher and use a separate linear action probe to choose checkpoints.

We fine-tune DINOv3 ViT-S+/16 (28.7M parameters) with two teacher crops, eight student crops, and 65,536 prototypes. Training uses teacher centering, sharpening, and EMA updates, with no task labels or rewards in the distillation loss.

THE PRETRAINING DATA

We pretrain on approximately 6.3 million clean–randomized image pairs across three simulated embodiments: dexterous hand, parallel gripper, and humanoid. The corpus includes diverse tasks and camera views, with no task labels required for representation learning.

Across embodiments

Across views

Across tasks

None of the evaluation objects appear in encoder pretraining. Pouring, bottle-in-bin, and mug flipping are also new tasks. Humanoid data is used only for pretraining.

04 / ZERO-SHOT TRANSFER

Zero-shot transfer to
unseen objects and tasks.

Policies use a frozen INVAR encoder and train only on nominal simulation data. We evaluate zero-shot transfer to unseen objects across both embodiments; pouring and the parallel-gripper tasks also test unseen manipulation motions.

Robust to lighting and surface changes.

Four contrasting conditions, then all 25 trials in shuffled order.

Transfer to unseen objects and tasks

Sharpa hand on a Tianji arm.
UNSEEN OBJECT AND TASK

Pour wine into a bowl

Neither these objects nor the pouring task appears in encoder pretraining.

Real-world success rate
INVAR58%
Best tested baseline for this task
DINOv3 with DR25%

24 real-world rollouts per method. Strongest evaluated baseline for this task.

Full results and evaluation setup
Success rates for all six encoder and policy-training settings across real, nominal simulation, and randomized simulation evaluations
Paper Fig. 4. We compare encoders, frozen versus fine-tuned features, and clean versus randomized policy-training images. INVAR uses a frozen encoder and clean images.

For grasping, we run 25 trials on each of five objects: 125 trials per method. Each other task has 24 real-world trials per method. Simulation tests use 50 episodes per checkpoint. All methods use the same behavior-cloning policy architecture.

Real-world suite means reported in the paper
Evaluation suiteINVARStrongest suite baseline
Dexterous manipulation (five grasp objects + pouring)0.610.30
Bimanual parallel gripper (bottles + mug)0.650.32

The table reports suite averages; the charts above compare each task with its strongest tested baseline. For pouring, we compare with DINOv3 trained with DR.

Downstream policies
also converge faster.

INVAR also accelerates downstream policy learning, reaching 90% of peak performance about 1.5× faster than the fastest baseline.

1.5×

faster convergence

The threshold is 90% of each method’s own peak success.

Nominal simulation

INVAR
29.4
Fastest baseline
44.6

Simulation with visual DR

INVAR
27.6
Fastest baseline
38.4

Mean training epoch to 90% of each method’s peak success ↓
Averaged across five training runs. Paper Table 1.

05 / SCALING AND ABLATIONS

How pretraining data
affects real-world transfer.

At a fixed pretraining budget, broader embodiment diversity improves real-world transfer. Increasing task and object diversity also helps, and real-world success scales with the number of pretraining pairs.

Scaling results: broader embodiment, object, and task diversity and more pretraining pairs improve real-world success.
Real-world transfer improves with more diverse simulation data and more pretraining pairs. The chart summarizes the ablations; the breakdown below shows each embodiment separately.
Each embodiment-diversity experiment uses 6.3 million pairs. The full mix is 70% dexterous hand, 29.7% parallel gripper, and 0.3% humanoid.
The same 6.3 million pretraining pairs, drawn from different combinations of embodiments.

Paper Table 2. These ablations use 12 real-world trials per task: hammer and spray-bottle grasping, and bottles into a bin. They are separate from the main benchmark.

More ablation results

Cross-embodiment diversity

With one robot type, increasing the grasping set from 5 to 20 objects raises success from 54% to 63%. Increasing gripper tasks from 2 to 5 raises success from 50% to 58%. Adding data from other robot types gives a larger gain.

The asymmetric objective

With the same data, architecture, and training budget, giving randomized images to both networks lowers real-world success from 84% to 42%. Keeping the teacher’s view clean works better.

Visual randomization as a one-time pretraining cost.

Generate the randomized simulation corpus once, pretrain INVAR, and reuse the frozen encoder across downstream policies trained on nominal simulation.

INVAR addresses differences in appearance, not geometry, dynamics, or actuation. We evaluate it with behavior-cloning policies.

06 / TRADE-OFFS

What does INVAR lose?

INVAR trades some general vision performance for features that are more consistent across appearance changes. Adapting DINOv3 for manipulation lowers its scores on general vision benchmarks. We expect training on larger datasets to improve general vision performance.

General vision and appearance invariance with frozen features
Benchmark and metricDINOv3INVAR (ours)Change
ImageNet-1k Linear top-1 accuracy ↑78.7%72.2%−6.5 pp
NYU-Depth Depth RMSE ↓0.449 m0.513 m+0.064 m
NYU-Depth Depth accuracy δ₁ ↑0.8500.796−0.054
DAVIS Video label propagation, J&F ↑69.460.8−8.6 points
Clean-to-randomized patch matching Patch-matching accuracy ↑0.7630.898+0.135

Source: Appendix C.2.1, Table 9. Both encoders stay frozen during these probes; DINOv3 is the original pretrained encoder. ↑ Higher is better. ↓ Lower is better. pp = percentage points.