Training neural networks to have brain-like representations improves object recognition performance.

Callie Federer, Haoyan Xu, Alona Fyshe, Joel Zylberberg

Abstract

State-of-the-art deep convolutional neural networks (DCNNs) are inspired by the mammalian visual system but still lack human-level robustness. This study explores whether explicitly training DCNNs to mimic brain-like internal representations can improve their performance. By training networks on a composite task—identifying objects while matching the representational similarity patterns of monkey V1 neurons—researchers achieved higher accuracy and greater robustness to label noise. Notably, the statistical properties of the neural data, rather than the specific biological signals themselves, were found to be the primary drivers of this improvement.

Introduction: The Robustness Gap

DCNNs have revolutionized computer vision, yet they often rely on "shortcuts" or pixel-level features that differ from biological vision, leading to failures in generalization and robustness. As these networks improve, their internal representations naturally converge toward those seen in the brain. This research investigates if forcing this convergence from the start of training can serve as a beneficial regularizer, pushing networks toward more biologically plausible and robust features.

Methods: The Brain as a Teacher

The researchers employed a "composite task" approach using two architectures: the lightweight CORNet-Z and the larger VGG-16.

Overview of the CORNet-Z architecture, the Representational Similarity Analysis (RSA) process, and the dual-objective training goal.

The Teacher Signal and RSMs

The team utilized multielectrode recordings from the primary visual cortex (V1) of monkeys. To bridge the gap between biological and artificial units, they used Representational Similarity Matrices (RSMs). An RSM quantifies how similar a system's response is for every possible pair of images in a set, allowing for a direct comparison between neural firing rates and network activation vectors.

A Representational Similarity Matrix (RSM) for Monkey V1, showing the similarity of neural responses across 270 images.

Training Protocol

Networks were trained to minimize a two-part cost function:

  1. Classification Error: Standard cross-entropy for identifying objects in the CIFAR-100 dataset.
  2. Representation Mismatch: The deviation between the network’s internal RSM and the monkey’s V1 RSM.

This "brain-like" constraint was applied only during the initial 10 epochs of training, after which the network focused purely on classification.

Key Insights

  • The Brain as a Regularizer: Forcing representational alignment prevents overfitting to non-robust features and encourages the development of more diverse unit activations in early layers.
  • Statistics vs. Specifics: Surprisingly, actual neural data wasn't strictly necessary. Random data matching the mean and variance of V1 activity provided a similar performance boost, suggesting the distribution of activity is a key architectural prior for vision.
  • Graceful Failure: Brain-mimicking networks made "smarter" mistakes, often misclassifying objects into the correct superclass (e.g., calling a "hamster" a "mouse" rather than an unrelated object).

Results and Robustness

  • Accuracy Gains: On CIFAR-100, the CORNet-Z model's accuracy rose from ~46.5% to ~49.5% when trained with the V1 constraint.
  • Robustness to Corruption: These networks showed significantly higher resilience to corrupted training labels (label noise) compared to standard baselines, maintaining higher accuracy as noise levels increased.
  • Layer Specificity: The performance boost was only observed when the V1-like constraint was applied to early layers. Applying it to deeper layers (V4/IT) actually hindered performance, likely due to the mismatch between the neural data images and the classification task images.

Limitations and Future Work

While the gains are robust across architectures, they remain modest (a few percentage points). The authors suggest that data from awake monkeys performing active tasks might provide a more effective teacher signal than the anesthetized data used here. Scaling this approach to massive datasets like ImageNet is the next logical step to determine if these biological priors can push the state-of-the-art in large-scale computer vision.

Summary updated

Abstract

The current state-of-the-art object recognition algorithms, deep convolutional neural networks (DCNNs), are inspired by the architecture of the mammalian visual system, and are capable of human-level performance on many tasks. However, even these algorithms make errors. As they are trained for object recognition tasks, it has been shown that DCNNs develop hidden representations that resemble those observed in the mammalian visual system. Moreover, DCNNs trained on object recognition tasks are currently among the best models we have of the mammalian visual system. This led us to hypothesize that teaching DCNNs to achieve even more brain-like representations could improve their performance. To test this, we trained DCNNs on a composite task, wherein networks were trained to: a) classify images of objects; while b) having intermediate representations that resemble those observed in neural recordings from monkey visual cortex. Compared with DCNNs trained purely for object categorization, DCNNs trained on the composite task had better object recognition performance and are more robust to label corruption. Interestingly, we also found that neural data was not required, but randomized data with the same statistics as neural data also boosted performance. Our results outline a new way to train object recognition networks, using strategies in which the brain - or at least the statistical properties of its activation patterns - serves as a teacher signal for training DCNNs.
BibTeX
@inproceedings{federer2020training,
  author = {Callie Federer and Haoyan Xu and Alona Fyshe and Joel Zylberberg},
  title = {{Training neural networks to have brain-like representations improves object recognition performance.}},
  booktitle = {Neural Networks},
  year = {2020},
  doi = {10.1016/j.neunet.2020.07.013},
}
Figure