Global Contrastive Learning for Long-Tailed Classification

Research output: Contribution to journalArticlepeer-review

1 Scopus citations

Abstract

We consider the long-tailed classification problem in which a few classes in the training data dominate the majority of the other classes. For concreteness, we focus on the visual domain in this paper. Most current methods employ contrastive learning to learn a representation for long-tailed data. In this paper, first, we investigate k-positive sampling, a popular base-line method widely used to build contrastive learning models for imbalanced data. Previous works show that k-positive learning, which only chooses k positive samples (instead of all positive images) for each query image, suffers from inferior performance in long-tailed data. In this work, we further point out that k-positive learning limits the learning capability of both head and tail classes. Based on this perspective, we propose a novel contrastive learning framework that improves the limitation in k-positive learning by enlarging its positive selection space, so it can help the model learn more semantic discrimination features. Sec-ond, we analyze how the temperature (the hyperparameter used for tuning a concentration of samples on feature space) affects the gradients of each class in long-tailed learning, and propose a new method that can mitigate inadequate gradients between classes, which can help model learning easier. We name this framework as CoGloAT. Finally, we go on to introduce a new prototype learning framework namely ProCo based on coreset selection, which creates a global prototype for each cluster while keeping the computation cost within a reasonable time and show that combining CoGloAT with ProCo can further enhance the model learning ability on long-tailed data. Our code is available at CoGloAT_ProCo.

Original languageEnglish (US)
JournalTransactions on Machine Learning Research
Volume2023
StatePublished - Sep 1 2023
Externally publishedYes

All Science Journal Classification (ASJC) codes

  • Computer Vision and Pattern Recognition
  • Artificial Intelligence

Fingerprint

Dive into the research topics of 'Global Contrastive Learning for Long-Tailed Classification'. Together they form a unique fingerprint.

Cite this