paper-with-me

홈 › Papers

Adaptive Temperature Based on Logits Correlation in Knowledge Distillation

2025-03-12 · Kazuhiro Matsuyama, Usman Anjum, Satoko Matsuyama, Tetsuo Shoda, Justin Zhan

Knowledge distillation is a technique to imitate a performance that a deep learning model has, but reduce the size on another model. It applies the outputs of a model to train another model having comparable accuracy. These two distinct models are similar to the way information is delivered in human society, with one acting as the "teacher" and the other as the "student". Softmax plays a role in comparing logits generated by models with each other by converting probability distributions. It delivers the logits of a teacher to a student with compression through a parameter named temperature. Tuning this variable reinforces the distillation performance. Although only this parameter helps with the interaction of logits, it is not clear how temperatures promote information transfer. In this paper, we propose a novel approach to calculate the temperature. Our method only refers to the maximum logit generated by a teacher model, which reduces computational time against state-of-the-art methods. Our method shows a promising result in different student and teacher models on a standard benchmark dataset. Algorithms using temperature can obtain the improvement by plugging in this dynamic approach. Furthermore, the approximation of the distillation process converges to a correlation of logits by both models. This reinforces the previous argument that the distillation conveys the relevance of logits. We report that this approximating algorithm yields a higher temperature compared to the commonly used static values in testing.

📄 PDF Abstract BibTeX arXiv:2503.09030

Code (1)

kei813121/atkd 공식 구현 pytorch

Tasks

Knowledge Distillation

Methods 이 논문이 사용한 방법론

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 제목 키워드 기반

Knowledge Distillation Based on Transformed Teacher Matching

2024-02-17 · Kaixiang Zheng, En-hui Yang

As a technique to bridge logit matching and probability distribution matching, temperature scaling plays a pivotal role in knowledge distillation (KD). Conventionally, temperature scaling is applied to both teacher's log…

Knowledge Distillation

NormKD: Normalized Logits for Knowledge Distillation

2023-08-01 · Zhihao Chi, Tu Zheng, Hengjia Li, Zheng Yang 외

Logit based knowledge distillation gets less attention in recent years since feature based methods perform better in most cases. Nevertheless, we find it still has untapped potential when we re-investigate the temperatur…

image-classificationImage ClassificationKnowledge Distillation

EGAD: Entropy-Guided Adaptive Distillation for Token-Level Knowledge Transfer

2026-05-03 · Hao Zhang, Zhibin Zhang, Guangxin Wu, Wanyi Ning 외 arxiv

Large language models (LLMs) have achieved remarkable performance across diverse domains, yet their enormous computational and memory requirements hinder deployment in resource-constrained environments. Knowledge distill…

Knowledge Distillation

CKD: Contrastive Knowledge Distillation from A Sample-wise Perspective

2024-04-22 · Wencheng Zhu, Xin Zhou, Pengfei Zhu, Yu Wang 외

In this paper, we present a simple yet effective contrastive knowledge distillation approach, which can be formulated as a sample-wise alignment problem with intra- and inter-sample constraints. Unlike traditional knowle…

Contrastive Learningimage-classificationImage ClassificationKnowledge Distillation+2

Knowledge Distillation with Refined Logits

2024-08-14 · Wujie Sun, Defang Chen, Siwei Lyu, Genlang Chen 외

Recent research on knowledge distillation has increasingly focused on logit distillation because of its simplicity, effectiveness, and versatility in model compression. In this paper, we introduce Refined Logit Distillat…

Knowledge DistillationModel Compression