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

如何增加您的ViTs?一致性损失和StyleAug,一种随机风格迁移增强

How to augment your ViTs? Consistency loss and StyleAug, a random style transfer augmentation

Carnegie Mellon University(卡内基梅隆大学);Bosch Center for Artificial Intelligence(博世人工智能中心)

Akash Umakantha, Joao D. Semedo, S. Alireza Golestaneh, Wan-Yi S. Lin

摘要:

视觉Transformer(ViT)架构最近在各种计算机视觉任务中实现了具有竞争力的性能。与卷积神经网络(CNN)相比,ViT背后的动机之一是较弱的归纳偏差。然而,这也使得ViT更难以训练。它们需要非常大的训练数据集、大量的正则化和强大的数据增强。用于训练ViT的数据增强策略在很大程度上继承自CNN训练,尽管这两种架构之间存在显著差异。在这项工作中,我们实证评估了不同的数据增强策略如何在CNN上执行(例如,ResNet)与ViT架构进行图像分类。我们引入了一种风格转移数据增强,称为StyleAug,它最适合训练ViT,而RandAugment和Augmix通常最适合训练CNN。我们还发现,除了分类损失之外,在训练ViTs时,使用同一图像的多个增强之间的一致性损失特别有用。

英文摘要:

The Vision Transformer (ViT) architecture has recently achieved competitive performance across a variety of computer vision tasks. One of the motivations behind ViTs is weaker inductive biases, when compared to convolutional neural networks (CNNs). However this also makes ViTs more difficult to train. They require very large training datasets, heavy regularization, and strong data augmentations. The data augmentation strategies used to train ViTs have largely been inherited from CNN training, despite the significant differences between the two architectures. In this work, we empirical evaluated how different data augmentation strategies performed on CNN (e.g., ResNet) versus ViT architectures for image classification. We introduced a style transfer data augmentation, termed StyleAug, which worked best for training ViTs, while RandAugment and Augmix typically worked best for training CNNs. We also found that, in addition to a classification loss, using a consistency loss between multiple augmentations of the same image was especially helpful when training ViTs.

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

↑