Abstract
Vision-based imitation learning has shown promising capabilities of endowing robots with various motion skills given visual observation. However, current visuomotor policies fail to adapt to drastic changes in their visual observations. We present Perception Stitching that enables strong zero-shot adaptation to large visual changes by directly stitching novel combinations of visual encoders. Our key idea is to enforce modularity of visual encoders by aligning the latent visual features among different visuomotor policies. Our method disentangles the perceptual knowledge with the downstream motion skills and allows the reuse of the visual encoders by directly stitching them to a policy network trained with partially different visual conditions. We evaluate our method in various simulated and real-world manipulation tasks. While baseline methods failed at all attempts, our method could achieve zero-shot success in real-world visuomotor tasks. Our quantitative and qualitative analysis of the learned features of the policy network provides more insights into the high performance of our proposed method.
Introduction: The Challenge of Visual Brittleness
In the domain of visuomotor policies—AI systems that translate camera images directly into robot movements—consistency is a significant hurdle. If a robot is trained to pick up an object using a front-facing camera, the policy typically fails if the camera is moved to the side or if the lens is swapped. This "perceptual configuration" mismatch makes it difficult to share datasets or models between different research labs or even different robot units.
Current end-to-end models are often "black boxes" where visual perception and motor control are inextricably linked. When the view changes, the internal representations break. Perception Stitching (PeS) addresses this by enforcing modularity: separating what the robot sees from how it moves, allowing vision modules to be swapped like modular components.
Methodology: The Perception Stitching Framework
The core of the PeS framework relies on three main innovations to ensure that visual encoders and action decoders can be interchanged seamlessly.
1. Relative Representations
Instead of passing raw latent features from a neural network to the motor controller, PeS represents an image by its similarity to a set of "anchor images." By using cosine similarity, the system becomes invariant to isometric transformations (like rotations or translations in the latent space) that naturally occur when camera perspectives change.
2. Anchor Selection via Trajectory Replay
To ensure the anchors represent the same semantic information across different views, the authors employ a trajectory replay strategy. They take a successful robot trajectory from Environment A and "replay" the exact motor commands in Environment B. Corresponding frames from both environments are then selected to serve as aligned anchors.
3. Disentanglement Regularization
During training, a specific loss function ($L_{disent}$) is applied to force different dimensions of the visual features to be independent. This prevents the network from "clumping" information, ensuring it captures distinct factors like object color, position, and depth.
Experimental Evaluation
The authors evaluated PeS across a massive battery of tests in both simulation and real-world environments.
- Simulation: Using the Robomimic benchmark, they tested five tasks: Push, Lift, Can, Stack, and Door Open. They introduced seven types of drastic visual changes, including lens masking, zooming, Gaussian noise, fisheye distortion, and entirely new camera positions.
- Real-World: Experiments were performed on a physical robot arm for Reach, Push, Lift, and Stack tasks, using hardware-level changes like obscured views and broken lenses.
Key Results and Insights
The results demonstrate that modularity can outperform massive end-to-end models in zero-shot adaptation.
- Performance Dominance: In basic simulation tasks (Push/Lift), PeS maintained a ~97% success rate across all visual changes. In the difficult "Door Open" task, PeS achieved 60.1%, while the best baseline (RT-1) struggled at 31.2%.
- Real-World Zero-Shot Transfer: PeS achieved 100% success in reaching and 85% in pushing. Most impressively, it managed a 45% success rate on the complex "Stack" task. In contrast, the primary baseline (Devin et al., 2017) failed completely, recording 0% success across all tasks.
- Latent Space Geometry: The authors observed that visual encoders trained on different views often produce latent spaces that are geometrically related (e.g., rotated or scaled). Relative representation acts as a mathematical bridge to align these spaces.
Conclusion and Future Work
Perception Stitching demonstrates that a modular, "stitched" approach allows robots to adapt to entirely new camera setups without any new training. While the current method requires trajectory replay to select anchors and faces some precision gaps in sub-millimeter tasks, it paves the way for more flexible robot learning. Future work will explore extending these techniques to Reinforcement Learning and scaling to larger, more diverse datasets.
Summary updated