Manuscript Offprint
arXiv:2611.12291Representational Alignment between Deep Neural Networks and Human Brain in Speech Processing under Audiovisual Noise
Abstract
Speech comprehension in the human brain is an incremental process that begins with acoustic processing and advances to linguistic processing. While recent studies have revealed that the hierarchy of deep neural networks (DNNs) correlates with the ascending auditory pathway, the exact nature of this DNN-brain alignment remains underexplored. In this study, we investigate how DNN representations align with the brain's acoustic-to-linguistic processing. Specifically, we employed neural encoding models to simulate neural responses to acoustic (i.e., speech and noise envelope) and linguistic features (i.e., word onset and surprisal). By applying representational similarity analysis (RSA), we quantified the similarity between these neural responses and the DNN embeddings generated by a pre-trained automatic speech recognition (ASR) model, both before and after fine-tuning on audiovisual noisy data. Our results demonstrate significant DNN-brain alignment: embeddings from shallow layers exhibit higher similarity to neural responses associated with acoustic features, while those from deeper layers align more closely with neural responses related to linguistic features. Importantly, the fine-tuning process enhances this alignment by improving noise processing in shallower layers and refining linguistic representations in deeper layers. These results suggest that fine-tuned DNN models can naturally develop human-like processing patterns in noisy environments, highlighting a functional alignment between the human brain and DNNs in speech representation.
1 Introduction
Speech comprehension involves multiple levels of analyses, including the encoding of basic sensory features and the extraction of more abstract linguistic information [1]. Recently, transformer-based deep neural network (DNN) models have shown human-level performance in automatic speech recognition (ASR) tasks [2, 3, 4]. However, it remains unclear whether this comparable performance reflects similar internal information representations. According to a recent review, the similarity between the human brain and DNN models can be evaluated through: (1) the responses of human and DNN models to the same stimuli, (2) the stimulus features evoking the similar responses of human and DNN models, and (3) the computations involved in processing the same stimulus to yield similar response [5]. To explore this representational similarity, we correlate the representations in DNN hidden layers with the neural responses to acoustic and linguistic features in the human brain, aiming to explore the similarity between DNN models and the human brain in terms of computational equivalence.
Accumulating studies provide evidence for the representational alignment between DNN models and the human brain in speech recognition. Recent studies found that the embeddings from the middle
*Corresponding author.
Preprint. Work in progress.
layers in DNN models best predict neural activity in the primary cortex, while those from deep layers best predict activity in the non-primary cortex [6, 7, 8, 9, 10]. Furthermore, the embeddings of the shallower layers are primarily predicted by acoustic features, whereas embeddings of deeper layers onward are better predicted by phonetic features [7]. Given that the ascending auditory pathway correlates with acoustic-to-linguistic processing in speech comprehension [1, 11], the correlation between the DNN hierarchy and ascending auditory pathway suggests a representational alignment between DNN hierarchy and acoustic-to-linguistic processing in the human brain. However, previous research has primarily focused on the relationship between DNNs and the auditory pathway without distinguishing between acoustic and linguistic processing in either the brain or DNNs, leaving direct evidence for this representational alignment still lacking. Moreover, most existing research has examined DNN-brain alignment exclusively in fine-tuned models optimized for specific tasks, which leaves the impact of the fine-tuning process on DNN-brain alignment unclear.
Additionally, speech is often accompanied with audiovisual noise in the real-world scenes. For instance, when speaking on the phone on a busy street, we not only hear speech from the phone but also background noise from the surroundings, with visual information often unrelated to the speech. Previous studies have typically investigated the representational similarity between the human brain and DNN models using audio-only speech recognition tasks. Little is explored about the DNN-brain representational similarity in audiovisual scenes. A recent study has proposed a transformer-based audiovisual automatic speech recognition (AV-ASR) framework, called AV-HuBERT [12]. The framework offers a stable training procedure to fuse audio and visual representations, and achieves promising performances on audiovisual scenes, where the visual information is related to the target speaker (e.g., lip movements) [13] or the background noise (e.g., interfering objects) [14]. It provides a useful tool for exploring the representational similarity between the human brain and DNN models in speech recognition under a more natural condition.
This study aims to investigate the alignment between representations the human brain and DNN models in speech recognition tasks under audiovisual noise. Specifically, we applied a comparative analysis of neural responses and DDN embeddings for English speech with audiovisual noise in natural settings. For DNN models, we extracted the embedding vectors from hidden layers for both pre-trained and fine-tuned models in response to the audiovisual inputs. For neural responses, we recorded electroencephalography (EEG) signals while participants performed a speech comprehension task under audiovisual noise. To evaluate the representational similarity between model embeddings of hidden layers and the neural representations of multi-level speech processing, we quantified the neural responses to acoustic (i.e., speech envelope and noise envelope) and linguistic (i.e., word onset and word surprisal) features using neural encoding models. We then separately simulated the neural responses to these features and computed the representational similarity between the simulated neural responses and DNN embeddings (Fig.1). The main contributions of this work include:
- This work introduces a novel method that combines neural encoding model and representational similarity analysis to evaluate the representational similarity between DNN and neural representations in speech recognition at specific processing levels (e.g., acoustic and linguistic levels).
- This work reveals representational alignments between the transformer-based DNN and human brain in speech recognition under audiovisual noise: DNN representations in the shallower hidden layers are more similar to neural representations of acoustic features, whereas those in deeper layers are more similar to neural representations of linguistic features.
- This work demonstrates that the fine-tuning process enhances the DNN-brain alignments for acoustic-to-linguistic processing in noisy environments. Specifically, the fine-tuning process modulates the trends of representational similarity for acoustic and linguistic features across layers, increasing the representation of noise processing in shallower layers while refining linguistic representations in deeper layers.
2.1 Speech Stimuli
Stimuli consisted of 16 English speech audios selected from LRS3 corpus [15]. Each speech audio was approximately one minute long (58.57 ± 2.44 seconds). Audiovisual noise stimuli were chosen from AVNS corpus [14]. Eight audiovisual noise clips were selected from Road class (recorded

Figure 1: Schematic of analysis framework for computing representational similarity between DNNs embeddings and neural responses. For transformer-based DNNs (top panel), the model is fine-tuned on speech data with congruent audiovisual noise, starting from a pre-trained initialization. Then, embedding vectors of stimulus input are extracted from 12 transformer hidden layers, and utilized to calculate representational dissimilarity matrixes (RDMs). For neural encoding model (bottom panel), the EEG data in each EEG channel is predicted based on a linear combination of time-shifted stimulus features (speech envelope, noise envelope, word onset, and word surprisal). The encoder weights (temporal response functions) are estimated by maximizing the correlation between the actual neural responses and simulated neural responses. The simulated neural responses to stimulus features are utilized to calculate RDMs. Representational similarity is index through Spearman correlation between the RDMs of model embeddings and simulated neural responses.
in the road side), and another eight were selected from Playground class (recorded in badminton courts, basketball courts, and athletics fields). All audiovisual noise clips were recorded at a fixed point. The video depicted natural auditory scenes, and the audio contained sounds from objects in the scenes (such as car driving and telephone ringing) and human vocalizations (such as yelling and cheering) but no speech. The noise-free speech audio recordings were overlapped with the noise audio recordings at a 0 dB signal-to-noise ratio (SNR). The noise speech audio was paired with videos either congruent or incongruent with the noise audio, resulting in congruent and incongruent audiovisual conditions. The audio recordings were sampled at 44.1 kHz, and the video recordings had a frame rate of 25 Hz. Each noise video was paired with congruent and incongruent noise audio once, resulting 32 speech-in-noise stimuli in the current study.
2.2 EEG Experiment
2.2.1 Participants
Twenty English native speakers (eight males; age: 22.4 ± 3.87 years old) were recruited for the EEG experiment. All the participants had self-reported normal hearing and vision, with no mental or neurological disorders. Written informed consent was obtained from all participants. The study was approved by the anonymous Institutional Review Board (Approval Number: anonymous number).
2.2.2 Procedure and task
Participants listened to speech clips with real-world noise while simultaneously viewing the noise-related background videos. Stimulus presentation was controlled using Psycho toolbox in Matlab software (version R2021a) [16]. The audio stimuli were presented binaurally via inserted earphones at a comfortable volume. The video stimuli were displayed on a monitor with a resolution of 1920×1080. After each stimulus, they answered a single-choice question with two options about the speech content by pressing buttons. Following the single-choice question, an additional oral report task was assigned for four randomly selected stimuli. This task required participants to orally describe the background videos, which ensured their attention to the visual stimulus. Participants took a 30-second break between stimuli, each of which was presented once in a random order. As a result, the accuracy rate for the single-choice task was 89.85 ± 7.74%.
2.2.3 EEG acquisition and preprocessing
EEG signals were recorded using a 64-channel BioSemi ActiveTwo EEG system at a sample rate of 2048 Hz. Scalp electrodes were placed according to the 10-10 system, with two external electrodes placed on bilateral mastoids for re-referencing. Four external electrodes were placed on the bilateral outer corners, and above and below the right eye to record the electrooculogram (EOG).
Bad EEG channels were identified through visual inspection during online recordings and confirmed in the offline analysis (1.86 ± 1.15 per participant). These channels were then interpolated using the EEGLAB toolbox [17]. Both EEG and EOG recordings were resampled to 128 Hz and bandpass filtered between 0.5 and 30 Hz using a linear-phase finite impulse response (FIR) filter with an order of 768. The delay caused by the filter was compensated. Filtered EEG and EOG recordings were referenced to the average recording of the bilateral mastoids, and EOG signals were linearly regressed out from all channels. Independent component analysis (ICA) was performed using EEGLAB [17] to further remove artifacts. Data exceeding 6 times the median of amplitude were clipped. Finally, the EEG recordings were bandpass filtered between 1 to 10 Hz using a zero-phase-shift filter and resampled to 25 Hz to match the sampling rate of model embeddings.
2.3 DNN Architecture and Embeddings
2.3.1 Model architecture
The DNN model based on the AV-HuBERT framework was constructed for automatic speech recognition in audiovisual scenes. The AV-HuBERT was a representation learning framework [12, 13], achieving state-of-the-art performance on unimodal [12] and multimodal [13] setups. Here, we used AV-HuBERT BASE as the model architecture for our experiment, and the framework comprised four modules: a feed-forward network audio feature extractor, a modified ResNet video feature extractor, a fusion module, and a Transformer backend with 12 layers. The FFN learned audio representation from the mel-frequency cepstral coefficients (MFCC) of the synthetic speech audio, while the ResNet learned visual representations from the raw image of the background video. These two feature extractors generated frame-level representations for the corresponding streams that were concatenated by the fusion module to form initial audio-visual features. The concatenated audio-visual representations were then fed into transformer-encoder blocks to generate an output representation list . The embedding dimension, feed forward dimension, and attention heads of each transformer block were 768, 3072, and 12, respectively. A linear classifier was used to predict tokens with respect to each .
2.3.2 Pre-trained and fine-tuned models
For the pre-trained model, we directly utilized the open-source AV-HuBERT BASE model (via github) from Shi et al. [12, 13] in our experiment setup. This model was pre-trained on 1326 hours of VoxCeleb2 and 433 hours of LRS3 datasets, capturing effective audio-visual speech representation without additional noise training. For the fine-tuned model, we adopted a noise-related audiovisual dataset to fine-tune the model from the pre-trained initialization [12]. Following the procedure of a previous study [14], the audiovisual dataset was created based on AVNS, and LRS3 datasets, which served as the source of background sound and of target speech respectively. Specifically, the original speech audio was extracted from LRS3 and superimposed by the background sound from the AVNS dataset with 0 dB SNR. Then, video congruent with background sound was attached to the synthetic speech audio. In total, a 433-hour synthetic dataset was generated, and the training, validation, and test sets contained 75%, 15%, and 10% sample clips, respectively. The AV-HuBERT framework consumed frame-level synchronous audio and video streams as input to produce contextualized audio-visual representations for each frame.
The audio and video inputs were downsampled to feature sequences at a frame rate of 25 Hz. The attention-based sequence-to-sequence cross-entropy loss (S2S) was used to fine-tune the model. Specifically, a transformer-based decoder was appended to the output of the encoder and decoded the to a sequence of target token probabilities in an autoregressive manner. The model was trained by minimizing the cross-entropy loss , where was the true token. The fine-tuning process was conducted on a server equipped with one Intel Xeon Silver 4214 CPU, two NVIDIA V100 GPUs, and 256 GB of DDR4 memory. Through the fine-tuning process, the speech recognition accuracy under audiovisual noise increased from 0% in the pre-trained model to 77.14% in the fine-tuned model.
2.3.3 Model embeddings
The audio and video stimuli employed in the EEG experiment were processed by the pre-trained and fine-tuned models. The embedding vector, i.e., a 768-dimensional column vector, for each frame was extracted from each transformer layer. Moreover, the principal component analysis (PCA) was applied to mitigate the high dimensionality and redundancy in embedding vectors. For each clip and transformer layer, the embedding dimension was reduced from 768 to 205, which captured over 90% explained variance. Consequently, the embedding vectors of 16 clips were obtained from audiovisual congruent and incongruent conditions respectively.
2.4 Representational Similarity Analysis
Representational dissimilarity matrix (RDM) was constructed separately for EEG responses and DNN embeddings. Due to the varying length of the speech stimuli (58.57 ± 2.44 seconds), the middle 48 seconds of data was retained by excluding initial and last (duration – 48)/2 seconds of the data segments. This procedure also helped to avoid the onset/offset neural responses. Then, the Euclidean distance was calculated between the DNN embeddings or neural responses of stimulus pairs in audiovisual congruent and incongruent conditions respectively, resulting in 16×16 RDMs for each condition. For neural responses, RDMs were calculated for each participant and channel. For model embeddings, RDMs were calculated for each transformer layer. The Spearman correlation was calculated using the values in the upper triangle of the RDMs between neural responses and model embeddings. In total, 15360 correlation values (12 layers × 20 participants × 64 channels) of each condition were obtained to index the representational similarity between neural responses and model embeddings (Fig.2-4).
2.5 Neural Encoding Model
2.5.1 Feature extraction
Acoustic features consisted of speech envelope and noise envelope. The broadband amplitude envelope of both speech and noise waveforms were obtained through full-wave rectification. The sound envelope was then bandpass filtered between 1 to 10 Hz and resampled to 25 Hz to match the sampling rate of model embeddings. Linguistic features consisted of word onset and word surprisal. Word onset was extracted using the Montreal Forced Aligner [18], and represented as one-dimensional sequence with impulses aligned to the time bins of word onsets (Fig.1). Word surprisal, calculated as the negative logarithm of the conditional probability of the considered word given all the preceding words, was extracted using GPT-2 [19]. Word surprisal was represented as a one-dimensional sequence with impulses at time bins of word onsets, weighted by the corresponding word surprisal values (Fig.1).
2.5.2 TRF estimation
A time-delayed neural encoding model, known as multivariate temporal response function (mTRF), was employed to construct the mappings between speech feature sequences and EEG responses [20, 21, 22]. The feature sequences and EEG responses were temporally aligned for training the neural encoding model. For each speech stimulus, the initial and last 1-second segment of feature sequences and EEG responses was excluded to avoid the onset/offset effects. The neural encoding model was fitted as for each channel and participant, where was the EEG response from the channel, was the speech feature sequence at time , was the regression weight for feature sequence at time lag , and was the noise. The time lags ranged from -200 ms to 800 ms. The regression weight was computed using the least squares estimation with L2 regularization. The regularization parameter was tuned to provide the highest simulated accuracy, which was measured by the Pearson's correlation between the simulated neural responses and the actual responses. The procedure was evaluated using 10-fold cross validation to prevent overfitting. The optimal regularization parameter was set to 0.01, which yielded the highest simulated accuracy averaged over all channels, and participants.

Figure 2: Topographic maps of representational similarity between DNN embeddings and actual EEG responses in speech processing with audiovisual-congruent noise (A-B) and audiovisual-incongruent noise (C-D). Black dots denote the significant channels.
2.5.3 Simulated responses to specific speech features
The simulated neural responses to specific speech features could be created through the neural encoding model. Specifically, the neural response, at time was computed as the convolution of the speech feature sequence with the corresponding regression weight : . The time lags ranged from 0 ms to 800 ms. In the simulation procedure, the feature sequences of speech envelope and noise envelope were normalized using z-scores. Finally, the simulated responses to speech envelope, noise envelope, word onsets, and word surprisal was obtained respectively.
2.6 Statistical analysis
The significance of the neural encoding model (specifically, the mTRF model) was assessed using a cluster-based permutation test [23] in Matlab software (version R2021a). To further investigate how representational similarity between simulated neural responses and DNN embeddings varies across layers, we employed a linear mixed effects (LME) model using lmeTest package [24] in R statistical software (version 4.1.2). Additionally, simple effect analyses were conducted to evaluate differences in representational similarity across model types and speech features using emmeans package [25] in R statistical software (version 4.1.2). When multiple comparisons were performed, the p-value was adjusted using the false discovery rate (FDR) correction [26]. Full details are reported in the supplementary material due to space restrictions.
3 Results
3.1 Representational Similarity
In speech processing with audiovisual-congruent noise, significant representational similarity was observed in most of EEG channels and across all transformer hidden layers in both pre-trained (Fig.2A) and fine-tuned (Fig.2B) models. In contrast, with audiovisual-incongruent noise, significant representational similarity was limited to the first layer in pre-trained model (Fig.2C), and was absent in the fine-tuned model (Fig.2D). Given that the DNN model was fine-tuned on speech with audiovisual-congruent noise, these results suggest that DNNs can naturally evolve human-like information representations through the task-related fine-tuning process. Additionally, in speech processing with audiovisual congruent noise, the representational similarity increased from the first layer to the eleventh layer, but decreased in the last layer, which was trained to match the auto-regressive decoder for text transcriptions. Therefore, the model embeddings of the last layer (Layer 12) were excluded in the following analysis.

Figure 3: Topographic maps of representational similarity between DNN embeddings and simulated neural responses to speech envelope, noise envelope, word onset, and word surprisal in speech processing with audiovisual-congruent noise. Results for pre-trained model (A), and fine-tuned model (B). Black dots denote the significant channels.
3.2 Neural encoding model of speech features
On the top of representational similarity between DNN embeddings and neural responses, we explored the representational similarity between DNN embeddings and simulated neural responses to acoustic and linguistic features. These simulated neural responses were generated using neural encoding models (mTRF). The evaluation analysis revealed that all neural encoding models for acoustic and linguistic features achieved statistical significance (Fig.S1). For acoustic features, the neural encoding model of speech envelope showed a significant negative cluster at 100 ms (, ) and a significant positive cluster at 200 ms (, ) in fronto-central channels (Fig.S1A), which is analogous to classical N1-P2 complex [27]. The neural encoding model of noise envelope showed a significant negative cluster at 400 ms (, ) in frontal channels (Fig.S1B). For linguistic features, the neural encoding model of word onset showed a significant positive cluster at 200 ms (, ) in fronto-central channels (Fig.S1C). The neural encoding model of word surprisal showed a significant positive cluster at 300 ms (, ) and 700 ms (, ) in fronto-central channels and a significant negative cluster at 500 ms (, ) in central channels (Fig.S1D), which is analogous to N400, the classical semantic-related ERP component [28]. These results proved the validity of the neural encoding models of acoustic and linguistic features. Hence, these neural encoding models were employed to simulate the neural responses to acoustic and linguistic features for further representational similarity analysis.
3.3 Feature-based representational similarity
To evaluate the feature-based DNN-brain alignment in speech processing, we analyzed the representational similarity between DNN embeddings and simulated neural responses to acoustic and linguistic features separately. Regarding acoustic features, higher representational similarity between DNN embeddings and simulated neural responses was observed in the shallower layers. For the speech envelope, the pre-trained model showed prominent representational similarity in the first eight layers, with a decrease in deeper layers (Fig.3A). The fine-tuned model exhibited higher similarity in the first six layers, also decreasing in deeper layers (Fig.3B). For the noise envelope, the pre-trained model demonstrated relatively higher representational similarity from Layers 5 to 9, with a peak at Layer 6 (Fig.3A). In contrast, the fine-tuned model exhibited higher similarity in the first five layers, with a peak at Layer 4 (Fig.3B). Regarding linguistic features, higher representational similarity between DNN embeddings and simulated neural responses was observed in the deeper layers. For word onsets, both the pre-trained and fine-tuned models showed increasing representational similarity from shallow to deep layers, with a peak at Layer 11 (Fig.3A&B). Similarly, for word surprisal, representational similarity increased from shallow to deep layers, followed by relative stability in the deeper layers (Fig.3A&B). These results highlight a significant DNN-brain alignment: embeddings from shallow layers exhibit higher similarity to neural responses associated with acoustic features, while those from deeper layers align more closely with neural responses related to linguistic features.
3.4 Representational modulation of fine-tuning
The representational similarity for the pre-trained and fine-tuned models is summarized in Fig.4A-C. The LME analysis was applied to investigate the significant main effects of model types, layers, speech features, and their interactions (Table S1). Additionally, simple effect analysis was applied to compare the across-layer representational similarity between the pre-trained and fine-tuned models (Table S2). Regarding acoustic features, the fine-tuning process decreased the representational similarity for speech envelope across nearly all layers (Layers 2-11). Despite these reductions, the fine-tuning process did not alter the overall trend of higher representational similarity in shallower layers. Importantly, the fine-tuning process shifted the trend of representational similarity for noise envelope across layers, increasing it in shallower layers (Layers 1-5) while decreasing it in deeper layers (Layers 6-9). This shift may indicate that fine-tuning could enhance the model's ability to disentangle noise from speech at an earlier processing stage, potentially reducing the influence of noise on higher-level processing. Regarding linguistic features, the fine-tuning process increased the representational similarity for both word onsets and word surprisal in middle layers (Layers 2-8), and preserved the trend of higher representational similarity in deeper layers (Layers 9-11).
We further compared the across-layer distribution of representational similarity between the pre-trained and fine-tuned models (Fig.4 D-E; also see Table S3). Our analysis revealed that the fine-tuning process modifies the dominance of representational similarity for acoustic and linguistic features across layers, rebalancing the model's focus to improve speech processing in noisy environments. Specifically, in the pre-trained model, representational similarity for acoustic features dominated from Layers 1 to 7, with a transition to linguistic features from Layers 9 to 11. In contrast, in the fine-tuned model, this transition occurred earlier, with acoustic features dominating from Layers 1 to 5 and linguistic features emerging from Layers 6 to 11. These findings indicated that fine-tuned DNN models can naturally develop the acoustic-to-linguistic processing pattern in automatic speech recognition tasks, highlighting a functional alignment between the human brain and DNNs in speech representation.
4 Limitations
There are two main limitations of the current work that should be noted. First, our work primarily focuses on acoustic features (e.g., speech and noise envelopes) and linguistic features (e.g., word onsets and surprisal) that are considered to exhibit universal properties across human languages. While this approach enables us to investigate fundamental mechanisms underlying DNN-brain alignment in speech processing, the exclusive inclusion of native English speakers limits the linguistic diversity of our experimental setup. It still remains crucial for future studies to incorporate a more linguistically diverse data to confirm whether these findings can be generalized across languages and populations. Second, our work specifically employed the AV-HuBERT model, a transformer-based architecture with advanced audiovisual integration capabilities. While this choice was motivated by its relevance to our experimental goals, it raises questions regarding the extent to which our findings depend on the specific model architecture. Although we expect similar patterns of DNN-brain alignment in other transformer-based models such as Wav2Vec 2.0 or HuBERT due to their shared ability to learn

Figure 4: (A-C) Representational similarity of speech envelope, noise envelope, word onset, and word surprisal for the pre-trained, fine-tuned models, as well as their differences. The representational similarity was averaged across channels and participants. (D-E) Representational similarity for acoustic and linguistic features in the pre-trained, and fine-tuned models. The representational similarity is averaged across channels, participants and features. Error bars denote the 95% confidence interval (CI). N.S. denotes non-significant.
hierarchical representations, variations in pre-training objectives and architectural details could lead to subtle differences in both performance and fine-tuning effectiveness. Therefore, future studies should extend this line of research to include comparisons across multiple DNN architectures to further validate the generalizability of our findings.
5 Conclusion
In this study, we introduced a novel method to investigate the representational similarity between DNN embeddings and neural responses in speech recognition under audiovisual noise. An important advantage of our approach lies in the use of reliable neural encoding models (TRFs) built under controlled experimental setups. These models enable us to generate simulated neural responses for new noise scenarios without the need to re-collect neural activity from the human brains. Therefore, our framework can be extended to evaluate DNN-brain alignment in more realistic and diverse noisy environments. The results demonstrated that both pre-trained and fine-tuned models exhibit representational alignments with acoustic-to-linguistic processing in the human brain. Furthermore, the fine-tuning process enhances such DNN-brain alignments by modifying the dominance of acoustic and linguistic processing across DNN layers, thus improving the model's ability to convert raw acoustic inputs into linguistic representations in noisy environments. Our findings suggest that speech representations learned in transformer-based DNNs naturally evolve toward the human-like processing patterns, providing credible evidence for the interpretability of DNNs in automatic speech recognition tasks. The insights from DNN-brain alignment can be utilized to design more effective ASR models by understanding how different layers of a DNN mimic the human brain's processing of acoustic and linguistic information. This knowledge allows us to optimize model architectures and training strategies, enhancing the capture of complex features in speech signals, particularly improving accuracy and robustness in noisy environments.
Acknowledgments and Disclosure of Funding
This work was supported by the Science and Technology Innovation 2030-Brain Science and Brain-inspired Artificial Intelligence Major Project (STI 2030—Major Project No. 2021ZD0201500).
References
[1] Gregory Hickok and David Poeppel. The cortical organization of speech processing. Nature reviews neuroscience, 8(5):393–402, 2007.
[2] Alexei Baevski, Yuhao Zhou, Abdelrahman Mohamed, and Michael Auli. wav2vec 2.0: A framework for self-supervised learning of speech representations. Advances in neural information processing systems, 33:12449–12460, 2020.
[3] Wei-Ning Hsu, Benjamin Bolte, Yao Hung Hubert Tsai, Kushal Lakhotia, Ruslan Salakhutdinov, and Abdelrahman Mohamed. Hubert: Self-supervised speech representation learning by masked prediction of hidden units. IEEE/ACM transactions on audio, speech, and language processing, 29:3451–3460, 2021.
[4] Alec Radford, Jong Wook Kim, Tao Xu, Greg Brockman, Christine McLeavey, and Ilya Sutskever. Robust speech recognition via large-scale weak supervision. In International conference on machine learning, pages 28492–28518. PMLR, 2023.
[5] Philippe G Schyns, Lukas Snoek, and Christoph Daube. Degrees of algorithmic equivalence between the brain and its dnn models. Trends in Cognitive Sciences, 26(12):1090–1102, 2022.
[6] Alexander JE Kell, Daniel LK Yamins, Erica N Shook, Sam V Norman-Haignere, and Josh H McDermott. A task-optimized neural network replicates human auditory behavior, predicts brain responses, and reveals a cortical processing hierarchy. Neuron, 98(3):630–644, 2018.
[7] Yuanning Li, Gopala K Anumanchipalli, Abdelrahman Mohamed, Peili Chen, Laurel H Carney, Junfeng Lu, Jinsong Wu, and Edward F Chang. Dissecting neural computations in the human auditory pathway using deep neural networks for speech. Nature Neuroscience, 26(12):2213–2225, 2023.
[8] Juliette Millet, Charlotte Caucheteux, Yves Boubenec, Alexandre Gramfort, Ewan Dunbar, Christophe Pallier, Jean-Remi King, et al. Toward a realistic model of speech processing in the brain with self-supervised learning. Advances in Neural Information Processing Systems, 35:33428–33443, 2022.
[9] Greta Tuckute, Jenelle Feather, Dana Boebinger, and Josh H McDermott. Many but not all deep neural network audio models capture brain responses and exhibit correspondence between model stages and brain regions. Plos Biology, 21(12):e3002366, 2023.
[10] Aditya R Vaidya, Shailee Jain, and Alexander Huth. Self-supervised models of audio effectively explain human cortical responses to speech. In International Conference on Machine Learning, pages 21927–21944. PMLR, 2022.
[11] Anne Lise Giraud and David Poeppel. Cortical oscillations and speech processing: emerging computational principles and operations. Nature neuroscience, 15(4):511–517, 2012.
[12] Bowen Shi, Wei-Ning Hsu, Kushal Lakhotia, and Abdelrahman Mohamed. Learning audio-visual speech representation by masked multimodal cluster prediction. arXiv preprint arXiv:2201.02184, 2022.
[13] Bowen Shi, Wei-Ning Hsu, and Abdelrahman Mohamed. Robust self-supervised audio-visual speech recognition. arXiv preprint arXiv:2201.01763, 2022.
[14] Cheng Luo, Yiguang Liu, Wenhui Sun, and Zhoujian Sun. Multi-modality speech recognition driven by background visual scenes. In ICASSP 2024-2024 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 10926–10930. IEEE, 2024.
[15] Triantafyllos Afouras, Joon Son Chung, and Andrew Zisserman. Lrs3-ted: a large-scale dataset for visual speech recognition. arXiv preprint arXiv:1809.00496, 2018.
[16] David H Brainard and Spatial Vision. The psychophysics toolbox. Spatial vision, 10(4):433–436, 1997.
[17] Arnaud Delorme and Scott Makeig. Eeglab: an open source toolbox for analysis of single-trial eeg dynamics including independent component analysis. Journal of neuroscience methods, 134(1):9–21, 2004.
[18] Michael McAuliffe, Michaela Socolof, Sarah Mihuc, Michael Wagner, and Morgan Sonderegger. Montreal forced aligner: Trainable text-speech alignment using kaldi. In Interspeech, volume 2017, pages 498–502, 2017.
[19] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019.
[20] Nai Ding and Jonathan Z Simon. Emergence of neural encoding of auditory objects while listening to competing speakers. Proceedings of the National Academy of Sciences, 109(29):11854–11859, 2012.
[21] Nai Ding and Jonathan Z Simon. Adaptive temporal encoding leads to a background-insensitive cortical representation of speech. Journal of Neuroscience, 33(13):5728–5735, 2013.
[22] Michael J Crosse, Nathaniel J Zuk, Giovanni M Di Liberto, Aaron R Nidiffer, Sophie Molholm, and Edmund C Lalor. Linear modeling of neurophysiological responses to speech and other continuous stimuli: methodological considerations for applied research. Frontiers in neuroscience, 15:705621, 2021.
[23] EM Gerber. permutest (https://www.mathworks.com/matlabcentral/fileexchange/71737-permutest), matlab central file exchange. Retrieved December, 29:2021, 2021.
[24] Alexandra Kuznetsova, Per B Brockhoff, and Rune Haubo Bojesen Christensen. Imertest package: tests in linear mixed effects models. Journal of statistical software, 82(13), 2017.
[25] Russell Lenth, H Singmann, J Love, P Buerkner, and M Herve. Emmeans: estimated marginal means, aka least-squares means (version 1.3. 4). Emmeans Estim Marg Means Aka Least-Sq Means, 2019.
[26] Yoav Benjamini and Yosef Hochberg. Controlling the false discovery rate: a practical and powerful approach to multiple testing. Journal of the Royal statistical society: series B (Methodological), 57(1):289–300, 1995.
[27] Risto Näättänen and Terence Picton. The n1 wave of the human electric and magnetic response to sound: A review and an analysis of the component structure. Psychophysiology, 24(4):375–425, 1987.
[28] Marta Kutas and Kara D Federmeier. Thirty years and counting: finding meaning in the n400 component of the event-related brain potential (erp). Annual review of psychology, 62(1):621–647, 2011.
A Technical Appendices and Supplementary Material
A.1 Statistical analysis
To evaluate the significance of neural encoding model (mTRF model), we computed surrogate mTRF models using the speech feature sequences circularly shifted a random time lag ranging from 1 to 1200 samples (1/25 to 48 seconds). This procedure was repeated for 101 times, resulting in 101 surrogate mTRF models for the actual mTRF model. All the mTRF models were baseline corrected by subtracting the averaged value at time lags from -200 to 0 ms. The actual mTRF was then evaluated by comparing it with the chance-level mTRF averaged across all the corresponding surrogate mTRF models using a cluster-based permutation test [23] in Matlab software (version R2021a). For each time-channel sample, the actual and chance-level mTRF weights of all participants were compared using a paired t-test. Samples with a significant t-value () were selected. Spatiotemporally neighboring significant samples were grouped into clusters, and the cluster-level statistic was defined as the sum of the t-values within each cluster. The significance of a cluster was evaluated using Monte-Carlo method: First, actual and chance-level mTRFs were collected into a single set. Second, the single set of mTRFs was randomly divided into two equal subsets. Third, the t-values and cluster-level statistics were calculated based on these two subsets. Fourth, the second and third steps were repeated for 1024 times, resulting in a distribution of the largest cluster-level statistics under the null hypothesis. Fifth, the actual cluster-level statistics were determined as significant if they exceeded the 95th percentile of the null distribution. As the significance of a cluster was judged against a null distribution, this procedure inherently corrected for multiple comparisons.
To evaluate the significance level of the representational similarity, surrogate correlation values were calculated by the shuffled RDMs between neural responses and model embeddings. This procedure was repeated 101 times for each participant and EEG channel. The significance level was determined as , where represents the number of times the surrogate correlation values exceeded the actual correlation values. For the condition-level analysis, the significance of representational similarity was assessed using the correlation values obtained from each participant and EEG channel. For the channel-level analysis, the significance was evaluated using the mean correlation values averaged across all participants.
To further investigate how representational similarity between simulated neural responses and DNN embeddings varies across layers, we utilized a linear mixed effect (LME) model using lmeTest package [24] in R statistical software (version 4.1.2). The model included the fixed effects of model types (pre-trained model vs. fine-tuned model), DNN layers (eleven levels), and speech features. The speech features were categorized into specific features (speech envelope, noise envelope, word onset, and word surprisal) or broader types (acoustic vs. linguistic). The random effects of participants and channels were also included in the LME model. As a result, the model was described as: representational similarity model types * DNN layers * speech features + (1 | participants) + (1 | channels). Furthermore, simple effect analyses were conducted to assess the difference in representational similarity across model types and speech features using emmeans package [25]. In the LME analysis, we set insignificant representational similarity values to zero. This exclusion criterion ensured that only statistically reliable representational similarity values were included in the LME models, preserving the accuracy of our statistical analysis.
All test statistics are summarized in Table S1 to S3.
Table S1: Contrasts for the LME model with the interaction across model types, DNN layers, and speech features on the representational similarity (env.: speech envelope. n.env.: noise envelope. w.onset.: word onset. w.surp.: word surprisal). The p-values were adjusted using the Tukey method to control for the increased error rate associated with multiple comparisons.
| Pre-trained model | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Contrast | Est. | z | p adjusted | Est. | z | p adjusted | Est. | z | p adjusted | Est. | z | p adjusted |
| Layer 1 | Layer 2 | Layer 3 | Layer 4 | |||||||||
| env.-n.env. | 0.178 | 31.795 | <.0001 | 0.259 | 46.193 | <.0001 | 0.220 | 39.168 | <.0001 | 0.185 | 33.081 | <.0001 |
| env.-w.onset. | 0.164 | 29.245 | <.0001 | 0.240 | 42.842 | <.0001 | 0.214 | 38.201 | <.0001 | 0.148 | 26.424 | <.0001 |
| env.-w.surp. | 0.176 | 31.406 | <.0001 | 0.202 | 35.950 | <.0001 | 0.107 | 19.143 | <.0001 | 0.152 | 27.190 | <.0001 |
| n.env.-w.onset. | -0.014 | -2.551 | 1 | -0.019 | -3.351 | 0.590 | -0.005 | -0.967 | 1 | -0.037 | -6.657 | <.0001 |
| n.env.-w.surp. | -0.002 | -0.389 | 1 | -0.057 | -10.243 | <.0001 | -0.112 | -20.025 | <.0001 | -0.033 | -5.891 | <.0001 |
| w.onset-w.surp. | 0.012 | 2.162 | 1 | -0.039 | -6.891 | <.0001 | -0.107 | -19.058 | <.0001 | 0.004 | 0.766 | 1 |
| Layer 5 | Layer 6 | Layer 7 | ||||||||||
| env.-n.env. | 0.104 | 18.562 | <.0001 | 0.064 | 11.363 | <.0001 | 0.064 | 11.506 | <.0001 | 0.024 | 4.317 | .012 |
| env.-w.onset. | 0.119 | 21.239 | <.0001 | 0.121 | 21.669 | <.0001 | 0.092 | 16.362 | <.0001 | 0.007 | 1.220 | 1 |
| env.-w.surp. | 0.114 | 20.309 | <.0001 | 0.080 | 14.185 | <.0001 | 0.054 | 9.635 | <.0001 | 0.015 | 2.592 | 1 |
| n.env.-w.onset. | 0.015 | 2.677 | 1 | 0.058 | 10.305 | <.0001 | 0.027 | 4.856 | .0001 | -0.017 | -3.097 | 1 |
| n.env.-w.surp. | 0.010 | 1.747 | 1 | 0.016 | 2.821 | 1 | -0.010 | -1.871 | 1 | -0.010 | -1.725 | 1 |
| w.onset-w.surp. | -0.005 | -0.930 | 1 | -0.042 | -7.484 | <.0001 | -0.038 | -6.728 | <.0001 | 0.008 | 1.372 | 1 |
| Layer 9 | Layer 10 | Layer 11 | ||||||||||
| env.-n.env. | 0.024 | 4.250 | .017 | 0.078 | 13.923 | <.0001 | 0.074 | 13.221 | <.0001 | |||
| env.-w.onset. | -0.057 | - | <.0001 | -0.095 | -16.954 | <.0001 | -0.113 | -20.231 | <.0001 | |||
| env.-w.surp. | -0.042 | -7.414 | <.0001 | -0.056 | -10.035 | <.0001 | -0.078 | -13.856 | <.0001 | |||
| n.env.-w.onset. | -0.081 | - | <.0001 | -0.173 | -30.877 | <.0001 | -0.188 | -33.451 | <.0001 | |||
| n.env.-w.surp. | -0.065 | - | <.0001 | -0.134 | -23.958 | <.0001 | -0.152 | -27.077 | <.0001 | |||
| w.onset-w.surp. | 0.015 | 2.712 | 1 | 0.039 | 6.919 | <.0001 | 0.036 | 6.374 | <.0001 | |||
| Fine-tuned model | ||||||||||||
| Contrast | Est. | z | p adjusted | Est. | z | p adjusted | Est. | z | p adjusted | Est. | z | p adjusted |
| Layer 1 | Layer 2 | Layer 3 | Layer 4 | |||||||||
| env.-n.env. | 0.001 | 0.096 | 1 | 0.094 | 16.792 | <.0001 | -0.025 | -4.447 | .007 | -0.061 | -10.877 | <.0001 |
| env.-w.onset. | 0.059 | 10.463 | <.0001 | 0.063 | 11.297 | <.0001 | 0.061 | 10.910 | <.0001 | -0.001 | -0.176 | 1 |
| env.-w.surp. | 0.142 | 25.284 | <.0001 | 0.106 | 18.847 | <.0001 | 0.047 | 8.409 | <.0001 | 0.027 | 4.886 | <.0001 |
| n.env.-w.onset. | 0.058 | 10.367 | <.0001 | -0.031 | -5.495 | <.0001 | 0.086 | 15.357 | <.0001 | 0.060 | 10.702 | <.0001 |
| n.env.-w.surp. | 0.141 | 25.188 | <.0001 | 0.012 | 2.055 | 1 | 0.072 | 12.856 | <.0001 | 0.088 | 15.764 | <.0001 |
| w.onset- | 0.083 | 14.821 | <.0001 | 0.042 | 7.550 | <.0001 | -0.014 | -2.501 | 1 | 0.028 | 5.062 | <.0001 |
| Layer 5 | Layer 6 | Layer 7 | Layer 8 | |||||||||
| env.-n.env. | -0.035 | -6.326 | <.0001 | -0.013 | -2.231 | 1 | 0.009 | 1.644 | 1 | -0.062 | -11.001 | <.0001 |
| env.-w.onset. | -0.018 | -3.298 | .710 | -0.065 | -11.664 | <.0001 | -0.125 | -22.343 | <.0001 | -0.174 | -31.099 | <.0001 |
| env.-w.surp. | -0.062 | -11.056 | <.0001 | -0.091 | - | <.0001 | -0.185 | -32.967 | <.0001 | -0.161 | -28.685 | <.0001 |
| n.env.-w.onset. | 0.017 | 3.028 | 1 | -0.053 | -9.433 | <.0001 | -0.134 | -23.987 | <.0001 | -0.113 | -20.098 | <.0001 |
| n.env.-w.surp. | -0.027 | -4.730 | .002 | -0.078 | - | <.0001 | -0.194 | -34.611 | <.0001 | -0.099 | -17.684 | <.0001 |
| w.onset- | -0.043 | -7.758 | <.0001 | -0.025 | -4.496 | .005 | -0.060 | -10.624 | <.0001 | 0.014 | 2.414 | 1 |
| Layer 9 | Layer 10 | Layer 11 | ||||||||||
| env.-n.env. | -0.073 | -12.968 | <.0001 | -0.050 | -8.908 | <.0001 | -0.058 | -10.394 | <.0001 | |||
| env.-w.onset. | -0.173 | -30.945 | <.0001 | -0.182 | - | <.0001 | -0.186 | -33.212 | <.0001 | |||
| env.-w.surp. | -0.142 | -25.303 | <.0001 | -0.091 | - | <.0001 | -0.067 | -11.962 | <.0001 | |||
| n.env.-w.onset. | -0.101 | -17.977 | <.0001 | -0.132 | - | <.0001 | -0.128 | -22.817 | <.0001 | |||
| n.env.-w.surp. | -0.069 | -12.335 | <.0001 | -0.041 | -7.365 | <.0001 | -0.009 | -1.568 | 1 | |||
| w.onset- | 0.032 | 5.642 | <.0001 | 0.091 | 16.210 | <.0001 | 0.119 | 21.250 | <.0001 | |||
Table S2: Simple effects analysis of representational similarity: Comparisons between pre-trained and fine-tuned models for Fig.4A-C. The p-values were adjusted using the Bonferroni method to control for the increased error rate associated with multiple comparisons.
| Estimate | z | p adjusted | Contrast | Estimate | z | p adjusted | |
|---|---|---|---|---|---|---|---|
| Speech envelope | |||||||
| Layer 1 | 0.017 | 2.978 | .128 | Layer 7 | 0.140 | 24.937 | <.0001 |
| Layer 2 | 0.087 | 15.597 | <.0001 | Layer 8 | 0.122 | 21.832 | <.0001 |
| Layer 3 | 0.061 | 10.964 | <.0001 | Layer 9 | 0.115 | 20.474 | <.0001 |
| Layer 4 | 0.047 | 8.368 | <.0001 | Layer 10 | 0.084 | 15.054 | <.0001 |
| Layer 5 | 0.031 | 5.503 | <.0001 | Layer 11 | 0.058 | 10.370 | <.0001 |
| Layer 6 | 0.100 | 17.874 | <.0001 | ||||
| Noise envelope | |||||||
| Layer 1 | -0.161 | -28.721 | <.0001 | Layer 7 | 0.085 | 15.075 | <.0001 |
| Layer 2 | -0.077 | -13.803 | <.0001 | Layer 8 | 0.037 | 6.514 | <.0001 |
| Layer 3 | -0.183 | -32.651 | <.0001 | Layer 9 | 0.018 | 3.257 | .0495 |
| Layer 4 | -0.199 | -35.590 | <.0001 | Layer 10 | -0.044 | -7.777 | <.0001 |
| Layer 5 | -0.109 | -19.384 | <.0001 | Layer 11 | -0.074 | -13.245 | <.0001 |
| Layer 6 | 0.024 | 4.279 | <.0001 | ||||
| Word onset | |||||||
| Layer 1 | -0.089 | -15.804 | <.0001 | Layer 7 | -0.077 | -13.768 | <.0001 |
| Layer 2 | -0.089 | -15.947 | <.0001 | Layer 8 | -0.059 | -10.486 | <.0001 |
| Layer 3 | -0.092 | -16.327 | <.0001 | Layer 9 | -0.002 | -0.344 | 1 |
| Layer 4 | -0.102 | -18.232 | <.0001 | Layer 10 | -0.003 | -0.475 | 1 |
| Layer 5 | -0.107 | -19.033 | <.0001 | Layer 11 | -0.015 | -2.611 | .398 |
| Layer 6 | -0.087 | -15.459 | <.0001 | ||||
| Word surprisal | |||||||
| Layer 1 | -0.018 | -3.144 | .073 | Layer 7 | -0.099 | -17.665 | <.0001 |
| Layer 2 | -0.008 | -1.506 | 1 | Layer 8 | -0.053 | -9.445 | <.0001 |
| Layer 3 | 0.001 | 0.230 | 1 | Layer 9 | 0.014 | 2.586 | .427 |
| Layer 4 | -0.078 | -13.936 | <.0001 | Layer 10 | 0.049 | 8.816 | <.0001 |
| Layer 5 | -0.145 | -25.862 | <.0001 | Layer 11 | 0.069 | 12.265 | <.0001 |
| Layer 6 | -0.070 | -12.471 | <.0001 | ||||
Table S3: Simple effects analysis of representational similarity: Comparisons between acoustic and linguistic features for fig.4D-E. The p-values were adjusted using the Bonferroni method to control for the increased error rate associated with multiple comparisons.
| Estimate | z | p adjusted | Contrast | Estimate | z | p adjusted | |
|---|---|---|---|---|---|---|---|
| Pre-trained | |||||||
| Layer 1 | 0.081 | 19.589 | <.0001 | Layer 7 | 0.041 | 9.837 | <.0001 |
| Layer 2 | 0.091 | 22.130 | <.0001 | Layer 8 | -0.001 | -0.343 | 1 |
| Layer 3 | 0.051 | 12.339 | <.0001 | Layer 9 | -0.061 | -14.793 | <.0001 |
| Layer 4 | 0.058 | 13.939 | <.0001 | Layer 10 | -0.115 | -27.774 | <.0001 |
| Layer 5 | 0.064 | 15.605 | <.0001 | Layer 11 | -0.133 | -32.116 | <.0001 |
| Layer 6 | 0.069 | 16.626 | <.0001 | ||||
| Fine-tuned | |||||||
| Layer 1 | 0.100 | 24.203 | <.0001 | Layer 7 | -0.160 | -38.665 | <.0001 |
| Layer 2 | 0.037 | 9.065 | <.0001 | Layer 8 | -0.137 | -33.117 | <.0001 |
| Layer 3 | 0.067 | 16.135 | <.0001 | Layer 9 | -0.121 | -29.381 | <.0001 |
| Layer 4 | 0.044 | 10.582 | <.0001 | Layer 10 | -0.112 | -27.052 | <.0001 |
| Layer 5 | -0.023 | -5.450 | <.0001 | Layer 11 | -0.097 | -23.611 | <.0001 |
| Layer 6 | -0.072 | -17.374 | <.0001 | ||||
A.2 Supplementary figures
A Speech envelope

B Noise envelope
C Word onset
D Word surprisal
Figure S1: Neural encoding model weights (mTRFs) for speech envelope (A), noise envelope (B), word onset (C), and word surprisal (D). The top panels show the spatiotemporal cluster of mTRFs. The horizontal x-axis denotes time lags of mTRFs, and the vertical y-axis denotes 64 channels from occipital (bottom) to frontal (top). Each brick in the coordinate system represents the mTRF amplitude per time interval and channel. Significant positive and negative amplitude are displayed in red and blue, respectively. The topographies show the spatial distribution of significant spatiotemporal clusters. The topographies show the spatial distribution of significant spatiotemporal clusters. Color bar represents t-value obtained in the cluster-based permutation test. The bottom panels show the amplitude of mTRFs. The colorful lines represent the amplitude of mTRF in each channel. The black lines represent the amplitude of chance level (surrogate mTRF).
Welcome to the Experiment!
This study aims to explore the cognitive mechanisms of speech comprehension.
| Task Overview | During the Experiment | Breaks |
|---|---|---|
Thank you for your participation! If you have any questions, feel free to ask.
Figure S2: The full text of instructions given to participants.