Don't stop the training: continuously-updating self-supervised algorithms best account for auditory responses in the cortex

Pierre Orhan, Yves Boubenec, Jean-Rémi KingarXiv 2022

Introduction

In the field of computational neuroscience, deep neural networks (DNNs) have emerged as powerful models for understanding sensory processing. By comparing the internal activations of these networks to neural data, researchers have found striking similarities in how AI and biological brains represent information. However, a significant conceptual gap remains: most studies utilize models that are pretrained on static datasets and then "frozen" before comparison. In contrast, the biological brain is a dynamic learner, constantly adapting its internal models to a continuous stream of sensory input without explicit supervision.

This paper addresses this gap by investigating whether the learning mechanism itself—specifically the real-time, trial-by-trial updates of self-supervised algorithms—mirrors the plasticity observed in the auditory cortex. By allowing a state-of-the-art model to continue learning as it "hears" the same sounds as an animal, the researchers test if temporal context and continuous adaptation are key to achieving more brain-like representations.

Methodology

The researchers utilized Wav2Vec 2.0, a self-supervised model originally trained on 960 hours of human speech (LibriSpeech). They compared the model's internal states to functional UltraSound (fUS) imaging recordings from the auditory cortices of two ferrets (F1 and F2) as they listened to a diverse set of 320 sounds, including vocalizations, music, and environmental noise.

To evaluate the impact of learning and temporal order, the model was tested in three modes:

  1. Pretrained (No backprop): The model weights remained frozen after initial pretraining.
  2. Continuous Update (Matched Order): The model processed sounds in the exact sequence experienced by the ferrets, updating its weights via back-propagation after every 10-second stimulus based on its self-supervised objective (predicting masked audio segments).
  3. Continuous Update (Mismatched Order): The model updated its weights using the same sounds but in a randomized order.

Similarity was measured using Brain Scores, which are cross-validated ridge regression correlations between the model's artificial neurons and individual brain voxels.

Overview of the brain-to-model mapping process (left) and the three experimental training conditions (right).

Key Results

The study found that the model became significantly more "brain-like" when it continues to learn in real-time. The Continuous Update (Matched Order) mode significantly outperformed the frozen baseline for both animals. Specifically, for ferret F1, the mean brain score rose from 0.0212 to 0.0265; for F2, it rose from 0.0173 to 0.0237.

Crucially, this improvement was entirely dependent on the temporal sequence of the stimuli. When the sound order was randomized (Mismatched Order), the brain scores remained virtually identical to the frozen model. This suggests that the auditory cortex is highly sensitive to the long-distance context and history of sensory experience, and that the model's updates capture this shared history.

Furthermore, the study found that intermediate layers of the Wav2Vec 2.0 encoder were the best predictors of cortical activity. This aligns with the hierarchical view of the auditory system, where the primary auditory cortex occupies a middle ground in the processing chain.

Distribution of brain scores across voxels for the combined dataset and individual ferrets.

Discussion and Conclusion

These findings suggest that the variability often observed in cortical responses may not be stochastic noise, but rather the signature of a biological system updating its internal model in real-time. The success of self-supervised objectives like those in Wav2Vec 2.0 provides a computationally plausible framework for modeling rapid sensory plasticity.

However, several limitations remain. The slow hemodynamic response measured by fUS imaging required averaging activity over 10-second windows, potentially obscuring faster learning dynamics. Additionally, while the results of the updates are brain-like, the biological plausibility of back-propagation as the underlying mechanism is still a subject of intense debate. Future work using electrophysiology could provide the temporal resolution needed to see if these updates occur on even faster timescales and help refine our understanding of the brain's learning rules. Ultimately, this research underscores the importance of treating AI models as dynamic learners rather than static feature extractors when modeling the brain.

Summary updated

Abstract

Over the last decade, numerous studies have shown that deep neural networks exhibit sensory representations similar to those of the mammalian brain, in that their activations linearly map onto cortical responses to the same sensory inputs. However, it remains unknown whether these artificial networks also learn like the brain. To address this issue, we analyze the brain responses of two ferret auditory cortices recorded with functional UltraSound imaging (fUS), while the animals were presented with 320 10\,s sounds. We compare these brain responses to the activations of Wav2vec 2.0, a self-supervised neural network pretrained with 960\,h of speech, and input with the same 320 sounds. Critically, we evaluate Wav2vec 2.0 under two distinct modes: (i) "Pretrained", where the same model is used for all sounds, and (ii) "Continuous Update", where the weights of the pretrained model are modified with back-propagation after every sound, presented in the same order as the ferrets. Our results show that the Continuous-Update mode leads Wav2Vec 2.0 to generate activations that are more similar to the brain than a Pretrained Wav2Vec 2.0 or than other control models using different training modes. These results suggest that the trial-by-trial modifications of self-supervised algorithms induced by back-propagation aligns with the corresponding fluctuations of cortical responses to sounds. Our finding thus provides empirical evidence of a common learning mechanism between self-supervised models and the mammalian cortex during sound processing.
BibTeX
@misc{orhan2022don,
  author = {Pierre Orhan and Yves Boubenec and Jean-Rémi King},
  title = {{Don't stop the training: continuously-updating self-supervised algorithms best account for auditory responses in the cortex}},
  year = {2022},
  eprint = {2202.07290},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.07290},
}
Figure