Refining Self-supervised Learnt Speech Representation using Brain Activations

Hengyu Li, Kangdi Mei, Zhaoci Liu, Yang Ai, Liping Chen, Jie Zhang, Zhenhua Ling

Abstract

Self-supervised learning (SSL) models for speech, such as wav2vec 2.0, have achieved remarkable success by learning from large-scale unlabeled audio. While these models often exhibit internal representations that correlate with human brain activity, the potential for using biological signals to directly refine artificial models remains largely unexplored. This paper introduces a neuroscience-driven approach that aligns wav2vec 2.0 with human fMRI activations recorded during natural speech perception. By fine-tuning the model to predict BOLD signals, the authors demonstrate significant performance improvements across multiple downstream tasks in the SUPERB benchmark, suggesting that human neural responses can serve as an effective optimization signal for artificial speech representations.

Introduction

Self-supervised learning has transformed the landscape of speech processing, enabling models to learn complex features from massive amounts of unlabeled data. Interestingly, researchers have observed that the internal representations of these models often mirror the hierarchical processing found in the human auditory cortex. However, most SSL models are optimized using purely mathematical objectives, such as contrastive loss, which lack biological grounding.

This research addresses a fundamental question: Can we leverage the similarity between artificial and biological representations to improve model performance? By forcing a model to "think more like a brain"—specifically by predicting neural responses recorded via functional Magnetic Resonance Imaging (fMRI)—the authors explore whether biological data can act as a superior regularization signal for speech recognition and identification tasks.

Methodology

The researchers developed a two-stage refinement process for the wav2vec 2.0 (Base) model, focusing on aligning its latent representations with human neural activity.

Neural Encoding Architecture

A specialized "head" was added to the pre-trained wav2vec 2.0 model, consisting of four convolutional layers followed by a linear layer. This architecture was designed to predict a 5,085-dimensional BOLD (Blood Oxygen Level Dependent) signal vector from fMRI data.

Temporal Integration and Predictive Coding

To account for the slow nature of the brain's hemodynamic response, the model was provided with the current 1.5-second audio snippet along with several preceding snippets, totaling up to 9 seconds of history. This approach aligns with the "predictive coding" theory, which suggests the human brain utilizes historical context to process and predict incoming stimuli.

Two-Stage Training

  1. Stage 1: The wav2vec 2.0 parameters were frozen, and only the new brain-prediction layers were trained.
  2. Stage 2: The entire model was unfrozen and fine-tuned using an L2-regularized Mean Square Error (MSE) loss to minimize the discrepancy between the model's output and actual human fMRI recordings.

Experimental Setup

Datasets

  • fMRI Data: The study utilized the "tunnel under the world" subset of the Narratives dataset, featuring fMRI scans of 21 subjects listening to natural oral stories.
  • Evaluation Benchmark: The model was evaluated using the SUPERB (Speech processing Universal PERformance Benchmark), covering eight tasks across four categories: Content (PR, ASR, KS), Speaker (SID, ASV), Semantics (IC, SF), and Paralinguistics (ER).

Key Insights and Results

The "Refined" model was compared against a "Vanilla-base" model and a "Stimuli-pretrain" model (trained on the same audio but without brain data alignment).

Performance Gains

The Refined model achieved a SUPERB score of 388.59 (relative to the vanilla baseline of 0). Significant improvements ($p < 0.05$) were noted in several key areas:

  • Phoneme Recognition (PR): Error rate decreased from 6.03% to 5.67%.
  • Automatic Speech Recognition (ASR): Word Error Rate (WER) improved from 6.60% to 6.36%.
  • Intent Classification (IC): Accuracy rose from 92.57% to 93.78%.
  • Speaker Verification (ASV): Equal Error Rate (EER) improved from 5.98% to 5.50%.

Brain Data vs. Data Volume

Crucially, the "Stimuli-pretrain" model—which received more audio data but no brain signal alignment—actually performed worse than the base model on several tasks. This suggests that the performance boost is specifically attributable to the neural alignment process rather than simple exposure to more audio stimuli.

Layer-wise and Attention Analysis

Analysis revealed that the 9th layer of wav2vec 2.0 (out of 12) showed the highest correlation with brain activity, suggesting that middle layers are the most effective targets for neural refinement. Furthermore, the refinement process led to significant changes in the self-attention "bias" parameters, indicating that brain data forces the model to re-prioritize specific acoustic features.

Limitations and Future Work

While the results are promising, the improvements were not uniform across all tasks. Keyword Spotting (KS) and Emotion Recognition (ER) did not see significant gains, likely due to the specific nature of the "Narratives" dataset. Additionally, fMRI has low temporal resolution; the authors suggest that incorporating signals with higher temporal resolution, such as EEG or MEG, could provide even more granular guidance for model optimization. Future research will also investigate whether brain-refined models exhibit increased robustness in noisy environments.

Summary updated

BibTeX
@inproceedings{li2024refining,
  author = {Hengyu Li and Kangdi Mei and Zhaoci Liu and Yang Ai and Liping Chen and Jie Zhang and Zhenhua Ling},
  title = {{Refining Self-supervised Learnt Speech Representation using Brain Activations}},
  booktitle = {Interspeech},
  year = {2024},
  doi = {10.21437/interspeech.2024-604},
}
Figure