Skip to main content
QUICK REVIEW

[论文解读] Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss

Jeff Z. HaoChen, Colin Wei|arXiv (Cornell University)|Jun 8, 2021
Domain Adaptation and Few-Shot LearningComputer Science参考文献 56被引用 36
一句话总结

本文引入基于增强图的谱对比损失,用以分析自监督学习,在不假设条件独立性的前提下,证明下游线性探针的保证并展示具有竞争力的经验性能。

ABSTRACT

Recent works in self-supervised learning have advanced the state-of-the-art by relying on the contrastive learning paradigm, which learns representations by pushing positive pairs, or similar examples from the same class, closer together while keeping negative pairs far apart. Despite the empirical successes, theoretical foundations are limited -- prior analyses assume conditional independence of the positive pairs given the same class label, but recent empirical applications use heavily correlated positive pairs (i.e., data augmentations of the same image). Our work analyzes contrastive learning without assuming conditional independence of positive pairs using a novel concept of the augmentation graph on data. Edges in this graph connect augmentations of the same data, and ground-truth classes naturally form connected sub-graphs. We propose a loss that performs spectral decomposition on the population augmentation graph and can be succinctly written as a contrastive learning objective on neural net representations. Minimizing this objective leads to features with provable accuracy guarantees under linear probe evaluation. By standard generalization bounds, these accuracy guarantees also hold when minimizing the training contrastive loss. Empirically, the features learned by our objective can match or outperform several strong baselines on benchmark vision datasets. In all, this work provides the first provable analysis for contrastive learning where guarantees for linear probe evaluation can apply to realistic empirical settings.

研究动机与目标

  • 激发理解为何当正样本对高度相关(同一图像的增强)时,自监督对比学习仍然有效。
  • 引入一个总体增强图和谱分解框架,以定义一个实用的目标。
  • 在现实的连通性假设下,证明从未标注数据学习的表示具有下游线性分类保证。
  • 证明谱对比损失可以用神经网络优化,并从总体泛化到有限样本情形。

提出的方法

  • 在所有增强数据上定义总体增强图,边权重为来自自然样本的增强的边际生成概率。
  • 构造一个与增强图的谱分解相对应的总体目标,从而得到一个总体谱对比损失。
  • 将特征向量为基础的目标改写为一个涉及神经表示的可处理损失,证明在常数近似下等价于对比类目标。
  • 证明在连通性假设下(无过度分离的簇),通过最小化总体谱对比损失学习的表示能产生较小的线性探针误差。
  • 论证通过神经网络进行的经验优化能够通过标准泛化界扩展总体保证。

实验结果

研究问题

  • RQ1是否可以在不假设正样本对之间的条件独立性的情况下推导出对比学习的保证?
  • RQ2增强图结构如何影响学习到的表示及其在下游任务中的线性可分性?
  • RQ3在无标记样本数量为多项式级别时,谱对比目标在何种条件下能保证较小的下游误差?
  • RQ4如何在有限数据的实际神经网络中实现和研究总体谱对比损失?

主要发现

  • 增强图视角导出一种谱对比损失,其极小化解对应有意义的基于特征向量的嵌入。
  • 在断开的子图数量有限的条件下,对学习到的表示进行线性分类可以达到较小误差。
  • 总体损失通过标准泛化界保证转化为有限样本训练,未标记数据的需求与模型复杂度成多项式关系。
  • 在基准视觉数据集上用线性探针评估时,所提谱对比损失在经验上达到或超过强基线。
  • 该方法避免依赖停止梯度等技巧,且在与现有对比方法的竞争中保持优势。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。