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

用于对比聚类的视觉Transformer

Vision Transformer for Contrastive Clustering

South China Agricultural University(华南农业大学);Sun Yat-sen University(中山大学)

Hua-Bao Ling, Bowen Zhu, Dong Huang, Ding-Hua Chen, Chang-Dong Wang, Jian-Huang Lai

摘要:

视觉Transformer(ViT)已显示出其优于卷积神经网络(CNN)的优势,其能够捕获全局长程依赖性以进行视觉表示学习。除了ViT之外,对比学习也是近年来研究的热点。虽然以前的对比学习工作大多基于CNN,但最近的一些研究试图将ViT和对比学习结合起来,以增强自监督学习。尽管取得了相当大的进展,但这些ViT和对比学习的组合大多集中在实例级对比度上,这往往忽视了全局对比度,并且也缺乏直接学习聚类结果的能力(例如,图像)。鉴于此,本文提出了一种新的深度聚类方法,称为对比聚类的视觉Transformer(VTCC),据我们所知,它首次将Transformer和对比学习结合起来用于图像聚类任务。具体来说,在每个图像上执行两个随机增强,我们利用具有两个权重共享视图的ViT编码器作为骨干。为了弥补ViT的潜在不稳定性,我们引入了一个卷积干,将每个增强的样本分割成一个补丁序列,它使用多个堆叠的小卷积,而不是补丁投影层中的大卷积。通过经由主干学习补丁序列的特征表示,进一步利用实例投影器和聚类投影器来分别执行实例级对比学习和全局聚类结构学习。在八个图像数据集上的实验证明了我们的VTCC方法的稳定性(从头开始训练期间)和优越性(聚类性能)。

英文摘要:

Vision Transformer (ViT) has shown its advantages over the convolutional neural network (CNN) with its ability to capture global long-range dependencies for visual representation learning. Besides ViT, contrastive learning is another popular research topic recently. While previous contrastive learning works are mostly based on CNNs, some recent studies have attempted to combine ViT and contrastive learning for enhanced self-supervised learning. Despite the considerable progress, these combinations of ViT and contrastive learning mostly focus on the instance-level contrastiveness, which often overlook the global contrastiveness and also lack the ability to directly learn the clustering result (e.g., for images). In view of this, this paper presents a novel deep clustering approach termed Vision Transformer for Contrastive Clustering (VTCC), which for the first time, to our knowledge, unifies the Transformer and the contrastive learning for the image clustering task. Specifically, with two random augmentations performed on each image, we utilize a ViT encoder with two weight-sharing views as the backbone. To remedy the potential instability of the ViT, we incorporate a convolutional stem to split each augmented sample into a sequence of patches, which uses multiple stacked small convolutions instead of a big convolution in the patch projection layer. By learning the feature representations for the sequences of patches via the backbone, an instance projector and a cluster projector are further utilized to perform the instance-level contrastive learning and the global clustering structure learning, respectively. Experiments on eight image datasets demonstrate the stability (during the training-from-scratch) and the superiority (in clustering performance) of our VTCC approach over the state-of-the-art.

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

↑