mlsanityData to 14 Oct 2026

Preserving Angles Improves Feature Distillation

arXiv 2411.15239 ↗First posted 22 Nov 2024cs.CVcited by 0

On the map: Knowledge distillation → General knowledge distillation methods

Abstract (arXiv)

Knowledge distillation methods compress models by training a student network using the classification outputs of a high quality teacher model, but can fail to effectively transfer the properties of computer vision foundation models from the teacher to the student. While it has been recently shown that feature distillationunicodex2013where a teacher model's output features are replicated insteadunicodex2013can reproduce performance for foundation models across numerous downstream tasks, they fall short in matching critical properties such as robustness and out-of-distribution (OOD) detection performance. This paper overcomes this shortcoming by introducing Cosine-similarity Preserving Compression (CosPress), a feature distillation technique that learns a mapping to compress the latent space of the teacher model into the smaller latent space of the student, by preserving the cosine similarities between image embeddings. This enables direct optimisation of the student network and produces a more faithful reproduction of the teacher's properties. It is shown that distillation with CosPress on a variety of datasets, including ImageNet, produces more accurate models with greater performance on generalisability, robustness and OOD detection benchmarks, and that this technique provides a competitive pathway for training highly performant lightweight models on small datasets. Code is available at github.com/emannix/cospress.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in General knowledge distillation methods, one of 12 directions in Knowledge distillation. Builds on 48 of its 72 references that are in the map. First posted on arXiv 22 Nov 2024.

Builds on

48 of 72 references.

Closest ancestors · 4

Same direction, newest first

  1. 2024VkD: Improving Knowledge Distillation using Orthogonal Projections10 Mar
  2. 2023Understanding the Role of the Projector in Knowledge Distillation20 Mar
  3. 2022Masked Generative Distillation3 May
  4. 2021Knowledge distillation: A good teacher is patient and consistent9 Jun

Other references · 44

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  5. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  6. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
  7. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
  8. 2016Layer Normalizationcited by 5,669
  9. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
  10. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
  11. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,750
  12. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
32 more
  1. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
  2. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
  3. 2013Describing Textures in the Wildcited by 2,125
  4. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
  5. 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,845
  6. 2013Fine-Grained Visual Classification of Aircraftcited by 1,726
  7. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
  8. 2019Natural Adversarial Examplescited by 1,408
  9. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,013
  10. 2021Scaling Vision Transformerscited by 999
  11. 2021iBOT: Image BERT Pre-Training with Online Tokenizercited by 903
  12. 2023Vision Transformers Need Registerscited by 871
  13. 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 776
  14. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 739
  15. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 600
  16. 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 405
  17. 2021Open-Set Recognition: a Good Closed-Set Classifier is All You Need?cited by 353
  18. 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 268
  19. 2021Incorporating Convolution Designs into Visual Transformerscited by 248
  20. 2021Are Transformers More Robust Than CNNs?cited by 187
  21. 2022SatlasPretrain: A Large-Scale Dataset for Remote Sensing Image Understandingcited by 167
  22. 2023On the Challenges and Perspectives of Foundation Models for Medical Image Analysiscited by 135
  23. 2024Interpreting CLIP with Sparse Linear Concept Embeddings (SpLiCE)cited by 119
  24. 2020Neural Architecture Transfercited by 60
  25. 2021Drawing Multiple Augmentation Samples Per Image During Training Efficiently Decreases Test Errorcited by 33
  26. 2020Circumventing Outliers of AutoAugment with Knowledge Distillationcited by 29
  27. 2021Minimum-Distortion Embeddingcited by 26
  28. 2023CIFAR-10-Warehouse: Broad and More Realistic Testbeds in Model Generalization Analysiscited by 12
  29. 2021An Introduction to Johnson-Lindenstrauss Transformscited by 11
  30. 2024Accessing Vision Foundation Models via ImageNet-1Kcited by 10
  31. 2023Rethinking Evaluation Protocols of Visual Representations Learned via Self-supervised Learningcited by 4
  32. 2024Sailing in high-dimensional spaces: Low-dimensional embeddings through angle preservationcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Distillation Dynamics: Towards Understanding Feature-Based Distillation in Vision Transformers
  2. 2023A Simple and Generic Framework for Feature Distillation via Channel-wise Transformation
  3. 2024AMD: Automatic Multi-step Distillation of Large-scale Vision Models
  4. 2026Breaking the Geometric Bottleneck: Contrastive Expansion in Asymmetric Cross-Modal Distillation
  5. 2022InDistill: Information flow-preserving knowledge distillation for model compression
  6. 2021Multi-Scale Aligned Distillation for Low-Resolution Detection
  7. 2025Logit-Based Losses Limit the Effectiveness of Feature Knowledge Distillation
  8. 2023Asymmetric Masked Distillation for Pre-Training Small Foundation Models