基于统一梯度框架的Siamese自监督学习等价性研究
Exploring the Equivalence of Siamese Self-Supervised Learning via A Unified Gradient Framework
摘要:
自监督学习已经显示出其巨大的潜力,提取强大的视觉表示没有人的注释。提出了各种工作来从不同的角度处理自监督学习:(1)对比学习方法(例如,MoCo,Simplified)利用正样本和负样本来指导训练方向;(2)非对称网络方法(例如,BYOL,SimSiam)通过引入预测器网络和停止梯度操作来去除负样本;(3)特征去相关方法(例如,Barlow Twins,VICReg)的目标是减少特征尺寸之间的冗余。这些方法在设计的损失函数中表现出很大的不同。最终的准确度数字也各不相同,不同的网络和技巧在不同的作品中使用。在这项工作中,我们证明了这些方法可以统一成相同的形式。本文不对它们的损失函数进行比较,而是通过梯度分析得到了统一的公式。此外,我们进行公平和详细的实验,以比较他们的表现。结果表明,这些方法之间的差距不大,动量编码器的使用是提高性能的关键因素。从这个统一的框架,我们提出了UniGrad,一个简单而有效的梯度形式的自监督学习。它不需要存储体或预测器网络,但仍然可以实现最先进的性能,并很容易采用其他训练策略。在线性评价和许多下游任务上的大量实验也表明了它的有效性。代码发布于https://github.com/fundamentalvision/UniGrad。
英文摘要:
Self-supervised learning has shown its great potential to extract powerful visual representations without human annotations. Various works are proposed to deal with self-supervised learning from different perspectives: (1) contrastive learning methods (e.g., MoCo, SimCLR) utilize both positive and negative samples to guide the training direction; (2) asymmetric network methods (e.g., BYOL, SimSiam) get rid of negative samples via the introduction of a predictor network and the stop-gradient operation; (3) feature decorrelation methods (e.g., Barlow Twins, VICReg) instead aim to reduce the redundancy between feature dimensions. These methods appear to be quite different in the designed loss functions from various motivations. The final accuracy numbers also vary, where different networks and tricks are utilized in different works. In this work, we demonstrate that these methods can be unified into the same form. Instead of comparing their loss functions, we derive a unified formula through gradient analysis. Furthermore, we conduct fair and detailed experiments to compare their performances. It turns out that there is little gap between these methods, and the use of momentum encoder is the key factor to boost performance. From this unified framework, we propose UniGrad, a simple but effective gradient form for self-supervised learning. It does not require a memory bank or a predictor network, but can still achieve state-of-the-art performance and easily adopt other training strategies. Extensive experiments on linear evaluation and many downstream tasks also show its effectiveness. Code is released at https://github.com/fundamentalvision/UniGrad.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。