Skip to main content
QUICK REVIEW

[Paper Review] Self-supervised Knowledge Distillation for Few-shot Learning

Jathushan Rajasegaran, Salman Khan|arXiv (Cornell University)|Jun 17, 2020
Domain Adaptation and Few-Shot LearningComputer Science49 references70 citations
TL;DR

A two-stage self-supervised framework (Gen-0 and Gen-1) improves few-shot learning by first learning an equivariant output manifold with self-supervision, then distilling to a student model to preserve the manifold while enhancing discrimination.

ABSTRACT

Real-world contains an overwhelmingly large number of object classes, learning all of which at once is infeasible. Few shot learning is a promising learning paradigm due to its ability to learn out of order distributions quickly with only a few samples. Recent works [7, 41] show that simply learning a good feature embedding can outperform more sophisticated meta-learning and metric learning algorithms for few-shot learning. In this paper, we propose a simple approach to improve the representation capacity of deep neural networks for few-shot learning tasks. We follow a two-stage learning process: First, we train a neural network to maximize the entropy of the feature embedding, thus creating an optimal output manifold using a self-supervised auxiliary loss. In the second stage, we minimize the entropy on feature embedding by bringing self-supervised twins together, while constraining the manifold with student-teacher distillation. Our experiments show that, even in the first stage, self-supervision can outperform current state-of-the-art methods, with further gains achieved by our second stage distillation process. Our codes are available at: https://github.com/brjathu/SKD.

Motivation & Objective

  • Motivate improving few-shot learning by focusing on output-space diversity rather than invariant representations.
  • Propose a two-stage self-supervised knowledge distillation framework (Gen-0 and Gen-1) to learn a richer output manifold.
  • Show that self-supervision alone can outperform prior SOTA, with further gains from distillation.
  • Demonstrate strong empirical gains across standard FSL benchmarks (miniImageNet, tieredImageNet, CIFAR-FS, FC100).

Proposed method

  • Gen-0 learns an equivariant output manifold by training on rotated versions of inputs and predicting both class labels and rotation angles using a self-supervised head.
  • Gen-0 loss combines standard cross-entropy with a self-supervised loss on rotation prediction to encourage diverse logits.
  • Gen-1 freezes a teacher (Gen-0) and trains a student to match the teacher’s outputs on original inputs while bringing rotated pairs closer in output space via a distillation loss and an auxiliary L2 loss on logits.
  • Knowledge distillation uses KL divergence between teacher and student outputs (with temperature T) to align the distributions.
  • An L2 loss between the student’s logits for original and rotated inputs further enhances intra-class discriminability.
  • Rotation-based self-supervision is implemented via an additional rotation head attached after the classification layer, enabling joint encoding of class and transformation information.
  • Training is performed in two stages, with Gen-0 focusing on manifold estimation and Gen-1 on manifold-preserving distillation and discrimination.

Experimental results

Research questions

  • RQ1Can self-supervised learning induce a richer, equivariant output manifold that improves FSL performance with limited labels?
  • RQ2Does a two-stage Gen-0/Gen-1 framework leveraging self-supervision and distillation yield improvements over single-stage SSL or standard FSL methods?
  • RQ3How do rotation-based self-supervision and distillation contribute to intra-class diversity and inter-class discriminability in FSL embeddings?
  • RQ4What are the empirical gains of SKD across common FSL benchmarks (miniImageNet, tieredImageNet, CIFAR-FS, FC100)?

Key findings

  • Gen-0 alone surpasses prior state-of-the-art in several settings, demonstrating the value of self-supervised diversity in the output space.
  • Gen-1 further improves performance via knowledge distillation and embedding proximity constraints, yielding additional gains over Gen-0.
  • On miniImageNet, Gen-0 achieves 65.93% (1-shot) and 83.15% (5-shot) for 5-way tasks; Gen-1 achieves 67.04% (1-shot) and 83.54% (5-shot).
  • On CIFAR-FS, Gen-0 achieves 74.5% (1-shot) and 88.0% (5-shot); Gen-1 achieves 76.9% (1-shot) and 88.9% (5-shot).
  • Across datasets, SKD variants consistently outperform RFS-simple and related baselines, with SKD-GEN1 often providing the best results.
  • The method achieves competitive or state-of-the-art accuracy across four benchmarks (miniImageNet, tieredImageNet, CIFAR-FS, FC100) as reported in the paper.

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.