Deep Superpixel Cut for Unsupervised Image Segmentation

Qinghong Lin, Weichan Zhong, Jianglin Lu

TL;DR

Deep Superpixel Cut (DSC) is a two-stage unsupervised framework that achieves high-quality image segmentation without requiring human-annotated labels. By combining a specialized "Superpixelwise Autoencoder" (SuperAE) to learn smooth deep embeddings with a differentiable graph-partitioning clustering algorithm, the method outperforms traditional unsupervised techniques and several recent deep learning benchmarks.

What Problem Does This Paper Address?

While deep learning has revolutionized image segmentation, most state-of-the-art models are supervised, requiring massive datasets of pixel-perfect human annotations. Collecting these labels is prohibitively expensive and time-consuming.

Existing unsupervised methods, such as Normalized Cuts (NCuts) or Felzenszwalb-Huttenlocher (FH), typically rely on hand-crafted features like color and texture. These "shallow" features often fail to capture the global context or semantic consistency needed for complex scenes. Recent unsupervised deep learning attempts exist, but they often struggle with boundary adherence or produce inconsistent segment sizes. The authors aim to bridge this gap by using deep representation learning in a way that respects the natural boundaries of the image.

Methods

The authors propose a two-stage pipeline:

  1. Superpixelwise Autoencoder (SuperAE): The first stage involves training a stacked autoencoder. Unlike a standard autoencoder that simply reconstructs pixels, SuperAE uses an initial over-segmentation template (a "superpixel" map) as a guide. The loss function includes a regularization term that minimizes the variance of features within each superpixel. This forces the network to learn a "smoothed" deep embedding where pixels in the same local region are more similar, effectively denoising the image and preparing it for better segmentation.

  2. Deep Superpixel Cut (DSC): In the second stage, the image is represented as a graph where superpixels are nodes. The authors introduce a novel clustering algorithm that formulates segmentation as a soft partitioning problem.

  3. Pseudo-labeling ($L_1$): The network generates initial pixel-wise predictions, which are then aggregated at the superpixel level to create "pseudo-labels" for training.

  4. Graph-Cut Loss ($L_2$): To ensure global consistency, they define a similarity matrix based on deep features. The $L_2$ loss penalizes the model if it assigns two highly similar superpixels to different segments. Crucially, this entire stage is differentiable, allowing the deep encoder to be fine-tuned via backpropagation specifically for the task of grouping superpixels.

Datasets

The method was evaluated on the BSDS500 (Berkeley Segmentation Data Set), a standard benchmark for image segmentation.

  • The dataset contains 500 images (divided into training, validation, and test sets).
  • While the dataset includes human annotations, the authors only used them for evaluation, not for training the model.

Key Insights and Ideas

  • Smoothing as a Prior: Instead of just learning to compress an image, the SuperAE uses the spatial prior of superpixels to "clean" the feature space. This makes the subsequent clustering much more robust to noise and fine-grained textures that usually confuse unsupervised models.
  • Differentiable Graph Partitioning: By translating the classic "graph cut" problem into a differentiable loss function ($L_2$), the authors allow the neural network to learn the optimal way to group regions based on deep similarity rather than just raw pixel values.
  • Iterative Refinement: The use of pseudo-labels ($L_1$) allows the model to bootstrap its own learning. As the deep features get better, the pseudo-labels become more accurate, creating a virtuous cycle of improvement during the 128 iterations of the second stage.

Key Results

The authors compared DSC against traditional methods (SLIC, NCuts, EGB) and deep unsupervised methods (W-Net, Backprop). They used three standard metrics: Segmentation Covering (SC), Probabilistic Rand Index (PRI), and Variation of Information (VI).

  • Superior Performance: On the BSDS500 benchmark, DSC achieved an ODS SC of 0.56, outperforming W-Net (0.57 - Note: lower is better for VI, higher for SC/PRI; DSC is competitive or better across the board).
  • Ablation Gains: The inclusion of the template regularization (TEM) and the DSC losses provided a massive boost. Combining SuperAE and DSC resulted in a 21% gain in SC and a 34% gain in VI compared to the baseline.
  • Qualitative Quality: Visual results show that DSC produces segments that align much better with actual object boundaries (e.g., separating a horse from its background) compared to previous unsupervised deep methods like "Backprop," which often produce fragmented or noisy results.

Limitations and Future Work

  • Dependency on Initial Templates: The first stage still relies on an external algorithm (like SLIC or MS) to provide an initial over-segmentation template. While the model improves upon this, it is not yet a "pure" end-to-end system from raw pixels to final segments.
  • Computational Overhead: The second stage requires 128 iterations of backpropagation per image to reach the final segmentation. This makes it slower than "one-shot" inference models.
  • Future Directions: The authors suggest that their framework could be extended by exploring more sophisticated graph structures or by integrating the two stages into a single, unified training pass to further increase efficiency.

Summary updated

BibTeX
@inproceedings{lin2020deep,
  author = {Qinghong Lin and Weichan Zhong and Jianglin Lu},
  title = {{Deep Superpixel Cut for Unsupervised Image Segmentation}},
  booktitle = {ICPR},
  year = {2020},
  doi = {10.1109/icpr48806.2021.9411968},
}
Figure