Contrastive Deep Supervision

Linfeng Zhang, Xin Chen, Junbo Zhang, Runpei Dong, Kaisheng Ma
7/12/2022
cs.CVcs.AI

No official code found. Best implementation: ArchipLab-LinfengZhang/contrastive-deep-supervision (67 stars, MIT, last commit 2022-09-18).

Abstract

The success of deep learning is usually accompanied by the growth in neural network depth. However, the traditional training method only supervises the neural network at its last layer and propagates the supervision layer-by-layer, which leads to hardship in optimizing the intermediate layers. Recently, deep supervision has been proposed to add auxiliary classifiers to the intermediate layers of deep neural networks. By optimizing these auxiliary classifiers with the supervised task loss, the supervision can be applied to the shallow layers directly. However, deep supervision conflicts with the well-known observation that the shallow layers learn low-level features instead of task-biased high-level semantic features. To address this issue, this paper proposes a novel training framework named Contrastive Deep Supervision, which supervises the intermediate layers with augmentation-based contrastive learning. Experimental results on nine popular datasets with eleven models demonstrate its effects on general image classification, fine-grained image classification and object detection in supervised learning, semi-supervised learning and knowledge distillation. Codes have been released in Github.

View on arXivView PDF

Code Implementations(1)

MIT

Codes for ECCV2022 paper - contrastive deep supervision

674Shell, PythonJul 4, 20224 years agoMIT

Cite this paper

@article{zhang2022contrastive,
  title  = {Contrastive Deep Supervision},
  author = {Linfeng Zhang and Xin Chen and Junbo Zhang and Runpei Dong and Kaisheng Ma},
  year   = {2022},
  eprint = {2207.05306},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.05306v1}
}

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

Discussion