Subtle adversarial image manipulations influence both human and machine perception

Vijay Veerabadran, Josh Goldman, Shreya Shankar, Brian Cheung, Nicolas Papernot, Alexey Kurakin, Ian Goodfellow, Jonathon Shlens, Jascha Sohl‐Dickstein, Michael C. Mozer, Gamaleldin F. Elsayed

Abstract

Although artificial neural networks (ANNs) were inspired by the brain, they exhibit a brittleness not generally observed in human perception. One shortcoming of ANNs is their susceptibility to adversarial perturbations—subtle modulations of natural images that result in changes to classification decisions. While humans often dismiss these as innocuous artifacts, this research finds that adversarial perturbations that fool ANNs similarly bias human choice. This suggests that the effect is driven by higher-order statistics of natural images to which both humans and ANNs are sensitive, rather than by specific machine architectures.

Introduction: The Brittleness of Machine Vision

Artificial Neural Networks (ANNs) are notoriously susceptible to "adversarial attacks." By adding a layer of nearly invisible pixel noise to an image, a state-of-the-art AI can be tricked into confidently mislabeling an elephant as a "clock." Historically, because humans still see the elephant, this was viewed as a fundamental divergence between biological and artificial vision.

Overview of adversarial examples and psychophysical stimuli used to probe human perception.

This paper investigates whether this gap is as wide as it appears. The authors hypothesize that human sensitivity to these perturbations might be revealed through more nuanced behavioral measures, suggesting a shared underlying sensitivity to image statistics.

Methodology

The researchers employed several experimental designs to probe human sensitivity:

  • Brief, Masked Presentations: Images were shown for only ~70ms followed by a high-contrast mask to prevent the dominant signal from drowning out subtle noise.
  • Two-Alternative Forced Choice (2AFC): Participants viewed two versions of an image side-by-side and were asked which was more like a specific class (e.g., "Which is more cat-like?").
  • Perturbation Generation: Using the iterative Fast Gradient Sign Method (iFGSM), they created perturbations with an $L_\infty$ constraint as low as 2/255 intensity levels.
  • Model Comparison: They compared traditional Convolutional Neural Networks (CNNs) against newer Vision Transformers (ViTs) to see which aligned better with human judgment.

Key Insights

Shared Statistical Sensitivity

The finding that adversarial noise biases human choice suggests that both biological and artificial systems are tuned to the same "higher-order statistics" of natural images. These perturbations are not merely "bugs" in machine code but exploit features of how visual information is processed across both systems.

Methodological Sensitivity

The perceived "gap" in robustness may be partly methodological. While humans don't typically misclassify an adversarial elephant as a truck in everyday life, their performance can be biased when the task is forced or the signal is weakened.

The Human-Like Nature of Transformers

Vision Transformers (ViTs) were found to produce perturbations that are significantly more effective at biasing humans than those from CNNs. Analysis showed that ViT-generated noise aligns more closely with the edges and contours of the original image, a structural feature to which human vision is particularly sensitive.

Results

  • Reliable Human Bias: In brief-exposure tasks, humans were significantly more likely to choose the machine-targeted adversarial class over a control ($p < 0.001$).
  • Sensitivity to Minimal Changes: Even at the smallest possible 8-bit change ($\epsilon = 2$), human choice was reliably biased.
  • ViT Superiority: Participants strongly preferred adversarial images produced by self-attention models (ViTs) over CNNs, with a high effect size (Cohen’s $d = 0.91$).
  • Magnitude of Effect: While the bias exists in humans, it is much weaker than in machines. For a perturbation that biases a machine by 85%, humans showed a ~52% bias.

Discussion and Future Directions

While humans and machines share a directional sensitivity to adversarial noise, a significant "robustness gap" remains. Machines "flip" their classification entirely, whereas humans only show a statistical preference. This may stem from the fact that humans are trained in a rich, 3D, multi-sensory environment, whereas ANNs typically learn from static 2D snapshots. Future research into recurrent architectures—mimicking the feedback loops of the human visual cortex—may further bridge the gap between artificial and biological perception.

Summary updated

BibTeX
@inproceedings{veerabadran2023subtle,
  author = {Vijay Veerabadran and Josh Goldman and Shreya Shankar and Brian Cheung and Nicolas Papernot and Alexey Kurakin and Ian Goodfellow and Jonathon Shlens and Jascha Sohl‐Dickstein and Michael C. Mozer and Gamaleldin F. Elsayed},
  title = {{Subtle adversarial image manipulations influence both human and machine perception}},
  booktitle = {Nature Communications},
  year = {2023},
  doi = {10.1038/s41467-023-40499-0},
}
Figure