Online Knowledge Distillation via Mutual Contrastive Learning for Visual Recognition

Chuanguang Yang, Zhulin An, Helong Zhou, Fuzhen Zhuang, Yongjun Xu +1 more
7/23/2022
118 citations
cs.CVcs.AI
contrastive-ssldistillation

Official code: winycg/L-MCL (28 stars, Python, last commit 2023-07-14). Most starred: winycg/MCL, a community implementation (72 stars, Python, last commit 2022-03-01, 2.6× the official stars). 1 more implementation below.

Abstract

The teacher-free online Knowledge Distillation (KD) aims to train an ensemble of multiple student models collaboratively and distill knowledge from each other. Although existing online KD methods achieve desirable performance, they often focus on class probabilities as the core knowledge type, ignoring the valuable feature representational information.

Show full abstract

We present a Mutual Contrastive Learning (MCL) framework for online KD. The core idea of MCL is to perform mutual interaction and transfer of contrastive distributions among a cohort of networks in an online manner. Our MCL can aggregate cross-network embedding information and maximize the lower bound to the mutual information between two networks. This enables each network to learn extra contrastive knowledge from others, leading to better feature representations, thus improving the performance of visual recognition tasks. Beyond the final layer, we extend MCL to intermediate layers and perform an adaptive layer-matching mechanism trained by meta-optimization. Experiments on image classification and transfer learning to visual recognition tasks show that layer-wise MCL can lead to consistent performance gains against state-of-the-art online KD approaches. The superiority demonstrates that layer-wise MCL can guide the network to generate better feature representations. Our code is publicly avaliable at https://github.com/winycg/L-MCL.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
winycg/L-MCLOfficial28Python–2023-07-14
winycg/MCLCommunity72Python–2022-03-01
winycg/L-MCLOfficial100%

[TPAMI-2023] Official implementations of L-MCL: Online Knowledge Distillation via Mutual Contrastive Learning for Visual Recognition

283PythonFeb 9, 20233 years ago
winycg/MCLCommunity100%

[AAAI-2022 Oral] Official implementations of MCL: Mutual Contrastive Learning for Visual Representation Learning

724Python, ShellDec 2, 20214 years ago

Similar Papers

Cite this paper

@article{yang2022online,
  title  = {Online Knowledge Distillation via Mutual Contrastive Learning for Visual Recognition},
  author = {Chuanguang Yang and Zhulin An and Helong Zhou and Fuzhen Zhuang and Yongjun Xu and Qian Zhan},
  year   = {2022},
  eprint = {2207.11518},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.11518v2}
}

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/2207.11518.svg)](https://codeofpaper.com/paper/2207.11518)

Discussion