SAM-6D: Segment Anything Model Meets Zero-Shot 6D Object Pose Estimation

Jiehong Lin, Lihua Liu, Dekun Lu, Kui Jia

Abstract

SAM-6D is a novel framework that brings the "zero-shot" power of the Segment Anything Model (SAM) to the complex task of 6D object pose estimation. By combining a robust instance segmentation filter with a two-stage point-matching transformer, the system can detect and determine the 3D position and orientation of novel objects in cluttered scenes without requiring any object-specific retraining.

Introduction

In computer vision, 6D pose estimation—predicting an object's 3D translation and rotation—is a foundational challenge for robotics and augmented reality. Traditionally, models were "instance-level," requiring training on specific objects. While "category-level" models improved generalization to classes, the ultimate goal is Zero-Shot 6D Pose Estimation: the ability to see a completely new object once (via a 3D model or templates) and immediately locate it in a cluttered, real-world environment.

The primary hurdles are generalization and the "partial-to-partial" matching problem. When an object is in a cluttered scene, it is often occluded or poorly lit, meaning the sensor only sees a partial view. Matching this noisy, incomplete data to a complete 3D model is computationally expensive and prone to error.

Methodology

SAM-6D addresses these challenges by splitting the problem into two dedicated sub-networks: the Instance Segmentation Model (ISM) and the Pose Estimation Model (PEM).

Instance Segmentation Model (ISM)

Instead of building a detector from scratch, SAM-6D leverages the Segment Anything Model (SAM) to generate a vast array of class-agnostic object proposals. To identify the target object among these proposals, the framework employs an Object Matching Score based on three factors:

  1. Semantics: Utilizing DINOv2 features to verify if the proposal matches the target's visual characteristics.
  2. Appearance: Comparing the proposal to rendered templates of the target object.
  3. Geometry: Checking if the proposal's size and shape (via bounding box IoU) are consistent with a rough pose estimate.
Figure 2: Instance segmentation proposals generated by SAM in a cluttered environment.

Pose Estimation Model (PEM)

Once an object is segmented, the PEM treats pose estimation as a point cloud matching problem. It introduces two key innovations:

  • Background Tokens: To solve the partial-matching problem, points can be assigned to a "background token" if they are occluded or represent sensor noise, rather than forcing a match with the 3D model.
  • Two-Stage Matching (Coarse-to-Fine): The model first performs sparse matching for an initial pose estimate. It then utilizes a Sparse-to-Dense Point Transformer (SDPT) to refine this into a precise 6D pose using efficient linear cross-attention.

Experimental Results

The authors evaluated SAM-6D on the BOP Benchmark, testing across seven core datasets (YCB-V, LM-O, HB, T-LESS, IC-BIN, ITODD, and TUD-L). For training the PEM, large-scale synthetic datasets like ShapeNet-Objects and Google-Scanned-Objects were used, totaling roughly 2 million images.

Key Performance Metrics

  • State-of-the-Art Accuracy: SAM-6D outperformed existing zero-shot methods, achieving a mean Average Recall (AR) of 70.4 on the YCB-V dataset.
  • Computational Efficiency: By replacing iterative "Optimal Transport" algorithms with the Background Token design, pose estimation time was reduced from 4.31 seconds to 1.36 seconds per image—a 3x speedup.
  • Robustness: The model proved capable of handling both colorful household items and challenging, monochromatic industrial parts.
Figure 6: Final 6D pose estimation results for overlapping industrial components.

Conclusion

SAM-6D demonstrates that foundation models like SAM and DINOv2 can be effectively repurposed for complex geometric tasks. By introducing Background Tokens and a coarse-to-fine matching strategy, the framework achieves significant improvements in both accuracy and speed for zero-shot 6D pose estimation. While current processing times (1.4 to 4.4 seconds) are not yet real-time, the approach marks a significant step toward general-purpose robotic perception.

Summary updated

BibTeX
@inproceedings{lin2023sam,
  author = {Jiehong Lin and Lihua Liu and Dekun Lu and Kui Jia},
  title = {{SAM-6D: Segment Anything Model Meets Zero-Shot 6D Object Pose Estimation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure