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

TokenMixup:一种有效的Transformers注意力引导令牌级数据增强

TokenMixup: Efficient Attention-guided Token-level Data Augmentation for Transformers

Korea University(高丽大学)

Hyeong Kyu Choi, Joonmyung Choi, Hyunwoo J. Kim

摘要:

混合是图像分类中常用的数据增强技术。混色方法的最新进展主要集中在基于显著性的混色。然而,许多显著性检测器需要密集的计算,并且对于参数密集的Transformer模型尤其繁重。为此,我们提出TokenMixup,一个有效的注意力引导的令牌级数据增强方法,旨在最大限度地提高显着性的混合令牌集。与基于梯度的方法相比,TokenMixup提供了15倍更快的显著性感知数据增强。此外,我们引入了TokenMixup的一个变体,它在单个实例中混合令牌,从而实现多尺度特征增强。实验表明,我们的方法显着提高了基线模型在CIFAR和ImageNet-1 K上的性能,同时比以前的方法更有效。我们还在CIFAR-100上达到了最先进的性能,这是从零开始的Transformer型号。代码可在https://github.com/mlvlab/TokenMixup上获得。

英文摘要:

Mixup is a commonly adopted data augmentation technique for image classification. Recent advances in mixup methods primarily focus on mixing based on saliency. However, many saliency detectors require intense computation and are especially burdensome for parameter-heavy transformer models. To this end, we propose TokenMixup, an efficient attention-guided token-level data augmentation method that aims to maximize the saliency of a mixed set of tokens. TokenMixup provides x15 faster saliency-aware data augmentation compared to gradient-based methods. Moreover, we introduce a variant of TokenMixup which mixes tokens within a single instance, thereby enabling multi-scale feature augmentation. Experiments show that our methods significantly improve the baseline models' performance on CIFAR and ImageNet-1K, while being more efficient than previous methods. We also reach state-of-the-art performance on CIFAR-100 among from-scratch transformer models. Code is available at https://github.com/mlvlab/TokenMixup.

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

↑