arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.06151cs.CV
收藏

面向长尾识别的解耦对比学习

Decoupled Contrastive Learning for Long-Tailed Recognition

Peking University(北京大学)

Shiyu Xuan, Shiliang Zhang

AI总结:

针对监督对比损失在长尾识别中存在的类内优化偏差、忽略负样本语义的问题,提出解耦对比学习方法,结合基于图像块的自蒸馏迁移头部类别知识,在ImageNet-LT等基准上取得优于现有工作的性能。

摘要:

监督对比损失(Supervised Contrastive Loss, SCL)在视觉表征学习中应用广泛。针对一张锚点图像,SCL会拉近两类正样本(即该图像的增强版本和同类别其他图像)的距离,同时推远负样本,以此优化学习到的嵌入特征。在长尾识别场景下,各类别样本数量不均衡,此时对两类正样本同等对待会导致类内距离的优化存在偏差。此外,SCL忽略的负样本间的相似关系也蕴含着有意义的语义线索。为提升长尾识别性能,本文通过解耦训练目标解决了SCL的这两个问题。具体而言,该方法解耦了SCL中的两类正样本,针对不同目标优化它们的关系,以缓解数据集不均衡带来的影响。我们进一步提出了基于图像块的自蒸馏方法,将知识从头部类别迁移到尾部类别,缓解尾部类别表征不足的问题。该方法利用基于图像块的特征挖掘不同实例间的共享视觉模式,并通过自蒸馏流程迁移这类知识。在多个长尾分类基准上的实验证明了所提方法的优越性。例如,该方法在ImageNet-LT数据集上取得了57.7%的top-1准确率;结合基于集成的方法后,性能可进一步提升至59.7%,显著优于众多近期研究成果。代码可在https://github.com/SY-Xuan/DSCL获取。

英文摘要:

Supervised Contrastive Loss (SCL) is popular in visual representation learning. Given an anchor image, SCL pulls two types of positive samples, i.e., its augmentation and other images from the same class together, while pushes negative images apart to optimize the learned embedding. In the scenario of long-tailed recognition, where the number of samples in each class is imbalanced, treating two types of positive samples equally leads to the biased optimization for intra-category distance. In addition, similarity relationship among negative samples, that are ignored by SCL, also presents meaningful semantic cues. To improve the performance on long-tailed recognition, this paper addresses those two issues of SCL by decoupling the training objective. Specifically, it decouples two types of positives in SCL and optimizes their relations toward different objectives to alleviate the influence of the imbalanced dataset. We further propose a patch-based self distillation to transfer knowledge from head to tail classes to relieve the under-representation of tail classes. It uses patch-based features to mine shared visual patterns among different instances and leverages a self distillation procedure to transfer such knowledge. Experiments on different long-tailed classification benchmarks demonstrate the superiority of our method. For instance, it achieves the 57.7% top-1 accuracy on the ImageNet-LT dataset. Combined with the ensemble-based method, the performance can be further boosted to 59.7%, which substantially outperforms many recent works. The code is available at https://github.com/SY-Xuan/DSCL.

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

↑