Skip to main content
QUICK REVIEW

[论文解读] InfoNCE Loss Provably Learns Cluster-Preserving Representations

Advait Parulekar, Liam Collins|arXiv (Cornell University)|Feb 15, 2023
AI in cancer detectionComputer Science被引用 9
一句话总结

本论文证明 InfoNCE 在有限负样本下,在簇间交缠的增强下学习保持簇结构的表征,并给出带简单头的下游保证。它还分析可实现和无偏设置。

ABSTRACT

The goal of contrasting learning is to learn a representation that preserves underlying clusters by keeping samples with similar content, e.g. the ``dogness'' of a dog, close to each other in the space generated by the representation. A common and successful approach for tackling this unsupervised learning problem is minimizing the InfoNCE loss associated with the training samples, where each sample is associated with their augmentations (positive samples such as rotation, crop) and a batch of negative samples (unrelated samples). To the best of our knowledge, it was unanswered if the representation learned by minimizing the InfoNCE loss preserves the underlying data clusters, as it only promotes learning a representation that is faithful to augmentations, i.e., an image and its augmentations have the same representation. Our main result is to show that the representation learned by InfoNCE with a finite number of negative samples is also consistent with respect to clusters in the data, under the condition that the augmentation sets within clusters may be non-overlapping but are close and intertwined, relative to the complexity of the learning function class.

研究动机与目标

  • 通过数据增强来动机并形式化对比学习的目标,使其保持数据簇。
  • 证明在有限负样本下,InfoNCE 在有界表达能力的函数类下产生保持簇结构的表征。
  • 在对保持簇结构的表征上使用简单的头部时,提供下游性能保证。
  • 对比可实现与无偏设置,并表征何时 InfoNCE 能改善聚类结构。

提出的方法

  • 将图像建模为内容和风格变量及其增强集合。
  • 定义有界表达能力的函数类 F,及表示 g 属于 G=F^d,在离散化超立方体上。
  • 将 InfoNCE 损失表述为对齐(正样本项)和均匀性(负样本项)。
  • 引入基于马尔科夫链的模糊化论证,表明在干净分类器上,非均匀表征不能使 InfoNCE 最小化。
  • 在可实现性下,InfoNCE 的极小化解是保持簇结构且均匀的(定理 4.5)。
  • 通过将 g 与两层 ReLU 头组合来分析下游保证(定理 4.6),并讨论无约束表示类的局限性(定理 4.7)。
  • 推广到带 delta-正则性的无偏设置,表明接近均匀的解被迫趋向簇保持结构(定理 5.4)。

实验结果

研究问题

  • RQ1InfoNCE 使用有限数量的负样本是否会产生将每个内容簇映射到不同顶点的簇保持表征?
  • RQ2在有界函数类和交织增强下,InfoNCE 能否最小化为一个均匀、簇保持的表征并对简单头部保证零下游误差?
  • RQ3使用两层 ReLU 头在学习表征时的下游含义是什么?
  • RQ4无偏设置如何影响 InfoNCE 偏好簇保持解的倾向?
  • RQ5在允许表示类无约束时有哪些局限?

主要发现

  • 在有界、簇感知的表示中的 InfoNCE 极小值是均匀且簇保持的(可实现 setting)。
  • 簇保持且均匀的表征使得任何簇保持的二元任务在广义的两层 ReLU 头下实现零下游误差(在下游任务下零训练误差)。
  • 在有限负样本下,InfoNCE 损失通过马尔科夫链模糊化论证促进簇保持结构。
  • 在无偏设置中,接近均匀、但非簇保持的表示不能最小化损失;Δ正则性确保簇保持解的支配(定理 5.4)。
  • 有一个反例指出允许不受约束的表示类可能导致较差的下游保证,凸显有界表达能力的必要性(定理 4.7)。

阅读本论文

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

在 Nubint 中阅读本论文

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