arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2212.12977cs.CV
收藏

SMMix:用于视觉Transformer的自激励图像混合

SMMix: Self-Motivated Image Mixing for Vision Transformers

Xiamen University(厦门大学);Tencent Youtu Lab(腾讯优图实验室)

Mengzhao Chen, Mingbao Lin, ZhiHang Lin, Yuxin Zhang, Fei Chao, Rongrong Ji

摘要:

CutMix是一种重要的增强策略,它决定了视觉Transformer(ViTs)的性能和泛化能力。然而,混合图像和相应的标签之间的不一致性损害了其功效。现有的CutMix变体通过生成更一致的混合图像或更精确的混合标签来解决这个问题,但不可避免地会引入大量的训练开销或需要额外的信息,从而破坏易用性。为此,我们提出了一种新颖有效的自激励图像混合方法(SMMix),该方法通过训练模型本身来激励图像和标签增强。具体来说,我们提出了一个最大-最小的注意区域混合方法,丰富了混合图像中的注意力集中的对象。然后,我们引入了一种细粒度的标签分配技术,该技术通过细粒度的监督来共同训练混合图像的输出令牌。此外,我们设计了一种新的特征一致性约束,以对齐混合和未混合图像的特征。由于自我激励范式的微妙设计,我们的SMMix在其较小的训练开销和比其他CutMix变体更好的性能方面非常重要。特别是,SMMix在ImageNet-1 k上将DeiT-T/S/B、CaiT-XXS-24/36和PVT-T/S/M/L的准确性提高了+1%以上。我们的方法的泛化能力也证明了下游任务和分布外的数据集。我们的项目可以在https://github.com/ChenMnZ/SMMix匿名访问。

英文摘要:

CutMix is a vital augmentation strategy that determines the performance and generalization ability of vision transformers (ViTs). However, the inconsistency between the mixed images and the corresponding labels harms its efficacy. Existing CutMix variants tackle this problem by generating more consistent mixed images or more precise mixed labels, but inevitably introduce heavy training overhead or require extra information, undermining ease of use. To this end, we propose an novel and effective Self-Motivated image Mixing method (SMMix), which motivates both image and label enhancement by the model under training itself. Specifically, we propose a max-min attention region mixing approach that enriches the attention-focused objects in the mixed images. Then, we introduce a fine-grained label assignment technique that co-trains the output tokens of mixed images with fine-grained supervision. Moreover, we devise a novel feature consistency constraint to align features from mixed and unmixed images. Due to the subtle designs of the self-motivated paradigm, our SMMix is significant in its smaller training overhead and better performance than other CutMix variants. In particular, SMMix improves the accuracy of DeiT-T/S/B, CaiT-XXS-24/36, and PVT-T/S/M/L by more than +1% on ImageNet-1k. The generalization capability of our method is also demonstrated on downstream tasks and out-of-distribution datasets. Our project is anonymously available at https://github.com/ChenMnZ/SMMix.

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

↑