Trans6D: Transformer-Based 6D Object Pose Estimation and Refinement

Zhongqun Zhang, Wei Chen, Linfang Zheng, Ales Leonardis, Hyung Jin Chang

Abstract

Estimating the 6D pose of objects from a single RGB image remains a significant challenge due to textureless surfaces and heavy occlusions. We present Trans6D, a framework that utilizes the global dependency modeling of Transformers to improve pose accuracy. Trans6D combines a hybrid CNN-Transformer backbone with a novel Patch-Aware Feature Fusion (PAFF) module and an iterative refinement process. Our approach achieves state-of-the-art results on the LINEMOD and YCB-Video datasets, demonstrating superior robustness in cluttered and occluded environments.

Introduction

Determining an object's 6D pose—comprising 3D rotation and 3D translation—is essential for applications in robotics, augmented reality, and autonomous navigation. Monocular RGB-based estimation is particularly difficult because it lacks depth information and must handle varied lighting and partial occlusions. While Convolutional Neural Networks (CNNs) are effective at extracting local textures, they often fail to capture the global geometric relationships necessary for precise pose estimation. Trans6D addresses these limitations by leveraging Transformers to model long-range dependencies across the entire image.

Methodology

The Trans6D framework is built upon three core innovations: a hybrid backbone, a specialized fusion module, and an iterative refiner.

Hybrid vs. Pure Transformer Backbones

The authors investigated two architectural variants. Trans6D-pure follows the standard Vision Transformer (ViT) approach, treating the image as a sequence of flattened patches. In contrast, Trans6D-hybrid utilizes a ResNet-34 backbone to extract initial local features, which are then processed by a Transformer encoder to capture global context.

Overview of the Trans6D architecture comparing Pure and Hybrid Transformer approaches.

Patch-Aware Feature Fusion (PAFF)

To bridge the gap between the constant token size of Transformers and the need for dense 2D-3D correspondence maps, the Patch-Aware Feature Fusion (PAFF) module was developed. PAFF employs shifted windows and cross-attention to downsample tokens while preserving critical spatial information, enabling the model to accurately map image pixels to the object's 3D model.

Iterative Pose Refinement (Trans6D+)

To further enhance precision, the Trans6D+ module introduces a Transformer-based refinement stage. This component takes the initial pose estimate, renders a synthetic image of the object at that pose, and calculates the residual transformation required to align the rendered image with the original input.

Detailed pipeline for pose estimation and the iterative pose refinement module (Trans6D+).

Experimental Results

Trans6D was evaluated on three major benchmarks: LINEMOD, Occlusion LINEMOD, and YCB-Video.

  • LINEMOD: Trans6D achieved an accuracy of 96.9% (ADD-S metric), a 3.2% improvement over previous state-of-the-art methods like GDR-Net.
  • Occlusion LINEMOD: The model reached 57.9%, demonstrating significant robustness to scenarios where objects are partially hidden.
  • YCB-Video: The system achieved 75.2% on the ADD(-S) metric, outperforming previous benchmarks by 1.6%.
  • Refinement Impact: The addition of the Trans6D+ refiner provided a 4.3% boost in accuracy on the LINEMOD dataset.

Discussion and Conclusion

A key finding of this work is that the hybrid CNN-Transformer approach is superior for 6D pose estimation. The CNN backbone provides essential local feature extraction, while the Transformer excels at global reasoning, which is particularly beneficial for handling occlusions.

However, the computational cost of Transformers remains a limitation for deployment on edge devices. Future research will focus on developing more memory-efficient architectures and extending the framework to 3D point cloud data for even higher precision.

Summary updated

BibTeX
@inproceedings{zhang2022trans,
  author = {Zhongqun Zhang and Wei Chen and Linfang Zheng and Ales Leonardis and Hyung Jin Chang},
  title = {{Trans6D: Transformer-Based 6D Object Pose Estimation and Refinement}},
  booktitle = {Workshops @ ECCV},
  year = {2022},
  doi = {10.1007/978-3-031-25085-9\_7},
}
Figure