Object Pose Estimation via the Aggregation of Diffusion Features

Tianfu Wang, Guosheng Hu, Hongguang Wang · DOI · OpenReview

Abstract

Estimating the pose of objects from images is a crucial task of 3D scene understanding, and recent approaches have shown promising results on very large benchmarks. However, these methods experience a significant performance drop when dealing with unseen objects. We believe that it results from the limited generalizability of image features. To address this problem, we have an in-depth analysis on the features of diffusion models, e.g. Stable Diffusion, which hold substantial potential for modeling unseen objects. Based on this analysis, we then innovatively introduce these diffusion features for object pose estimation. To achieve this, we propose three distinct architectures that can effectively capture and aggregate diffusion features of different granularity, greatly improving the generalizability of object pose estimation. Our approach outperforms the state-of-the-art methods by a considerable margin on three popular benchmark datasets, LM, O-LM, and T-LESS. In particular, our method achieves higher accuracy than the previous best arts on unseen objects: 98.2% vs. 93.5% on Unseen LM, 85.9% vs. 76.3% on Unseen O-LM, showing the strong generalizability of our method.

Introduction

Estimating the 6D pose (3D rotation and translation) of an object from a single image is a foundational task for robotics and augmented reality. While deep learning has pushed performance to new heights on "seen" objects, most models struggle with unseen objects. This failure is primarily due to the limited generalizability of standard image features. Current template-based methods often use features that are too specific to the training data, failing to produce reliable matches when encountering new objects with different textures or shapes.

Overview of the proposed diffusion-based pose estimation pipeline compared to traditional CNN approaches.

Methodology

The core innovation of this work is treating a pre-trained, frozen text-to-image diffusion model (e.g., Stable Diffusion) as a powerful, general-purpose feature extractor. Diffusion models, trained on massive datasets like LAION-5B, develop internal representations that are highly robust to complex semantics and 3D geometry.

To effectively utilize these representations, we propose three architectures to aggregate "diffusion features" from different layers of the model's UNet:

  1. Arch (a) Vanilla Aggregation: Upsamples features from various layers and combines them via linear mapping and element-wise addition.
  2. Arch (b) Nonlinear Aggregation: Utilizes "bottleneck" modules (convolutions, ReLU, and skip connections) to capture more complex patterns.
  3. Arch (c) Context-aware Weight Aggregator: This superior architecture learns to dynamically weight features. It uses a sub-network to analyze the image context and prioritize the most relevant UNet layers for the specific object being analyzed.
The three proposed aggregation architectures, with Arch (c) featuring the context-aware weight aggregator.

Key Insights

  • Diffusion Models as 3D Experts: By learning to generate realistic images from text, diffusion models inherently capture deep scene geometry and 3D characteristics often missed by discriminative models like ResNets.
  • Granularity and Layer Selection: Different layers capture varying levels of detail. Our "Context-aware" model automatically selects the optimal layers for different object types (e.g., textured vs. smooth).
  • The "Zero-Noise" Advantage: We found that using a timestep of $t=0$ (no noise) yields the best results for pose estimation, as it aligns with the clean images encountered during inference.
  • Parameter Efficiency: Despite the large backbone, the trainable aggregation network is lightweight, using roughly half the trainable parameters (13.29M) of previous state-of-the-art methods (24.04M).

Experimental Results

The proposed method was evaluated on three major benchmarks: LINEMOD (LM), Occlusion-LINEMOD (O-LM), and T-LESS. Our approach (specifically Arch c) significantly outperformed existing state-of-the-art (SOTA) methods, particularly on unseen objects:

  • Unseen LM: Achieved 98.2% accuracy (compared to 93.5% for previous SOTA).
  • Unseen O-LM: Achieved 85.9% accuracy (compared to 76.3% for previous SOTA), demonstrating high robustness to occlusion.
  • T-LESS: On textureless industrial objects, the method achieved a recall of 71.03%, a substantial improvement over the previous best of 58.87%.

Conclusion

This work demonstrates that the rich features within generative diffusion models are highly effective for classical discriminative tasks like pose estimation. By intelligently aggregating these features, we significantly improve the generalizability of pose estimation to unseen objects. Future work will focus on improving inference speed and integrating translation estimation more deeply into the pipeline to achieve full 6D pose estimation in real-time.

Summary updated

BibTeX
@misc{wang2024object,
  author = {Tianfu Wang and Guosheng Hu and Hongguang Wang},
  title = {{Object Pose Estimation via the Aggregation of Diffusion Features}},
  year = {2024},
  eprint = {2403.18791},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.18791},
}
Figure