Preserving Angles Improves Feature Distillation
Evelyn J. Mannix, Liam Hodgkinson, Howard Bondell

TL;DR
This paper introduces CosPress, a feature distillation method that preserves cosine similarities to better transfer properties like robustness and OOD detection from teacher to student models, improving performance across various benchmarks.
Contribution
The paper proposes CosPress, a novel feature distillation technique that maintains cosine similarity in latent spaces, enhancing transfer of robustness and generalization properties.
Findings
Improves model robustness and OOD detection
Achieves higher accuracy on ImageNet
Enables training of lightweight models on small datasets
Abstract
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 distillationwhere a teacher model's output features are replicated insteadcan 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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Neural Network Applications · Adversarial Robustness in Machine Learning · Domain Adaptation and Few-Shot Learning
MethodsKnowledge Distillation
