3D Diffusion Policy

Yanjie Ze, Gu Zhang, Kangning Zhang, Chenyuan Hu, Muhan Wang, Huazhe XuarXiv 2024

Abstract

Imitation learning provides an efficient way to teach robots dexterous skills; however, learning complex skills robustly and generalizablely usually consumes large amounts of human demonstrations. To tackle this challenging problem, we present 3D Diffusion Policy (DP3), a novel visual imitation learning approach that incorporates the power of 3D visual representations into diffusion policies, a class of conditional action generative models. The core design of DP3 is the utilization of a compact 3D visual representation, extracted from sparse point clouds with an efficient point encoder. In our experiments involving 72 simulation tasks, DP3 successfully handles most tasks with just 10 demonstrations and surpasses baselines with a 24.2% relative improvement. In 4 real robot tasks, DP3 demonstrates precise control with a high success rate of 85%, given only 40 demonstrations of each task, and shows excellent generalization abilities in diverse aspects, including space, viewpoint, appearance, and instance. Interestingly, in real robot experiments, DP3 rarely violates safety requirements, in contrast to baseline methods which frequently do, necessitating human intervention. Our extensive evaluation highlights the critical importance of 3D representations in real-world robot learning.

Introduction

Visual imitation learning is a cornerstone of modern robotics, yet current state-of-the-art methods, such as 2D Diffusion Policies, face significant hurdles. Primarily, these methods suffer from data inefficiency and poor generalization. 2D models lack an inherent understanding of 3D spatial relationships, often requiring hundreds of demonstrations to learn tasks that humans find intuitive. Furthermore, they are highly sensitive to minor changes in camera perspective or object placement. While 3D representations like point clouds offer a solution, they have traditionally been avoided due to high computational costs that impede real-time robot control.

Methodology

DP3 addresses these challenges by combining the expressive power of diffusion models with the spatial awareness of 3D point clouds through a streamlined pipeline:

  1. 3D Perception: DP3 converts single-view depth maps into sparse point clouds. Using Farthest Point Sampling (FPS), the scene is downsampled to a manageable 512 or 1024 points.
  2. Compact Encoding: Instead of heavy pre-trained models, DP3 utilizes a simple 3-layer MLP with max-pooling to extract a 64-dimensional feature vector. This design ensures high-speed processing suitable for real-time applications.
  3. Diffusion-Based Decision Making: These 3D features, combined with the robot's proprioception, serve as conditioning for a Diffusion Policy backbone. This generative model denoises random noise into a smooth sequence of future actions.
  4. Simple DP3: A further optimized version removes redundant U-Net components, achieving ~25 FPS without sacrificing accuracy.

Experimental Setup

The effectiveness of DP3 was evaluated across an extensive suite of benchmarks, including 72 simulation tasks across 7 domains (Adroit, MetaWorld, DexDeform, etc.) and 4 complex real-world tasks such as "Make a Dumpling" and "Drill the Cube" using an Allegro Hand and Franka arm.

Visualizations of diverse simulation and real-world tasks used for evaluation.

Results and Discussion

DP3 demonstrates that 3D representation acts as a "data multiplier." In many scenarios, DP3 with only 10 demonstrations outperformed 2D Diffusion Policy trained on 100 demonstrations.

Performance comparison across 72 simulation tasks and summary metrics for real-world and generalization performance.

Key Findings:

  • Superior Performance: DP3 achieved a 24.2% relative improvement over 2D baselines in simulation and maintained an 85% success rate in real-world tasks with minimal demonstrations.
  • Robust Generalization: By focusing on 3D geometry rather than color or texture, DP3 generalizes effectively to unseen object appearances and spatial positions.
  • Safety and Efficiency: DP3's 3D awareness leads to safer robot behavior, rarely producing erratic commands that violate hardware constraints. It achieves practical inference speeds of 12.7 to 25.3 FPS.

Conclusion

DP3 proves that simple, compact 3D representations can significantly enhance the efficiency and robustness of robotic imitation learning. While challenges remain regarding viewpoint sensitivity in single-view setups and scaling to long-horizon tasks, DP3 establishes a new state-of-the-art for visual robot control.

Videos, code, and data are available at https://3d-diffusion-policy.github.io.

Summary updated

BibTeX
@misc{ze2024d,
  author = {Yanjie Ze and Gu Zhang and Kangning Zhang and Chenyuan Hu and Muhan Wang and Huazhe Xu},
  title = {{3D Diffusion Policy}},
  year = {2024},
  eprint = {2403.03954},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.03954},
}
Figure