Unsupervised Part Segmentation Through Disentangling Appearance and Shape

Shilong Liu, Lei Zhang, Xiao Yang, Hang Su, Jun Zhu

Abstract

This paper introduces a novel unsupervised framework for discovering and segmenting object parts without manual annotations or auxiliary data like saliency maps. The core innovation is a network architecture that explicitly disentangles an object's appearance from its shape through a "squeeze-and-expand" bottleneck. This approach achieves state-of-the-art performance in part discovery across diverse object categories, demonstrating that intrinsic consistency in object structures can be leveraged for robust semantic segmentation.

Introduction

Identifying the constituent parts of an object is a fundamental task in computer vision, providing a more descriptive intermediate representation than simple landmarks. However, labeling parts (e.g., "left wing," "tail") is incredibly labor-intensive. While unsupervised methods exist, most current state-of-the-art approaches rely on pre-computed saliency maps or object masks to guide the network. These masks are often noisy or unavailable for complex datasets. This paper aims to remove that dependency, performing part segmentation using only raw images and basic bounding boxes by leveraging the intrinsic consistency of object structures.

The goal of the framework is to discover parts that are invariant to cross-instance differences, image transformations, and large variances in pose.

Methodology

The core of the approach is an encoder-decoder network designed around the principle of disentanglement. The system uses two separate encoders: one for Appearance ($E_a$) and one for Shape ($E_s$).

Squeeze-and-Expand Bottleneck

The paper's key architectural innovation is the "squeeze-and-expand" bottleneck. To ensure the appearance representation doesn't "cheat" by carrying spatial information, the appearance feature is "squeezed" into a vector by averaging it over the predicted part segments. It is then "expanded" back by multiplying it with the shape maps of a different image of the same object category.

The proposed architecture featuring the Squeeze-and-Expand Appearance Transfer Bottleneck and the dual encoder system.

Training and Loss Functions

The network is trained to reconstruct an image by taking the appearance from Image A and the shape from Image B (a geometrically transformed version of A). This forces the shape encoder to focus on geometry and the appearance encoder to focus on style/texture. The training is guided by several loss functions:

  • Reconstruction Loss: Ensures the final output matches the input.
  • Self-Supervised Classification Loss (ArcFace): Encourages the squeezed appearance features of the same part to be similar across different object instances.
  • Concentration Loss: A geometric constraint that forces each part segment to be a single, cohesive "blob."

Key Results and Insights

The authors evaluated their method on several standard benchmarks including CelebA (faces), CUB-200-2011 (birds), and PASCAL VOC (common objects).

  • Superior Accuracy: On the CelebA dataset, the model achieved a landmark regression error of 15.39 (K=4 parts), significantly outperforming the previous state-of-the-art, SCOPS (21.76), despite SCOPS using additional saliency information.
  • Information Bottlenecking: By forcing the appearance feature through a narrow "squeeze" based on predicted parts, the network is physically prevented from using appearance data to represent shape.
  • Parts as Landmarks: The paper demonstrates that unsupervised parts can serve as excellent proxies for landmarks. By calculating the center of mass of a discovered "part," the model can predict traditional landmark locations with high accuracy.

Limitations and Future Work

While the model removes the need for saliency maps, it still assumes objects are roughly centered within a bounding box. Additionally, the model sometimes struggles with "near-symmetric" objects, occasionally flipping left and right parts because they look identical in an unsupervised context. Future directions include explicitly handling viewpoint changes and object flipping to further improve semantic consistency.

Summary updated

BibTeX
@inproceedings{liu2021unsupervised,
  author = {Shilong Liu and Lei Zhang and Xiao Yang and Hang Su and Jun Zhu},
  title = {{Unsupervised Part Segmentation Through Disentangling Appearance and Shape}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00825},
}
Figure