Unsupervised Salient Object Detection with Spectral Cluster Voting

Gyungin Shin, Samuel Albanie, Weidi Xie

Abstract

Salient Object Detection (SOD) is a critical task in computer vision, traditionally requiring extensive pixel-level human annotations. This paper introduces SELFMASK, a novel framework that achieves state-of-the-art unsupervised SOD by leveraging the latent object knowledge within self-supervised deep features. By integrating spectral clustering with a robust "winner-takes-all" voting mechanism based on image priors, SELFMASK generates high-quality pseudo-labels to train a dedicated segmentation model. Experimental results demonstrate that SELFMASK significantly closes the gap between unsupervised and supervised methods across multiple benchmarks.

Introduction

The goal of Salient Object Detection (SOD) is to identify and segment the most visually prominent objects in an image—those that naturally attract human attention. While supervised deep learning models have reached high levels of accuracy, their reliance on massive, manually annotated datasets presents a significant bottleneck. Existing unsupervised approaches, often dependent on handcrafted priors or complex generative models, have historically struggled to match the performance of their supervised counterparts.

SELFMASK addresses this challenge by extracting high-quality object masks directly from self-supervised models (such as DINO, SwAV, or MoCov2) that were never explicitly trained for segmentation. The framework demonstrates that self-supervised features contain rich, "hidden" structural information that can be effectively harnessed for object discovery.

Methodology

The SELFMASK pipeline consists of three primary stages: candidate mask generation, salient mask selection, and model training.

The SELFMASK architecture and pseudo-label generation pipeline.

1. Spectral Clustering on Self-Supervised Features

The researchers found that spectral clustering is significantly more effective than standard $k$-means at grouping pixels into spatially coherent objects when using self-supervised features. Its graph-theoretic nature allows it to capture complex object boundaries more accurately.

2. Winner-Takes-All Voting

Since clustering is inherently agnostic to foreground/background distinctions, a pool of candidate masks is generated using various models and cluster counts. A "winner-takes-all" voting mechanism then selects the most likely salient mask based on two key priors:

  • Framing Prior: Backgrounds typically touch all edges of an image; masks that do so are discarded.
  • Distinctiveness Prior: Salient regions should be consistently identified across different models. The mask with the highest average Intersection over Union (IoU) with all other candidates is chosen as the pseudo-ground truth.

3. SELFMASK Model Training

A segmentation network based on the MaskFormer architecture is trained using these pseudo-masks. To mitigate noise in the labels, a ranking loss is employed, encouraging the model to assign higher "objectness" scores to predictions that align closely with the selected pseudo-masks.

Experimental Setup

The model was trained on the DUTS-TR dataset (10,553 images) without any human labels. Evaluation was conducted across five standard SOD benchmarks: DUT-OMRON, DUTS-TE, ECSSD, HKU-IS, and SOD. These datasets encompass a wide variety of content, from simple natural scenes to complex images with multiple salient objects.

Results and Discussion

SELFMASK establishes a new state-of-the-art for unsupervised SOD. On the DUT-OMRON benchmark, it achieved an IoU of 0.582, a significant improvement over previous methods like TokenCut (0.533). When combined with a bilateral solver for post-processing, the IoU reached 0.655, further narrowing the gap with supervised models.

Qualitative results of SELFMASK across various challenging scenarios.

Key insights from the study include:

  • Wisdom of the Crowd: Combining predictions from multiple self-supervised models filters out individual model noise, leading to more accurate pseudo-labels.
  • Self-Training Benefits: The final SELFMASK model often outperforms its own training labels, suggesting that the network learns to generalize the concept of "objectness" and effectively ignores inconsistent errors in the initial clustering.
  • Spatial Extent: Qualitatively, SELFMASK excels at capturing the full spatial extent of objects, whereas earlier methods often only highlighted the most discriminative parts.

Conclusion and Future Work

While SELFMASK represents a major advancement, it faces limitations in detecting very small-scale objects and can be biased toward single, centered objects due to the nature of the training data. Future research may explore more diverse feature sets or incorporate temporal cues from video to enhance the robustness of the voting mechanism and improve multi-object detection.

Summary updated

BibTeX
@inproceedings{shin2022unsupervised,
  author = {Gyungin Shin and Samuel Albanie and Weidi Xie},
  title = {{Unsupervised Salient Object Detection with Spectral Cluster Voting}},
  booktitle = {Workshops @ CVPR},
  year = {2022},
}
Figure