[Paper Review] The shape and simplicity biases of adversarially robust ImageNet-trained CNNs
This paper investigates the shape and simplicity biases in adversarially robust ImageNet-trained CNNs, revealing that adversarial training induces three key simplifying mechanisms: smoother filters that block high-frequency noise, a shift toward detecting lower-level features like textures and colors, and reduced input diversity per neuron. These changes explain the improved robustness and generalization of R networks on out-of-distribution and adversarial examples.
Increasingly more similarities between human vision and convolutional neural networks (CNNs) have been revealed in the past few years. Yet, vanilla CNNs often fall short in generalizing to adversarial or out-of-distribution (OOD) examples which humans demonstrate superior performance. Adversarial training is a leading learning algorithm for improving the robustness of CNNs on adversarial and OOD data; however, little is known about the properties, specifically the shape bias and internal features learned inside adversarially-robust CNNs. In this paper, we perform a thorough, systematic study to understand the shape bias and some internal mechanisms that enable the generalizability of AlexNet, GoogLeNet, and ResNet-50 models trained via adversarial training. We find that while standard ImageNet classifiers have a strong texture bias, their R counterparts rely heavily on shapes. Remarkably, adversarial training induces three simplicity biases into hidden neurons in the process of "robustifying" CNNs. That is, each convolutional neuron in R networks often changes to detecting (1) pixel-wise smoother patterns, i.e., a mechanism that blocks high-frequency noise from passing through the network; (2) more lower-level features i.e. textures and colors (instead of objects);and (3) fewer types of inputs. Our findings reveal the interesting mechanisms that made networks more adversarially robust and also explain some recent findings e.g., why R networks benefit from a much larger capacity (Xie et al. 2020) and can act as a strong image prior in image synthesis (Santurkar et al. 2019).
Motivation & Objective
- Understand whether adversarially robust (R) CNNs exhibit a shape bias compared to standard (S) models on ImageNet.
- Investigate if stronger shape bias in R networks leads to better generalization on out-of-distribution (OOD) and corrupted images.
- Uncover the internal neural mechanisms—specifically in hidden layer representations—that enable adversarial robustness.
- Explain why R networks generalize better to OOD data despite often underperforming on standard ImageNet test sets.
- Clarify the role of simplicity in robustness by analyzing filter smoothness, feature hierarchy, and neuron input diversity.
Proposed method
- Apply cue-conflict and NetDissect methods to analyze shape vs. texture preferences in hidden neurons of AlexNet, GoogLeNet, and ResNet-50.
- Use layer-wise kernel total variation (TV) to quantify filter smoothness and assess noise-blocking capacity.
- Measure neuron input diversity by counting unique concepts detected via NetDissect, with zeroing-out experiments to assess feature importance.
- Compare standard (S) and robust (R) models across multiple architectures using standardized image transformations: scrambled, stylized, B&W, and silhouette.
- Quantify shape and texture bias using classification accuracy on shape- and texture-removed image variants.
- Analyze channel-level contributions by measuring accuracy drop when specific feature detectors are zeroed out in the network.
Experimental results
Research questions
- RQ1On ImageNet, do adversarially-robust networks prefer shapes over textures compared to standard ImageNet classifiers?
- RQ2Does a stronger shape bias in R networks lead to improved performance on OOD and corrupted images, such as stylized or silhouetted images?
- RQ3How does adversarial training alter internal representations to enhance robustness, particularly in terms of filter smoothness, feature hierarchy, and neuron input diversity?
- RQ4Why do R networks generalize better to out-of-distribution data despite lower accuracy on standard test sets?
- RQ5To what extent do R networks learn simpler, more constrained representations—such as smoother filters and fewer input types—than standard models?
Key findings
- Adversarially robust (R) networks prefer shapes over textures approximately 67% of the time, a significant increase from the 25% preference observed in standard (S) networks.
- R networks outperform S networks on texture-less, distorted images, including stylized and silhouetted versions of COCO images, confirming their superior OOD generalization.
- Adversarial training induces smoother filters in R networks, reducing total variation (TV) in convolutional kernels and blocking high-frequency noise from propagating through the network.
- R networks shift toward detecting lower-level features such as textures and colors, with a notable increase in channels specialized for simple texture patterns like 'striped' and 'banded'.
- Hidden neurons in R networks exhibit reduced input diversity, detecting fewer unique concepts on average, indicating a simplification of internal representations.
- The simplification of internal representations—through smoother filters, lower-level feature detection, and reduced input diversity—explains the improved robustness and generalization of R networks on adversarial and OOD examples.
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.