CVNov 29, 2022

Curriculum Temperature for Knowledge Distillation

arXiv:2211.16231v3283 citationsh-index: 124Has Code
Originality Incremental advance
AI Analysis

This incremental improvement addresses the inefficiency of hyperparameter tuning in knowledge distillation for machine learning practitioners.

The paper tackles the suboptimal fixed temperature in knowledge distillation by proposing Curriculum Temperature for Knowledge Distillation (CTKD), which dynamically adjusts task difficulty during training, leading to general improvements on datasets like CIFAR-100, ImageNet-2012, and MS-COCO with negligible added cost.

Most existing distillation methods ignore the flexible role of the temperature in the loss function and fix it as a hyper-parameter that can be decided by an inefficient grid search. In general, the temperature controls the discrepancy between two distributions and can faithfully determine the difficulty level of the distillation task. Keeping a constant temperature, i.e., a fixed level of task difficulty, is usually sub-optimal for a growing student during its progressive learning stages. In this paper, we propose a simple curriculum-based technique, termed Curriculum Temperature for Knowledge Distillation (CTKD), which controls the task difficulty level during the student's learning career through a dynamic and learnable temperature. Specifically, following an easy-to-hard curriculum, we gradually increase the distillation loss w.r.t. the temperature, leading to increased distillation difficulty in an adversarial manner. As an easy-to-use plug-in technique, CTKD can be seamlessly integrated into existing knowledge distillation frameworks and brings general improvements at a negligible additional computation cost. Extensive experiments on CIFAR-100, ImageNet-2012, and MS-COCO demonstrate the effectiveness of our method. Our code is available at https://github.com/zhengli97/CTKD.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes