[Paper Review] Shape-Texture Debiased Neural Network Training
This paper proposes a shape-texture debiased neural network training method that improves CNN generalization and robustness by augmenting training data with images containing conflicting shape and texture cues (e.g., chimpanzee shape with lemon texture) while providing joint supervision from both cues. The method achieves state-of-the-art performance on ImageNet (+1.2% top-1 accuracy), ImageNet-A (+5.2%), ImageNet-C (+8.3%), Stylized-ImageNet (+11.1%), and FGSM adversarial defense (+14.4%) with ResNet-152, and is compatible with Mixup and CutMix.
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.
Motivation & Objective
- To address the inherent bias in CNNs toward either shape or texture during representation learning, which degrades performance on standard and robustness benchmarks.
- To investigate whether combining shape and texture representations can improve generalization and adversarial robustness.
- To develop a data augmentation strategy that explicitly breaks shape-texture correlation while preserving dual supervisory signals.
- To demonstrate the method's compatibility with existing advanced data augmentation techniques like Mixup and CutMix.
- To extend the debiasing framework to semantic segmentation, showing broader applicability beyond image classification.
Proposed method
- Generate cue conflict images by applying style transfer between two randomly selected images, using AdaIN to transfer texture from one image to the shape of another.
- Construct soft labels for each cue conflict image by combining the ground-truth labels of both source images, ensuring supervision from both shape and texture.
- Train the model using a joint loss that incorporates both shape and texture supervisions, preventing over-reliance on a single cue.
- Use a stylization coefficient (α=0.2) and shape-texture coefficient (γ=0.95) to preserve object boundaries during style transfer.
- Apply the method to both image classification and semantic segmentation tasks, adapting data generation and label composition for segmentation-specific needs.
- Integrate the method with existing data augmentation strategies such as CutMix and Mixup, demonstrating orthogonal gains.
Experimental results
Research questions
- RQ1Can training CNNs on images with conflicting shape and texture cues improve generalization on standard and corrupted image benchmarks?
- RQ2Does joint supervision from both shape and texture during training effectively reduce model bias toward one cue?
- RQ3How does the proposed method compare to vanilla training and other data augmentation techniques in terms of robustness against adversarial attacks?
- RQ4Can the debiasing framework be extended to dense prediction tasks like semantic segmentation?
- RQ5Is the proposed method compatible with and complementary to existing advanced data augmentation strategies like CutMix and Mixup?
Key findings
- ResNet-152 trained with the proposed method achieves 79.8% top-1 accuracy on ImageNet, a +1.2% absolute improvement over the vanilla model.
- The debiased model improves robustness on ImageNet-A by +5.2%, ImageNet-C by +8.3%, and Stylized-ImageNet by +11.1% compared to the baseline.
- On adversarial robustness, the method boosts performance against FGSM attacks on ImageNet by +14.4% in clean accuracy.
- When combined with CutMix, the method further improves CutMix-ResNeXt-101 to 81.2% top-1 accuracy on ImageNet, a +0.7% gain over the baseline.
- On semantic segmentation, the method improves DeepLabv3-ResNet-101 to 77.6% mIOU, outperforming the vanilla model by 1.1% and a 2× training schedule baseline by 0.9%.
- The method remains effective even when compared to longer training schedules, indicating that the improvement stems from better representation learning rather than increased capacity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.