Skip to main navigation Skip to search Skip to main content

Generalized Parametric Contrastive Learning

  • Jiequan Cui*
  • , Zhisheng Zhong
  • , Zhuotao Tian
  • , Shu Liu
  • , Bei Yu
  • , Jiaya Jia
  • *Corresponding author for this work
  • Chinese University of Hong Kong
  • SmartMore

Research output: Contribution to journalArticlepeer-review

Abstract

In this paper, we propose the Generalized Parametric Contrastive Learning (GPaCo/PaCo) which works well on both imbalanced and balanced data. Based on theoretical analysis, we observe supervised contrastive loss tends to bias on high-frequency classes and thus increases the difficulty of imbalanced learning. We introduce a set of parametric class-wise learnable centers to rebalance from an optimization perspective. Further, we analyze our GPaCo/PaCo loss under a balanced setting. Our analysis demonstrates that GPaCo/PaCo can adaptively enhance the intensity of pushing samples of the same class close as more samples are pulled together with their corresponding centers and benefit hard example learning. Experiments on long-tailed benchmarks manifest the new state-of-the-art for long-tailed recognition. On full ImageNet, models from CNNs to vision transformers trained with GPaCo loss show better generalization performance and stronger robustness compared with MAE models. Moreover, GPaCo can be applied to semantic segmentation task and obvious improvements are observed on 4 most popular benchmarks.

Original languageEnglish
Pages (from-to)7463-7474
Number of pages12
JournalIEEE Transactions on Pattern Analysis and Machine Intelligence
Volume46
Issue number12
DOIs
StatePublished - 2024
Externally publishedYes

Keywords

  • OOD robustness
  • Representation learning
  • contrastive learning
  • long-tailed recognition
  • semantic segmentation

Fingerprint

Dive into the research topics of 'Generalized Parametric Contrastive Learning'. Together they form a unique fingerprint.

Cite this