Neural Collapse Inspired Knowledge Distillation

Shuoxi Zhang, Zijian Song, Kun He

Abstract

Knowledge Distillation (KD) is a widely used technique to transfer knowledge from a high-capacity teacher model to a smaller student model. While existing methods focus on aligning logits or intermediate features, they often overlook the geometric structure of the feature space. This paper introduces Neural Collapse Inspired Knowledge Distillation (NCKD), which leverages the "Neural Collapse" (NC) phenomenon—a state where class features converge into a symmetric Simplex Equiangular Tight Frame (ETF). By explicitly distilling these geometric properties, NCKD achieves state-of-the-art performance across image classification and object detection tasks.

Introduction

A persistent challenge in Knowledge Distillation is the "knowledge gap," where the student fails to capture the full representational power of the teacher. Most KD methods treat features as individual points, ignoring the collective geometric organization that emerges at the end of training.

The geometric phenomenon of Neural Collapse: class features collapse to centroids that form a Simplex Equiangular Tight Frame (ETF).

The authors identify Neural Collapse (NC) as a key target for distillation. NC consists of three primary properties:

  1. NC1 (Variability Collapse): Within-class features converge to their class mean.
  2. NC2 (Convergence to ETF): Class means become equiangular and maximally distant.
  3. NC3 (Self-Duality): Classifier weights align with the class means.

Methodology: The NCKD Framework

NCKD decomposes the distillation process into three modules corresponding to the NC properties.

The NCKD framework: Distilling NC1 (prototype alignment), NC2 (ETF structure transfer), and NC3 (classifier alignment).

NC1: Prototype Alignment

NCKD utilizes a contrastive loss to pull student features toward the teacher’s class prototypes. This reduces within-class variance, forcing the student to learn more compact and consistent representations.

NC2: ETF Structure Transfer

This component ensures the student's class centroids maintain the same angular relationships as the teacher's. By preserving the equiangular "fabric" of the teacher's feature space, the student learns an optimal global organization of classes.

NC3: Classifier Alignment

In the final stage of NC, the classifier and features become perfectly synced. NCKD leverages this by replacing the student's standard linear classifier with normalized prototypes, enforcing a self-dual structure that simplifies the model and improves performance.

Key Results and Insights

The effectiveness of NCKD was validated on CIFAR-100, ImageNet-1k, and MS-COCO datasets using various architectures (ResNet, ShuffleNet, Swin).

  • State-of-the-Art Performance: NCKD consistently outperforms existing methods like DKD and DIST. For instance, it achieved 75.10% top-1 accuracy on CIFAR-100.
  • Generalizability: Beyond classification, NCKD improved Faster R-CNN mAP on COCO by over 4 points, demonstrating its "plug-and-play" utility for complex tasks.
  • NC-Accuracy Correlation: The authors found that students with features closer to an ideal ETF structure consistently exhibit higher accuracy, validating NC as a critical distillation objective.

Conclusion

NCKD provides a novel geometric framework for knowledge distillation by targeting the Neural Collapse phenomenon. By focusing on the structural organization of the feature space rather than just individual data points, NCKD effectively bridges the performance gap between teacher and student models.

Summary updated

BibTeX
@inproceedings{zhang2025neural,
  author = {Shuoxi Zhang and Zijian Song and Kun He},
  title = {{Neural Collapse Inspired Knowledge Distillation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i21.34412},
}
Figure