Unsupervised Part Discovery via Feature Alignment

Mengqi Guo, Yutong Bai, Zhishuai Zhang, Adam Kortylewski, Alan L. YuillearXiv 2020

Abstract

Understanding objects through their constituent parts is fundamental for advanced computer vision tasks like pose estimation and occlusion handling. However, the high cost of manual part annotation limits the scalability of supervised methods. This paper presents a novel unsupervised framework that discovers object parts by aligning feature maps across similar images. By generating "pseudo-ground-truth" from these aligned features, the model trains a robust part detector that significantly outperforms existing unsupervised approaches, particularly on unaligned datasets.

Introduction

In computer vision, part-based representations offer robustness against partial occlusions and variations in viewpoint. Despite their utility, creating large-scale datasets with manual keypoint labels is prohibitively expensive. Unsupervised part discovery offers a scalable alternative but must overcome the inherent variability in object pose, texture, and lighting.

Previous unsupervised methods often struggled with local appearance ambiguities or relied on rigid geometric constraints. This work addresses these challenges by leveraging the consistency of deep neural network features across similar images. The core idea is that while a single image may be ambiguous, the shared activations across a pool of similar images can reliably indicate semantic parts.

Methodology

The proposed framework, Unsupervised Part Discovery via Feature Alignment, operates in three distinct stages during the training phase:

  1. Similar Image Retrieval (SimPool): For each training image, the system identifies a "SimPool"—a set of images sharing similar poses and appearances. Similarity is determined by the Jensen-Shannon divergence between feature maps from a pre-trained VGG-16 backbone.
  2. Feature Map Alignment: To mitigate minor variations in scale or pose within the SimPool, feature maps are aligned to the target image using RANSAC-based affine transformations.
  3. Pseudo Ground-Truth Generation: Aligned feature maps are averaged to find consistent "firing" locations. The top spatial positions per channel are selected to create a sparse pseudo-ground-truth (Pseudo GT) map.
The training pipeline: Similar images are passed through a backbone to generate feature maps, which are then aligned to create pseudo-ground-truth for training the part layer.

The Pseudo GT supervises a simple 1x1 convolutional "Part Layer" added to the backbone. During inference, the model functions as a standard feed-forward network, making it highly efficient as no alignment is required at test time.

Evaluation and Results

The model was evaluated on several challenging datasets, including VehiclePart (Pascal 3D+ extension), CelebA/MAFL (faces), and CUB (birds).

Performance Benchmarks

  • VehiclePart: The method achieved 37.8 mAP, outperforming the previous best unsupervised method, MaskReg (33.6 mAP), and a standard clustering baseline (29.7 mAP).
  • CelebA (Unaligned): On unaligned face data, the model reached 90.9 mAP, a nearly 20-point improvement over baselines.
  • Landmark Detection: The model achieved a 4.9% error rate on the MAFL dataset, rivaling specialized unsupervised methods and even some supervised approaches.
Visualizations of discovered parts on bicycles. The heatmaps show consistent activations on semantic parts like wheels, frames, and handlebars across different instances.

Key Insights

  • Coherence as Self-Supervision: The primary innovation is using cross-image coherence. If a feature consistently activates in the same relative position across multiple similar images, it likely corresponds to a semantic part.
  • The Role of Alignment: Ablation studies indicate that feature alignment is critical, contributing approximately 3 mAP to the final performance by removing geometric "nuisance variables."
  • Sparsity Constraints: By enforcing sparsity in the Pseudo GT, the model avoids trivial solutions where a single detector might attempt to cover the entire object.
  • Generalization to Non-Rigid Objects: Despite using affine transforms, the method performs well on deformable objects like birds (CUB dataset), suggesting that local consistency is often preserved even under non-rigid motion.

Conclusion

This research demonstrates that robust part discovery can be achieved without manual labels by exploiting the inherent structure of deep features. While the method relies on the availability of similar images (SimPool), its success on unaligned and non-rigid datasets marks a significant step forward for unsupervised representation learning. Future work may explore more complex deformation models for highly articulated objects and the application of discovered parts to 3D reconstruction.

Summary updated

BibTeX
@misc{guo2020unsupervised,
  author = {Mengqi Guo and Yutong Bai and Zhishuai Zhang and Adam Kortylewski and Alan L. Yuille},
  title = {{Unsupervised Part Discovery via Feature Alignment}},
  year = {2020},
  eprint = {2012.00313},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.00313},
}
Figure