Preview-based Category Contrastive Learning for Knowledge Distillation

Muhe Ding, Jianlong Wu, Xue Dong, Xiaojie Li, Pengda Qin +2 more
10/18/2024
cs.CVcs.LG

No confident code implementation found for this paper.

Abstract

Knowledge distillation is a mainstream algorithm in model compression by transferring knowledge from the larger model (teacher) to the smaller model (student) to improve the performance of student. Despite many efforts, existing methods mainly investigate the consistency between instance-level feature representation or prediction, which neglects the category-level information and the difficulty of each sample, leading to undesirable performance. To address these issues, we propose a novel preview-based category contrastive learning method for knowledge distillation (PCKD). It first distills the structural knowledge of both instance-level feature correspondence and the relation between instance features and category centers in a contrastive learning fashion, which can explicitly optimize the category representation and explore the distinct correlation between representations of instances and categories, contributing to discriminative category centers and better classification results. Besides, we introduce a novel preview strategy to dynamically determine how much the student should learn from each sample according to their difficulty. Different from existing methods that treat all samples equally and curriculum learning that simply filters out hard samples, our method assigns a small weight for hard instances as a preview to better guide the student training. Extensive experiments on several challenging datasets, including CIFAR-100 and ImageNet, demonstrate the superiority over state-of-the-art methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ding2024previewbased,
  title  = {Preview-based Category Contrastive Learning for Knowledge Distillation},
  author = {Muhe Ding and Jianlong Wu and Xue Dong and Xiaojie Li and Pengda Qin and Tian Gan and Liqiang Nie},
  year   = {2024},
  eprint = {2410.14143},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.14143v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.14143.svg)](https://codeofpaper.com/paper/2410.14143)

Discussion