PiCIE: Unsupervised Semantic Segmentation Using Invariance and Equivariance in Clustering

Jang Hyun Cho, Utkarsh Mall, Kavita Bala, Bharath Hariharan

Abstract

Unsupervised semantic segmentation aims to discover and segment object categories without human-provided labels. We present PiCIE (Pixel-level feature Clustering using Invariance and Equivariance), a framework that leverages photometric invariance and geometric equivariance as inductive biases. By enforcing consistency across different views of an image, PiCIE learns to identify high-level semantic concepts, effectively segmenting both "stuff" and "things" in complex, scene-centric datasets. Our method achieves state-of-the-art performance on COCO-Stuff and Cityscapes, significantly outperforming previous unsupervised baselines.

Introduction

Semantic segmentation is a fundamental computer vision task that requires assigning category labels to every pixel. However, creating large-scale annotated datasets like COCO or Cityscapes is labor-intensive and expensive. While unsupervised learning has seen success in image-level classification, pixel-level tasks remain a significant challenge due to the complexity of real-world, scene-centric images containing multiple objects ("things") and background elements ("stuff"). Previous attempts at unsupervised segmentation often overfit to low-level visual cues like color or texture, failing to capture the high-level shapes and boundaries that define distinct objects.

PiCIE framework overview: Unsupervised segmentation discovers semantic groups (sky, trees, buildings, ground) without human labels.

Methods

PiCIE treats segmentation as a pixel-level clustering problem governed by two core constraints. It avoids the instability of parametric classifier heads by using k-means prototypes in the feature space, where pixels are assigned to clusters based on cosine distance. The core of the approach lies in two inductive biases:

  1. Photometric Invariance: The model is forced to produce the same cluster labels even if the image's color, brightness, or contrast is jittered.
  2. Geometric Equivariance: If an image is cropped or flipped, the predicted labels must undergo the exact same transformation.

By using a cross-view loss, the network learns to reconcile these views, encouraging the model to focus on high-level shapes and semantic consistency rather than low-level textures. For example, it learns that a "house" remains a "house" regardless of lighting conditions or its position in the frame.

Experiments and Results

The model was evaluated on two major benchmarks: COCO-Stuff (merged into 27 classes) and Cityscapes. Unlike many prior works that focus solely on "stuff" categories, PiCIE is tested on both "things" (discrete objects) and "stuff" (amorphous backgrounds).

Qualitative result showing PiCIE's ability to segment distinct semantic regions like sky, trees, and buildings in a complex scene.

PiCIE sets new benchmarks for unsupervised segmentation. On COCO-All, it outperformed the previous best baseline (IIC) by +17.5% in Accuracy and +4.5% in mIoU (mean Intersection over Union). On Cityscapes, it achieved 65.5% Accuracy, a substantial improvement over the 47.9% achieved by IIC. Qualitatively, visual results show that PiCIE successfully separates complex objects from their backgrounds, a feat that previous clustering-based methods largely failed to achieve.

Discussion and Conclusion

A key insight of this work is that geometric equivariance is essential for discovering "things." While color similarity may suffice for identifying "sky" or "grass," structural consistency is required to learn the boundaries of a "car" or a "person." Furthermore, the authors found that a network pretrained with PiCIE provides a better initialization for subsequent supervised training than standard ImageNet-pretrained models, suggesting it learns more relevant spatial features.

Despite its success, challenges remain. The model can still be fooled by visual ambiguities (e.g., confusing snowy ground with sky) and co-occurrence biases (e.g., confusing a boat with the water it sits on). Future work may incorporate post-processing steps like edge detectors to improve boundary precision.

Summary updated

BibTeX
@inproceedings{cho2021picie,
  author = {Jang Hyun Cho and Utkarsh Mall and Kavita Bala and Bharath Hariharan},
  title = {{PiCIE: Unsupervised Semantic Segmentation Using Invariance and Equivariance in Clustering}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  url = {https://openreview.net/forum?id=wGwFeX_UeR},
}
Figure