arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.07158cs.CVcs.LG
收藏

为轻量级对比模型建立更强的基线

Establishing a stronger baseline for lightweight contrastive models

Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Peng Cheng Laboratory(鹏城实验室)

Wenye Lin, Yifeng Ding, Zhixiong Cao, Hai-tao Zheng

AI总结:

本文针对轻量网络自监督对比学习性能下降问题,提出适配高效模型的训练方案和平滑 InfoNCE 损失,在无预训练教师条件下显著提升 ImageNet 线性评估性能。

摘要:

近期研究报告称,在专为高效设计的网络(如 MobileNet 和 EfficientNet)上,自监督对比学习会出现性能下降。解决该问题的常见做法是引入一个预训练的对比教师模型,并利用该教师生成的蒸馏信号训练轻量级网络。然而,当没有可用的教师模型时,预训练教师模型既耗时又耗费资源。本文旨在不使用预训练教师模型的情况下,为轻量级对比模型建立更强的基线。具体而言,我们表明高效模型的最优训练方案不同于更大模型;像以往研究那样采用与 ResNet50 相同的训练设置并不合适。此外,我们观察到对比学习中一个常见问题:正视图或负视图都可能含有噪声,并提出一种平滑版本的 InfoNCE 损失来缓解该问题。最终,我们在 ImageNet 上成功将 MobileNet-V3-Large 的线性评估结果从 36.3% 提升至 62.3%,将 EfficientNet-B0 从 42.2% 提升至 65.8%,以少 5 倍的参数量缩小了与 ResNet50 的准确率差距。我们希望本研究能够促进轻量级对比模型的使用。

英文摘要:

Recent research has reported a performance degradation in self-supervised contrastive learning for specially designed efficient networks, such as MobileNet and EfficientNet. A common practice to address this problem is to introduce a pretrained contrastive teacher model and train the lightweight networks with distillation signals generated by the teacher. However, it is time and resource consuming to pretrain a teacher model when it is not available. In this work, we aim to establish a stronger baseline for lightweight contrastive models without using a pretrained teacher model. Specifically, we show that the optimal recipe for efficient models is different from that of larger models, and using the same training settings as ResNet50, as previous research does, is inappropriate. Additionally, we observe a common issu e in contrastive learning where either the positive or negative views can be noisy, and propose a smoothed version of InfoNCE loss to alleviate this problem. As a result, we successfully improve the linear evaluation results from 36.3\% to 62.3\% for MobileNet-V3-Large and from 42.2\% to 65.8\% for EfficientNet-B0 on ImageNet, closing the accuracy gap to ResNet50 with $5\times$ fewer parameters. We hope our research will facilitate the usage of lightweight contrastive models.

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

↑