Skip to main content
QUICK REVIEW

[Paper Review] SimReg: Regression as a Simple Yet Effective Tool for Self-supervised Knowledge Distillation

K L Navaneet, Soroush Abbasi Koohpayegani|arXiv (Cornell University)|Jan 13, 2022
Neural Networks and ApplicationsComputer Science5 citations
TL;DR

This paper proposes SimReg, a simple yet effective knowledge distillation method for self-supervised learning that uses a multi-layer perceptron (MLP) head only during training to regress student features toward teacher features. Surprisingly, the backbone features outperform the MLP-head features despite the latter being closer to the teacher, and using the same weakly augmented image for both teacher and student improves performance, achieving state-of-the-art results on ImageNet with minimal architectural changes.

ABSTRACT

Feature regression is a simple way to distill large neural network models to smaller ones. We show that with simple changes to the network architecture, regression can outperform more complex state-of-the-art approaches for knowledge distillation from self-supervised models. Surprisingly, the addition of a multi-layer perceptron head to the CNN backbone is beneficial even if used only during distillation and discarded in the downstream task. Deeper non-linear projections can thus be used to accurately mimic the teacher without changing inference architecture and time. Moreover, we utilize independent projection heads to simultaneously distill multiple teacher networks. We also find that using the same weakly augmented image as input for both teacher and student networks aids distillation. Experiments on ImageNet dataset demonstrate the efficacy of the proposed changes in various self-supervised distillation settings.

Motivation & Objective

  • To improve knowledge distillation from self-supervised models using a simple, effective method that does not alter inference time or memory.
  • To investigate why intermediate student features outperform final-layer features despite better matching the teacher in the latter.
  • To explore the benefits of using a shared, weakly augmented image for both teacher and student during distillation.
  • To evaluate multi-teacher distillation with a single student model using separate MLP heads per teacher.
  • To benchmark the effectiveness of deep MLP heads in distillation from both self-supervised and supervised teachers.

Proposed method

  • A multi-layer perceptron (MLP) head is added to the student network's backbone solely during distillation, then discarded for inference.
  • The MLP head regresses the student's feature representation to match the teacher's latent features using mean squared error loss.
  • The same weakly augmented image is used as input for both teacher and student networks during distillation to improve alignment.
  • Multiple teacher networks (e.g., MoCo-v2, BYOL, SwAV) are distilled simultaneously using individual MLP heads per teacher.
  • The student’s backbone features are used for downstream evaluation, not the final MLP layer, despite the latter being closer to the teacher.
  • The method is applied to both self-supervised and supervised teacher models, demonstrating generalization across training paradigms.

Experimental results

Research questions

  • RQ1Why do student backbone features outperform the final MLP-layer features in downstream performance, even though the latter more closely match the teacher representations?
  • RQ2Does using the same weakly augmented image for both teacher and student improve distillation performance?
  • RQ3Can a deeper MLP head improve distillation performance without increasing inference cost?
  • RQ4How effective is multi-teacher distillation when using a single student model with separate MLP heads per teacher?
  • RQ5Does the proposed method outperform complex state-of-the-art distillation techniques that rely on memory banks and temperature scaling?

Key findings

  • Using a 4-layer MLP head during distillation significantly improves downstream performance, achieving 66.9% linear evaluation accuracy on ImageNet when distilling from multiple self-supervised teachers.
  • The backbone features of the student model outperform the final MLP-layer features, achieving 66.9% linear accuracy compared to 66.3% for the MLP output, despite the latter being closer to the teacher.
  • Using the same weakly augmented image for both teacher and student yields the best performance (66.9% linear accuracy), outperforming cases with different or stronger augmentations.
  • Multi-teacher distillation with separate 4-layer MLP heads per teacher achieves 67.0% linear accuracy, significantly outperforming linear heads (64.8% for same setup).
  • Distillation from a supervised ResNet-50 teacher also benefits from the MLP head, achieving 73.5% linear accuracy with a 4-layer head, compared to 67.5% with a linear head.
  • The method achieves state-of-the-art performance on ImageNet in self-supervised distillation settings without increasing inference cost or model capacity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.