Papers › Curriculum Temperature for Knowledge Distillation

Curriculum Temperature for Knowledge Distillation

29 Nov 2022arXiv:2211.16231archive 2025-07-28

Zheng Li, Xiang Li, Lingfeng Yang, Borui Zhao, RenJie Song, Lei Luo, Jun Li, Jian Yang

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2211.16231")

Code

Syntology Ran 7 of 15 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 5 ran · our draft was wrong; 2 ran with no contract checked.

By repository: official repository: 15 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

zhengli97/ctkd officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 7 ran; 0 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

5ran · our draft was wrong
2ran
8unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from zhengli97/ctkd. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

channel_shuffle zhengli97/ctkd/models/ShuffleNetv2_Imagenet.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · b9da06d4f527dd6c · report
conv1x1 zhengli97/ctkd/models/resnetv2.py official repository ran · our draft was wrong Apache-2.0 (permissive) · d9def42110729a85 · report
conv3x3 zhengli97/ctkd/models/resnetv2.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 160bb14bd76201b4 · report
conv3x3 zhengli97/ctkd/models/resnet.py official repository ran · our draft was wrong Apache-2.0 (permissive) · fac5364e2f53c6db · report
conv_1x1_bn zhengli97/ctkd/models/mobilenetv2.py official repository ran Apache-2.0 (permissive) · 7765583b9e540679 · report
conv_bn zhengli97/ctkd/models/mobilenetv2.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 2f7853ff01cbbc29 · report
mobilenetv2_T_w zhengli97/ctkd/models/mobilenetv2.py official repository ran Apache-2.0 (permissive) · 421fd14c036bc279 · report
gap_loss zhengli97/ctkd/models/resnet.py official repository unverified Apache-2.0 (permissive) · fa5e65eaf182f037 · report
get_data_folder zhengli97/ctkd/dataset/imagenet.py official repository unverified Apache-2.0 (permissive) · 9b69431119e6f00b · report
get_imagenet_dataloader zhengli97/ctkd/dataset/imagenet.py official repository unverified Apache-2.0 (permissive) · 94fb66ad6f5924e1 · report
get_test_loader zhengli97/ctkd/dataset/imagenet.py official repository unverified Apache-2.0 (permissive) · ad816eb6904c00e3 · report
mobilenet_v2 zhengli97/ctkd/models/mobilenetv2_imagenet.py official repository unverified Apache-2.0 (permissive) · ee9a05c9ee4702a2 · report
resnet18 zhengli97/ctkd/models/resnetv2.py official repository unverified Apache-2.0 (permissive) · 978acca4eb9c1fc9 · report
shufflenet_v2_x0_5 zhengli97/ctkd/models/ShuffleNetv2_Imagenet.py official repository unverified Apache-2.0 (permissive) · 916d6b0fde048401 · report
shufflenet_v2_x1_0 zhengli97/ctkd/models/ShuffleNetv2_Imagenet.py official repository unverified Apache-2.0 (permissive) · c6134299daf274a3 · report

Tasks

Image ClassificationKnowledge Distillation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Knowledge Distillation

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections