[Paper Review] Joint processing of linguistic properties in brains and language models
This study introduces a direct intervention method to isolate and remove specific linguistic properties (surface, syntactic, semantic) from BERT and GPT-2 representations, revealing that syntactic features—particularly Top Constituents and Tree Depth—have the strongest influence on brain alignment across model layers. The removal of any linguistic property significantly reduces alignment with fMRI recordings, demonstrating that joint processing of these features underlies the observed correspondence between language models and human brain activity.
Language models have been shown to be very effective in predicting brain recordings of subjects experiencing complex language stimuli. For a deeper understanding of this alignment, it is important to understand the correspondence between the detailed processing of linguistic information by the human brain versus language models. We investigate this correspondence via a direct approach, in which we eliminate information related to specific linguistic properties in the language model representations and observe how this intervention affects the alignment with fMRI brain recordings obtained while participants listened to a story. We investigate a range of linguistic properties (surface, syntactic, and semantic) and find that the elimination of each one results in a significant decrease in brain alignment. Specifically, we find that syntactic properties (i.e. Top Constituents and Tree Depth) have the largest effect on the trend of brain alignment across model layers. These findings provide clear evidence for the role of specific linguistic information in the alignment between brain and language models, and open new avenues for mapping the joint information processing in both systems. We make the code publicly available [https://github.com/subbareddy248/linguistic-properties-brain-alignment].
Motivation & Objective
- To investigate how specific linguistic properties jointly contribute to the alignment between brain activity and pre-trained language models.
- To determine which linguistic features are most responsible for the observed correspondence between fMRI recordings and language model representations.
- To develop and validate a direct intervention method that isolates linguistic information in model representations to assess its impact on brain alignment.
- To reconcile conflicting views on where in the model hierarchy high-level linguistic processing occurs by testing the functional role of individual linguistic properties.
- To enable more interpretable and cognitively plausible AI by identifying the linguistic features that underlie brain-model alignment.
Proposed method
- A linear projection function is trained to map each linguistic property (e.g., Top Constituents, Tree Depth) onto BERT/GPT-2 hidden states, enabling the estimation of a residual representation without that property.
- The residual representation is obtained by subtracting the predicted linguistic contribution from the original model representation, effectively removing that property's influence.
- A linear encoding model is trained to predict fMRI activity from both the full and residual language model representations, measuring brain alignment before and after removal.
- Statistical significance of alignment differences is tested to determine whether the removal of a specific linguistic property significantly affects brain alignment.
- Correlation analysis is performed across model layers between changes in decoding performance and changes in brain alignment to identify which linguistic properties shape the overall alignment trend.
- The method is applied to multiple language regions (e.g., IFG, MFG, PCC, ATL, PTL) and sub-regions to assess regional specificity of linguistic feature contributions.
Experimental results
Research questions
- RQ1Which linguistic properties are most responsible for the alignment between language model representations and fMRI brain recordings?
- RQ2How does the removal of individual linguistic properties affect the trend of brain alignment across layers of BERT and GPT-2?
- RQ3Do syntactic, semantic, or surface-level properties have a disproportionate impact on brain alignment in specific brain regions?
- RQ4To what extent do linguistic features explain the bump in brain alignment observed in middle layers of language models?
- RQ5Can this intervention-based approach be generalized to other language models and linguistic properties?
Key findings
- The removal of any linguistic property—surface, syntactic, or semantic—results in a significant decrease in brain alignment across all layers of BERT and GPT-2.
- Top Constituents has the largest overall effect on the trend of brain alignment across BERT layers, particularly driving the peak alignment in middle layers across all language regions.
- Tree Depth significantly influences alignment in temporal (ATL, PTL) and frontal (IFG, MFG) language regions, indicating region-specific syntactic processing.
- Semantic properties such as Tense, Subject Number, and Object Number show strong local effects on alignment with more semantic regions like the PCC.
- Even after removing all tested linguistic properties, substantial brain alignment remains, indicating that other unmeasured linguistic or non-linguistic features also contribute to the alignment.
- The same pattern of results is replicated in GPT-2, suggesting that the findings are robust across different model architectures and training objectives.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.