NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustness

Robert Geirhos, Patricia Rubisch, Claudio Michaelis, Matthias Bethge, Felix A. Wichmann, Wieland Brendel

Introduction

Standard Convolutional Neural Networks (CNNs) are "texture-hounds," while humans are "shape-seekers." By training models on Stylized-ImageNet—a version of the dataset where textures are replaced by artistic styles—researchers forced CNNs to prioritize global shape over local texture. This shift not only aligns AI behavior more closely with human perception but also yields significant "free" benefits in robustness to image distortions and improved object detection performance.

The Texture vs. Shape Hypothesis

For years, the computer vision community operated under the "shape hypothesis": the idea that CNNs recognize objects by gradually building up complex representations of shapes (edges $\rightarrow$ parts $\rightarrow$ objects). However, a competing "texture hypothesis" suggested that CNNs might actually be taking a shortcut, identifying objects based purely on local patches of texture (e.g., recognizing a "dog" because of its fur pattern, regardless of its silhouette).

The authors sought to quantify this bias. If CNNs and humans use fundamentally different strategies to "see" the world, it explains why models that achieve superhuman accuracy on clean datasets often crumble when faced with slight noise or distortions that wouldn't faze a toddler.

Methods: Cue Conflict and Stylized-ImageNet

The researchers employed a clever mix of experimental psychology and deep learning to test these hypotheses.

  • Cue Conflict Experiments: Using iterative style transfer, they created "Frankenstein" images—for example, the shape of a cat filled with the texture of elephant skin. They then tested both humans and standard CNNs (like ResNet-50) to see which "cue" they prioritized.
Cue conflict image showing a cat shape with elephant texture
  • Stylized-ImageNet (SIN): To break the model's reliance on texture, they created a new dataset. They took the standard 1.2 million image ImageNet benchmark and stripped the original textures, replacing them with the style of random paintings using AdaIN (Adaptive Instance Normalization) fast style transfer. In SIN, texture is a "nuisance" that provides no information about the object's class, forcing the network to learn shape.
  • Joint Training: They developed "Shape-ResNet" by training on both SIN and standard ImageNet, followed by a fine-tuning step to maintain high accuracy.

Key Insights and Results

  • The Great Divide: Standard CNNs are overwhelmingly biased toward texture. In cue conflict tests, a ResNet-50 trained on ImageNet identified the "elephant-textured cat" as an elephant nearly 80% of the time. Humans, conversely, almost always chose the cat.
  • Texture as a Shortcut: The paper argues that ImageNet classification can be "solved" using local textures alone. CNNs are "lazy" learners; they take the path of least resistance, and texture is often easier to learn than global geometry.
Performance comparison between CNNs and humans on different image representations
  • Bias Shift: Training on SIN increased the "shape bias" of a ResNet-50 from a measly 22% to 81%, bringing it much closer to human-level performance.
  • Robustness is an Emergent Property: One of the most striking findings is that models forced to learn shape become much more robust to distortions like Gaussian noise or "eidolon" perturbations, even though they were never explicitly trained on those distortions. On the ImageNet-C benchmark, the SIN-trained model significantly reduced the mean Corruption Error (mCE) from 76.7 to 69.3.
  • Shape Bias Aids Detection: Object detection is inherently about finding the spatial extent of an object. The authors found that shape-biased features are a better "backbone" for detectors (like Faster R-CNN) than texture-biased ones, improving performance on PASCAL VOC 2007 from 70.7 to 75.1 mAP50.
  • Generalization: Features learned on SIN generalize better to ImageNet (82.6% top-5 accuracy) than vice versa (ImageNet features only get 16.4% on SIN).

Limitations and Future Work

  • The Accuracy Trade-off: Training on SIN is a harder task. A model trained only on SIN has lower top-1 accuracy on standard ImageNet compared to a model trained on the original data.
  • Human-AI Gap: Even with a high shape bias, CNNs are still more susceptible to low-pass filtering (blurring) than humans, suggesting there are still nuances in human shape perception (like 3D understanding) that these 2D models haven't captured.
  • Computational Cost: Generating SIN and training on it adds complexity to the standard pipeline. Future work could explore more efficient ways to induce shape bias without full dataset stylization.

Summary updated

BibTeX
@inproceedings{geirhos2019imagenet,
  author = {Robert Geirhos and Patricia Rubisch and Claudio Michaelis and Matthias Bethge and Felix A. Wichmann and Wieland Brendel},
  title = {{ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustness}},
  booktitle = {International Conference on Learning Representations},
  year = {2019},
  url = {https://openreview.net/forum?id=vSeN32kMxz},
}
Figure