Boosting Unsupervised Segmentation Learning

Alp Eren Sari, Francesco Locatello, Paolo Favaro · DOI

TL;DR

This paper introduces two practical "tricks"—Guided Filtering and a Multi-Scale Consistency loss—that significantly improve the resolution and accuracy of unsupervised image segmentation. By applying these techniques to existing models like Sempart, the authors achieved new state-of-the-art results on several saliency and object detection benchmarks without requiring any human-labeled data.

What Problem Does This Paper Address?

Segmenting objects in images usually requires massive amounts of human-annotated data (masks, boxes, or points). Unsupervised segmentation aims to bypass this by learning to identify objects entirely on its own.

However, current state-of-the-art unsupervised methods face a "resolution gap." Many rely on features from models like DINO, which are excellent at understanding what is in an image but produce very low-resolution outputs (often downsampling the image by a factor of 8 or 16). This results in segmentation masks that are "blocky" and fail to capture fine details or small objects. The challenge is to boost this resolution and accuracy without introducing massive computational costs or unstable training schemes.

Methods

The authors propose two distinct "tricks" that can be plugged into almost any unsupervised segmentation framework:

  1. Guided Filtering (Post-processing): This is a classic image processing technique repurposed for deep learning. The model takes the predicted (often blurry) mask and refines it using the original grayscale image as a "guide." Because the original image has sharp edges and high-resolution details, the filter "snaps" the mask boundaries to match the actual edges of the objects in the image.
  2. Multi-Scale Consistency (Training Loss): This is a teacher-student training scheme designed to handle objects of different sizes.
  3. The Student network looks at the whole image and predicts a mask.
  4. The Teacher network looks at a zoomed-in, cropped region of the same image.
  5. The model is penalized if the student’s prediction for that specific region doesn't match the teacher’s more detailed, zoomed-in prediction.
  6. Crucially, they use a stop-gradient on the teacher to prevent the model from collapsing into a trivial solution where it predicts nothing.

Datasets

The researchers evaluated their methods across two main tasks:

  • Unsupervised Saliency Segmentation: Evaluated on DUT-OMRON, DUTS-TE, and ECSSD. These datasets focus on identifying the most "noticeable" object in an image.
  • Single Object Detection: Evaluated on Pascal VOC07, Pascal VOC12, and COCO20K. Here, the goal is to produce a bounding box around the primary object.
  • Training: All models were trained on the DUTS-TR dataset.

Key Insights and Ideas

  • Resolution vs. Semantics: The paper reinforces the idea that while self-supervised features (like DINO) are great for semantic "understanding," they are spatially coarse. You don't necessarily need a bigger model to fix this; smart post-processing and consistency constraints can bridge the gap.
  • The Power of Cropping: One of the most interesting findings was that random cropping (Multi-Scale Consistency) was the primary driver for improvements in object detection, likely because it forces the model to pay attention to smaller structures it might otherwise overlook in a full-sized image.
  • Backbone Agnostic: The tricks aren't tied to one specific architecture. The authors showed improvements across different backbones, including DINO ViT-S/8, ViT-S/16, and iBOT, proving the general utility of their approach.

Key Results

The "Ours" version of the model (Sempart + the two tricks) consistently outperformed the baseline:

  • Saliency Segmentation: On the DUTS-TE dataset, they improved the Intersection over Union (IoU) from .761 to .787.
  • Object Detection: They achieved significant gains in CorLoc (Correct Localization). For example, on VOC07, they saw a 2.7 point increase over the baseline, and a 2.1 point increase on the challenging COCO20K dataset.
  • State-of-the-Art: The combination of these tricks allowed the authors to set new benchmarks for unsupervised saliency segmentation across all three tested datasets.

Limitations and Future Work

Despite the gains, the authors noted a few persistent challenges:

  • Ambiguity: In scenes with multiple objects, the unsupervised model sometimes struggles to decide which one is the "salient" one, whereas a human annotator might have a specific preference.
  • Low Contrast: When the foreground object and the background look very similar (e.g., a dark animal against a dark forest), the guided filter can struggle to find the correct boundaries.
  • Multiple Objects: The current method tends to segment all objects in a scene, while human-labeled ground truths often focus on just one or two "main" objects. Future work could involve teaching the model to better rank or select objects based on semantic importance.

Summary updated

BibTeX
@inproceedings{sari2024boosting,
  author = {Alp Eren SARI and Francesco Locatello and Paolo Favaro},
  title = {{Boosting Unsupervised Segmentation Learning}},
  booktitle = {SSL @ NeurIPS},
  year = {2024},
  doi = {10.48550/arxiv.2404.03392},
}
Figure