Abstract
Deciphering language from brain activity is a crucial task in brain-computer interface (BCI) research. Non-invasive cerebral signaling techniques including electroencephalography (EEG) and magnetoencephalography (MEG) are becoming increasingly popular due to their safety and practicality, avoiding invasive electrode implantation. However, current works under-investigated three points: 1) a predominant focus on EEG with limited exploration of MEG, which provides superior signal quality; 2) poor performance on unseen text, indicating the need for models that can better generalize to diverse linguistic contexts; 3) insufficient integration of information from other modalities, which could potentially constrain our capacity to comprehensively understand the intricate dynamics of brain activity. This study presents a novel approach for translating MEG signals into text using a speech-decoding framework with multiple alignments. Our method is the first to introduce an end-to-end multi-alignment framework for totally unseen text generation directly from MEG signals. We achieve an impressive BLEU-1 score on the GWilliams dataset, significantly outperforming the baseline from 5.49 to 10.44 on the BLEU-1 metric. This improvement demonstrates the advancement of our model towards real-world applications and underscores its potential in advancing BCI research. Code is available at https://github.com/NeuSpeech/MAD-MEG2text.
Introduction
The "holy grail" of brain-computer interface (BCI) research is thought-to-text translation, a technology that could restore communication for individuals with severe motor or speech disabilities. While invasive methods like Electrocorticography (ECoG) have seen success, they require risky brain surgery. Non-invasive methods like EEG and MEG are safer but significantly harder to decode due to lower signal-to-noise ratios.
Current non-invasive models face three major hurdles: poor generalization to unseen text, a tendency for decoders to "memorize" language patterns rather than map brain signals, and an underutilization of MEG's superior signal quality. This paper introduces MAD (Multi-Alignment MEG-to-Text), a dual-stream architecture designed to bridge the gap between brain signals and language by using speech as an intermediary.
Methods: Multi-Alignment Architecture
The MAD framework translates raw MEG waves into open-vocabulary text by aligning brain activity with multi-level speech representations.
As shown in Figure 1, the framework consists of two parallel paths:
- The MEG Stream: Uses a specialized "Brain Module" to transform raw MEG signals into a predicted Mel spectrogram. This is then fed into a pre-trained Whisper encoder-decoder (fine-tuned via AdaLoRA) to produce text.
- The Speech Stream (Training only): Processes the ground-truth audio that the subject was listening to, extracting its Mel spectrogram and high-level semantic features using the same Whisper backbone.
The "Multi-Alignment" happens at three hierarchical levels:
- Acoustic-level ($L_m$): A contrastive loss ensures the predicted Mel spectrogram from the brain matches the actual audio spectrogram.
- Semantic-level ($L_e$): A Maximum Mean Discrepancy (MMD) loss aligns the hidden latent states of the brain stream with the speech stream.
- Text-level ($L_t$): Standard cross-entropy loss for final word prediction.
Experimental Setup
The study utilizes the GWilliams dataset, a public benchmark containing MEG recordings from 27 participants listening to four distinct stories. To ensure a rigorous test of generalization, the authors split the data by story, ensuring the test set contains zero overlap in sentences with the training set.
Key Results and Insights
MAD achieved a BLEU-1 score of 6.86 on entirely unseen text, significantly outperforming the previous best baseline (NeuSpeech at 5.49) and surpassing random chance (5.86). Unlike previous models that suffered from extreme repetition, MAD maintained a low Self-BLEU, indicating it generates diverse and contextually relevant sentences.
Qualitative Performance
Qualitative analysis shows that MAD successfully captures specific semantic keywords and the general temporal structure of the audio.
In Figure 6, we can see that while the model does not yet achieve perfect word-for-word reconstruction, it identifies key concepts. For example, in (a), it correctly decodes "arms" from a complex sentence, and in (b), it captures the core concepts of "sky" and "ground."
Core Findings
- Speech as the Secret Bridge: Aligning brain signals with a correlated modality (speech) is far more effective than trying to map brain signals directly to discrete text tokens. Speech provides a continuous, rich feature space that acts as a "stepping stone."
- The Semantic Priority: Ablation studies revealed that high-level semantic alignment ($L_e$) is the most critical component for successful decoding.
- The Text Supervision Paradox: Surprisingly, direct text-level supervision ($L_t$) can actually harm generalization, often leading to "catastrophic repetition" where the model defaults to generic, high-frequency phrases.
Limitations and Future Work
While MAD represents a significant step forward, it cannot yet replicate fine-grained acoustic details from brain signals alone. Training large-scale transformers on relatively small neural datasets remains a challenge, often leading to overfitting. Future work will focus on moving toward real-time decoding of intended or imagined speech, the next major frontier for non-invasive BCIs.
Summary updated