Discriminative and Consistent Representation Distillation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Giakoumoglou, Nikolaos, Stathaki, Tania
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909608088436736
author Giakoumoglou, Nikolaos
Stathaki, Tania
author_facet Giakoumoglou, Nikolaos
Stathaki, Tania
contents Knowledge Distillation (KD) aims to transfer knowledge from a large teacher model to a smaller student model. While contrastive learning has shown promise in self-supervised learning by creating discriminative representations, its application in knowledge distillation remains limited and focuses primarily on discrimination, neglecting the structural relationships captured by the teacher model. To address this limitation, we propose Discriminative and Consistent Distillation (DCD), which employs a contrastive loss along with a consistency regularization to minimize the discrepancy between the distributions of teacher and student representations. Our method introduces learnable temperature and bias parameters that adapt during training to balance these complementary objectives, replacing the fixed hyperparameters commonly used in contrastive learning approaches. Through extensive experiments on CIFAR-100 and ImageNet ILSVRC-2012, we demonstrate that DCD achieves state-of-the-art performance, with the student model sometimes surpassing the teacher's accuracy. Furthermore, we show that DCD's learned representations exhibit superior cross-dataset generalization when transferred to Tiny ImageNet and STL-10.
format Preprint
id arxiv_https___arxiv_org_abs_2407_11802
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Discriminative and Consistent Representation Distillation
Giakoumoglou, Nikolaos
Stathaki, Tania
Computer Vision and Pattern Recognition
Artificial Intelligence
68T07
I.4; I.2
Knowledge Distillation (KD) aims to transfer knowledge from a large teacher model to a smaller student model. While contrastive learning has shown promise in self-supervised learning by creating discriminative representations, its application in knowledge distillation remains limited and focuses primarily on discrimination, neglecting the structural relationships captured by the teacher model. To address this limitation, we propose Discriminative and Consistent Distillation (DCD), which employs a contrastive loss along with a consistency regularization to minimize the discrepancy between the distributions of teacher and student representations. Our method introduces learnable temperature and bias parameters that adapt during training to balance these complementary objectives, replacing the fixed hyperparameters commonly used in contrastive learning approaches. Through extensive experiments on CIFAR-100 and ImageNet ILSVRC-2012, we demonstrate that DCD achieves state-of-the-art performance, with the student model sometimes surpassing the teacher's accuracy. Furthermore, we show that DCD's learned representations exhibit superior cross-dataset generalization when transferred to Tiny ImageNet and STL-10.
title Discriminative and Consistent Representation Distillation
topic Computer Vision and Pattern Recognition
Artificial Intelligence
68T07
I.4; I.2
url https://arxiv.org/abs/2407.11802