Consistently Informative Soft-Label Temperature for Knowledge Distillation

· Source: cs.LG updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning · Depth: Expert, extended

Summary

CIST (Consistently Informative Soft-label Temperature) is a novel knowledge distillation framework designed to overcome the limitations of standard fixed-temperature methods. It addresses inconsistent teacher soft-label entropy and rigid teacher-student logit-scale alignment by assigning separate, sample-wise adaptive temperatures to both teacher and student models. CIST also reweights the distillation objective based on teacher confidence and student learning difficulty. Theoretically, the framework demonstrates that teacher-label entropy is primarily controlled by the ratio of the maximum teacher logit to the temperature. Empirically, CIST consistently improves performance across diverse vision tasks, including CIFAR-100 and ImageNet, and language distillation tasks, such as instruction-following benchmarks (Dolly, Vicuna, Super-NI, UnNI). It achieves significant gains, like up to +2.25% Top-1 accuracy on ImageNet, with negligible computational overhead.

Key takeaway

For Machine Learning Engineers optimizing knowledge distillation, adopting CIST can significantly enhance student model performance and stability. You should implement sample-wise adaptive temperatures for both teacher and student, normalizing dominant logits by a constant ρ, and rescale your KL distillation loss by the product of these temperatures. This approach relaxes rigid logit matching and provides a confidence-aware curriculum, leading to more consistently informative soft labels and superior results on vision and language tasks with negligible overhead.

Key insights

Fixed-temperature knowledge distillation creates inconsistent soft-label entropy, hindering effective knowledge transfer.

Principles

Method

CIST assigns sample-wise adaptive temperatures to teacher and student based on dominant logits, stabilizing entropy. It then reweights the KL distillation loss by the product of these temperatures, creating a confidence-aware curriculum.

In practice

Topics

Best for: Research Scientist, AI Engineer, NLP Engineer, AI Scientist, Machine Learning Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.LG updates on arXiv.org.