Developer connects brain signals to Qwen via adapter, finds 'thinking out loud' key for semantic decoding
An independent experiment shows that injecting neural data into mid-layers of an LLM requires explicit intermediate text generation to achieve semantic understanding.
Independent developer Pio Borgelt has published a proof-of-concept project called Ruxytrace, which connects recorded human brain signals to the open-source language model Qwen 2.5 using a custom software adapter. The experiment utilizes public research data from Stanford University, where paralyzed patients wore 128 micro-electrodes implanted in the motor cortex area controlling lips, tongue, and larynx while silently imagining sentences from a 50-word vocabulary.
Borgelt did not perform new measurements on humans but processed existing neural recordings. He inserted a small adapter before Qwen 2.5, which translates recognized phoneme patterns directly into the model's internal numerical format. Crucially, the adapter injects this data at layer 18 of 28, rather than at the input stage. According to the project's GitHub repository, the adapter first searches for individual speech sounds within the nerve impulses, similar to a speech recognition system.
The results indicate that direct output without intermediate steps is insufficient for complex semantic tasks. When Qwen 2.5 was forced to answer immediately based on the neural signal, it correctly selected the meaning of the imagined sentence in only 25 out of 100 cases, a rate consistent with random chance. However, when the model was allowed to write the decoded sentence as a visible intermediate note ('scratchpad') before selecting the final meaning, accuracy rose to 62 out of 100 cases. This suggests that the remaining ten layers after injection are not sufficient for deep semantic comparison unless the model can re-read its own generated text from earlier layers.
In terms of word-for-word transcription, the software achieved exact matches for 21 out of 100 silent sentences. Approximately half of all words were correct, compared to a specialized Stanford decoder that missed only 14 to 33 percent of words. A parallel test with Meta's Llama 3.1 yielded only one error-free sentence. Borgelt notes that abstract thoughts, images, or feelings cannot be captured by this method, as it relies on the motor planning signals for speech.