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/Targeted Supervised Contrastive Learning for Long-Tailed R...

Targeted Supervised Contrastive Learning for Long-Tailed Recognition

Tianhong Li, Peng Cao, Yuan Yuan, Lijie Fan, Yuzhe Yang, Rogerio Feris, Piotr Indyk, Dina Katabi

2021-11-27CVPR 2022 1Long-tail LearningContrastive Learning
PaperPDFCode(official)

Abstract

Real-world data often exhibits long tail distributions with heavy class imbalance, where the majority classes can dominate the training process and alter the decision boundaries of the minority classes. Recently, researchers have investigated the potential of supervised contrastive learning for long-tailed recognition, and demonstrated that it provides a strong performance gain. In this paper, we show that while supervised contrastive learning can help improve performance, past baselines suffer from poor uniformity brought in by imbalanced data distribution. This poor uniformity manifests in samples from the minority class having poor separability in the feature space. To address this problem, we propose targeted supervised contrastive learning (TSC), which improves the uniformity of the feature distribution on the hypersphere. TSC first generates a set of targets uniformly distributed on a hypersphere. It then makes the features of different classes converge to these distinct and uniformly distributed targets during training. This forces all classes, including minority classes, to maintain a uniform distribution in the feature space, improves class boundaries, and provides better generalization even in the presence of long-tail data. Experiments on multiple datasets show that TSC achieves state-of-the-art performance on long-tailed recognition tasks.

Results

TaskDatasetMetricValueModel
Image ClassificationCIFAR-10-LT (ρ=10)Error Rate11.3TSC
Image ClassificationImageNet-LTTop-1 Accuracy52.4TSC(ResNet-50)
Image ClassificationCIFAR-100-LT (ρ=100)Error Rate56.2TSC(ResNet-32)
Image ClassificationCIFAR-10-LT (ρ=100)Error Rate21.3TSC(ResNet-32)
Few-Shot Image ClassificationCIFAR-10-LT (ρ=10)Error Rate11.3TSC
Few-Shot Image ClassificationImageNet-LTTop-1 Accuracy52.4TSC(ResNet-50)
Few-Shot Image ClassificationCIFAR-100-LT (ρ=100)Error Rate56.2TSC(ResNet-32)
Few-Shot Image ClassificationCIFAR-10-LT (ρ=100)Error Rate21.3TSC(ResNet-32)
Generalized Few-Shot ClassificationCIFAR-10-LT (ρ=10)Error Rate11.3TSC
Generalized Few-Shot ClassificationImageNet-LTTop-1 Accuracy52.4TSC(ResNet-50)
Generalized Few-Shot ClassificationCIFAR-100-LT (ρ=100)Error Rate56.2TSC(ResNet-32)
Generalized Few-Shot ClassificationCIFAR-10-LT (ρ=100)Error Rate21.3TSC(ResNet-32)
Long-tail LearningCIFAR-10-LT (ρ=10)Error Rate11.3TSC
Long-tail LearningImageNet-LTTop-1 Accuracy52.4TSC(ResNet-50)
Long-tail LearningCIFAR-100-LT (ρ=100)Error Rate56.2TSC(ResNet-32)
Long-tail LearningCIFAR-10-LT (ρ=100)Error Rate21.3TSC(ResNet-32)
Generalized Few-Shot LearningCIFAR-10-LT (ρ=10)Error Rate11.3TSC
Generalized Few-Shot LearningImageNet-LTTop-1 Accuracy52.4TSC(ResNet-50)
Generalized Few-Shot LearningCIFAR-100-LT (ρ=100)Error Rate56.2TSC(ResNet-32)
Generalized Few-Shot LearningCIFAR-10-LT (ρ=100)Error Rate21.3TSC(ResNet-32)

Related Papers

SemCSE: Semantic Contrastive Sentence Embeddings Using LLM-Generated Summaries For Scientific Abstracts2025-07-17HapticCap: A Multimodal Dataset and Task for Understanding User Experience of Vibration Haptic Signals2025-07-17Overview of the TalentCLEF 2025: Skill and Job Title Intelligence for Human Capital Management2025-07-17SGCL: Unifying Self-Supervised and Supervised Learning for Graph Recommendation2025-07-17Similarity-Guided Diffusion for Contrastive Sequential Recommendation2025-07-16LLM-Driven Dual-Level Multi-Interest Modeling for Recommendation2025-07-15Latent Space Consistency for Sparse-View CT Reconstruction2025-07-15Self-supervised pretraining of vision transformers for animal behavioral analysis and neural encoding2025-07-13