Probabilistic Contrastive Learning for Long-Tailed Visual Recognition

被引:2
|
作者
Du, Chaoqun [1 ]
Wang, Yulin [1 ]
Song, Shiji [1 ]
Huang, Gao [1 ]
机构
[1] Tsinghua Univ, Dept Automat, BNRist, Beijing 100084, Peoples R China
基金
中国国家自然科学基金; 国家重点研发计划;
关键词
Contrastive learning; long-tailed visual recognition; representation learning; semi-supervised learning; IMAGE;
D O I
10.1109/TPAMI.2024.3369102
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Long-tailed distributions frequently emerge in real-world data, where a large number of minority categories contain a limited number of samples. Such imbalance issue considerably impairs the performance of standard supervised learning algorithms, which are mainly designed for balanced training sets. Recent investigations have revealed that supervised contrastive learning exhibits promising potential in alleviating the data imbalance. However, the performance of supervised contrastive learning is plagued by an inherent challenge: it necessitates sufficiently large batches of training data to construct contrastive pairs that cover all categories, yet this requirement is difficult to meet in the context of class-imbalanced data. To overcome this obstacle, we propose a novel probabilistic contrastive (ProCo) learning algorithm that estimates the data distribution of the samples from each class in the feature space, and samples contrastive pairs accordingly. In fact, estimating the distributions of all classes using features in a small batch, particularly for imbalanced data, is not feasible. Our key idea is to introduce a reasonable and simple assumption that the normalized features in contrastive learning follow a mixture of von Mises-Fisher (vMF) distributions on unit space, which brings two-fold benefits. First, the distribution parameters can be estimated using only the first sample moment, which can be efficiently computed in an online manner across different batches. Second, based on the estimated distribution, the vMF distribution allows us to sample an infinite number of contrastive pairs and derive a closed form of the expected contrastive loss for efficient optimization. Other than long-tailed problems, ProCo can be directly applied to semi-supervised learning by generating pseudo-labels for unlabeled data, which can subsequently be utilized to estimate the distribution of the samples inversely. Theoretically, we analyze the error bound of ProCo. Empirically, extensive experimental results on supervised/semi-supervised visual recognition and object detection tasks demonstrate that ProCo consistently outperforms existing methods across various datasets.
引用
收藏
页码:5890 / 5904
页数:15
相关论文
共 50 条
  • [41] Exploring Contrastive Learning for Long-Tailed Multi-label Text Classification
    Audibert, Alexandre
    Gauffre, Aurelien
    Amini, Massih-Reza
    MACHINE LEARNING AND KNOWLEDGE DISCOVERY IN DATABASES: RESEARCH TRACK, PT VII, ECML PKDD 2024, 2024, 14947 : 245 - 261
  • [42] Deep Balanced Learning for Long-tailed Facial Expressions Recognition
    Gao, Hongxiang
    An, Shan
    Li, Jianqing
    Liu, Chengyu
    2021 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION (ICRA 2021), 2021, : 11147 - 11153
  • [43] Class-Difficulty Based Methods for Long-Tailed Visual Recognition
    Saptarshi Sinha
    Hiroki Ohashi
    Katsuyuki Nakamura
    International Journal of Computer Vision, 2022, 130 : 2517 - 2531
  • [44] Long-tailed Visual Recognition via Gaussian Clouded Logit Adjustment
    Li, Mengke
    Cheung, Yiu-Ming
    Lu, Yang
    2022 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2022), 2022, : 6919 - 6928
  • [45] Multiple Contrastive Experts for long-tailed image classification
    Wang Y.
    Sun K.
    Guo C.
    Zhong S.
    Liu H.
    Ma Y.
    Expert Systems with Applications, 2024, 255
  • [46] Long-tailed visual recognition with deep models: A methodological survey and evaluation
    Fu, Yu
    Xiang, Liuyu
    Zahid, Yumna
    Ding, Guiguang
    Mei, Tao
    Shen, Qiang
    Han, Jungong
    NEUROCOMPUTING, 2022, 509 : 290 - 309
  • [47] Class-Difficulty Based Methods for Long-Tailed Visual Recognition
    Sinha, Saptarshi
    Ohashi, Hiroki
    Nakamura, Katsuyuki
    INTERNATIONAL JOURNAL OF COMPUTER VISION, 2022, 130 (10) : 2517 - 2531
  • [48] Feature Fusion from Head to Tail for Long-Tailed Visual Recognition
    Li, Mengke
    Hu, Zhikai
    Lu, Yang
    Lan, Weichao
    Cheung, Yiu-ming
    Huang, Hui
    THIRTY-EIGHTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 38 NO 12, 2024, : 13581 - 13589
  • [49] Multimodal Framework for Long-Tailed Recognition
    Chen, Jian
    Zhao, Jianyin
    Gu, Jiaojiao
    Qin, Yufeng
    Ji, Hong
    Applied Sciences (Switzerland), 2024, 14 (22):
  • [50] Improving Calibration for Long-Tailed Recognition
    Zhong, Zhisheng
    Cui, Jiequan
    Liu, Shu
    Jia, Jiaya
    2021 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR 2021, 2021, : 16484 - 16493