TL;DR
Teaching a robot to act from camera pixels while simultaneously bombarding it with visual distractions creates a tug-of-war inside its neural network, hurting both basic task mastery and visual robustness. STAR (Separate Then Align Representations) breaks this deadlock with a simple philosophy: learn how to control in a clean setting first, freeze that representation, and then train a new visual encoder offline to map messy, distracted images back to that exact mental space. The result is an agent that excels in its original training environment, handles wild visual shifts, and doesn't need a single extra step of environment interaction to become robust.
What Problem Does This Paper Address?
Imagine learning to juggle for the first time while someone shines strobe lights in your eyes and swaps out the wallpaper behind you every second. That is essentially how most robust Visual Reinforcement Learning (Visual RL) methods train agents.
Because policies trained purely on raw pixels notoriously fail when lighting, textures, or backgrounds change at deployment, researchers typically inject strong image augmentations and invariance losses directly into the RL training loop. The authors call this coupled representation learning: the visual encoder has to figure out what matters for physics and control (via noisy, bootstrapped value updates) at the exact same time it tries to ignore visual distractions.
As shown in the figure above, this multitasking comes at a steep cost. Compared to a standard baseline with mild augmentations (DrQ), coupled robustness methods suffer from lower returns in the original training environment, up to 4.54$\times$ more representation drift, and up to 5.57$\times$ higher Temporal-Difference (TD) errors in robotic manipulation. Strong perturbations during training accidentally scrub away subtle geometric and contact cues before the agent even realizes they are important, forcing the network to chase a constantly moving target.
Methods
STAR decouples the problem into two sequential stages: control first, robustness next.
- Stage 1: Online Control-Oriented Reference Learning (Mostly Standard). The agent trains in the clean source environment using a standard DrQ (Soft Actor-Critic) pipeline with weak augmentations (simple random pixel shifts). To ensure the visual encoder $E_C$ captures crisp physics and transition details, the authors add a lightweight Forward Dynamics Model (FDM) loss—predicting the next latent state from the current state and action. Once trained, $E_C$, the actor, and the critic are completely frozen.
- Stage 2: Offline Post-Representation Alignment / PRA (Novel). Without collecting any new environment rollouts, STAR pulls saved images from Stage 1's replay buffer. Each image gets two treatments: a weak shift fed into the frozen $E_C$ to get a fixed target embedding ($z^{\text{ref}}$), and a strong augmentation—blending the image with random external textures/scenes—fed into a new robust encoder ($E_R$) plus a lightweight alignment module ($g_\phi$). Trained purely via mean-squared error to match $z^{\text{ref}}$, this new visual pathway learns to strip away severe visual corruptions and recover the exact representation the frozen controller expects. At test time, $g_\phi \circ E_R$ simply snaps onto the frozen controller in place of $E_C$.
Datasets
The authors evaluate STAR on established simulation benchmarks rather than introducing a new dataset:
- RL-ViGen Benchmark: Tests zero-shot visual generalization (changing colors, lighting, textures, and dynamic video backgrounds) across two suites:
- DMC-GB (DeepMind Control Suite): Continuous locomotion/control tasks (Walker Walk, Cheetah Run, Finger Spin, Cartpole Swingup).
- Robosuite: Contact-rich robotic manipulation tasks (Door and TwoArmPegInHole) trained within a 500K interaction budget.
- Imitation Learning Demonstrations: Expert demonstrations on Robosuite's PickPlaceCan and NutAssemblySquare (with custom texture, object, and background shifts) to test pretrained Diffusion Policies.
Key Insights and Ideas
- Turning a moving target into a fixed anchor: Coupled RL fails largely because strongly perturbed views are forced to align with a control representation that is itself unstable and evolving. Freezing Stage 1 turns robustification into clean, supervised regression.
- Plug-and-play post-hoc robustification: Because Stage 2 operates strictly in latent space using existing images—never touching actions, rewards, or critics—it isn't limited to RL. You can take any pretrained visuomotor policy (like an imitation-learned Diffusion Policy) and robustify its vision offline without retraining its complex action generator.
- Clean division of labor: Ablations prove that Stage 1's forward dynamics model doesn't create visual robustness on its own; rather, it builds a richer, higher-performing control representation (especially for manipulation), which gives Stage 2 a much better target to aim for.
Key Results
STAR outperforms both coupled baselines (SVEA, SGQN, SMG, SimGRL) and two-stage online distillation (SECANT) across the board:
- Locomotion & Control (DMC-GB): Achieves the highest original-environment average return (857.5 vs. DrQ's 826.8) and boosts average return across visual shifts to 795.7—a 12% (+86.6) jump over the strongest baseline (SimGRL at 709.1).
- Contact-Rich Manipulation (Robosuite): Where coupled methods struggle, STAR shines, lifting original returns by 39% (464.0 vs. SECANT's 334.0) and shifted returns by 48% (380.5 vs. 257.0), winning 7 out of 8 shifted conditions.
- Diffusion Policy Extensibility: Adding offline alignment (PRA) to a pretrained Diffusion Policy without touching its diffusion head skyrockets NutAssemblySquare success rates under "Hard" visual shifts from 15.3% to 67.3%, and PickPlaceCan from 14.0% to 41.3%.
Limitations and Future Work
- Garbage in, garbage out: Stage 2 can only recover what Stage 1 learned; if the frozen reference encoder misses a crucial control detail, offline alignment inherits that blind spot.
- Slight clean-domain trade-offs in imitation: On PickPlaceCan, adding PRA nudged clean, original-environment Diffusion Policy performance down slightly from 100.0% to 99.3%.
- Augmentation coverage: Stage 2 relies on random image overlays, which don't capture every real-world shift (like 3D camera viewpoint changes), though other augmentations can be swapped in.
- Future directions: The authors suggest exploring control-aware alignment—selectively matching the specific latent subspaces that matter most for actions rather than the entire vector uniformly—and scaling this post-hoc alignment recipe up to massive pretrained Vision-Language-Action (VLA) models.
Summary updated