Generalized Parametric Contrastive Learning

被引:15
作者
Cui, Jiequan [1 ]
Zhong, Zhisheng [1 ]
Tian, Zhuotao [1 ]
Liu, Shu [2 ]
Yu, Bei [1 ]
Jia, Jiaya [1 ,2 ]
机构
[1] Chinese Univ Hong Kong, Dept Comp Sci & Engn, ShaTin, Hong Kong, Peoples R China
[2] SmartMore, Shenzhen 154100, Peoples R China
关键词
Representation learning; contrastive learning; OOD robustness; long-tailed recognition; semantic segmentation;
D O I
10.1109/TPAMI.2023.3278694
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
收藏
页码:7463 / 7474
页数:12
相关论文
共 70 条
  • [1] A systematic study of the class imbalance problem in convolutional neural networks
    Buda, Mateusz
    Maki, Atsuto
    Mazurowski, Maciej A.
    [J]. NEURAL NETWORKS, 2018, 106 : 249 - 259
  • [2] Byrd J, 2019, PR MACH LEARN RES, V97
  • [3] COCO-Stuff: Thing and Stuff Classes in Context
    Caesar, Holger
    Uijlings, Jasper
    Ferrari, Vittorio
    [J]. 2018 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2018, : 1209 - 1218
  • [4] Cai H., 2020, INT C LEARN REPR
  • [5] Cao KD, 2019, ADV NEUR IN, V32
  • [6] Caron M, 2020, ADV NEUR IN, V33
  • [7] SMOTE: Synthetic minority over-sampling technique
    Chawla, Nitesh V.
    Bowyer, Kevin W.
    Hall, Lawrence O.
    Kegelmeyer, W. Philip
    [J]. 2002, American Association for Artificial Intelligence (16)
  • [8] Chen T, 2020, PR MACH LEARN RES, V119
  • [9] Chen XL, 2020, Arxiv, DOI [arXiv:2003.04297, 10.48550/arXiv.2003.04297]
  • [10] Exploring Simple Siamese Representation Learning
    Chen, Xinlei
    He, Kaiming
    [J]. 2021 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR 2021, 2021, : 15745 - 15753