MEG-XL: Data-Efficient Brain-to-Text via Long-Context Pre-Training
Dulhan Jayalath, Oiwi Parker Jones
TL;DR
MEG-XL tackles data inefficiency in brain-to-text by pre-training a long-context MEG model on 2.5-minute windows to learn extended neural priors. It uses a BioCodec-based tokenizer and a criss-cross transformer with sensor-aware embeddings, trained with masked token prediction over long MEG sequences. Fine-tuning on contextual word decoding across three datasets shows substantial gains in data-limited regimes and competitive performance with abundant per-subject data, outperforming several brain foundation models. The work reveals that longer pre-training context yields richer representations and hierarchical attention, suggesting long-context priors enable better cross-subject transfer and zero-shot predictions, with important implications for non-invasive clinical BCIs.
Abstract
Clinical brain-to-text interfaces are designed for paralysed patients who cannot provide extensive training recordings. Pre-training improves data-efficient generalisation by learning statistical priors across subjects, but these priors critically depend on context. While natural speech might unfold gradually over minutes, most methods pre-train with only a few seconds of context. Thus, we propose MEG-XL, a model pre-trained with 2.5 minutes of MEG context per sample, 5-300x longer than prior work, and equivalent to 191k tokens, capturing extended neural context. Fine-tuning on the task of word decoding from brain data, MEG-XL matches supervised performance with a fraction of the data (e.g. 1hr vs 50hrs) and outperforms brain foundation models. We find that models pre-trained with longer contexts learn representations that transfer better to word decoding. Our results indicate that long-context pre-training helps exploit extended neural context that other methods unnecessarily discard. Code, model weights, and instructions are available at https://github.com/neural-processing-lab/MEG-XL .
