Self-supervised Knowledge Distillation Using Singular Value Decomposition

Seung Hyun Lee, Dae Ha Kim, Byung Cheol Song

Abstract

Deep Neural Networks (DNNs) are powerful but computationally expensive, making them difficult to deploy on resource-constrained devices. Knowledge Distillation (KD) addresses this by training a compact "student" model to mimic a larger "teacher" model. This paper introduces a novel KD framework that leverages Singular Value Decomposition (SVD) to extract the essential features of a teacher network. By treating distillation as a self-supervised task integrated throughout the training process, the proposed method produces student models that are significantly faster than their teachers while often exceeding the teacher's original accuracy.

Introduction

While KD is a popular technique for model compression, existing methods suffer from three primary limitations:

  1. Information Loss: Current techniques often fail to capture the rich, high-dimensional information present in the teacher's feature maps.
  2. Structural Rigidity: Many methods require the teacher and student to share identical feature map resolutions, limiting architectural flexibility.
  3. Knowledge Vanishing: KD is frequently used only for initialization; as the student learns the target task, the distilled knowledge often fades.

To overcome these challenges, the authors propose a framework that uses SVD for feature abstraction and a self-supervised training mechanism to maintain knowledge throughout the learning process.

Methodology

The core of the proposed approach is a two-pronged strategy involving a specialized distillation module and a persistent training mechanism.

Overview of the SVD-based Knowledge Distillation framework.

The SVD Distillation Module

Instead of forcing the student to replicate raw feature maps, the authors focus on the correlation between feature maps at different network stages (Front-end vs. Back-end). The distillation module processes these maps through several steps:

  • SVD Compression: Truncated SVD is applied to feature maps to reduce spatial redundancy. The method specifically utilizes right-singular vectors ($V$) and singular values ($\Sigma$), which capture global patterns and feature "energy."
  • Alignment: Since SVD results can have inconsistent signs or ordering, a post-processing step aligns the student’s singular vectors with the teacher’s.
  • RBF Correlation: A Radial Basis Function (RBF) computes the correlation between compressed vectors, generating a "Distillation Feature Vector" (DFV) that is independent of spatial resolution.
Detailed view of the Distillation Module components.

Self-Supervised Training Mechanism

To prevent "knowledge vanishing," distillation is treated as a self-supervised multi-task learning problem. The student simultaneously learns the primary task (e.g., classification) and the distillation task (mimicking the teacher's DFV). To ensure stability, an adaptive gradient clipping mechanism—using a sigmoid-based growth factor—is employed. This allows the student to focus more intensely on the teacher's knowledge as training progresses.

Experimental Results

The researchers evaluated the method on the CIFAR-100 dataset using VGG, MobileNet, and ResNext architectures. Key findings include:

  • Superior Performance: A VGG-based student with 1/5 the computational cost (FLOPs) of its teacher achieved 65.54% accuracy, surpassing the teacher’s 64.44%.
  • State-of-the-Art Comparison: The method outperformed previous state-of-the-art techniques by up to 1.79% within the same computational budget.
  • Architectural Robustness: The approach remained effective even when student and teacher resolutions differed significantly, a scenario where traditional KD methods often fail.

Conclusion

By utilizing SVD as a feature abstractor and framing distillation as a continuous self-supervised task, this work demonstrates that small models can not only mimic but exceed the performance of their larger counterparts. Future work may explore scaling this approach to larger datasets like ImageNet and extending the self-supervised logic to semi-supervised learning scenarios.

Code is available at: https://github.com/sseung0703/SSKD_SVD

Summary updated

BibTeX
@inproceedings{lee2018self,
  author = {Seung Hyun Lee and Dae Ha Kim and Byung Cheol Song},
  title = {{Self-supervised Knowledge Distillation Using Singular Value Decomposition}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01231-1\_21},
}
Figure