arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.11971cs.CV
收藏

Jigsaw-ViT:在视觉Transformer中学习拼图

Jigsaw-ViT: Learning Jigsaw Puzzles in Vision Transformer

KU Leuven(鲁汶大学);Tencent AI Lab(腾讯人工智能实验室);University of Trento(特伦托大学)

Yingyi Chen, Xi Shen, Yahui Liu, Qinghua Tao, Johan A. K. Suykens

摘要:

视觉Transformer(ViT)在各种计算机视觉任务中的成功促进了这种无卷积网络的日益普及。ViT对图像块起作用的事实使其可能与拼图游戏解决问题相关,拼图游戏解决问题是一种经典的自我监督任务,旨在将混洗的序列图像块重新排序回其自然形式。尽管它很简单,但解决拼图游戏已被证明有助于使用卷积神经网络(CNN)的各种任务,例如自监督特征表示学习,领域泛化和细粒度分类。在本文中,我们探索解决拼图作为一个自我监督的辅助损失的图像分类,Jigsaw-ViT。我们展示了两个修改,可以使Jigsaw-ViT优于标准ViT:丢弃位置嵌入和屏蔽补丁随机。然而,简单的,我们发现,Jigsaw-ViT是能够提高泛化和鲁棒性的标准ViT,这通常是一个权衡。实验表明,在ImageNet上的大规模图像分类中,添加拼图分支比ViT提供了更好的泛化能力。此外,辅助任务还提高了对Animal-10 N、Food-101 N和Clothing 1 M上的噪声标签以及对抗性示例的鲁棒性。我们的实现可以在https://yingyichen-cyy.github.io/Jigsaw-ViT/上获得。

英文摘要:

The success of Vision Transformer (ViT) in various computer vision tasks has promoted the ever-increasing prevalence of this convolution-free network. The fact that ViT works on image patches makes it potentially relevant to the problem of jigsaw puzzle solving, which is a classical self-supervised task aiming at reordering shuffled sequential image patches back to their natural form. Despite its simplicity, solving jigsaw puzzle has been demonstrated to be helpful for diverse tasks using Convolutional Neural Networks (CNNs), such as self-supervised feature representation learning, domain generalization, and fine-grained classification. In this paper, we explore solving jigsaw puzzle as a self-supervised auxiliary loss in ViT for image classification, named Jigsaw-ViT. We show two modifications that can make Jigsaw-ViT superior to standard ViT: discarding positional embeddings and masking patches randomly. Yet simple, we find that Jigsaw-ViT is able to improve both in generalization and robustness over the standard ViT, which is usually rather a trade-off. Experimentally, we show that adding the jigsaw puzzle branch provides better generalization than ViT on large-scale image classification on ImageNet. Moreover, the auxiliary task also improves robustness to noisy labels on Animal-10N, Food-101N, and Clothing1M as well as adversarial examples. Our implementation is available at https://yingyichen-cyy.github.io/Jigsaw-ViT/.

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

↑