English

Distillation Dynamics: Towards Understanding Feature-Based Distillation in Vision Transformers

Computer Vision and Pattern Recognition 2025-11-18 v2

Abstract

While feature-based knowledge distillation has proven highly effective for compressing CNNs, these techniques unexpectedly fail when applied to Vision Transformers (ViTs), often performing worse than simple logit-based distillation. We provide the first comprehensive analysis of this phenomenon through a novel analytical framework termed as "distillation dynamics", combining frequency spectrum analysis, information entropy metrics, and activation magnitude tracking. Our investigation reveals that ViTs exhibit a distinctive U-shaped information processing pattern: initial compression followed by expansion. We identify the root cause of negative transfer in feature distillation: a fundamental representational paradigm mismatch between teacher and student models. Through frequency-domain analysis, we show that teacher models employ distributed, high-dimensional encoding strategies in later layers that smaller student models cannot replicate due to limited channel capacity. This mismatch causes late-layer feature alignment to actively harm student performance. Our findings reveal that successful knowledge transfer in ViTs requires moving beyond naive feature mimicry to methods that respect these fundamental representational constraints, providing essential theoretical guidance for designing effective ViTs compression strategies. All source code and experimental logs are provided at https://github.com/thy960112/Distillation-Dynamics.

Keywords

Cite

@article{arxiv.2511.06848,
  title  = {Distillation Dynamics: Towards Understanding Feature-Based Distillation in Vision Transformers},
  author = {Huiyuan Tian and Bonan Xu and Shijian Li},
  journal= {arXiv preprint arXiv:2511.06848},
  year   = {2025}
}

Comments

Accepted to AAAI 2026. Camera-ready version with appendix

R2 v1 2026-07-01T07:29:10.966Z