Plugging brain recordings into layer 18
We fed brain recordings of a person saying a sentence in their head straight into Qwen2.5-7B[1], without changing the model. There were no words from the sentence in the prompt. When we asked Qwen to write it down, it got 21 of 100 test recordings word for word, like “I need my glasses.” and “Yes, I feel very thirsty.”
The recordings come from a public 2025 Cell study[2], not a live person. Paralyzed volunteers with tiny electrodes in the speech part of their brain saw short sentences made from 50 everyday words and said them only in their head. We train a small adapter, under 1% of Qwen’s size, on about 1,000 recordings from the same person. It drops each recording into layer 18 of Qwen’s 28 layers.
From a silent sentence to text
The brain signal is never turned into text on the way, and Qwen itself never changes.
- Silent sentenceThe person says a sentence in their head, without moving.
- 128 electrodesTiny electrodes in the speech area record the brain.
- AdapterA small network turns the recording into 40 vectors.
- Qwen2.5-7BUnchanged. The vectors go into layer 18 of 28.
- TextQwen writes out the sentence.
What Qwen actually wrote
On 100 test recordings from person T12 that weren’t in training, 21 came back word for word and 23 were one word off. Overall, about half the words were right. When we fed in the wrong recording each time, zero matched.
All 100 test recordings
One square per recording. Pick any square to compare what the person thought with what Qwen wrote.
- Word for word 21
- One word off 23
- Further off 56
Recording 77 of 100, word for word
The person thoughtI need my glasses.
Qwen wroteI need my glasses.
It still misses badly. “Bad music.” came back as “What is success?” and “Tell my nurse hello.” became “I need my glasses.”
This isn’t a better speech decoder. The study’s own decoder gets 14% to 33% of words wrong here[2], while ours gets about half wrong. What’s new is that the brain signal goes straight into a normal language model that was never trained for brain data.
Making sure it isn’t just guessing
To check that Qwen really uses the brain signal, we gave it four short meanings for each recording, like “Need visual assistance” for “I need my glasses.”, and asked it to pick the right one. Guessing gets 25 of 100. Qwen got 62 of 100. With a swapped recording from a different sentence, it dropped to 15 of 100, below guessing, because the wrong signal pointed to a wrong choice.
How often Qwen picked the right meaning
Four choices per question, across 100 test recordings from person T12.
guessing, 25
62
25
15
On a second person, T15, we trained the adapter on attempted speech[3] first and then on silent sentences. Our best run got 26 of 50 right, and only 7 of 50 when swapped.
It has to write the sentence down first
Qwen only got 62 right when it used its chain of thought (CoT). We let it open a thinking block, write the sentence there, and answer after that. Asked right away, with no chain of thought, it got 25 of 100, pure guessing, even though the sentence was already in there.
The same thing happens with no brain at all. If you put a model’s own state for a text sentence back into an early layer, it answers right away. Put it into a deep layer, and direct answers fall to guessing (22% to 30%) across Qwen2.5-7B, Llama-3.1-8B[4] and Qwen2.5-32B[5]. Once it’s written as text, all three jump back to 84% to 100%.
Deep inside a model, it can’t use the sentence right away
Each model’s own state for a sentence, put back in at five depths. Right answers out of four (in %), over 50 sentences.
- Asked right away
- With chain of thought
- Guessing, 25
Deep layers still hold enough to write the sentence out, just not enough layers left to think about it. Writing it into the chain of thought runs it through the whole model again.
Putting brain signals into the first layer doesn’t work either. In a shorter test on T12, the first layer broke down while layer 18 did best (T15 stayed weak at every layer in that short run). In a separate podcast study with nine patients[6], brain signals also matched Qwen’s middle layers 1.5 to 5.5 times better than the first layer.
How Llama held up
We tried the same setup on Llama-3.1-8B at layer 16 of 32. It picked the right meaning 35 of 100 times on T12 (19 swapped) and 20 of 50 on T15 (14 swapped). It was worse at writing exact sentences, getting only 1 of 100 and 2 of 50, including the same “I need my glasses.” recording Qwen got right.
Not as scary as it sounds
This doesn’t work against someone’s will. It needs implanted electrodes, a volunteer trying to think set sentences, and about 1,000 recordings from that same person. It only works on the 50-word set, and failed on the study’s 125,000-word recordings.
Two built-in limits also block unwanted reading. The study’s passphrase lock[2] waits until the person thinks “chitty chitty bang bang”, blocking all 33 private recordings on our adapter while unlocking 35 of 47 that had the passphrase. And in fMRI scans of three people hearing two stories at once[7], a decoder found the story they paid attention to, while the ignored one stayed at random guessing.
0 of 33
private recordings got through the passphrase lock
35 of 47 recordings with the passphrase unlocked.
84 of 96
times a decoder found the story a listener focused on
It found the ignored story 5 of 96 times. Guessing gives 6.
Why we tried this in the first place
We’re not neuroscientists. Normally at RuxyTrace, we look inside AI models and use small adapters to carry safety tools from one model to another, so we don’t have to start over every time a new model comes out.
One big open question in that work is whether transfer only works between similar AI models, or across very different systems too. A human brain is built nothing like a language model, and a tiny adapter could still map simple sentences straight into Qwen and Llama.
The depth result also touches a real safety question. How much can a model think silently without writing things down? In all three models we tested, a sentence put into an early layer could be used right away, while a sentence put in deep had to be written into the chain of thought first. That doesn’t solve monitoring hidden reasoning, but it shows a simple way to test when a model has to put a thought into words before it can act on it. You can read more on our AI safety page.
The code, the result for every single recording and the trained adapter are public. Every number here is counted straight from those results. If you work on brain interfaces or on how AI models work inside, write to Pio.
References
- Qwen Team (2024). Qwen2.5-7B-Instruct. Model card, Hugging Face.
- Kunz, Abramovich Krasa, Kamdar et al. (2025). Inner speech in motor cortex and implications for speech neuroprostheses. Cell 188(17). The recordings are on Dryad.
- Card, Wairagkar, Iacobacci et al. (2024). An Accurate and Rapidly Calibrating Speech Neuroprosthesis. New England Journal of Medicine 391(7). The recordings are on Dryad.
- Meta (2024). Llama-3.1-8B-Instruct. Model card, Hugging Face.
- Qwen Team (2024). Qwen2.5-32B-Instruct. Model card, Hugging Face.
- Zada, Nastase, Aubrey et al. (2025). The “Podcast” ECoG dataset for modeling neural activity during natural language comprehension. Scientific Data 12, 1135. Data on OpenNeuro, ds005574.
- Tang, LeBel, Jain and Huth (2023). Semantic reconstruction of continuous language from non-invasive brain recordings. Nature Neuroscience 26. Data on OpenNeuro, ds003020 and ds004510.