Introduction
In image-based Reinforcement Learning (RL), the perspective of a camera is often as critical as the visual content itself. For instance, a robotic arm may easily grasp an object using a wrist-mounted "first-person" camera but struggle significantly when relying solely on a distant "third-person" view. While training in simulation allows for multiple camera angles, real-world deployment is frequently constrained by hardware costs, bandwidth, or sensor failures.
Researchers from the University of Edinburgh have introduced Multi-View Disentanglement (MVD), a framework designed to bridge this gap. MVD enables agents to leverage the rich information of multiple views during training while maintaining high performance using only a single camera at deployment.
The Challenge of Multi-Camera RL
Current multi-camera RL methods typically "fuse" data from all available sensors into a single representation. While effective when all sensors are operational, these systems are fragile; removing or damaging a single camera often leads to a total collapse in performance. Ideally, an agent should be robust enough to work with a subset of cameras—or even just one—without requiring retraining.
Methodology: Disentangling the Visual Stream
MVD addresses this by employing a self-supervised auxiliary task that works alongside standard RL algorithms like Soft Actor-Critic (SAC) or DrQ. The core of the architecture lies in separating visual information into two distinct components for each camera view:
- Shared Encoder ($s$): Learns representations aligned across all cameras, capturing the "essence" of the state (e.g., the position of a ball) regardless of perspective.
- Private Encoder ($p$): Captures information unique to a specific camera, such as local lighting conditions, specific occlusions, or high-resolution details not visible from other angles.
Contrastive Loss Functions
To enforce this separation, MVD utilizes two specific loss functions:
- Shared Contrastive Loss ($\mathcal{L}^S$): Uses the InfoNCE objective to maximize similarity between shared representations from different views while distinguishing them from private ones.
- Private Contrastive Loss ($\mathcal{L}^P$): Ensures private representations remain distinct across cameras and maintain temporal consistency across frames.
During training, the RL policy is fed a randomized mixture of shared and private representations. This forces the agent to rely on consistent shared information while still benefiting from the high-detail "anchors" provided by private views during the learning process.
Experimental Setup
The researchers evaluated MVD across two robotic simulation suites:
- Panda Gym: Tasks like Reach and Cube Grasping using a Franka Emika Panda arm with three views (first-person, front, and side).
- MetaWorld: Complex tasks like Soccer, Basketball, and Peg Insert using a Sawyer robot with two views (first-person and third-person).
Results and Key Insights
The experiments yielded several critical findings:
- The Scaffolding Effect: Multi-view training acts as a "scaffold." Agents trained with MVD could solve tasks using only a third-person camera, even when agents trained exclusively on that same third-person view failed entirely. The multi-view training helps the agent learn which features are truly relevant.
- Superior Zero-Shot Generalization: MVD was the only method that maintained consistent performance when restricted to individual cameras at test time. In the MetaWorld Soccer task, a standard RL agent trained on a single third-person camera had a 0% success rate. In contrast, an MVD agent trained on two cameras but tested on that same single camera achieved nearly a 75% success rate.
- Robustness vs. Fusion: While baselines like Variational Information Bottleneck (VIB) performed well with all cameras present, their performance plummeted to near zero when restricted to a single camera. MVD remained robust due to its aligned shared representations.
Conclusion and Future Work
MVD demonstrates that disentangling shared and private information allows RL agents to "see the big picture" even through a single lens. This approach provides a pathway for deploying robust robotic systems in unpredictable real-world environments. Future research directions include moving from camera-level disentanglement to feature-level disentanglement and addressing the sim-to-real gap to ensure these models perform reliably on physical hardware.
Summary updated