Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Targeted Supervised Contrastive Learning for Long-Tailed Recognition

About

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.

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

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet LT
Top-1 Accuracy52.4
251
Long-Tailed Image ClassificationImageNet-LT (test)
Top-1 Acc (Overall)56.9
220
Image ClassificationiNaturalist 2018 (test)
Top-1 Accuracy69.7
192
Image ClassificationImageNet-LT (test)
Top-1 Acc (All)52.4
159
Image ClassificationCIFAR-100 Long-Tailed (test)
Top-1 Accuracy59
149
Long-Tailed Image ClassificationiNaturalist 2018
Accuracy69.7
82
Image ClassificationCIFAR-100 LT (val)
Top-1 Accuracy59
69
Image ClassificationCIFAR-10-LT (val)
Top-1 Acc88.7
65
Image ClassificationCIFAR-100 LT
Top-1 Acc57.6
63
Image ClassificationCIFAR-100 Imbalance Ratio LT-50 (test)
Accuracy47.4
62
Showing 10 of 38 rows

Other info

Follow for update