paper-with-me

홈 › Papers

Logit Standardization in Knowledge Distillation

2024-03-03 · CVPR 2024 1 · Shangquan Sun, Wenqi Ren, Jingzhi Li, Rui Wang, Xiaochun Cao

Knowledge distillation involves transferring soft labels from a teacher to a student using a shared temperature-based softmax function. However, the assumption of a shared temperature between teacher and student implies a mandatory exact match between their logits in terms of logit range and variance. This side-effect limits the performance of student, considering the capacity discrepancy between them and the finding that the innate logit relations of teacher are sufficient for student to learn. To address this issue, we propose setting the temperature as the weighted standard deviation of logit and performing a plug-and-play Z-score pre-process of logit standardization before applying softmax and Kullback-Leibler divergence. Our pre-process enables student to focus on essential logit relations from teacher rather than requiring a magnitude match, and can improve the performance of existing logit-based distillation methods. We also show a typical case where the conventional setting of sharing temperature between teacher and student cannot reliably yield the authentic distillation evaluation; nonetheless, this challenge is successfully alleviated by our Z-score. We extensively evaluate our method for various student and teacher models on CIFAR-100 and ImageNet, showing its significant superiority. The vanilla knowledge distillation powered by our pre-process can achieve favorable performance against state-of-the-art methods, and other distillation variants can obtain considerable gain with the assistance of our pre-process.

📄 PDF Abstract BibTeX arXiv:2403.01427

Code (1)

sunshangquan/logit-standardardization-kd 공식 구현 pytorch

Tasks

Knowledge Distillation

Methods 이 논문이 사용한 방법론

Focus 설명 없음
Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Generative Dataset Distillation Based on Self-knowledge Distillation

2025-01-08 · Longzhen Li, Guang Li, Ren Togo, Keisuke Maeda 외

Dataset distillation is an effective technique for reducing the cost and complexity of model training while maintaining performance by compressing large datasets into smaller, more efficient versions. In this paper, we p…

Dataset DistillationKnowledge DistillationSelf-Knowledge Distillation

Class-aware Information for Logit-based Knowledge Distillation

2022-11-27 · Shuoxi Zhang, Hanpeng Liu, John E. Hopcroft, Kun He

Knowledge distillation aims to transfer knowledge to the student model by utilizing the predictions/features of the teacher model, and feature-based distillation has recently shown its superiority over logit-based distil…

Knowledge Distillation

Scale Decoupled Distillation

2024-03-20 · Shicai Wei Chunbo Luo Yang Luo

Logit knowledge distillation attracts increasing attention due to its practicality in recent studies. However, it often suffers inferior performance compared to the feature knowledge distillation. In this paper, we argue…

Knowledge Distillation

Scaled Decoupled Distillation

2024-01-01 · CVPR 2024 1 · Shicai Wei, Chunbo Luo, Yang Luo

Logit knowledge distillation attracts increasing attention due to its practicality in recent studies. However it often suffers inferior performance compared to the feature knowledge distillation. In this paper we arg…

Knowledge Distillation

Multi-perspective Contrastive Logit Distillation

2024-11-16 · Qi Wang, Jinjia Zhou

We propose a novel and efficient logit distillation method, Multi-perspective Contrastive Logit Distillation (MCLD), which leverages contrastive learning to distill logits from multiple perspectives in knowledge distilla…

Contrastive Learningimage-classificationImage ClassificationKnowledge Distillation