Cosine Similarity Knowledge Distillation for Individual Class Information Transfer
Not on the map. Why?
Abstract (arXiv)
Previous logits-based Knowledge Distillation (KD) have utilized predictions about multiple categories within each sample (i.e., class predictions) and have employed Kullback-Leibler (KL) divergence to reduce the discrepancy between the student and teacher predictions. Despite the proliferation of KD techniques, the student model continues to fall short of achieving a similar level as teachers. In response, we introduce a novel and effective KD method capable of achieving results on par with or superior to the teacher models performance. We utilize teacher and student predictions about multiple samples for each category (i.e., batch predictions) and apply cosine similarity, a commonly used technique in Natural Language Processing (NLP) for measuring the resemblance between text embeddings. This metric's inherent scale-invariance property, which relies solely on vector direction and not magnitude, allows the student to dynamically learn from the teacher's knowledge, rather than being bound by a fixed distribution of the teacher's knowledge. Furthermore, we propose a method called cosine similarity weighted temperature (CSWT) to improve the performance. CSWT reduces the temperature scaling in KD when the cosine similarity between the student and teacher models is high, and conversely, it increases the temperature scaling when the cosine similarity is low. This adjustment optimizes the transfer of information from the teacher to the student model. Extensive experimental results show that our proposed method serves as a viable alternative to existing methods. We anticipate that this approach will offer valuable insights for future research on model compression.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 27 of its 37 references that are in the map. First posted on arXiv 24 Nov 2023.
Builds on
27 of 37 references.
References · 27
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2017Mask R-CNNcited by 7,259
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2016Wide Residual Networkscited by 3,057
- 2016Pyramid Scene Parsing Networkcited by 2,472
- 2014FitNets: Hints for Thin Deep Netscited by 1,619
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
15 more
- 2018ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Designcited by 1,132
- 2019Relational Knowledge Distillationcited by 873
- 2019Contrastive Representation Distillationcited by 734
- 2022Decoupled Knowledge Distillationcited by 380
- 2019A Comprehensive Overhaul of Feature Distillationcited by 341
- 2021Distilling Knowledge via Knowledge Reviewcited by 285
- 2019Correlation Congruence for Knowledge Distillationcited by 280
- 2022Knowledge Distillation with the Reused Teacher Classifiercited by 140
- 2020Collaborative Distillation for Ultra-Resolution Universal Style Transfercited by 52
- 2022Better Teacher Better Student: Dynamic Prior Knowledge for Knowledge Distillationcited by 41
- 2023OTOV2: Automatic, Generic, User-Friendlycited by 32
- 2023Pruning Deep Neural Networks from a Sparsity Perspectivecited by 25
- 2022Asymmetric Temperature Scaling Makes Larger Networks Teach Well Againcited by 23
- 2023BiBench: Benchmarking and Analyzing Network Binarizationcited by 22
- 2022CrAM: A Compression-Aware Minimizercited by 7
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 1; 2026: 1.
4 papers.
- 2023OTOv3: Automatic Architecture-Agnostic Neural Network Training and Compression from Structured Pruning to Erasing Operatorscited by 6
- 2025RAST: Reasoning Activation in LLMs via Small-model Transfercited by 5
- 2024Neuropsychology of AI: Relationship Between Activation Proximity and Categorical Proximity Within Neural Categories of Synthetic Cognitioncited by 3
- 2026Uncertainty-Aware Knowledge Distillation for Multimodal Large Language Modelscited by 1
- 2026Uncertainty-Aware Knowledge Distillation for Multimodal Large Language Models22 Mar 2026
- 2025RAST: Reasoning Activation in LLMs via Small-model Transfer30 May 2025
- 2024Neuropsychology of AI: Relationship Between Activation Proximity and Categorical Proximity Within Neural Categories of Synthetic Cognition8 Oct 2024
- 2023OTOv3: Automatic Architecture-Agnostic Neural Network Training and Compression from Structured Pruning to Erasing Operators15 Dec 2023