One Phase Is Enough: Sim-to-Real Transfer with Direct Visual Reinforcement Learning
Organizations: Massachusetts Institute of Technology · Improbable AI Lab
Abstract
Sim-to-real reinforcement learning (RL) has enabled impressive robotic behaviors, yet deploying policies directly from vision remains challenging. A common approach first trains a teacher policy with RL using privileged state observations, then distills its behavior into a vision-based student via imitation. However, the resulting student can substantially underperform its teacher. Directly training visual policies with RL offers a promising alternative, but learning task-relevant visual representations from scratch can be sample-inefficient, making one-phase visual RL intractable. We propose DRIFT, a simple recipe for efficient one-phase visual RL using image observations available at test time. Our key insight is to use frozen, pretrained foundation vision encoders, allowing RL to focus on learning control from existing visual representations. Freezing the encoder avoids costly backpropagation through the vision backbone, while its pretrained representations enable real-world transfer from fast, rasterized simulation rendering. Under matched architectures, observations, and compute budgets, DRIFT outperforms two-phase distillation and achieves a 58.8% relative improvement in average real-world success rate across three manipulation tasks. Controlled simulation evaluations demonstrate that DRIFT's relative advantage grows from roughly 9% in-distribution to over 61% under out-of-distribution shifts, suggesting that stronger generalization contributes to superior real-world transfer. Project website: https://jmarangola.github.io/one-phase-visual-rl/
Figures & tables
| Real-world performance | Simulation-to-real transfer | |||||
|---|---|---|---|---|---|---|
| Task | Method | Success (%) | Throughput (successes/min) | Success in sim (%) | Sim2Real Drop (percentage points) | Real trials |
| Peg insertion | Drift : 1-phase visual RL (ours) | 30 | ||||
| 2-phase distillation (w/ frozen ViT) | 30 | |||||
| 2-phase distillation (w/ unfrozen ViT) | 30 | |||||
| Pick-Cube | Drift : 1-phase visual RL (ours) | 20 | ||||
| 2-phase distillation (w/ frozen ViT) | 20 | |||||
| Parameter | Value |
|---|---|
| Clipping parameter | 0.2 |
| Value loss coefficient | 0.5 |
| Advantage normalization | True |
| Target KL divergence | 0.1 |
| PPO epochs per update | 4 |
| Learning rate |
| Parameter | Value |
|---|---|
| Image resolution | (224, 224, 3) |
| Visual encoder | DINOv3 ViT-S/16 |
| Visual encoder weights | Frozen |
| Visual encoder output | (196, 384) |
| Attention pooling input projection | (384, 64) |
| Attention pooling heads | 8 |
Robotic RL
Robotic reinforcement learning uses trial-and-error learning to help robots control, navigate, and manipulate objects.
See all 338 papers