Visual Reinforcement Learning With Self-Supervised 3D Representations

Yanjie Ze, Nicklas Hansen, Yinbo Chen, Mohit Jain, Xiaolong Wang

TL;DR

This paper introduces a unified framework for learning 3D voxel-based representations to improve visual Reinforcement Learning (RL). By pretraining on large-scale 3D data and jointly finetuning with a novel-view synthesis objective, the authors achieve superior sample efficiency and robust zero-shot sim-to-real transfer for complex robotic manipulation tasks using only a single, uncalibrated RGB camera at deployment.

What Problem Does This Paper Address?

Most visual RL agents "see" the world through 2D image encoders. While 2D computer vision has advanced rapidly, the physical world is inherently 3D. Standard 2D representations often struggle with geometric reasoning, occlusions, and the significant visual "domain gap" encountered when moving a policy from simulation to a real-world robot.

Existing 3D-aware RL methods often have heavy requirements, such as needing multiple camera views at test time or perfect object segmentations. This paper seeks to bridge the gap: How can we give an RL agent the spatial "common sense" of 3D geometry while keeping the deployment hardware as simple as a single, fixed camera?

Methods

The authors propose a two-phase approach:

  1. Object-Centric 3D Pretraining: They use a deep voxel-based autoencoder. The model takes a "source" image, encodes it into a 2D feature map, reshapes it into a 3D voxel grid, and then uses a PoseNet to estimate the relative rotation/translation to a "target" view. The goal is to reconstruct that target view from the 3D voxels. This forces the encoder to capture the underlying 3D structure of objects.
  2. In-Domain Joint Training: Once moved to the RL environment (simulation), the pretrained encoder is not frozen. Instead, it is jointly optimized using two heads:
  3. The RL Head: Uses Soft Actor-Critic (SAC) to learn the motor control task.
  4. The 3D Auxiliary Head: Continues to perform novel-view synthesis using a dynamic camera in the simulator. This ensures the representation remains "3D-aware" even as the agent encounters new, task-specific data.

Crucially, while the 3D auxiliary task requires two views during training, the final policy only requires a single static camera view for deployment.

Datasets

  • Pretraining: The Common Objects in 3D (CO3D) dataset, specifically 20 object categories. This provides the initial "geometric intuition."
  • Evaluation (Simulation):
    • Meta-World: 5 tasks (Basketball, Box Close, Coffee Pull, Coffee Push, Hammer).
  • xArm Manipulation: 4 tasks (Reach, Push, Peg in Box, Lift).
  • Evaluation (Real World): The same 4 xArm tasks were tested on physical hardware to evaluate sim-to-real transfer.

Key Insights and Ideas

  • 3D as an Inductive Bias: Forcing the model to reconstruct different viewpoints of a scene acts as a powerful regularizer. It helps the agent understand where objects are in space, which is critical for tasks like "Lift" or "Peg in Box."
  • The Power of Finetuning: The authors found that jointly finetuning the visual backbone on in-domain data is a neglected but vital factor. Frozen encoders (even those trained on massive datasets like ImageNet) often fail to capture the specific nuances of a robot's workspace.
  • Robustness to Perturbations: Because the model learns geometry rather than just "pixels," it is significantly more robust to changes in lighting, camera angles, and textures in the real world compared to 2D baselines like MoCo or CURL.

Key Results

  • Superior Sample Efficiency: In simulation, the 3D representation reached high success rates much faster than 2D-only methods. For example, on the challenging "Coffee Pull" task, the 3D method achieved nearly 100% success while "from-scratch" SAC failed completely.
  • Sim-to-Real Success: The method demonstrated the first positive sim-to-real transfer using 3D representations. In the "Lift" task, the 3D method achieved a 46% success rate in the real world (zero-shot), whereas the best 2D baseline (MoCo) only achieved 20%.
  • Zero-Shot Transfer: The policies transferred to real robots without any calibration of the camera or real-world training data, even when the real-world environment was "perturbed" with different lighting and camera positions.

Limitations and Future Work

  • Multi-view Training Requirement: While deployment only needs one camera, the training phase still requires a multi-view setup (or a simulator that can provide multiple views) to satisfy the 3D reconstruction objective.
  • Computational Overhead: 3D voxel operations (like 3D convolutions) are more memory and compute-intensive than standard 2D operations.
  • Future Direction: The authors suggest exploring "single-view training" where 3D-aware objectives could be learned without needing explicit multi-view pairs, perhaps through temporal consistency in videos.

Summary updated

BibTeX
@article{ze2023visual,
  author = {Yanjie Ze and Nicklas Hansen and Yinbo Chen and Mohit Jain and Xiaolong Wang},
  title = {{Visual Reinforcement Learning With Self-Supervised 3D Representations}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2023},
  doi = {10.1109/lra.2023.3259681},
}
Figure