arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.02014cs.CVcs.LG
收藏

通过平衡自注意力匹配进行无监督表示学习

Unsupervised Representation Learning by Balanced Self Attention Matching

University of Haifa(海法大学)

Daniel Shalam, Simon Korman

AI总结:

本文提出 BAM 自监督方法,通过匹配不同图像增强视图的自注意力分布,并以全局平衡、熵正则化的自最优传输避免特征坍塌,在半监督与迁移学习基准上取得有竞争力的结果。

摘要:

许多用于无监督表示学习的领先自监督方法,尤其是用于嵌入图像特征的方法,都建立在实例判别任务的变体之上,而众所周知,这类任务的优化容易出现不稳定,进而可能导致特征坍塌。为规避这一问题,研究者已经设计了多种技术,包括使用带有不同对比损失的负样本对、使用外部记忆库,以及通过采用结构可能不同的独立编码网络来打破对称性。我们的方法称为 BAM,它并非直接匹配输入图像不同视图(增强)的特征,而是基于匹配它们的自注意力向量;这些向量是与一个批次中全部增强图像集合的相似度分布。我们通过最小化一项损失来获得丰富表示并避免特征坍塌,该损失将这些分布与其经过全局平衡且带熵正则化的版本相匹配,而这一版本通过简单的自最优传输计算得到。我们通过大量实验对方法进行了消融和验证,结果表明其在半监督和迁移学习基准上均具有与领先方法相竞争的性能。我们的实现和预训练模型可在 github.com/DanielShalam/BAM 获取。

英文摘要:

Many leading self-supervised methods for unsupervised representation learning, in particular those for embedding image features, are built on variants of the instance discrimination task, whose optimization is known to be prone to instabilities that can lead to feature collapse. Different techniques have been devised to circumvent this issue, including the use of negative pairs with different contrastive losses, the use of external memory banks, and breaking of symmetry by using separate encoding networks with possibly different structures. Our method, termed BAM, rather than directly matching features of different views (augmentations) of input images, is based on matching their self-attention vectors, which are the distributions of similarities to the entire set of augmented images of a batch. We obtain rich representations and avoid feature collapse by minimizing a loss that matches these distributions to their globally balanced and entropy regularized version, which is obtained through a simple self-optimal-transport computation. We ablate and verify our method through a wide set of experiments that show competitive performance with leading methods on both semi-supervised and transfer-learning benchmarks. Our implementation and pre-trained models are available at github.com/DanielShalam/BAM .

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑