TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Parametric Contrastive Learning

Parametric Contrastive Learning

Jiequan Cui, Zhisheng Zhong, Shu Liu, Bei Yu, Jiaya Jia

2021-07-26ICCV 2021 10Image ClassificationLong-tail LearningContrastive Learning
PaperPDFCodeCodeCodeCode(official)Code(official)

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.

Results

TaskDatasetMetricValueModel
Image ClassificationPlaces-LTTop-1 Accuracy41.2PaCo
Image ClassificationCIFAR-10-LT (ρ=10)Error Rate9.14PCL
Image ClassificationImageNet-LTTop-1 Accuracy60PaCo(ResNeXt101-32x4d)
Image ClassificationImageNet-LTTop-1 Accuracy58.2PaCo(ResNeXt-50)
Image ClassificationCIFAR-100-LT (ρ=100)Error Rate49.1PCL
Few-Shot Image ClassificationPlaces-LTTop-1 Accuracy41.2PaCo
Few-Shot Image ClassificationCIFAR-10-LT (ρ=10)Error Rate9.14PCL
Few-Shot Image ClassificationImageNet-LTTop-1 Accuracy60PaCo(ResNeXt101-32x4d)
Few-Shot Image ClassificationImageNet-LTTop-1 Accuracy58.2PaCo(ResNeXt-50)
Few-Shot Image ClassificationCIFAR-100-LT (ρ=100)Error Rate49.1PCL
Generalized Few-Shot ClassificationPlaces-LTTop-1 Accuracy41.2PaCo
Generalized Few-Shot ClassificationCIFAR-10-LT (ρ=10)Error Rate9.14PCL
Generalized Few-Shot ClassificationImageNet-LTTop-1 Accuracy60PaCo(ResNeXt101-32x4d)
Generalized Few-Shot ClassificationImageNet-LTTop-1 Accuracy58.2PaCo(ResNeXt-50)
Generalized Few-Shot ClassificationCIFAR-100-LT (ρ=100)Error Rate49.1PCL
Long-tail LearningPlaces-LTTop-1 Accuracy41.2PaCo
Long-tail LearningCIFAR-10-LT (ρ=10)Error Rate9.14PCL
Long-tail LearningImageNet-LTTop-1 Accuracy60PaCo(ResNeXt101-32x4d)
Long-tail LearningImageNet-LTTop-1 Accuracy58.2PaCo(ResNeXt-50)
Long-tail LearningCIFAR-100-LT (ρ=100)Error Rate49.1PCL
Generalized Few-Shot LearningPlaces-LTTop-1 Accuracy41.2PaCo
Generalized Few-Shot LearningCIFAR-10-LT (ρ=10)Error Rate9.14PCL
Generalized Few-Shot LearningImageNet-LTTop-1 Accuracy60PaCo(ResNeXt101-32x4d)
Generalized Few-Shot LearningImageNet-LTTop-1 Accuracy58.2PaCo(ResNeXt-50)
Generalized Few-Shot LearningCIFAR-100-LT (ρ=100)Error Rate49.1PCL

Related Papers

Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17SemCSE: Semantic Contrastive Sentence Embeddings Using LLM-Generated Summaries For Scientific Abstracts2025-07-17HapticCap: A Multimodal Dataset and Task for Understanding User Experience of Vibration Haptic Signals2025-07-17Overview of the TalentCLEF 2025: Skill and Job Title Intelligence for Human Capital Management2025-07-17