Riding Brainwaves in LLM Space: Understanding Activation Patterns Using Individual Neural Signatures
Abstract
Consumer-grade EEG is entering everyday devices, from earbuds to headbands, raising the question of whether language models can be adapted to individual neural responses. We test this by asking whether frozen LLM representations encode person-specific EEG signals, directions in activation space that predict one person's brain activity but not another's. Using word-level EEG from 30 participants reading naturalistic sentences (ZuCo corpus), we train a separate linear probe for each person, mapping hidden states from a frozen Qwen 2.5 7B to that individual's EEG power. Person-specific probes outperform a single population probe on every EEG feature tested; for high-gamma power, the person-specific probe achieves rho = 0.183, a ninefold improvement over the population probe (rho = 0.020, p < 10^-4). A negative control, fixation count, shows no person-specific advantage (p = 0.360); fixation count reflects word length and frequency rather than individual cognition. The individual directions are temporally stable (split-half cosine = 0.824), non-transferable across people (self rho = 0.369 vs. other rho = 0.143, p < 10^-19), and distinct from the shared population signal: person-specific probes retain predictive power after the population component is removed. The person-specific signal concentrates in the model's deep layers, rising consistently with depth and peaking at Layer 24 of 28. The results are consistent across architectures (LLaMA 3.1 8B) and survive word-level confound controls. Frozen language models contain stable, person-specific neural directions in their deep layers, providing a geometric foundation for EEG-driven personalization.
Figures & tables
| Feature | Person | Pop | ||
| meanPupilSize | 0.261 | 0.071 | +0.189 | |
| TRT_g2 (gamma high) | 0.183 | 0.020 | +0.163 | |
| TRT_g1 (gamma low) | 0.156 | 0.043 | +0.113 | |
| TRT_b2 (beta high) | 0.145 | 0.069 | +0.077 | |
| TRT_t1 (theta low) | 0.100 | 0.024 | +0.075 | |
| TRT_a1 (alpha low) | 0.127 | 0.054 | +0.073 |
| Feature | Person | Person | Pop | |
|---|---|---|---|---|
| (raw) | (confounds removed) | (confounds removed) | (confounds removed) | |
| TRT_g2 | 0.183 | 0.169 | 0.057 | |
| TRT_g1 | 0.151 | 0.141 | 0.065 | |
| meanPupilSize | 0.258 | 0.181 | 0.118 | |
| TRT_b2 | 0.153 | 0.124 | 0.068 | |
| TRT_a1 | 0.125 | 0.107 | 0.070 |
| Condition | Person | Pop | ||
|---|---|---|---|---|
| Full model (TRT_g2) | 0.183 | 0.020 | +0.163 | |
| Shuffled (word EEG scrambled) | 0.001 | 0.001 | 0.000 | † |
| nFixations (neg. ctrl.) | 0.234 | 0.231 | +0.004 | 0.360 |
| Random proj. (50 random dirs.) | 0.179 | 0.014 | +0.165 | ‡ |
| GloVe 50d (static, no LLM) | 0.057 | 0.006 | +0.063 | |
| Random emb. (no LLM) | 0.010 | 0.004 | +0.006 | § |
| Metric | Qwen 2.5 7B | LLaMA 3.1 8B |
|---|---|---|
| Best layer | 24 | 24 |
| TRT_g2 person | 0.183 | 0.196 |
| TRT_g2 pop | 0.020 | 0.012 |
| meanPupilSize person | 0.261 | 0.278 |
| Self transfer | 0.369 | 0.384 |
| Other transfer | 0.143 | 0.154 |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Metric | Change | ||
|---|---|---|---|
| TRT_g2 person | 0.158 | 0.183 | +16% |
| meanPupilSize person | 0.265 | 0.261 | stable |
| Self transfer | 0.227 | 0.369 | +63% |
| Other transfer | 0.011 | 0.143 | increased |
| Transfer -value | stronger | ||
| Split-half cosine | 0.752 | 0.824 | +10% |
| Feature | Cohen’s | Person 95% CI | Pop 95% CI | |
|---|---|---|---|---|
| TRT_g2 | 1.53 | |||
| meanPupilSize | 1.99 | |||
| TRT_g1 | 1.17 | |||
| TRT_a1 | 1.18 | |||
| TRT_b2 | 1.08 |
EEG Decoding
Electroencephalography (EEG) decoding maps brain-signal patterns to mental states, stimuli, speech, or intended actions.
See all 198 papers