English

Parametric Contrastive Learning

Computer Vision and Pattern Recognition 2021-08-18 v2

Abstract

In this paper, we propose Parametric Contrastive Learning (PaCo) to tackle long-tailed recognition. 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 PaCo loss under a balanced setting. Our analysis demonstrates that 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 CIFAR, ImageNet, Places, and iNaturalist 2018 manifest the new state-of-the-art for long-tailed recognition. On full ImageNet, models trained with PaCo loss surpass supervised contrastive learning across various ResNet backbones, e.g., our ResNet-200 achieves 81.8% top-1 accuracy. Our code is available at https://github.com/dvlab-research/Parametric-Contrastive-Learning.

Keywords

Cite

@article{arxiv.2107.12028,
  title  = {Parametric Contrastive Learning},
  author = {Jiequan Cui and Zhisheng Zhong and Shu Liu and Bei Yu and Jiaya Jia},
  journal= {arXiv preprint arXiv:2107.12028},
  year   = {2021}
}

Comments

ICCV 2021

R2 v1 2026-06-24T04:31:03.596Z