Guided Distillation for Semi-Supervised Instance Segmentation

Tariq Berrada, Camille Couprie, Karteek Alahari, Jakob Verbeek

Abstract

Instance segmentation is a critical computer vision task that typically requires extensive pixel-level annotations. This paper introduces Guided Distillation, a semi-supervised learning (SSL) framework designed to maximize the utility of limited labeled data. By incorporating a "guided burn-in" phase where a student model learns from both labeled data and teacher-generated pseudo-labels from the outset, the method prevents early overfitting. Combined with modern transformer-based architectures and self-supervised backbones like DINOv2, Guided Distillation achieves state-of-the-art results on COCO and Cityscapes, particularly in ultra-low data regimes.

Introduction

The high cost of manual annotation for instance segmentation makes semi-supervised learning an attractive paradigm. Traditional teacher-student SSL methods often employ a "burn-in" phase, training the student exclusively on a small labeled set before introducing unlabeled data. However, in scenarios with extremely scarce labels (e.g., 1% of the dataset), this approach often leads to severe overfitting, limiting the model's eventual convergence.

Methodology: Guided Distillation

The proposed Guided Distillation framework refines the standard teacher-student pipeline into three distinct stages:

  1. Teacher Pre-training: A teacher model is trained on the available labeled data using standard supervised techniques.
  2. Guided Burn-in: This is the core innovation. The student model is trained on both labeled and unlabeled data simultaneously. The pre-trained teacher provides stable pseudo-labels for the unlabeled images. Keeping the teacher fixed during this stage prevents the student from drifting and ensures a robust initial feature representation.
  3. Distillation Stage: The student's weights are transferred to the teacher. Subsequently, both models enter a joint training loop where the teacher is updated via an Exponential Moving Average (EMA) of the student's weights, providing an evolving target as the student improves.

The authors also modernize the architecture by adopting Mask2Former and evaluating powerful backbones such as Swin Transformers and DINOv2.

Experimental Results

The framework was evaluated on the COCO and Cityscapes benchmarks across various label budgets.

Quantitative Performance

Guided Distillation demonstrates significant improvements, particularly when labels are scarce. On the COCO dataset with only 1% of labels, the method achieves a mask-AP of 34.1, outperforming the previous state-of-the-art (Polite Teacher) which required 10% of the labels to reach 30.8 AP.

Performance comparison of Guided Distillation across different label percentages on COCO.

Qualitative Analysis

The impact of the guided approach is visually evident. Models trained with Guided Distillation produce more accurate masks and correct class assignments compared to baseline supervised models in low-data settings.

Qualitative comparison of instance segmentation results showing improved accuracy with Guided Distillation.

Discussion and Limitations

A key insight is the synergy between the SSL algorithm and the choice of backbone. DINOv2 backbones are particularly effective in ultra-low data regimes (e.g., 0.4% labels) due to their object-aware self-supervised features. However, as more labeled data becomes available, larger architectures like Swin-L tend to scale better.

The primary limitation is the increased computational cost. Training the student model with a ResNet-50 backbone requires approximately 89% more GPU memory and takes twice as long per iteration compared to standard supervised training. Future work will explore extending this logic to other dense prediction tasks and improving computational efficiency.

Summary updated

BibTeX
@inproceedings{berrada2024guided,
  author = {Tariq Berrada and Camille Couprie and Karteek Alahari and Jakob Verbeek},
  title = {{Guided Distillation for Semi-Supervised Instance Segmentation}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  doi = {10.1109/wacv57701.2024.00053},
}
Figure