TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Contrastive Learning based Hybrid Networks for Long-Tailed...

Contrastive Learning based Hybrid Networks for Long-Tailed Image Classification

Peng Wang, Kai Han, Xiu-Shen Wei, Lei Zhang, Lei Wang

2021-03-26CVPR 2021 1Image ClassificationRepresentation LearningLong-tail LearningContrastive LearningGeneral ClassificationClassification
PaperPDF

Abstract

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.

Results

TaskDatasetMetricValueModel
Image ClassificationCIFAR-10-LT (ρ=10)Error Rate8.9Hybrid-SC
Image ClassificationCIFAR-100-LT (ρ=50)Error Rate51.07Hybrid-PSC
Image ClassificationCIFAR-100-LT (ρ=10)Error Rate37.63Hybrid-PSC
Image ClassificationCIFAR-100-LT (ρ=100)Error Rate55.03Hybrid-PSC
Few-Shot Image ClassificationCIFAR-10-LT (ρ=10)Error Rate8.9Hybrid-SC
Few-Shot Image ClassificationCIFAR-100-LT (ρ=50)Error Rate51.07Hybrid-PSC
Few-Shot Image ClassificationCIFAR-100-LT (ρ=10)Error Rate37.63Hybrid-PSC
Few-Shot Image ClassificationCIFAR-100-LT (ρ=100)Error Rate55.03Hybrid-PSC
Generalized Few-Shot ClassificationCIFAR-10-LT (ρ=10)Error Rate8.9Hybrid-SC
Generalized Few-Shot ClassificationCIFAR-100-LT (ρ=50)Error Rate51.07Hybrid-PSC
Generalized Few-Shot ClassificationCIFAR-100-LT (ρ=10)Error Rate37.63Hybrid-PSC
Generalized Few-Shot ClassificationCIFAR-100-LT (ρ=100)Error Rate55.03Hybrid-PSC
Long-tail LearningCIFAR-10-LT (ρ=10)Error Rate8.9Hybrid-SC
Long-tail LearningCIFAR-100-LT (ρ=50)Error Rate51.07Hybrid-PSC
Long-tail LearningCIFAR-100-LT (ρ=10)Error Rate37.63Hybrid-PSC
Long-tail LearningCIFAR-100-LT (ρ=100)Error Rate55.03Hybrid-PSC
Generalized Few-Shot LearningCIFAR-10-LT (ρ=10)Error Rate8.9Hybrid-SC
Generalized Few-Shot LearningCIFAR-100-LT (ρ=50)Error Rate51.07Hybrid-PSC
Generalized Few-Shot LearningCIFAR-100-LT (ρ=10)Error Rate37.63Hybrid-PSC
Generalized Few-Shot LearningCIFAR-100-LT (ρ=100)Error Rate55.03Hybrid-PSC

Related Papers

Touch in the Wild: Learning Fine-Grained Manipulation with a Portable Visuo-Tactile Gripper2025-07-20Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17Spectral Bellman Method: Unifying Representation and Exploration in RL2025-07-17Boosting Team Modeling through Tempo-Relational Representation Learning2025-07-17