SCRIBE: Scalable Contextual Representations of Interpretable Brain-Grounded Semantics
Organizations: Max Planck Institute for Software Systems (MPI-SWS)
Abstract
Understanding how the human brain constructs meaning from real-world language remains a fundamental challenge, as semantics depend on context that varies in natural settings. To enable the study of real-world linguistic meaning in the brain, we introduce SCRIBE, a framework grounded in a neuroscience-informed semantic space that leverages an ensemble of open-source large language models to generate interpretable, word-level semantic representations of arbitrary text. In a behavioral study with 921 participants, we show that human semantic feature judgments vary systematically with context, and that SCRIBE captures these shifts, reaching 75-81% of the estimated human noise ceiling. Using brain activity recorded while participants listen to naturalistic stories, we further demonstrate that SCRIBE predicts neural responses in language-selective brain regions, significantly outperforming non-contextual semantic representations. Variance partitioning reveals that SCRIBE explains unique brain-predictive information beyond syntactic features, suggesting that its representations capture aspects of linguistic meaning not accounted for by the measured syntactic features. Together, these findings establish SCRIBE as a scalable and interpretable foundation for studying natural language semantics in the brain.
Figures & tables
| Model | Pearson | MSE | ||
| Mistral 7B Instruct | 0.61 | 2.16 | ||
| Qwen 2.5 7B Instruct | 0.69 | 1.32 | ||
| LLaMA 3.1 8B Instruct | 0.67 | 1.70 | ||
| LLaMA 3.1 70B Instruct | 0.74 | 1.53 | ||
| Ensemble | 0.77 | 1.07 |
| (a) Contextual modulation | ||||||
| Annotator | O | |||||
| Human | 2.67 | 3.23 | 4.23 | |||
| Ensemble | 1.58 | 2.18 | 3.54 | |||
Appendix figures & tables33 assets
Supplementary material from the paper’s appendix.
Appendix
| Name | Type | Modality | Submodality | Description |
| Vision | Sensory | Vision | General | Something that you can easily see |
| Bright | Sensory | Vision | Intensity | Visually light or bright |
| Dark | Sensory | Vision | Intensity | Visually dark |
| Color | Sensory | Vision | Surface | Has a characteristic or defining color |
| Pattern | Sensory | Vision | Surface | Has a characteristic visual texture or surface pattern |
| Large | Sensory | Vision | Size | Large in size |
| Component | Variant | Modification |
| Baseline | Base prompt | Prompt used throughout the main experiments (Appendix A.2.1 ). |
| Role | Remove expert role | Remove the instruction: “You are an expert in rating to what degree words are associated with semantic properties.” |
| Task | Property name only | Provide only the property name instead of its relation and definition, e.g., “associated with Motion?” |
| Task | Property name + definition | Provide the property name followed by its relation and definition, e.g., “associated with Motion (showing a lot of visually observable movement)?” |
| Task | Relation: as | Replace “associated with” by “as”, e.g., “To what degree is the word {word} as {property relation} {property explanation}?” |
| Task | Relation: characterized by | Replace “associated with” by “characterized by”, e.g., “To what degree is the word {word} characterized by {property relation} {property explanation}?” |
| Model | Ablation | MSE | Pearson Corr. |
| llama3.1-8b-instruct | Base | 1.693 | 0.674 |
| No role | 2.615 | 0.580 | |
| Property name only | 2.684 | 0.498 | |
| Property name + definition | 1.867 | 0.639 | |
| Relation “as” | 1.717 | 0.663 | |
| Relation “characterized by” | 1.700 | 0.659 |
| Example | Context size | Context |
| 1 | of those people | |
| I’m one of those people | ||
| raised with a religion and I’m one of those people | ||
| so a lot of people are raised with a religion and I’m one of those people | ||
| 2 | the word pretty | |
| extension of the word pretty |
| Property | Concept | Low-context sentence | High-context sentence |
| Angry | thunder | The thunderstorm was a beautiful display of nature. | The loud thunder made me furious. |
| Motion | bus | The bus was parked at the station. | The bus sped down the highway. |
| Social | dinner | I ate dinner alone at home. | We had dinner together with friends at the restaurant. |
| Pleasant | fireworks | The loud fireworks startled the baby. | Watching fireworks on the 4th of July was a joyful experience. |
| Fast | bus | The bus moved slowly through traffic. | The bus sped down the highway. |
| Motion | activist | The activist sat quietly in the corner. | The activist marched through the streets. |
| Region | Labels |
| Angular gyrus (AG) | PFm, PGs, PGi, TPOJ2, TPOJ3 |
| Lateral temporal cortex (LTC) | STSda, STSva, STGa, TE1a, TE2a, TGv, TGd, A5, STSdp, STSvp, PSL, STV, TPOJ1 |
| Inferior frontal gyrus (IFG) | 44, 45, IFJa, IFSp |
| Middle frontal gyrus (MFG) | 55b |
| Primary auditory cortex (A1) | A1 |
| Early auditory regions | A1, PBelt, MBelt, LBelt, RI, A4 |
| Round 1 | Round 2 | |||
| Version 1 | Version 2 | Version 1 | Version 2 | |
| Survey responses | 270 | 276 | 256 | 258 |
| Completed and matched to Prolific | 249 | 255 | 250 | 250 |
| After removing duplicates | 245 | 255 | 250 | 250 |
| Failed attention check(s) | – † | – † | 25 | 29 |
| Mean response time s | 2 | 13 | 4 | 5 |
| Annotator | Concept | Average scores | Wilcoxon -value (two-sided) | Wilcoxon -value (one-sided) | ||||||
| Bin | O | vs O | vs O | vs | ||||||
| Human | All O | 2.67 | 3.23 | 4.23 | ||||||
| L O | 1.73 | 1.78 | 3.36 | |||||||
| M O | 2.75 | 3.43 | 4.33 | |||||||
| H O | 3.52 | 4.47 | 4.98 | |||||||
| Ensemble | All O | 1.58 | 2.18 | 3.54 | ||||||
| Model | Average scores | Wilcoxon -value (two-sided) | Wilcoxon -value (one-sided) | ||||||
| O | vs O | vs O | vs | ||||||
| Human | 2.67 | 3.23 | 4.23 | ||||||
| Llama3.1-70B | 1.71 | 2.53 | 4.09 | ||||||
| Llama3.1-8B | 1.77 | 2.27 | 3.22 | ||||||
| Mistral-7B | 1.39 | 1.60 | 3.50 | ||||||
| Qwen2.5-7B | 1.43 | 2.32 | 3.36 | ||||||
| Condition | [95% CI] | Ceiling | Raters for 0.90 | ||
| 0.40 | 0.84 [0.82, 0.87] | 0.92 | 6.39 | 14 | |
| 0.27 | 0.74 [0.70, 0.78] | 0.86 | 3.91 | 25 | |
| 0.24 | 0.72 [0.66, 0.76] | 0.85 | 3.55 | 29 |
| /ceiling | MSE | |||||
| Model | ||||||
| Llama3.1-70B | 0.79 | 0.76 | 0.64 | 2.98 | 3.97 | 3.30 |
| Llama3.1-8B | 0.70 | 0.68 | 0.66 | 3.49 | 2.77 | 4.27 |
| Mistral-7B | 0.57 | 0.65 | 0.67 | 5.82 | 4.41 | 3.69 |
| Qwen2.5-7B | 0.76 | 0.70 | 0.63 | 2.35 | 3.41 | 2.59 |
| Ensemble | 0.80 | 0.81 | 0.75 | 2.59 | 2.64 | 2.31 |
| rater | 0.54 | 0.39 | 0.37 |
| raters | 0.65 | 0.50 | 0.47 |
| raters | 0.70 | 0.56 | 0.52 |
| raters | 0.73 | 0.59 | 0.56 |
| SCRIBE ensemble | 0.68 | 0.62 | 0.56 |
| Compared | Cond. | MSE [95% CI] | Chance | Floor | Offset | Offset term | Scale term | Corr. term |
| SCRIBE | 2.59 [2.22, 2.98] | 6.53 | 0.36 | 1.09 | 0.07 | 1.43 | ||
| SCRIBE | 2.64 [2.31, 3.00] | 5.71 | 0.45 | 1.19 | 0.11 | 1.35 | ||
| SCRIBE | 2.31 [1.91, 2.74] | 4.80 | 0.35 | 0.47 | 0.41 | 1.43 | ||
| Binder norms | 1.45 [1.22, 1.69] | 5.54 | 0.36 | 0.15 | 0.07 | 1.24 |
| Model | Concept | Average scores | Wilcoxon -value (two-sided) | Wilcoxon -value (one-sided) | ||||||
| Bin | L T | O | H T | L T vs O | H T vs O | H T vs L T | L T O | H T O | H T L T | |
| Llama3.1-8B | All O | 1.86 | 2.16 | 3.04 | ||||||
| L O | 0.67 | 0.62 | 1.39 | |||||||
| M O | 1.86 | 2.06 | 3.08 | |||||||
| H O | 3.06 | 3.81 | 4.64 | |||||||
| Mistral-7B | All O | 1.37 | 1.55 | 3.11 | ||||||
| Word type | Context Size | S1 | S2 | S3 | S5 | S6 | S7 | S8 | Avg STE |
| Nouns | out-of-context | 0.1372 | 0.1122 | 0.1190 | 0.1066 | 0.0933 | 0.0896 | 0.0931 | 0.1073 0.0065 |
| window/k3 | 0.1420 | 0.1237 | 0.1301 | 0.1217 | 0.0789 | 0.0881 | 0.0807 | 0.1093 0.0098 | |
| window/k5 | 0.1442 | 0.1202 | 0.1330 | 0.1129 | 0.1051 | 0.0873 | 0.0884 | 0.1130 0.0081 ∗ | |
| window/k10 | 0.1621 | 0.1362 | 0.1384 | 0.1200 | 0.1101 | 0.0869 | 0.0858 | 0.1199 0.0106 ∗ | |
| window/k50 | 0.1760 | 0.1485 | 0.1207 | 0.1381 | 0.1116 | 0.0831 | 0.0928 | 0.1244 0.0123 | |
| up to concept | 0.1566 | 0.1191 | 0.1001 | 0.1048 | 0.0732 | 0.0777 | 0.0681 | 0.1000 0.0118 |
| Word type | Context Size | S1 | S2 | S3 | S5 | S6 | S7 | S8 | Avg STE |
| Nouns | out-of-context | 0.1368 | 0.0917 | 0.1012 | 0.0848 | 0.0821 | 0.0871 | 0.0693 | 0.0933 0.0081 |
| window/k3 | 0.1449 | 0.1248 | 0.1000 | 0.0938 | 0.0445 | 0.0939 | 0.0721 | 0.0963 0.0124 | |
| window/k5 | 0.1506 | 0.1337 | 0.1156 | 0.0975 | 0.0794 | 0.1048 | 0.0898 | 0.1102 0.0095 ∗ | |
| window/k10 | 0.1729 | 0.1521 | 0.1340 | 0.1300 | 0.0897 | 0.1103 | 0.0944 | 0.1262 0.0115 ∗ | |
| window/k50 | 0.1622 | 0.1441 | 0.1248 | 0.1206 | 0.0871 | 0.0975 | 0.0880 | 0.1177 0.0109 ∗ | |
| up to concept | 0.1318 | 0.1171 | 0.1016 | 0.1051 | 0.0790 | 0.0832 | 0.0720 | 0.0985 0.0082 |
| Word type | Context Size | S1 | S2 | S3 | S5 | S6 | S7 | S8 | Avg STE |
| Nouns | out-of-context | 0.1420 | 0.1083 | 0.1209 | 0.1181 | 0.0919 | 0.0883 | 0.0811 | 0.1072 0.0082 |
| window/k3 | 0.1537 | 0.1455 | 0.1360 | 0.1236 | 0.0880 | 0.0857 | 0.0906 | 0.1176 0.0110 ∗ | |
| window/k5 | 0.1618 | 0.1482 | 0.1321 | 0.1304 | 0.1061 | 0.0927 | 0.0917 | 0.1233 0.0103 ∗ | |
| window/k10 | 0.1809 | 0.1581 | 0.1449 | 0.1396 | 0.1097 | 0.0958 | 0.1036 | 0.1332 0.0119 ∗ | |
| window/k50 | 0.1823 | 0.1363 | 0.1358 | 0.1358 | 0.0987 | 0.0878 | 0.0883 | 0.1236 0.0130 ∗ | |
| up to concept | 0.1606 | 0.1162 | 0.1415 | 0.1211 | 0.0917 | 0.0856 | 0.0876 | 0.1149 0.0109 ∗ |
| Word type | Context Size | S1 | S2 | S3 | S5 | S6 | S7 | S8 | Avg STE |
| Nouns | out-of-context | 0.1347 | 0.1239 | 0.1135 | 0.1104 | 0.0942 | 0.0943 | 0.0872 | 0.1083 0.0066 |
| window/k3 | 0.1454 | 0.1430 | 0.1136 | 0.1143 | 0.0832 | 0.0971 | 0.0838 | 0.1115 0.0097 | |
| window/k5 | 0.1502 | 0.1382 | 0.1241 | 0.1247 | 0.0791 | 0.1026 | 0.0926 | 0.1160 0.0096 | |
| window/k10 | 0.1711 | 0.1519 | 0.1295 | 0.1300 | 0.0927 | 0.1094 | 0.0961 | 0.1258 0.0109 ∗ | |
| window/k50 | 0.1789 | 0.1372 | 0.1069 | 0.1370 | 0.0686 | 0.0948 | 0.0947 | 0.1169 0.0139 | |
| up to concept | 0.1509 | 0.1383 | 0.1080 | 0.1200 | 0.0524 | 0.0905 | 0.1028 | 0.1090 0.0123 |
| Region | Method | S1 | S2 | S3 | S5 | S6 | S7 | S8 | Avg STE |
| Whole Brain | 0.2284 | 0.2263 | 0.1714 | 0.2023 | 0.1800 | 0.1519 | 0.1258 | 0.1837 0.0144 | |
| QAEmb | 0.2343 | 0.2115 | 0.1626 | 0.1788 | 0.1554 | 0.1544 | 0.1477 | 0.1778 0.0125 | |
| QAEmb + | 0.2579 | 0.2426 | 0.1895 | 0.2140 | 0.1926 | 0.1684 | 0.1504 | 0.2022 0.0146 ∗ | |
| Late Language | 0.1673 | 0.1990 | 0.2112 | 0.1348 | 0.1371 | 0.1191 | 0.0536 | 0.1460 0.0201 | |
| QAEmb | 0.1715 | 0.1943 | 0.1932 | 0.1136 | 0.1214 | 0.1153 | 0.0615 | 0.1387 0.0186 | |
| QAEmb + | 0.1880 | 0.2145 | 0.2253 | 0.1395 | 0.1450 | 0.1285 | 0.0632 | 0.1577 0.0213 ∗ |
| Region | Method | S1 | S2 | S3 | S5 | S6 | S7 | S8 | Avg STE |
| Whole Brain | (65) | 0.2284 | 0.2263 | 0.1714 | 0.2023 | 0.1800 | 0.1519 | 0.1258 | 0.1837 0.0144 |
| (33) | 0.2275 | 0.2101 | 0.1848 | 0.2046 | 0.1897 | 0.1504 | 0.1340 | 0.1859 0.0126 | |
| Late Language | (65) | 0.1673 | 0.1990 | 0.2112 | 0.1348 | 0.1371 | 0.1191 | 0.0536 | 0.1460 0.0201 |
| (33) | 0.1660 | 0.1897 | 0.2124 | 0.1351 | 0.1396 | 0.1178 | 0.0561 | 0.1452 0.0197 | |
| LTC | (65) | 0.1991 | 0.2046 | 0.1770 | 0.1609 | 0.1819 | 0.1155 | 0.0377 | 0.1538 0.0223 |
| (33) | 0.1938 | 0.1974 | 0.1762 | 0.1615 | 0.1814 | 0.1146 | 0.0402 | 0.1522 0.0216 |
Distributional Semantics
Distributional semantics models word meaning from patterns of co-occurrence and context in language.
See all 22 papers