Brain-to-Text Decoding: A Non-invasive Approach via Typing
Jarod Lévy, Mingfang Zhang, Svetlana Pinet, Jérémy Rapin, Hubert Banville, Stéphane d'Ascoli, Jean-Rémi King
TL;DR
This work addresses safe, non-invasive brain–computer interfaces for communication by decoding language production from MEG/EEG while users type memorized sentences. It introduces Brain2Qwerty, a three-stage neural pipeline (Convolutional Module, Transformer, and a pretrained 9-gram language model) that maps 0.5 s windows of brain activity to 29 keyboard keys. Across 35 participants, MEG achieves a mean CER of $32\%$ (best $19\%$) and EEG $67\%$, with some sentences decoded perfectly, indicating substantial progress toward non-invasive, rapid brain-to-text communication; the approach markedly outperforms baselines and its ablations show the additive value of each component. While not yet real-time or clinically ready, this work narrows the gap to invasive BCIs and sets the stage for future real-time, imagination-based, and wearable-sensor developments that could benefit non-communicating patients.
Abstract
Modern neuroprostheses can now restore communication in patients who have lost the ability to speak or move. However, these invasive devices entail risks inherent to neurosurgery. Here, we introduce a non-invasive method to decode the production of sentences from brain activity and demonstrate its efficacy in a cohort of 35 healthy volunteers. For this, we present Brain2Qwerty, a new deep learning architecture trained to decode sentences from either electro- (EEG) or magneto-encephalography (MEG), while participants typed briefly memorized sentences on a QWERTY keyboard. With MEG, Brain2Qwerty reaches, on average, a character-error-rate (CER) of 32% and substantially outperforms EEG (CER: 67%). For the best participants, the model achieves a CER of 19%, and can perfectly decode a variety of sentences outside of the training set. While error analyses suggest that decoding depends on motor processes, the analysis of typographical errors suggests that it also involves higher-level cognitive factors. Overall, these results narrow the gap between invasive and non-invasive methods and thus open the path for developing safe brain-computer interfaces for non-communicating patients.
