ComputingComputer ScienceComputer VisionFeature EngineeringMachine LearningClassificationImage ClassificationLoss FunctionNeural NetworksRepresentation LearningSupervised LearningClass Imbalance LearningClassification AccuracyContrastive LearningContrastive LossCross EntropyCross-entropy LossFeature LearningImbalanced Classification
Discriminative image representations are crucial for long‑tailed image classification, helping classifiers learn from imbalanced data. The study aims to enhance long‑tailed image classification by adapting supervised contrastive learning strategies to learn better representations from imbalanced data. The authors design a hybrid network that jointly optimizes a supervised contrastive loss for feature learning and a cross‑entropy loss for classification, progressively shifting focus from representation to classifier, and evaluate two contrastive variants—SC and PSC—to pull same‑class samples together and push different‑class samples apart. Experiments on three long‑tailed datasets confirm that the contrastive‑learning hybrid networks improve classification performance.
Learning discriminative image representations plays a vital role in long-tailed image classification because it can ease the classifier learning in imbalanced cases. Given the promising performance contrastive learning has shown recently in representation learning, in this work, we explore effective supervised contrastive learning strategies and tailor them to learn better image representations from imbalanced data in order to boost the classification accuracy thereon. Specifically, we propose a novel hybrid network structure being composed of a supervised contrastive loss to learn image representations and a cross-entropy loss to learn classifiers, where the learning is progressively transited from feature learning to the classifier learning to embody the idea that better features make better classifiers. We explore two variants of contrastive loss for feature learning, which vary in the forms but share a common idea of pulling the samples from the same class together in the normalized embedding space and pushing the samples from different classes apart. One of them is the recently proposed supervised contrastive (SC) loss, which is designed on top of the state-of-the-art unsupervised contrastive loss by incorporating positive samples from the same class. The other is a prototypical supervised contrastive (PSC) learning strategy which addresses the intensive memory consumption in standard SC loss and thus shows more promise under limited memory budget. Extensive experiments on three long-tailed classification datasets demonstrate the advantage of the proposed contrastive learning based hybrid networks in long-tailed classification.
30
Deep Residual Learning for Image Recognition
Kaiming He, Xiangyu Zhang, Shaoqing Ren et al. · 2016 · 222.1K citations · Full text
SMOTE: Synthetic Minority Over-sampling Technique
Nitesh V. Chawla, Kevin W. Bowyer, Lawrence Hall et al. · Journal of Artificial Intelligence Research · 2002 · 31.2K citations · Full text
Focal Loss for Dense Object Detection
Tsung-Yi Lin, Priya Goyal, Ross Girshick et al. · 2017 · 25.7K citations
Momentum Contrast for Unsupervised Visual Representation Learning
Kaiming He, Haoqi Fan, Yuxin Wu et al. · 2020 · 12K citations
A Simple Framework for Contrastive Learning of Visual Representations
Ting Chen, Simon Kornblith, Mohammad Norouzi et al. · arXiv (Cornell University) · 2020 · 7.3K citations · Full text