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

Shape-Texture Debiased Neural Network Training

About

Shape and texture are two prominent and complementary cues for recognizing objects. Nonetheless, Convolutional Neural Networks are often biased towards either texture or shape, depending on the training dataset. Our ablation shows that such bias degenerates model performance. Motivated by this observation, we develop a simple algorithm for shape-texture debiased learning. To prevent models from exclusively attending on a single cue in representation learning, we augment training data with images with conflicting shape and texture information (eg, an image of chimpanzee shape but with lemon texture) and, most importantly, provide the corresponding supervisions from shape and texture simultaneously. Experiments show that our method successfully improves model performance on several image recognition benchmarks and adversarial robustness. For example, by training on ImageNet, it helps ResNet-152 achieve substantial improvements on ImageNet (+1.2%), ImageNet-A (+5.2%), ImageNet-C (+8.3%) and Stylized-ImageNet (+11.1%), and on defending against FGSM adversarial attacker on ImageNet (+14.4%). Our method also claims to be compatible with other advanced data augmentation strategies, eg, Mixup, and CutMix. The code is available here: https://github.com/LiYingwei/ShapeTextureDebiasedTraining.

Yingwei Li, Qihang Yu, Mingxing Tan, Jieru Mei, Peng Tang, Wei Shen, Alan Yuille, Cihang Xie• 2020

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet 1k (test)
Top-1 Accuracy76.9
798
Image ClassificationImageNet A
Top-1 Acc3.5
553
Image ClassificationImageNet
Top-1 Accuracy76.9
429
Image ClassificationImageNet-A (test)
Top-1 Acc3.5
154
Image ClassificationImageNet-R (test)--
105
Image ClassificationImageNet-C
mCE67.5
103
Image ClassificationStylized-ImageNet
Top-1 Accuracy17.4
89
Robustness to CorruptionsImageNet-C (test)
mCE67.5
56
Image ClassificationImageNet-C 1.0 (test)--
53
Image ClassificationImageNet-SK (test)
Top-1 Accuracy28.4
34
Showing 10 of 15 rows

Other info

Code

Follow for update