Papers › MAD: Multi-Alignment MEG-to-Text Decoding

MAD: Multi-Alignment MEG-to-Text Decoding

3 Jun 2024arXiv:2406.01512archive 2025-07-28

Yiqian Yang, Hyejeong Jo, Yiqun Duan, Qiang Zhang, Jinni Zhou, Won Hee Lee, Renjing Xu, Hui Xiong

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.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2406.01512")

Code

Syntology Ran 12 of 13 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · violated contract; 9 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

neuspeech/mad-meg2text officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 12 ran; 1 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · violated contract
9ran
1unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from neuspeech/mad-meg2text. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

change_sampling_rate neuspeech/mad-meg2text/data_augmentation_utils/eeg_aug.py official repository ran fingerprinted Apache-2.0 (permissive) · 434a023482ca36fa · report
compute_accuracy neuspeech/mad-meg2text/utils/model_utils.py official repository ran Apache-2.0 (permissive) · 262947201dc066e9 · report
cosine_similarity neuspeech/mad-meg2text/utils/loss.py official repository ran · violated contract fingerprinted Apache-2.0 (permissive) · 38ede58bd9091f21 · report
cut_signal neuspeech/mad-meg2text/data_augmentation_utils/eeg_aug.py official repository ran Apache-2.0 (permissive) · 9b5228012d8f05df · report
inter_class_relation neuspeech/mad-meg2text/utils/loss.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · b45038694ef6bb75 · report
match_modules neuspeech/mad-meg2text/utils/load_model.py official repository ran Apache-2.0 (permissive) · bf84bf80d676a07a · report
match_modules_string neuspeech/mad-meg2text/utils/load_model.py official repository ran Apache-2.0 (permissive) · 1c6ebf4c6f313f2c · report
multi_segment_speed_change neuspeech/mad-meg2text/data_augmentation_utils/eeg_aug.py official repository ran Apache-2.0 (permissive) · 5f0ebfcfa62171f4 · report
pad_multiple neuspeech/mad-meg2text/utils/brain_module.py official repository ran fingerprinted Apache-2.0 (permissive) · 4ecb4c91cf8f4446 · report
pearson_correlation neuspeech/mad-meg2text/utils/loss.py official repository ran · violated contract fingerprinted Apache-2.0 (permissive) · d00eea76cc523c64 · report
preprocess_text neuspeech/mad-meg2text/evaluation.py official repository ran fingerprinted Apache-2.0 (permissive) · 2908e3c7f6faafb0 · report
projection_module neuspeech/mad-meg2text/utils/model_utils.py official repository ran Apache-2.0 (permissive) · db94765af5a0e4dd · report
concatenate_images neuspeech/mad-meg2text/wandb_callback.py official repository unverified Apache-2.0 (permissive) · ac8331082a4cff98 · report

Tasks

Brain Computer InterfaceEEGText Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Focus

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections