Barlow Twins: 通过冗余减少实现自监督学习

Barlow Twins: Self-Supervised Learning via Redundancy Reduction

杨立昆 Yann LeCun · Meta AI · 2021-03-04 · arXiv:2103.03230 ↗ · 被引 3066

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

自监督学习(SSL)正在迅速缩小与大型计算机视觉基准测试中监督方法的差距。一种成功的 SSL 方法是学习对输入样本的扭曲具有不变性的嵌入。然而,这种方法的一个反复出现的问题是存在平凡的常数解。大多数当前方法通过仔细的实现细节来避免此类解。我们提出了一种目标函数,通过测量两个相同网络(输入样本的扭曲版本)输出的互相关矩阵,并使其尽可能接近单位矩阵,从而自然地避免坍塌。这使得样本扭曲版本的嵌入向量相似,同时最小化这些向量分量之间的冗余。该方法被称为 Barlow Twins,源于神经科学家 H. Barlow 的冗余减少原理应用于一对相同的网络。Barlow Twins 不需要大批量或网络孪生之间的不对称性,如预测网络、梯度停止或权重更新的移动平均。有趣的是,它受益于非常高维的输出向量。Barlow Twins 在低数据场景下的半监督分类中优于 ImageNet 上的先前方法,并且在具有线性分类头的 ImageNet 分类以及分类和对象检测的迁移任务中与当前最先进水平相当。

Self-supervised learning (SSL) is rapidly closing the gap with supervised methods on large computer vision benchmarks. A successful approach to SSL is to learn embeddings which are invariant to distortions of the input sample. However, a recurring issue with this approach is the existence of trivial constant solutions. Most current methods avoid such solutions by careful implementation details. We propose an objective function that naturally avoids collapse by measuring the cross-correlation matrix between the outputs of two identical networks fed with distorted versions of a sample, and making it as close to the identity matrix as possible. This causes the embedding vectors of distorted versions of a sample to be similar, while minimizing the redundancy between the components of these vectors. The method is called Barlow Twins, owing to neuroscientist H. Barlow's redundancy-reduction principle applied to a pair of identical networks. Barlow Twins does not require large batches nor asymmetry between the network twins such as a predictor network, gradient stopping, or a moving average on the weight updates. Intriguingly it benefits from very high-dimensional output vectors. Barlow Twins outperforms previous methods on ImageNet for semi-supervised classification in the low-data regime, and is on par with current state of the art for ImageNet classification with a linear classifier head, and for transfer tasks of classification and object detection.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 12)

阅读逐段中英对照全文 →