NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Self-Supervised Vision Transformers Are Efficient Segmentation Learners for Imperfect Labels

Seungho Lee, Seoungyoon Kang, Hyunjung ShimarXiv 2024

Abstract

This study demonstrates a cost-effective approach to semantic segmentation using self-supervised vision transformers (SSVT). By freezing the SSVT backbone and training a lightweight segmentation head, our approach effectively utilizes imperfect labels, thereby improving robustness to label imperfections. Empirical experiments show significant performance improvements over existing methods for various annotation types, including scribble, point-level, and image-level labels. The research highlights the effectiveness of self-supervised vision transformers in dealing with imperfect labels, providing a practical and efficient solution for semantic segmentation while reducing annotation costs. Through extensive experiments, we confirm that our method outperforms baseline models for all types of imperfect labels. Especially under the zero-shot vision-language-model-based label, our model exhibits 11.5%p performance gain compared to the baseline.

Introduction

Semantic segmentation is a fundamental computer vision task that involves assigning a category label to every pixel in an image. However, generating high-quality, pixel-perfect ground truth labels is labor-intensive and expensive. To mitigate these costs, researchers often turn to weakly supervised learning using "imperfect" labels such as scribbles, points, or image-level tags. While cost-effective, these labels are often sparse or noisy, leading traditional deep learning models to overfit to noise or fail to capture accurate object boundaries.

This paper proposes that frozen self-supervised vision transformers (SSVTs), such as DINOv2, possess an inherent "shape prior" that makes them remarkably robust to such imperfect data. By leveraging these pre-trained features and training only a lightweight linear head, we can achieve state-of-the-art results in semantic segmentation with significantly reduced annotation effort.

Methodology

The core of the proposed approach is the utilization of a frozen SSVT backbone. Unlike traditional methods that fine-tune the entire network, this framework keeps the backbone weights fixed during the training process.

  1. Frozen SSVT Backbone: A pre-trained DINOv2 model serves as the feature extractor. Its weights are not updated, ensuring the preservation of high-quality structural knowledge.
  2. Lightweight Segmentation Head: A simple linear layer, acting as a segmentation probe, is attached to the frozen backbone. This head is the sole component that learns from the imperfect labels.
  3. The Shape Prior Hypothesis: The effectiveness of this method stems from the observation that self-supervised models like DINOv2 naturally learn features that cluster into coherent object shapes, even without human-provided labels.
  4. Training Objective: The model is trained using a standard pixel-wise cross-entropy loss, masked to include only those pixels where labels are provided (e.g., along scribble lines or at specific points).
Overview of the proposed framework using a frozen DINOv2 backbone and a lightweight segmentation head trained on imperfect masks.

Experimental Setup

The method was evaluated on the PASCAL VOC 2012 benchmark, a standard dataset for semantic segmentation featuring 21 object categories. The experiments utilized the expanded training set of 10,582 images to test various imperfect supervision scenarios, including scribbles, points, image-level labels, and zero-shot labels generated by vision-language models like CLIP.

Discussion: The Power of Frozen Features

A key insight of this work is that fine-tuning the backbone on noisy or sparse labels can be detrimental. When the backbone is updated, it tends to "forget" its high-quality structural knowledge and begins to mimic the errors present in the imperfect labels. Keeping the backbone frozen acts as a powerful regularizer, preserving the inherent object-centric features learned during self-supervised pre-training.

Furthermore, the study found that larger backbones (e.g., ViT-L) consistently yield better performance. In traditional weakly supervised settings, higher model capacity often leads to overfitting on noise. However, in this frozen-backbone framework, the increased capacity of larger models results in more representative features, enhancing the final segmentation quality.

Results

The proposed method consistently outperformed existing state-of-the-art (SOTA) methods across all categories of imperfect labels:

  • Scribbles & Points: Achieved a 4.1 percentage point (p) improvement over the previous SOTA (TEL).
  • Image-level Labels: Outperformed ADELE by 1.9%p and SegFormer by 5.6%p.
  • Zero-shot VL Labels: Demonstrated a significant 11.5%p gain over the baseline when using masks from vision-language models.
  • Final Accuracy: On PASCAL VOC, the model reached a mean Intersection-over-Union (mIoU) of 80.1 with scribbles and 71.2 with image-level labels.
Qualitative comparison of segmentation results between the proposed method and SegFormer across various object categories.

Conclusion

This research demonstrates that frozen self-supervised vision transformers are highly effective and efficient learners for semantic segmentation, particularly when dealing with imperfect labels. By relying on the robust "shape priors" of SSVTs, the proposed method offers a practical solution to reduce annotation costs while maintaining high performance. Future work may explore more sophisticated yet lightweight decoder architectures and the applicability of this strategy to specialized domains like medical imaging or remote sensing.

Summary updated

BibTeX
@misc{lee2024self,
  author = {Seungho Lee and Seoungyoon Kang and Hyunjung Shim},
  title = {{Self-Supervised Vision Transformers Are Efficient Segmentation Learners for Imperfect Labels}},
  year = {2024},
  eprint = {2401.12535},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.12535},
}
Figure