Scaling laws for language encoding models in fMRI

Richard J. Antonello, Aditya R. Vaidya, Alexander G. Huth
2/12/2026

No official code found. Best implementation: HuthLab/encoding-model-scaling-laws (26 stars, last commit 2024-05-30).

Abstract

Representations from transformer-based unidirectional language models are known to be effective at predicting brain responses to natural language. However, most studies comparing language models to brains have used GPT-2 or similarly sized language models. Here we tested whether larger open-source models such as those from the OPT and LLaMA families are better at predicting brain responses recorded using fMRI. Mirroring scaling results from other contexts, we found that brain prediction performance scales logarithmically with model size from 125M to 30B parameter models, with ~15% increased encoding performance as measured by correlation with a held-out test set across 3 subjects. Similar logarithmic behavior was observed when scaling the size of the fMRI training set. We also characterized scaling for acoustic encoding models that use HuBERT, WavLM, and Whisper, and we found comparable improvements with model size. A noise ceiling analysis of these large, high-performance encoding models showed that performance is nearing the theoretical maximum for brain areas such as the precuneus and higher auditory cortex. These results suggest that increasing scale in both models and data will yield incredibly effective models of language processing in the brain, enabling better scientific understanding as well as applications such as decoding.

View on arXivView PDF

Code Implementations(1)

Repository for the 2023 NeurIPS paper "Scaling laws for language encoding models in fMRI"

264Python, Jupyter NotebookOct 27, 20232 years ago

Similar Papers

Cite this paper

@article{antonello2026scaling,
  title  = {Scaling laws for language encoding models in fMRI},
  author = {Richard J. Antonello and Aditya R. Vaidya and Alexander G. Huth},
  year   = {2026},
  eprint = {2305.11863},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2305.11863},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.11863.svg)](https://codeofpaper.com/paper/2305.11863)

Discussion