Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

SMMix: Self-Motivated Image Mixing for Vision Transformers

About

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.

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

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100
Top-1 Accuracy79.84
622
Fine-grained Image ClassificationStanford Cars (test)
Accuracy91.93
348
Image ClassificationStanford Cars (test)--
306
Fine-grained visual classificationFGVC-Aircraft (test)
Top-1 Acc78.4
287
Model CalibrationCIFAR-100
ECE7.7
53
Fine-grained Image ClassificationCUB-200 (test)
Accuracy88.35
45
Image ClassificationCIFAR100 (test)
Top-1 Accuracy (0% Corruption)79.32
32
Image ClassificationImageNet-1k (val)
Top-1 Acc (0% Occ)79.32
9
Image ClassificationImageNet 1k (test)
Accuracy0.7936
8
CalibrationImageNet-1K
ECE6.53
8
Showing 10 of 10 rows

Other info

Follow for update