arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.12400cs.CV
收藏

广义参数化对比学习

Generalized Parametric Contrastive Learning

The Chinese University of Hong Kong(香港中文大学);SmartMore(思谋科技)

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

AI总结:

本文提出广义参数化对比学习GPaCo/PaCo,通过参数化逐类可学习中心缓解监督对比损失对高频类别的偏向,在长尾识别、ImageNet泛化与鲁棒性及语义分割任务上取得显著提升。

摘要:

本文提出广义参数化对比学习(GPaCo/PaCo),它在不平衡和平衡数据上均表现良好。基于理论分析,我们观察到监督对比损失倾向于偏向高频类别,从而增加了不平衡学习的难度。我们从优化角度引入一组参数化的逐类可学习中心以进行再平衡。进一步,我们在平衡设置下分析了GPaCo/PaCo损失。分析表明,随着更多样本与其对应中心拉近,GPaCo/PaCo能够自适应地增强将同类样本推近的强度,并有利于困难样本学习。在长尾基准上的实验展现了长尾识别的最新最优性能。在完整ImageNet上,使用GPaCo损失训练的从CNN到视觉Transformer的模型相比MAE模型表现出更好的泛化性能和更强的鲁棒性。此外,GPaCo可应用于语义分割任务,并在4个最流行的基准上观察到明显改进。我们的代码可在https://github.com/dvlab-research/Parametric-Contrastive-Learning获取。

英文摘要:

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 that supervised contrastive loss tends to bias 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 the semantic segmentation task and obvious improvements are observed on the 4 most popular benchmarks. Our code is available at https://github.com/dvlab-research/Parametric-Contrastive-Learning.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑