Adversarially trained neural representations may already be as robust as corresponding biological neural representations

Chong Guo, Michael J. Lee, Guillaume Leclerc, Joel Dapello, Yug Rao, Aleksander Madry, James J. DiCarlo

Introduction

Primate visual systems are widely considered the "gold standard" for robust perception. This has led to a common assumption in AI research: biological neurons are inherently more stable than artificial ones. However, this paper challenges that notion by demonstrating that individual neurons in the primate brain are surprisingly susceptible to adversarial attacks. In fact, current adversarially trained (AT) models may already surpass their biological counterparts in terms of unit-level robustness.

Methods: The Brain-in-the-Loop Approach

To test biological robustness, the authors developed a "brain-in-the-loop" experimental method to estimate the adversarial sensitivity of neurons in the Inferior Temporal (IT) cortex, the final stage of the primate ventral visual pathway responsible for object recognition.

Because direct backpropagation through a biological brain is impossible, the researchers utilized a proxy model—an adversarially trained ResNet50. They mapped the model's layers to actual IT neural responses using linear transformations. Over several days, they iteratively refined this "digital twin" by recording neural firing rates from a macaque monkey and fine-tuning the proxy. Finally, they used Projected Gradient Descent (PGD) on the proxy model to generate adversarial images designed to maximize or minimize the firing of specific biological neurons.

To compare biological "spikes per second" with artificial "activation values," the study employed normalized adversarial sensitivity ($\tilde{s}_i(\epsilon)$). This metric scales the response change by the neuron's standard deviation across clean images, allowing for a direct comparison between species and architectures.

Key Results: Artificial vs. Biological Robustness

The study revealed a surprising hierarchy of robustness. Standard (non-robust) ResNet50 units were found to be roughly 10 times more sensitive to pixel changes than biological IT neurons. However, units in adversarially trained DNNs (specifically those trained with $l_2 \epsilon=3$) were actually slightly more robust (less sensitive) than the biological neurons.

Comparison of adversarial sensitivity between primate IT neurons and DNN models across different perturbation magnitudes.

All recorded IT sites showed a significantly positive sensitivity slope as the perturbation magnitude ($\epsilon$) increased from 1 to 10. This indicates that adversarial examples are "dense" in the biological image space, mirroring the behavior seen in artificial networks. Human psychophysics confirmed that at $\epsilon=1$, these perturbations were virtually imperceptible (detected only 51% of the time), yet they significantly altered neural firing.

Key Insights: The Illusion of Robustness

The data suggests that while primate perception is robust, individual neurons are quite fragile. This leads to several critical insights:

  1. Fragile Category Selectivity: IT neurons, often called "face" or "car" detectors, can be easily manipulated. A tiny perturbation ($\epsilon=2.5$) can turn a non-preferred image (e.g., a dog) into a stimulus that drives a "face" neuron as strongly as an actual face.
  2. Super-Stimuli: With larger perturbations ($\epsilon=10$), the researchers created "super-stimuli"—images that do not resemble the preferred category to humans but drive biological neurons harder than any natural image in the training set.
Neural responses to preferred and non-preferred images under adversarial perturbation, showing the creation of "super-stimuli."
  1. AT Models are on the Right Track: The success of AT models as proxies suggests that the robustness built into AI via adversarial training captures fundamental properties of biological neural representations.

Discussion and Future Work

These findings provide a lower bound on biological sensitivity; a more perfect model of the brain would likely find even more effective attacks. The discrepancy between fragile individual neurons and robust overall perception suggests that biological robustness may emerge from population-level coding or downstream error-correction mechanisms that "smooth out" the brittleness of individual units. Future research aims to determine if these neural attacks can translate to behavioral changes, bridging the gap between unit-level sensitivity and system-level stability.

Summary updated

BibTeX
@inproceedings{guo2022adversarially,
  author = {Chong Guo and Michael J. Lee and Guillaume Leclerc and Joel Dapello and Yug Rao and Aleksander Madry and James J. DiCarlo},
  title = {{Adversarially trained neural representations may already be as robust as corresponding biological neural representations}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
}
Figure