Boosting Self-Supervised Learning via Knowledge Transfer

Mehdi Noroozi, Ananth Vinjimoor, Paolo Favaro, Hamed Pirsiavash · DOI

Abstract

Self-supervised learning (SSL) has emerged as a powerful paradigm for learning visual representations from unlabeled data. However, the standard practice of transferring these representations via fine-tuning imposes a strict architectural constraint: the pretext and target tasks must share the same neural network backbone. This paper introduces a framework that decouples these architectures by transferring knowledge from high-capacity "teacher" models to target "student" models through feature clustering and pseudo-labeling. This approach allows for the use of deeper models during pre-training to boost the performance of shallower models on downstream tasks, significantly narrowing the gap between self-supervised and supervised learning on standard benchmarks.

Introduction

In self-supervised learning, models solve "pretext tasks"—such as predicting image rotations or reassembling shuffled patches—to learn semantic features without human-annotated labels. Traditionally, these features are transferred to target tasks like object detection or classification through fine-tuning.

This dependency creates two major bottlenecks. First, it prevents the use of very deep, high-capacity networks for pre-training if the target benchmark requires a specific, often shallower architecture (e.g., AlexNet). Second, it complicates the fair comparison of different pretext tasks, as some may inherently benefit more from specific model capacities. This paper proposes a novel knowledge transfer pipeline to break this architectural dependency.

The proposed framework decouples pre-training and target architectures, allowing deeper models to serve as teachers for shallower target models.

Methodology

The Knowledge Transfer Pipeline

The authors propose a four-step process to transfer semantic knowledge across architectures:

  1. Pre-training: An arbitrary "source" model (e.g., a deep VGG16) is trained on a self-supervised pretext task.
  2. Clustering: Features are extracted from an unlabeled dataset (like ImageNet) using the source model and grouped into clusters (e.g., via k-means).
  3. Pseudo-labeling: Each image is assigned a "pseudo-label" corresponding to its cluster ID.
  4. Target Training: The final "target" model (e.g., a shallower AlexNet) is trained from scratch to classify these pseudo-labels.
The four-step knowledge transfer pipeline: (a) pretext pre-training, (b) feature clustering, (c) pseudo-label assignment, and (d) training the target model from scratch.

Jigsaw++ Pretext Task

To further improve representation learning, the authors introduce Jigsaw++. While the original Jigsaw task involves reordering shuffled tiles of an image, Jigsaw++ introduces "occlusions" by replacing some tiles with random patches from other images. This increased difficulty prevents the network from relying on low-level shortcuts, such as matching edge continuities, and forces it to learn more robust semantic representations.

Experimental Results

The framework was evaluated using ImageNet for pre-training and PASCAL VOC for downstream tasks. Key findings include:

  • State-of-the-Art Performance: The combination of Jigsaw++ on a VGG16 teacher transferred to an AlexNet student achieved 72.5% mAP on PASCAL VOC 2007 classification.
  • Closing the Supervision Gap: In object detection, the method reached 56.5% mAP. This reduced the performance gap between self-supervised and supervised pre-training (59.1% mAP) to just 2.6%, down from a previous gap of 5.9%.
  • Architecture Agnostic: The results demonstrate that a deep model learns superior features that can be effectively distilled into a shallower model, proving that "complexity is a virtue" in the pre-training phase.

Conclusion

By decoupling pre-training from target architectures, this framework enables the use of high-capacity models to drive self-supervised learning. The clustering-based transfer effectively captures the semantic metric learned by the teacher model, providing a strong supervisory signal for the student. Future work may explore more advanced distillation techniques to further improve the efficiency of this knowledge transfer.

Summary updated

BibTeX
@inproceedings{noroozi2018boosting,
  author = {Mehdi Noroozi and Ananth Vinjimoor and Paolo Favaro and Hamed Pirsiavash},
  title = {{Boosting Self-Supervised Learning via Knowledge Transfer}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00975},
}
Figure