[论文解读] Unsupervised Feature Learning by Cross-Level Instance-Group Discrimination
本文提出跨层级实例-组判别(CLD),一种对比自监督学习方法,通过联合优化实例级和组级判别来增强特征表示。通过将特征聚类为语义组,并在实例与其组原型之间应用对比损失,CLD 提升了下游分类准确率,在 ImageNet-100 上实现了最先进性能(使用 MoCo+CLD 达到 81.7% 的 top-1 准确率)。
Unsupervised feature learning has made great strides with contrastive learning based on instance discrimination and invariant mapping, as benchmarked on curated class-balanced datasets. However, natural data could be highly correlated and long-tail distributed. Natural between-instance similarity conflicts with the presumed instance distinction, causing unstable training and poor performance. Our idea is to discover and integrate between-instance similarity into contrastive learning, not directly by instance grouping, but by cross-level discrimination (CLD) between instances and local instance groups. While invariant mapping of each instance is imposed by attraction within its augmented views, between-instance similarity could emerge from common repulsion against instance groups. Our batch-wise and cross-view comparisons also greatly improve the positive/negative sample ratio of contrastive learning and achieve better invariant mapping. To effect both grouping and discrimination objectives, we impose them on features separately derived from a shared representation. In addition, we propose normalized projection heads and unsupervised hyper-parameter tuning for the first time. Our extensive experimentation demonstrates that CLD is a lean and powerful add-on to existing methods such as NPID, MoCo, InfoMin, and BYOL on highly correlated, long-tail, or balanced datasets. It not only achieves new state-of-the-art on self-supervision, semi-supervision, and transfer learning benchmarks, but also beats MoCo v2 and SimCLR on every reported performance attained with a much larger compute. CLD effectively brings unsupervised learning closer to natural data and real-world applications. Our code is publicly available at: https://github.com/frank-xwang/CLD-UnsupervisedLearning.
研究动机与目标
- 通过引入组级判别,解决实例级对比学习在捕捉语义结构方面的局限性。
- 通过利用粗粒度组原型来指导实例级对比学习,提升特征表示质量。
- 通过可控加权降低对温度 T 等超参数的敏感性,并平衡实例与组损失之间的关系。
- 在下游任务(如线性探测、目标检测和半监督学习)中展示改进的泛化能力。
- 在包括 ImageNet、CIFAR、STL-10 和 Kitchen-HC 在内的多种数据集上验证 CLD 的有效性,且在不同视图间表现出高度相关性。
提出的方法
- 使用余弦相似度计算聚类中心,对特征嵌入应用球面 k-means 聚类,将其划分为 k 个语义簇。
- 引入联合对比损失,结合实例级与组级判别:最小化正样本对之间的相似性,同时最大化负样本与组原型之间的分离度。
- 使用可学习的加权超参数 λ 来平衡实例级与组级对比目标的贡献。
- 对对比损失应用温度缩放 T,其中实例项与组项均使用 T_I = T_G,通过余弦退火学习率调度进行优化。
- 将 CLD 实现为插件模块,兼容现有对比框架(如 MoCo、NPID 和 BYOL),支持使用标准数据增强进行端到端训练。
- 在 MoCo 风格训练中使用记忆库存储负键,并通过消融实验研究记忆库大小对局部与全局互信息的平衡影响。
实验结果
研究问题
- RQ1联合实例-组判别是否能超越仅实例级对比学习,提升自监督表示学习性能?
- RQ2聚类方法选择(k-means 与谱聚类)如何影响组原型质量及下游性能?
- RQ3由 λ 控制的实例级与组级对比信号之间,最优平衡点为何?
- RQ4CLD 对温度 T 的敏感性如何?与标准对比学习相比,组级正则化是否降低了这种敏感性?
- RQ5CLD 是否能提升在语义相似但视觉差异显著样本上的零样本泛化能力与检索性能?
主要发现
- 在使用 MoCo+CLD 的 ImageNet-100 上,CLD 达到 81.7% 的 top-1 准确率,相比 MoCo 提升 4.1 个百分点,创下新 SOTA 记录。
- 当 λ = 0.25 时,CLD 达到最优性能;若 λ 超过 1.0,准确率最高下降 3.1%,归因于组级信号被过度惩罚。
- 在 CIFAR-100 和 ImageNet-100 上,T = 0.2 时性能最佳,且与基线方法相比,CLD 对 T 的敏感性更低。
- CLD 显著提升了检索质量:NPID+CLD 能成功检索语义相似但纹理差异显著的图像(如巧克力酱),而 NPID 因纹理偏差而失败。
- 在高视图相关性的 Kitchen-HC 数据集上,CLD 保持强性能,表明其对相关正样本具有鲁棒性。
- 在半监督学习中,使用线性头的 CLD 在 1% 和 10% ImageNet-1k 标注数据划分上均达到最先进性能,最优超参数为基础初始学习率 0.01 和头乘数 100。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。