An Asymmetric Contrastive Loss for Handling Imbalanced Datasets
Not on the map. Why?
Abstract (arXiv)
Contrastive learning is a representation learning method performed by contrasting a sample to other similar samples so that they are brought closely together, forming clusters in the feature space. The learning process is typically conducted using a two-stage training architecture, and it utilizes the contrastive loss (CL) for its feature learning. Contrastive learning has been shown to be quite successful in handling imbalanced datasets, in which some classes are overrepresented while some others are underrepresented. However, previous studies have not specifically modified CL for imbalanced datasets. In this work, we introduce an asymmetric version of CL, referred to as ACL, in order to directly address the problem of class imbalance. In addition, we propose the asymmetric focal contrastive loss (AFCL) as a further generalization of both ACL and focal contrastive loss (FCL). Results on the FMNIST and ISIC 2018 imbalanced datasets show that AFCL is capable of outperforming CL and FCL in terms of both weighted and unweighted classification accuracies. In the appendix, we provide a full axiomatic treatment on entropy, along with complete proofs.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 20 of its 34 references that are in the map. First posted on arXiv 14 Jul 2022.
Builds on
20 of 34 references.
References · 20
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
- 2020Supervised Contrastive Learningcited by 2,803
- 2019Contrastive Multiview Codingcited by 1,297
- 2018Learning deep representations by mutual information estimation and maximizationcited by 1,265
- 2019Data-Efficient Image Recognition with Contrastive Predictive Codingcited by 672
- 2019Skin Lesion Analysis Toward Melanoma Detection 2018: A Challenge Hosted by the International Skin Imaging Collaboration (ISIC)cited by 657
- 2020Asymmetric Loss For Multi-Label Classificationcited by 379
- 2020A unifying mutual information view of metric learning: cross-entropy vs. pairwise lossescited by 100
- 2021Unleashing the Power of Contrastive Self-Supervised Visual Models via Contrast-Regularized Fine-Tuningcited by 50
- 2019Radial-Based Undersampling for Imbalanced Data Classificationcited by 22
8 more
- 2019LoRAS: An oversampling approach for imbalanced datasetscited by 15
- 2017CUSBoost: Cluster-based Under-sampling with Boosting for Imbalanced Classificationcited by 7
- 2019Neural Network Based Undersampling Techniquescited by 5
- 2022SuperCon: Supervised Contrastive Learning for Imbalanced Skin Lesion Classificationcited by 4
- 2019GenSample: A Genetic Algorithm for Oversampling in Imbalanced Datasetscited by 3
- 2018VOS: a Method for Variational Oversampling of Imbalanced Datacited by 2
- 2021A Novel Adaptive Minority Oversampling Technique for Improved Classification in Data Imbalanced Scenarioscited by 1
- 2022Multi-granularity Relabeled Under-sampling Algorithm for Imbalanced Datacited by 1
Built on by
Citing papers per year: 2025: 3.
3 papers.