Researchers have unveiled a noninvasive brain-reading system that can translate words a person types into written sentences, using only recordings taken outside the skull. The Brain2Qwerty model, developed by Meta AI researchers in Paris, decodes memorised sentences from magnetic brain signals with an average character error rate of 29 percent, and as low as 18 percent in the best participant. The work, published in Nature Neuroscience, offers a safer alternative to surgically implanted brain chips, though it remains less accurate than invasive approaches.
Brain-computer interfaces link neural activity with computer software to generate text or commands. Today’s fastest prototypes are invasive neuroprostheses, which require neurosurgery to place electrodes on the motor cortex. Such implants have helped people with severe paralysis to generate text swiftly, with reports of handwriting decoding at 90 characters per minute and 94 percent raw accuracy in one 2021 study, and attempted speech decoded at 62 words per minute with around 94 percent word accuracy in another clinical trial.
How the Brain2Qwerty system works
Reading brain signals from outside the skull mitigates surgical risks, but the skull still blunts electrical signals, making noninvasive spellers slow and tiring. Magnetoencephalography, or MEG, mitigates this by measuring tiny magnetic fields generated by active neurons with a helmet-shaped scanner that passes signals through bone with less distortion than EEG.
Previous work suggested external sensors could track rapid finger commands behind everyday typing, including studies showing left- and right-hand motor region activity around keystrokes. A 2025 preprint from the same team also indicated noninvasive scans capture planning of words and letters before keys are pressed. Building on these findings and recent AI models for decoding speech, the Meta AI team created Brain2Qwerty to translate noninvasive brain data recorded during typing into full sentences.
The experimental setup and participants
The study recruited 35 healthy, right-handed native Spanish speakers in Spain, about 32 years old on average, with 77 percent women. All were skilled touch typists who could type at least 80 percent accurately without looking at their hands. Twenty volunteers wore a 64-sensor EEG cap, while 20 completed sessions inside a 306-sensor MEG scanner, with five participants taking part in both modalities. One MEG recording was excluded due to metal interference, leaving 19 analysed in the magnetic group.
Participants typed on a custom QWERTY keyboard fitted with nonmagnetic silver springs, while reading memorised five- to eight-word Spanish sentences displayed one word at a time. They paused for 1.5 seconds between sentences and then reproduced the memorised sequence without accents or backspace corrections. No letters appeared on screen during typing; a small square at the screen’s centre rotated with each keystroke to keep gaze steady and avoid eye-movement contamination.
Typing progressed briskly, at about 152 characters per minute, producing around 4,000 sentences for the electrical recordings and 5,100 for the magnetic scans. For each keystroke, Brain2Qwerty analysed a half-second window of brain activity spanning 200 milliseconds before to 300 milliseconds after the press. A convolutional neural network extracted spatial and temporal patterns, then a transformer weighed sentence-level context, with a language model trained on Spanish Wikipedia refining predictions toward plausible nine-character letter sequences.
Performance and comparisons with noninvasive electroencephalography
To prevent the model from exploiting near-duplicate phrases, similar sentences were grouped and evaluations were performed on unseen test sentences. The main measure was character error rate, defined as the percentage of single-character edits needed to turn the predicted sentence into the target sentence.
As an outset check, a simple linear classifier around each keystroke showed movement signals peak 40 milliseconds after a key strike, aligning motor commands with fingertip feedback. At that moment, MEG distinguished left-hand from right-hand presses with 74 percent accuracy, versus 64 percent for EEG.
When decoding entire unseen sentences, MEG-based Brain2Qwerty achieved an average character error rate of 29 percent, compared with 65 percent for EEG. In the MEG group, error rates spanned from 47 percent down to 18 percent in the top participant, who reconstructed several unfamiliar sentences without a single error. Brain2Qwerty also outperformed EEGNet, a widely used neural network for brain-computer interfaces, reducing the magnetic-signal error rate from 72 percent to 29 percent.
Breakdowns of the system showed that each stage contributed: the initial sensor network yielded a 49 percent error rate, the sentence-level transformer brought this to 36 percent, and the language model brought it down to 29 percent. In some trials, the language model corrected participants’ typos, recovering the intended Spanish sentence even when the keys were mistyped.
Where the decoder struggles and what this implies
Analyses of the neural decoder before the language model revealed above-chance decoding across nouns, verbs, adjectives, prepositions, and determiners, with determiners at 16 percent error. Unfamiliar words not present in the training data reached about 70 percent error, though those words are generally rare, making rarity and unfamiliarity difficult to separate.
Common letters were decoded more reliably than rare ones; letters such as z, k and w did not decode better than chance, though these rare characters accounted for only about two per thousand characters overall. Increasing the training data by recording longer sessions continually reduced errors, indicating that more data improves accuracy.
Patterns of errors suggested Brain2Qwerty mainly reads motor commands for finger movements rather than abstract word meanings. When the model guessed the wrong character, it tended to land on keys adjacent to the target, clustering its internal representations by left-hand, right-hand, and nearby finger zones. Behavioral typos appeared in about 65 percent of sentences, with wrong-key presses followed by longer hesitations—averaging 111 milliseconds—compared with 49 milliseconds before correct keystrokes. Even single-key mistakes showed higher error rates when context was limited, pointing to conflicting signals during execution or competing motor signals in the brain.
These findings align with earlier brain-imaging work using functional MRI, which suggested broader semantic gist could be inferred from blood-flow patterns. By contrast, Brain2Qwerty demonstrates noninvasive decoding of exact typed sentences character by character from rapid motor signals, reinforcing the view that continuous language can be reconstructed without brain surgery.
Independent assessment, real-world hurdles and future prospects
Independent observers welcomed the advance but noted limitations. Sergey Stavisky, an associate professor of neurological surgery at the University of California, Davis, who was not involved in the research, told PsyPost that the paper “sets a new state-of-the-art accuracy for decoding what a person is typing using a noninvasive brain measurement technology (MEG in this case).”
Stavisky noted that all participants were healthy, skilled typists who pressed actual keys, meaning the signals reflected both motor commands and tactile feedback. He said the current approach could be relevant for patients with neurodegenerative conditions who retain some motor ability, but testing is needed to determine whether the system can decode imagined or attempted movements in completely paralyzed or locked-in individuals.
The authors acknowledge that Brain2Qwerty is not yet real time, as it relies on known keystroke timestamps to segment brain recordings. It also remains per-person tuned, raising questions about generalising to new users in a clinical setting. Conventional MEG scanners are large and expensive, housed in shielded rooms rather than on the move. Future work could explore continuous decoding without keystroke triggers and wearable magnetic sensors such as optically pumped magnetometers, enabling portable, helmet-like devices.
Stavisky emphasised two key questions for future work: whether the system can work for someone who cannot physically make keystrokes, and whether Closed-loop decoding—continuous real-time interpretation without external triggers—is achievable. He cautioned that, despite the encouraging results, the technology is not yet ready for everyday typing, noting that an average 29 percent error rate would be frustrating for routine use.
The study, titled Noninvasive decoding of typed sentences from human brain activity, was authored by Jarod Lévy, Mingfang Zhang, Svetlana Pinet, Jérémy Rapin, Hubert Banville, Stéphane d’Ascoli, and Jean-Rémi King. Five of the seven authors are employed by Meta, the company behind the research.
