Grafy News
Try Grafy free

Researchers map brain recordings to LLM internal layers

A small adapter successfully mapped silent human thoughts into Qwen2.5-7B, demonstrating how neural signals can interface with large language models.

Illustration for the news story: Researchers map brain recordings to LLM internal layersSource: Hacker News — front page

Researchers have demonstrated that a small neural adapter can map silent human brain recordings directly into the internal layers of a large language model. This breakthrough suggests a potential pathway for translating internal speech into machine-readable text without converting the signal to text first.

How does the thought-to-text transfer work?

According to research from RuxyTrace, the process does not involve a live human subject but rather utilizes existing data from a 2025 Cell study. In that study, paralyzed volunteers with implanted electrodes in their speech areas silently thought of short sentences composed of 50 common words.

The researchers developed a small adapter, which constitutes less than 1% of the size of the target model, using a recurrent neural encoder and a cross-attention projector. This adapter takes the brain recordings and transforms them into 40 vectors. These vectors are then injected into layer 18 of the Qwen2.5-7B model. Crucially, the model is given no text prompt or hints regarding the sentence; it is simply presented with these vectors and asked to write out what it perceives.

What were the results of the decoding tests?

In a test involving 100 recordings from a subject identified as T12, the Qwen2.5-7B model achieved several notable milestones. The model reproduced 21 sentences word for word and was only one word off in another 23 instances. When the researchers tested the model's ability to understand meaning by asking it to choose from four descriptions, the model succeeded 62 out of 100 times, provided it was allowed to use a Chain-of-Thought (CoT) process.

Without a thinking block, the model's ability to select the correct meaning dropped to 25 out of 100, which is equivalent to random guessing. However, even without the CoT instruction, the model was still able to write out 19 of the 100 sentences verbatim from the vectors, suggesting the information was present in the latent space even if the model could not immediately map it to a multiple-choice answer.

Does this technology work with other models?

Testing indicated that the ability to transfer neural signals is not exclusive to the Qwen architecture. The researchers applied the same setup to Llama-3.1-8B, injecting adapter vectors into layer 16 of 32. While Llama was less successful at exact word-for-word reproduction—achieving only one exact match on the T12 dataset—it did outperform random chance in selecting the correct meaning, picking the right answer 35 out of 100 times for T12 and 20 out of 50 for a second subject, T15.

The researchers also noted that the depth of the injection matters significantly. When a model's own text state is placed into an early layer, it can answer questions immediately. However, when the state is placed into a deep layer, direct answers drop significantly (to between 22% and 30%) unless the model is allowed to use a Chain-of-Thought process to write the sentence out first. In those cases, accuracy for the reasoning task rose to between 84% and 100%.

Is this a privacy risk for users?

While the ability to read thoughts sounds invasive, the researchers emphasize that the current requirements make involuntary decoding nearly impossible. The system requires implanted electrodes, approximately 1,000 specific recordings from the individual being decoded, and a speaker who is actively attempting to form sentences from a specific list.

Furthermore, the researchers utilized a "passphrase lock" mechanism derived from previous studies. In their tests, the adapter blocked all private recordings when a specific passphrase was not provided, only successfully unlocking 35 out of 47 recordings once the correct passphrase was thought. This suggests that neuro-interfacing technologies could include cognitive security layers to protect private thoughts.

Why is this research important for AI safety?

The study was motivated by a desire to understand the internal mechanics of transformer models. Beyond brain-computer interfaces, the findings regarding layer depth have implications for AI safety. There is ongoing concern regarding how much reasoning or "hidden thought" a model might perform within its internal activations without explicitly writing it out in text.

By observing that information injected into deep layers only becomes usable once the model writes it into a Chain-of-Thought, researchers can develop methods to test whether a model is actually externalizing its reasoning process or merely acting on hidden internal states. This provides a benchmark for determining when a model is forced to put its logic into words before it can act on it.

For researchers looking to dive deeper into complex neuroimaging papers or academic studies similar to the ones cited in this research, you can use Grafy Reader to search and question the technical details of the underlying data.

Frequently asked questions

Did the researchers decode thoughts from a live person?

No, the researchers used brain recording data from a 2025 Cell study involving paralyzed volunteers. These recordings were captured using electrodes in the speech area of the brain while participants silently thought of specific sentences, but the current experiment was conducted using this existing dataset rather than live subjects.

Does the model require a text prompt to decode the brain signals?

No, the Qwen model was provided with no words or hints from the target sentence. The adapter transforms the brain recordings into vectors that are injected directly into the model's internal layers, and the model is then tasked with writing out the content it perceives from those vectors alone.

Does using Chain-of-Thought improve the accuracy of the decoding?

Yes, allowing the model to use a Chain-of-Thought process significantly improves its ability to match decoded sentences to their meanings. While the model's success rate in selecting the correct meaning was only 25% without a thinking block, it increased to 62% when it was permitted to write out the decoded text first.


Source: Hacker News — front page — Transferring Human Thoughts into Qwen