YOLOPose: Transformer-Based Multi-object 6D Pose Estimation Using Keypoint Regression

Arash Amini, Arul Selvam Periyasamy, Sven Behnke

TL;DR

YOLOPose is a single-stage, end-to-end Transformer architecture that achieves real-time 6D pose estimation for multiple objects. By combining the global reasoning of Transformers with a novel keypoint regression strategy and a learnable orientation module, it delivers state-of-the-art accuracy at a blistering ~59 FPS.

What Problem Does This Paper Address?

Estimating the 6D pose (3D rotation and 3D translation) of objects from a single RGB image is a fundamental challenge for robotic manipulation and augmented reality. Historically, researchers have faced a trade-off:

  1. Direct Regression: These models are fast but often struggle with accuracy, particularly for rotation.
  2. Keypoint-based Methods: These are more accurate but usually involve complex multi-stage pipelines (detecting objects, cropping them, predicting heatmaps, and then running a geometric "PnP" algorithm). These stages are often slow and difficult to train end-to-end because traditional PnP algorithms aren't naturally differentiable.

The authors of YOLOPose set out to create a model that is as fast as direct regression but as accurate as keypoint-based methods, all within a single, differentiable Transformer framework.

Methods

YOLOPose builds upon the DETR (Detection Transformer) philosophy. The architecture consists of:

  • Backbone & Transformer: A ResNet-50 extracts features, which are then processed by a Transformer encoder-decoder. The decoder uses "object queries" to look for objects across the entire image in parallel.
  • Keypoint Regression: Instead of using computationally expensive heatmaps, YOLOPose directly regresses the 2D coordinates of 32 keypoints for each object. These points represent the 8 corners of a 3D bounding box plus 24 intermediate points (Interpolated Bounding Boxes).
  • RotEst Module: This is a key innovation. Instead of using a traditional PnP solver, the authors use a simple Multi-Layer Perceptron (MLP) to "learn" the rotation directly from the predicted 2D keypoints. This makes the entire pipeline end-to-end differentiable.
  • Cross-Ratio Loss: To ensure the predicted keypoints make geometric sense, the authors employ a self-supervised loss that enforces "cross-ratio consistency"—a mathematical property that stays the same even when a 3D object is projected onto a 2D image plane.

Datasets

  • YCB-Video (YCB-V): The primary benchmark, containing 21 objects in various tabletop setups with challenging occlusions and lighting.
  • COCO: Used for pretraining the model on general object detection.
  • Synthetic Data: The model also utilizes synthetic images provided by PoseCNN to augment training.

Key Insights and Ideas

  • Attention is All You Need (for Pose): Unlike CNNs, which have a limited "receptive field," the Transformer’s self-attention mechanism allows the model to consider the entire image context. This is crucial for identifying objects that are partially hidden or overlapping.
  • More Points, Better Pose: By regressing 32 points instead of just the standard 8 corners, the model provides the rotation estimator with much richer geometric information, leading to significantly more stable orientation predictions.
  • Differentiable "PnP": By replacing the non-differentiable PnP algorithm with the learnable RotEst MLP, the model can optimize the keypoint predictions specifically to improve the final 6D pose accuracy during training.
  • Parallelism for Speed: Because the Transformer processes all object queries simultaneously, the inference time doesn't increase linearly with the number of objects in the scene.

Key Results

  • Speed: YOLOPose operates at approximately 59 FPS on an NVIDIA RTX 3090, making it truly suitable for real-time robotics.
  • Accuracy: On the YCB-Video dataset, YOLOPose achieved an AUC of ADD-S of 90.1, outperforming its predecessor (T6D-Direct) and rivaling much slower, multi-stage refinement methods like CosyPose.
  • Efficiency: It achieves a massive speedup over refinement-based methods (which can take ~400ms per frame) while maintaining comparable precision.

Limitations and Future Work

While YOLOPose is a major step forward for real-time applications, the authors note a few areas for growth:

  • Temporal Consistency: Currently, the model treats every frame as a standalone image. The authors plan to extend this to video sequences to use information from previous frames to "smooth out" pose estimations.
  • Refinement Gap: While YOLOPose is much faster than iterative refinement methods, those slower methods still hold a slight edge in absolute accuracy for extremely precise tasks. Closing this remaining gap while maintaining high FPS is the next frontier.

Summary updated

BibTeX
@inproceedings{amini2022yolopose,
  author = {Arash Amini and Arul Selvam Periyasamy and Sven Behnke},
  title = {{YOLOPose: Transformer-Based Multi-object 6D Pose Estimation Using Keypoint Regression}},
  booktitle = {IAS},
  year = {2022},
  doi = {10.1007/978-3-031-22216-0\_27},
}

Loading related content...

Figure