May 28, 2024
Over the past decade, studies of naturalistic language processing where participants are scanned while listening to continuous text have flourished. Using word embeddings at first, then large language models, researchers have created encoding models to analyze the brain signals. Presenting these models with the same text as the participants allows to identify brain areas where there is a significant correlation between the functional magnetic resonance imaging (fMRI) time series and the ones predicted by the models’ artificial neurons. One intriguing finding from these studies is that they have revealed highly symmetric bilateral activation patterns, somewhat at odds with the well-known left lateralization of language processing. Here, we report analyses of an fMRI dataset where we manipulate the complexity of large language models, testing 28 pretrained models from 8 different families, ranging from 124M to 14.2B parameters. First, we observe that the performance of models in predicting brain responses follows a scaling law, where the fit with brain activity increases linearly with the logarithm of the number of parameters of the model (and its performance on natural language processing tasks). Second, although this effect is present in both hemispheres, it is stronger in the left than in the right hemisphere. Specifically, the left-right difference in brain correlation follows a scaling law with the number of parameters. This finding reconciles computational analyses of brain activity using large language models with the classic observation from aphasic patients showing left hemisphere dominance for language.
Since the seminal discovery that language disorders are most often associated with lesions to the brain’s left hemisphere [1]–[4], the existence of a left-right asymmetry in the cortical processing of language has been amply documented through different approaches, e.g., studies of split-brain patients [5], intracarotid amobarbital injections [6], electrocortical stimulation [7], functional brain imaging [8]–[11], and behavioral measurements such as reaction times to words presented in the left or right visual fields [12]. All in all, even if there is clear evidence that the right hemisphere is implicated in speech and language processing [13]–[17], it is estimated that left hemispheric dominance for language occurs in approximately 90% of healthy individuals [18], [19].
Given this state of affairs, one can only be surprised by the symmetric patterns highlighted by studies that have relied on computational models of language to predict fMRI brain time-courses in participants listening to naturalistic texts [20]–[25]. For example, [20] constructed word embeddings using a latent-semantic approach based on co-occurrence counts [26] and used them as predictors of brain activity while participants listened to stories. The maps revealed by this approach were strikingly symmetric. This finding was replicated in subsequent studies that have used predictors derived from more advanced language models based on LSTM [27] or Transformers [22]–[25] (but see [28] who reported a significant left-right asymmetry). One potential interpretation is that brain scores are essentially driven by semantic representations [29], supposedly represented in a very distributed fashion across both hemispheres [20].
In this paper, we use 28 large language models (LLMs) of increasing size (from GPT-2 with 124 million parameters to Qwen1.5-14B with 14.2 billion parameters; see Table 1 for the full list) to fit fMRI data obtained from participants who listened to a naturalistic text (from Le Petit Prince dataset, [30]). We find that a clear left-right asymmetry emerges as the size and performance of these models increases, and that this is not simply due to differences in signal-to-noise ratio between left and right hemispheres.
We use the publicly available fMRI dataset Le Petit Prince1 which provides recordings from English, French and Chinese participants who had listened to the audiobook of Le Petit Prince in their native language while being scanned using functional magnetic resonance (TR=2 s; voxel size=3.75 \(\times\) 3.75 \(\times\) 3.8 mm). Technical details on fMRI acquisition and preprocessing can be found in the publication accompanying the dataset [30]. Here, we use fMRI data spatially normalized in the Montreal Neurological Institute space, from all 49 English speakers. All of them were right-handed according to the Edinburgh handedness questionnaire. For each participant, fMRI acquisition was divided into 9 runs lasting each for about 10 min.
To reduce the computational burden of the study, and because we are interested in making inferences about the general population, we compute a group average from all subjects. In order to further reduce the computational cost of the study, all
functional data are first resampled to 4 mm isotropic voxels, close to the original acquisition resolution. Before averaging, we compute a symmetric brain mask common to all subjects using nilearn compute_multi_epi_mask function
with the threshold parameter set at 50%. The resulting mask, henceforth named whole brain volume, comprises 25870 voxels (1656 cm\(^3\)). For all subjects and each run independently, voxels’ time-series are
high-pass filtered with a cut-off of 128 s, linearly detrended and standardized (zero mean and unit variance). We then compute the average subject by taking the mean of all these values per voxel and per run. Finally, we trim the first 20 s and the last 20
s of each run, as these were found to present deviation artifacts, and standardize the resulting time-series.
In order to evaluate the signal-to-noise ratio in each voxel, independently of any language model, we estimate the reliability of each voxel across participants. To do so, we split the group of all 49 subjects into two (almost) equal subgroups (24/25), compute the average response for each group and predict the BOLD time series from each voxel of one group from the activity of all the voxels from the other group. The fitting procedure follows the same method described in more details below when fitting brain response with neural network activations, and is based on a linear mapping from one set of responses to another, evaluated on a held-out run through cross-validation, and regularized using ridge regression (L2). For each run, for each voxel, we thus compute the correlation between the true activity and the activity predicted from the other group of subjects, with a linear model trained on the other runs. This procedure is repeated 10 times, using different splits of the subjects. The final inter-group correlation for each voxel is the average over these 10 trials, and is plotted in 1. The resulting map is quite consistent to the ones obtained in previous inter-subjects correlations language studies [15]. The plots presented in the main paper are based on the subset of the 25% most reliable voxels, representing a total of 6468 voxels (414 cm\(^3\)) – 3297 in the left hemisphere and 3171 in the right hemisphere. These voxels are in hot-colored regions delineated with the dashed lines on 1. In Fig. 8, inter-subjects correlations averaged over parcels defined by the Harvard-Oxford atlas are plotted. The graphics in panels (b) and (c) reveal a strong relationship between correlations in the left and right homologous regions, with a tendency toward stronger correlations in the left than in the homologous right regions.
We selected a set of a priori regions of interest from previous works on syntactic and semantic composition: the Temporal Pole (TP), anterior Superior Temporal Sulcus (aSTS) and posterior Superior Temporal Sulcus (pSTS) from [31], the Inferior Frontal Gyrus pars opercularis (BA44), triangularis (BA44) and orbitalis (BA47) from [32], and the Angular Gyrus/Temporal Parietal Junction (AG/TPJ) from [33]. Each region was defined as a sphere of 10 mm radius centered on the following coordinates in the Montreal Neurological Institute’s MNI152 space : TP (-48, 15, -27), aSTS (-54, -12, -12), pSTS (-51, -39, 3), AG/TPJ (-52, -56, 22), BA44 (-50, 12, 16), BA45 (-52, 28, 10), BA47 (-44,34,-8).
We used 28 pretrained models, all available on the Hugging Face hub, ranging from 124M to 14.2B parameters. The full list along with some details on the number of parameters, layers and hidden size (number of neurons \(n_{\text{neurons}}\) at the output of each layer) is provided in 1 in Appendix. These pretrained models come from 8 different families, namely GPT-2 [34], OPT [35], Llama 2 [36], Qwen [37], gemma [38], Stable LM [39], Mistral [40], and Mamba [41]. In this study, we only
consider base models, trained with the same next-word prediction task. Most models are based on the Transformer decoder architecture [42], apart from the Mamba family, which is a recent come-back of the recurrent neural network approach that is competitive with the Transformer language models.
In order to extract the activation of each model in response to the text of The Little Prince, each model is fed with the full original English text. We make use of the time-aligned speech segmentation provided in the Le Petit Prince
openneuro.org repository, to align the activity of the neural networks with what the subjects heard in the scanner. Each word in the text is associated with its onset in the audiobook, and the representation that we compute is the average of all the
vectors of all the tokens that constitute this word, as well as the following punctuation marks if there are any. Finally, in order to mimic the BOLD response, the activity of the artificial neural network under consideration is convolved with the Glover
haemodynamic response function [43], as implemented in the nilearn package.
In addition to considering all these pretrained language models, we look at a few baselines to compare with. First, we consider purely random vectors, aligned with the word onsets. Second, we consider random embeddings, similar to the previous case, but where each word is always associated with the same (random) vector. In these two cases, we look at 300 and 1024 dimensional vectors. The results presented in this paper for these random baselines were averaged over 10 models obtained from different seeds. Third, we look at non-contextual embeddings provided by the seminal GloVe embeddings, where each word is always associated with the same vector, of 300 dimensions here, after training on co-occurrences on large English text corpora [44].
For each model, we separately consider the activity provided by each layer, plus the embedding layer. Hence, for a 12-layer model, we consider 13 layers. Let us notate \(X_{l,k}\) the activity of a layer \(l\) generated by the text of run \(k\), (after convolution with the haemodynamic response function, as described above), and \(Y_{v,k}\) the BOLD time series of voxel \(v\) of run \(k\). \(X_{l,k}\) is a \(n_{\text{scans},k} \times n_{\text{neurons}}\) matrix, and \(Y_{v,k}\) a vector of dimension \(n_{\text{scans},k}\), where \(n_{\text{scans},k}\) is the number of scans of run \(k\), and \(n_{\text{neurons}}\) the number of dimensions of layer \(l\) (for instance, gpt2-large model has 1280 dimensions, and Mistral-7B-v0.1 has 4096 dimensions). The goal is to predict the functional brain activity \(Y_{v,k}\) using the artificial neural activity \(X_{l,k}\) as regressors, simply using a linear mapping between the two: \(\widehat{Y_{v,k}} = X_{l,k} \beta\), where \(\beta\) is a vector of dimension \(n_{\text{neurons}}\). In order to avoid overfitting, the \(\beta\) coefficients are determined using ridge regression with regularization strength controlled by the parameter \(\alpha\). More precisely, given a run \(k\) used as test, all the remaining 8 runs are used as training set to determine the \(\beta\) coefficients. The hyperparameter \(\alpha\) is chosen using nested cross-validation among a range of possible values (16 values log-spaced between \(10^2\) and \(10^7\)): among the runs used for training, one is used for validation, and the remaining 7 runs for training the ridge regression with each value of \(\alpha\). Correlation between the actual values \(Y_{v,\text{val}}\) and the predicted ones \(\widehat{Y_{v,\text{val}}}\) is used to decide which value of \(\alpha\) is used during training: the best \(\alpha\) is chosen as the one yielding the greatest correlation averaged over all voxels 2. This value is then used to compute the ridge regression on the training runs and predict the functional brain activity on the test run \(k\). The brain correlation for a given voxel \(v\) and a given layer \(l\) is given by repeating this procedure for all 9 runs and taking the average correlation: \(1/n_\text{runs}\sum_{k=1}^{n_\text{runs}} \mathop{\mathrm{corr}}(Y_{v,k}; \widehat{Y_{v,k}})\). In the end, for a given voxel, we take as brain correlation the best correlation when considering all the layers of the model.
The Python 3.10 code written for the present project relies on the following libraries: transformers v4.40.1 [45],
scikit_learn v1.4.2 [46], nilearn v0.10.4, Pytorch v2.3.0 [47], matplotlib v3.8.4 [48], seaborn v0.13.2 [49], numpy v1.26.4 [50], pandas v2.2.2 [51],
statsmodels v0.14.2 [52]. All pretrained models were downloaded from Hugging Face through the
transformers interface. The code is available at https://github.com/l-bg/llms_brain_lateralization.
The main English study on the average subject takes about five days of CPU time on a computer equipped with an Intel Xeon w5-3425 processor (12 cores), mainly dedicated to perform the ridge regression of all layers of all models, using the
scikit-learn package.



Figure 2: Performance of various models in predicting fMRI brain time-courses. (a) Density estimates of the distributions of \(r\)-scores obtained for all 28 large language models, the random baselines and GloVe. The densities are scaled to have the same maximum (b) Average \(r\)-score as a function of the number of parameters of the model, in log scale. Here and in the next figures, the shaded area indicates the 95% confidence interval of the slope, computed with bootstrap. (c) Same, split by models’ family..
The distributions of correlations over voxels, for each model, are displayed on panel (a) of 2 for the 25% most reliable voxels, and of 9 for the whole brain volume. The random vector baseline yields very low brain correlations centered around 0. Random embeddings (fixed random vector for each word) show positive correlations, especially in the 25% most reliable voxels mask, and it increases with the dimension of the embeddings from 300 to 1024. GloVe word embeddings perform better than these baselines. Finally, the contextual embeddings provided by the large language models yield even higher brain correlations.
Focusing on the contextual large language models, 2b shows the relationship between the size of the language models and their prediction performance, that is, the average correlation across the 25% most reliable
voxels. The linear correlation between the brain correlation and the logarithm of the number of parameters is \(r=0.95, p=7.3e-15\). The corresponding plot for the whole volume, displayed in panel (b) of 9, also shows a linear relationship (\(r=0.95, p=3.2e-14\)). This finding replicates the scaling law first described by [53].
2c details the results by the family of models. Older models like the ones from the OPT family perform worse than more recent ones like Mistral or Qwen, although within the same family the scaling law holds well in
general, as exemplified by the GPT-2, OPT or Qwen1.5 families. Interestingly, the Mamba family, which is based on a recurrent neural network architecture contrary to all the other, Transformer-based, models, has similar brain scores, although they lie at
the bottom of the envelope of the results (see Fig. 10). In addition, we performed an analysis of the fit as a function of layer depth, depicted in 11. The results
confirm earlier reports by [22] and [28] that the middle layers are the most predictive ones.
3 shows the brain correlations maps associated with the two most extreme models: GPT-2 with the smallest number of parameters and Qwen1.5-14B with the largest number of parameters. Interestingly, while the map generated by GPT-2 is quite symmetric, Qwen1.5-14B fits fMRI responses better in the left hemisphere than in the right (while overall performing better than GPT-2).


Figure 3: Brain correlation maps associated with the smallest (a) and the largest model (b). These maps show the increase in \(r\)-score relative to the model using the random embedding baseline 1024d..
To investigate the strength of the relationship between model size and brain score in each voxel, we compute the slope of the linear regression line between the logarithm of the number of parameters and the correlation score. These slopes are displayed in 4. The strongest effects of model size are detected in the left angular gyrus, the medial prefrontal cortex and the precuneus on the medial surface of the parietal lobe. Smaller effects are detected in the middle temporal and inferior frontal gyri.
The number of parameters of a model is a rough proxy of its performance on language tasks. For example, OPT-13B is found to have lower performances on various natural language processing tasks than Mistral-7B which has almost half the number of parameters. Hence, we also look at measures of models’ performance beyond their raw number of parameters. First we compute the perplexity of all the models on the Wikitext-2 test set [54]. Second we look at the Hellaswag benchmark [55], which aims to measure the ability of a model to understand language. This measure was found to be quite challenging for language models, and the performance of models scale on this benchmark well with the training budget, either in terms of number of parameters or number of tokens seen during training [36]. 5 shows how brain correlation increases with better models, either as measured by lower perplexity on the Wikitext-2 test set or on the Hellaswag benchmark. Both measures exhibit strong correlation with brain fit (\(r=-0.91, p=1.1e-11\) for perplexity and \(r=0.95, p=4.2e-15\) for Hellaswag). But this is particularly relevant when looking at the ten largest models, with number of parameters above 3 billions: whereas the correlation between brain score and number of parameters is no longer significant in this case (\(r=0.30, p=0.41\)), the other measures of performance display a significant correlation (\(r=-0.86, p=1.5e-3\) for perplexity and \(r=0.83, p=3.0e-3\) for Hellaswag): see 5.
The maps presented on 3 and 4 hint at left-right differences. Therefore, we plot the relationships between model size and brain scores split by hemisphere in 6a. This graphic reveals that the larger the model, the stronger the left-right asymmetry. More precisely, while the smallest models have similar \(r\)-scores both in the left and right hemisphere, the largest models yield stronger \(r\)-scores in the left one. The interaction between model size and hemisphere can be assessed by the correlation between model size and the left-right difference in \(r\)-scores, displayed in Fig. 6b. This graph shows that the difference also follows a scaling law (\(r=0.89\), \(p=1.8e^{-10}\)). See Fig. 13 for a similar analysis on the whole brain volume. Finally, as we did for the brain scores (Fig. 11), we examined the effect of layer depth on the asymmetry. This analysis, reported on Fig. 14, shows that the layers with the stronger fit also have the strongest left-right asymmetry.
The relationships between model size and \(r\)-scores in seven regions of interest from the language network in the left hemisphere, and in their mirror-image regions in the right hemisphere, are shown on 7. Brain scores improve with model size in all regions, both in the left and in the right hemisphere. Except for pars opercularis (BA44) in the inferior frontal gyrus, and for the temporal pole (TP), a left-right asymmetry in favor of the left emerges when model size increases. The steepest effect occurs in the Angular gyrus/Temporo-parietal. This region, AG_TPJ, was already highlighted in 4 showing the slopes in individual voxels.
Do large models fit the left hemisphere better than the right simply because the signal-to-noise ratio, or ceiling of explainable signal, is higher in the left voxels than in the right ones? A proxy for the explainable signal is the model-free inter-subject correlation (ISC). Fig. 8 shows that the ISC indeed tends to be stronger on the left. To determine if this could explain our findings, we conducted several analyses presented on Fig. 15 and Fig. 16. First, we computed “normalized \(r\)-scores” by dividing raw \(r\)-scores by the ISC in each voxel. Panels (a) and (b) of Fig. 15 display the relationship between these normalized brain correlations and model size. The left-right asymmetry previously observed with raw \(r\)-scores on Fig. 6 still holds. Next, using the parcels from the Harvard-Oxford atlas, we plot the relationship between ISC, brain correlations and their asymmetry (Fig. 15, bottom panels). Although ISC and brain correlation correlate (panel c), the left-right difference in slope of brain correlation as a function of model size does not covary with the interhemispheric difference in ISC (panel d). Finally, we computed the ISC in our Regions of Interest. Fig. 16 suggests that while differences in ISC partly explain the average brain score difference, they do not explain the increase in difference between left and right hemispheres, across models.
In order to assess the impact of model training on the left-right asymmetry, we compared \(r\)-scores for randomly initialized, untrained models, and for trained models, from the GPT-2 and the Qwen1.5 families. Fig. 17a shows that, with training, brain correlations get better on the left hemisphere compared to the right one. Moreover, while the left-right score difference increases with the number of parameters for trained models, this relationship breaks down and is flat in the case of the untrained models. Another way to assess the influence of model training is to fit the same LLM at various stages of training. The Pythia family [56] provides many intermediate checkpoints during training, from the untrained model, randomly initialized, to the full model, trained on one epoch on the training set of 300B tokens from the Pile dataset. Here we consider Pythia-6.9B, with 32 layers and 4096 dimensions. Fig. 17b shows the impact of training on brain correlations. The model’s fit improves as training proceeds and the left-right asymmetry, originality biased towards the right hemisphere, increases, reaching a plateau favoring the left hemisphere.
As left dominance is universal (see e.g. [11]; it is even attested in sign language, [57]), we wanted to check if our result holds for other languages. We therefore applied our approach to Chinese and French data provided in Le Little Prince dataset (considering all 35 Chinese participants and all 28 French participants).
We first computed inter-subjects correlations. Their distributions and the corresponding maps are displayed on Fig.18 and Fig.19 panels (a) and (b). The correlation values are lower than for English (Fig.8), but the most reliable voxels encompass the same brain regions. Panels (d) and (e) reporting correlations in regions from the Harvard-Oxford atlas (shown in panel (c)) and their left-right difference qualitatively replicate the previous observations in English results, that is, left-right asymmetries are detected in the same regions.
Although much fewer LLMs are available than for English, some models on the Hugging Face hub were trained on Chinese or French data. We considered 10 models for Chinese, ranging from 12M to 14B parameters, and 4 models for French, ranging from 124M to 7B parameters (see panel (f)). The relationships between model size and \(r\)-scores are presented in panels (g), (h) and (i) of Fig. 18 and Fig. 19. They confirm the scaling law, and the emergence of the left-right hemispheric asymmetry in two languages different from English.
The analyses presented above were performed on data averaged across individuals. It is important to verify if the emergence of asymmetry holds at the individual level or is an artifact of averaging. Because of limitations in time and computational power available to us, we could only analyze five participants on a subset of models. To avoid any bias, we selected the first 5 English participants. The results, presented in 20, show that three of them present a significant increase in asymmetry (\(p<0.05\)) when considering the full brain (panel c), and four when considering the 10% voxels with the highest \(r\)-scores in each hemisphere (panel e).
By manipulating the size of artificial neural language models used to fit fMRI data of naturalistic language comprehension, we observed: (1) a linear relationship between the logarithm of the number of parameters of models and their ability to predict the fMRI time-courses (2) and (2) a left-right asymmetry emerging when encoding models are based on increasingly complex models (6).
The first observation replicates the finding of [53] who described a scaling law between model size and brain score, extending to brain data the scaling laws observed between model size and performance on various NLP tasks [58]. Here, we generalize their result to a different dataset that includes three languages, and using a larger variety of models and families that notably include a non-Transformer, Mamba.
The scaling law breaks down when focusing on the largest models, above 3B parameters. Yet, in this range, indices assessing the performance of the model on NLP tasks are still predictive of brain score (5). The relationship between neural network models performance in NLP tasks and brain scores, was also investigated by [24] and by [28]. Both teams reported that brain scores generally improved as the performance in the next word prediction task increased, extending to the field of language processing results that were found in the visual domain by [59] or in the auditory domain by [60]. [28] found that brain scores reached a plateau, and even dropped somewhat (see their Fig.2g) which might be due to an overspecialization for the next word prediction task in their study [61].
Our second observation is the emergence of an asymmetry with increasing model size, a finding that has not been reported in the literature 3. A quick but vague explanation is that larger models better capture language representations in the left hemisphere. It begs the question of which representations are improved in larger models relative to smaller ones. For example, is it lexical, syntactic, semantic, pragmatic or world knowledge? The present work calls for detailed comparisons of the features discovered by large vs small language models, and how and where this translates into better fMRI prediction.
One can attempt to perform inverse inference, that is, try to infer which processes are involved from the brain areas highlighted by our analyses, keeping in mind the pitfalls of such an approach [62]. The cortical areas where model size has the strongest impact are the Angular gyrus, the Precuneus and the medial prefrontal cortex (mPFC). These regions are also those where the effects of training a (small) network are the strongest [63] and were fit by models trained on semantic but not on syntax by [25]. These regions are not specific to language, e.g. they are part of the default mode network, but are involved in the highest levels of language comprehension [64], [65]. The mPFC and Precuneus are known to be sensitive to discourse coherence [66], [67]. The Angular Gyrus is also considered part of the semantic system [33], [68]–[70]. This suggests that the main effect of increasing model size is to improve the model capabilities at the semantic and pragmatic levels. The analysis by regions of interest revealed that the asymmetry holds in most regions of the core language network, except pars opercularis (BA44) and the Temporal Pole. The left BA44 has been associated with syntax [71] and/or speech processing [72]. The temporal poles, both on the left and on the right, are linked to semantic processing [73], [74] and have been designated as an amodal semantic hub by [75] [76].
It is remarkable that in all regions of interest, even in the right hemisphere, the largest models’ fits always improve over the smallest models (see Fig.7). It has been known for long that the right hemisphere has some language capacity [17], which can manifest in split brain patients or in patients with lesions in the left hemisphere [16]. The right hemisphere has been associated with speech processing, especially prosody, usually considered to be processed in the right temporal lobe [77], as well as with high-level aspects of language understanding involved in the comprehension of metaphors or jokes [13], [14]. More work will be needed to determine which aspects of LLMs allow them to fit these regions.
Our main analyses were performed on fMRI data averaged across participants because of computational power limitations. We report preliminary analyses on 5 participants showing that the emergence of asymmetry holds at the individual level (see Fig. 20). Nevertheless there is an important variability between subjects in brain correlations, in the difference between left hemispheric vs. right hemispheric average brain correlations, and in the slope of the left-right difference. It would be interesting for future work to assess the reliability of these measures, and to compare them with independent assessments of individual language hemispheric dominance. Unfortunately, such measurements are not provided in the fMRI dataset that we use.
An interesting question concerns the evolution of lateralization during the training process of large language models, either by training such a model from scratch or by having access to checkpoints during the training [53], [63]. In humans, it seems that language processing in the brain starts bilaterally and then becomes progressively lateralized over time [78]–[80], although some studies have found very early lateralization [81], [82]. Our preliminary exploration with the Pythia-6.9B model (Fig. 17) reveals that the left-right asymmetry emerges during the training process. This leaves open the questions of which representations improved by learning are responsible for this asymmetry, and whether parallels with the development of language acquisition can be drawn.
We would like to sincerely thank all four anonymous reviewers, whose constructive feedback significantly contributed to the improvement of the paper. Many thanks also to Yair Lakretz, Emmanuel Chemla, and all the participants of the Linguae ML seminar at École Normale Supérieure.
| model name | \(n_\text{parameters}\) | \(n_\text{layers}\) | \(n_\text{neurons}\) | |
|---|---|---|---|---|
| gpt2 | 124M | 12 | 768 | |
| gpt2-medium | 355M | 24 | 1024 | |
| gpt2-large | 774M | 36 | 1280 | |
| gpt2-xl | 1.56B | 48 | 1600 | |
| opt-125m | 125M | 12 | 768 | |
| opt-350m | 331M | 24 | 1024 | |
| opt-1.3b | 1.32B | 24 | 2048 | |
| opt-2.7b | 2.65B | 32 | 2560 | |
| opt-6.7b | 6.66B | 32 | 4096 | |
| opt-13b | 12.9B | 40 | 5120 | |
| Llama-2-7b-hf | 6.74B | 32 | 4096 | |
| Llama-2-13b-hf | 13.02B | 40 | 5120 | |
| Qwen1.5-0.5B | 464M | 24 | 1024 | |
| Qwen1.5-1.8B | 1.84B | 24 | 2048 | |
| Qwen1.5-4B | 3.95B | 40 | 2560 | |
| Qwen1.5-7B | 7.72B | 32 | 4096 | |
| Qwen1.5-14B | 14.17B | 40 | 5120 | |
| gemma-2b | 2.51B | 18 | 2048 | |
| gemma-7b | 8.54B | 28 | 3072 | |
| stablelm-2-1_6b | 1.64B | 24 | 2048 | |
| stablelm-3b-4e1t | 2.80B | 32 | 2560 | |
| stablelm-2-12b | 12.14B | 40 | 5120 | |
| Mistral-7B-v0.1 | 7.24B | 32 | 4096 | |
| mamba-130m-hf | 129M | 24 | 768 | |
| mamba-370m-hf | 372M | 48 | 1024 | |
| mamba-790m-hf | 793M | 48 | 1536 | |
| mamba-1.4b-hf | 1.37B | 48 | 2048 | |
| mamba-2.8b-hf | 2.77B | 64 | 2560 |
| ROI | p-value of two sample t-test | correlation L-R vs. \(\log(n_\text{parameters})\) | p-value |
|---|---|---|---|
| TP | 4.1e-02 | 0.36 | 6.2e-02 |
| aSTS | 7.3e-11 | 0.85 | 1.0e-08 |
| pSTS | 3.5e-09 | 0.82 | 1.2e-07 |
| AG_TPJ | 9.3e-22 | 0.84 | 1.7e-08 |
| BA44 | 4.8e-01 | 0.15 | 4.6e-01 |
| BA45 | 5.7e-07 | 0.73 | 9.4e-06 |
| BA47 | 1.4e-05 | 0.56 | 1.9e-03 |



Figure 9: Performance of various models in predicting fMRI brain time-courses. Same as Fig. 2, but for the whole brain volume..


Figure 10: Scaling law of fMRI encoding models, by family. (a) Average over the 25% most reliable voxels (b) Average over the whole brain volume..


Figure 11: Brain correlation as a function of the relative layer depth, split by family. The relative layer depth corresponds to the depth of a given layer relative to the input and output layers: the first layer is the non-contextual embedding layer, at position 0, and the last hidden layer is at position 1. Considering (a) the 25% most reliable voxels or (b) the whole brain volume..


Figure 14: Left-right difference in brain correlation as a function of the relative layer depth, split by family. Considering (a) the 25% most reliable voxels or (b) the whole brain volume..


Figure 17: Impact of model training. (a) Left-right difference in brain correlation as a function of the number of parameters (in log scale), for two model families (GPT-2 and Qwen1.5), before (gray dots) and after (blue dots) training. (b) Brain correlation (top) and left-right difference in brain correlation (bottom) as a function of the amount of training, for the Pythia-6.9b model. From the untrained model (0%) to the fully trained model (100% corresponds to one epoch through the 300B tokens training set). All results were computed on the 25% most reliable voxels..





Figure 20: Individual analyses performed on five English participants. Each column corresponds to one participant, sub-EN057, sub-EN058, sub-EN059, sub-EN061 and
sub-EN062 respectively. Nine large language models were used: all the models from the GPT-2 and Qwen1.5 families used in the main study (see Table 1), ranging from 124M to 14.2B parameters. (a) For each
individual, brain correlation on the whole brain volume as a function of the number of parameters (in log scale). (b) Same as (a), but for the left hemisphere (red) and for the right hemisphere (green). (c) Difference between left and right hemispheric
brain correlations. (d) and (e) Same as (b) and (c) but considering the best 10% voxels of the left hemisphere vs. the best 10% voxels of the right hemisphere..
We performed exploratory analyses showing that a single value for \(\alpha\) for all the voxels in the brain was not detrimental to the predictions of the functional data, and produced a massive gain in speed.↩︎
Note that the growing asymmetry with model size goes beyond showing a left-right difference in a single model, which could be explained by signal-to-noise ratio asymmetry [28]↩︎