Skip to main content
QUICK REVIEW

[Paper Review] Does enhanced shape bias improve neural network robustness to common corruptions?

Chaithanya Kumar Mummadi, Ranjitha Subramaniam|arXiv (Cornell University)|Apr 20, 2021
Adversarial Robustness in Machine LearningComputer Science35 references15 citations
TL;DR

This paper investigates whether enhanced shape bias improves deep neural network robustness to common image corruptions. Using edge maps and image stylization for data augmentation, the authors find that while shape bias increases, corruption robustness is primarily driven by strong data augmentation—particularly stylization—rather than shape bias itself, which is a byproduct rather than a causal factor.

ABSTRACT

Convolutional neural networks (CNNs) learn to extract representations of complex features, such as object shapes and textures to solve image recognition tasks. Recent work indicates that CNNs trained on ImageNet are biased towards features that encode textures and that these alone are sufficient to generalize to unseen test data from the same distribution as the training data but often fail to generalize to out-of-distribution data. It has been shown that augmenting the training data with different image styles decreases this texture bias in favor of increased shape bias while at the same time improving robustness to common corruptions, such as noise and blur. Commonly, this is interpreted as shape bias increasing corruption robustness. However, this relationship is only hypothesized. We perform a systematic study of different ways of composing inputs based on natural images, explicit edge information, and stylization. While stylization is essential for achieving high corruption robustness, we do not find a clear correlation between shape bias and robustness. We conclude that the data augmentation caused by style-variation accounts for the improved corruption robustness and increased shape bias is only a byproduct.

Motivation & Objective

  • To test whether increased shape bias in CNNs leads to improved robustness against common image corruptions such as blur and noise.
  • To disentangle the effects of shape bias from data augmentation in improving corruption robustness.
  • To evaluate whether shape-based representations are inherently more robust or if robustness stems from broader data distribution diversity introduced by augmentation.
  • To investigate whether normalization layer adaptation can enhance robustness without retraining, suggesting internal representation adaptability.

Proposed method

  • Pre-training CNNs on edge maps derived from ImageNet images to encourage shape-based feature learning while suppressing texture cues.
  • Applying image stylization via neural style transfer to modify texture while preserving structural shape information.
  • Combining edge maps with stylization to create inputs that maximize shape bias without texture information.
  • Introducing style randomization by sampling normalization layer affine parameters from a uniform distribution to further enhance shape bias.
  • Evaluating models on the ImageNet-C benchmark to measure corruption robustness across multiple corruption types and severities.
  • Fine-tuning only the affine parameters of normalization layers on corrupted ImageNet-C data to assess internal representation adaptability.

Experimental results

Research questions

  • RQ1Does increasing shape bias through edge-based or stylization-based data augmentation lead to improved robustness against common image corruptions?
  • RQ2Is the observed improvement in corruption robustness due to enhanced shape bias or due to the broader data augmentation induced by stylization?
  • RQ3Can fine-tuning only the normalization layer parameters improve robustness on corrupted data, suggesting that robust representations are encoded in the network's internal features?
  • RQ4How do different input compositions—natural images, edge maps, stylized images, and their combinations—affect shape bias and corruption robustness?

Key findings

  • Pre-training on edge maps significantly increases shape bias but does not improve corruption robustness, contradicting the hypothesis that shape bias drives robustness.
  • Stylization-based augmentation (SIN) achieves the highest corruption robustness, while edge-only pre-training (E) performs poorly despite high shape bias, indicating that stylization—not shape bias—is the key factor.
  • The combination of stylized edges (SE) achieves the highest shape bias but still shows lower robustness than SIN, suggesting that preserving natural image structure is crucial for robustness.
  • Superimposing stylized edges with natural images (SE+IN) achieves moderate shape bias and slightly better robustness than SIN, indicating that natural image structure combined with stylization enhances generalization.
  • Fine-tuning only the affine parameters of normalization layers significantly improves corruption robustness across all corruptions, even with fixed convolutional weights, indicating that robust representations are encoded in the network's normalization layers.
  • Intra-stylization (within-distribution style transfer) is nearly as effective as out-of-distribution stylization, suggesting that the key benefit lies in appearance diversity, not distribution shift per se.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.