LGCOAMix: Local and Global Context-and-Object-part-Aware Superpixel-based Data Augmentation for Deep Visual Recognition
The source pytorch codes and some trained models are available here.
we propose LGCOAMix, an efficient local and global context-and-object-part-aware superpixel-based grid mixing data augmentation with cut-and-paste strategy and a training framework for Deep Visual Recognition. The motivation is to improve deep encoder learning through image data augmentation.
(1) We discuss the potential shortcomings of existing cutmix-based data augmentation methods for image classification.
(2) We propose an efficient object part-aware superpixel-based grid mixing method for data augmentation. Unlike existing cutmix-based data augmentation methods, we propose for the first time a superpixel-attention-based semantic label mixing strategy that efficiently requires only a single forward propagation, does not require pre-trained modules, and performs label mixing based on attention without destroying the augmentation diversification.
(3) We propose a novel framework for training a strong classifier that is context and object oriented as well as efficient. To the best of our knowledge, this is the first instance of learning local features from discriminative superpixel regions and cross-image local superpixel contrasts.
(4) We present extensive evaluations of LGCOAMix on several benchmarks and backbone encoders. These evaluations show that LGCOAMix outperforms existing cutmix-based methods for data augmentation.
LGCOAMix + DeiT-B/16 + CUB200-2011 + Acc. 82.20%(Link:https://pan.baidu.com/s/1NZ314mXwKnIyzRJMHSxV3Q Extracted code:fkg3)
LGCOAMix + ResNet50 + Stanford Dogs + Acc. 70.95%(Link:https://pan.baidu.com/s/1vLXVaSefIKtE-RFZG-vceg Extracted code:o5dr)
LGCOAMix + ResNet50 + CIFAR100 + Acc. 83.92%(Link:https://pan.baidu.com/s/1B5cxhvBcJgiH93Lr5oroRw Extracted code:qaz1)
Method | Dataset | ResNet18 | ResNeXt50 |
---|---|---|---|
OcCaMix | TinyImageNet | 67.35% | 72.23% |
OcCaMix | CUB200-2011 | 78.40% | 83.69% |
LGCOAMix | TinyImageNet | 68.27% | 73.08% |
LGCOAMix | CUB200-2011 | 78.87% | 84.37% |