mlsanityData to 7 Oct 2026

Preserving Angles Improves Feature Distillation

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

Not on the map. Why?

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 7 Oct 2026). 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.

References · 48

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  5. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  6. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
  7. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  8. 2016Layer Normalizationcited by 5,579
  9. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  10. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
  11. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
  12. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
36 more
  1. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  2. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
  3. 2013Describing Textures in the Wildcited by 2,110
  4. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  5. 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,838
  6. 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
  7. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  8. 2019Natural Adversarial Examplescited by 1,401
  9. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
  10. 2021Scaling Vision Transformerscited by 993
  11. 2021iBOT: Image BERT Pre-Training with Online Tokenizercited by 891
  12. 2023Vision Transformers Need Registerscited by 844
  13. 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
  14. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
  15. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
  16. 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 404
  17. 2021Open-Set Recognition: a Good Closed-Set Classifier is All You Need?cited by 351
  18. 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 267
  19. 2021Knowledge distillation: A good teacher is patient and consistentcited by 255
  20. 2021Incorporating Convolution Designs into Visual Transformerscited by 248
  21. 2021Are Transformers More Robust Than CNNs?cited by 187
  22. 2022SatlasPretrain: A Large-Scale Dataset for Remote Sensing Image Understandingcited by 164
  23. 2023On the Challenges and Perspectives of Foundation Models for Medical Image Analysiscited by 135
  24. 2024Interpreting CLIP with Sparse Linear Concept Embeddings (SpLiCE)cited by 116
  25. 2022Masked Generative Distillationcited by 107
  26. 2020Neural Architecture Transfercited by 59
  27. 2021Drawing Multiple Augmentation Samples Per Image During Training Efficiently Decreases Test Errorcited by 32
  28. 2023Understanding the Role of the Projector in Knowledge Distillationcited by 31
  29. 2020Circumventing Outliers of AutoAugment with Knowledge Distillationcited by 29
  30. 2021Minimum-Distortion Embeddingcited by 26
  31. 2024VkD: Improving Knowledge Distillation using Orthogonal Projectionscited by 24
  32. 2023CIFAR-10-Warehouse: Broad and More Realistic Testbeds in Model Generalization Analysiscited by 12
  33. 2021An Introduction to Johnson-Lindenstrauss Transformscited by 10
  34. 2024Accessing Vision Foundation Models via ImageNet-1Kcited by 9
  35. 2023Rethinking Evaluation Protocols of Visual Representations Learned via Self-supervised Learningcited by 4
  36. 2024Sailing in high-dimensional spaces: Low-dimensional embeddings through angle preservationcited by 2

Built on by

Not cited yet.