Papers › SpecMoE: Spectral Mixture-of-Experts Foundation Model for Cross-Species EEG Decoding

SpecMoE: Spectral Mixture-of-Experts Foundation Model for Cross-Species EEG Decoding

17 Mar 2026arXiv:2603.16739added by Syntology

Davy Darankoum, Chloé Habermacher, Julien Volle, Sergei Grudinin

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Decoding the orchestration of neural activity in electroencephalography (EEG) signals is a central challenge in bridging neuroscience with artificial intelligence. Foundation models have made strides in generalized EEG decoding, yet many existing frameworks primarily relying on separate temporal and spectral masking of raw signals during self-supervised pretraining. Such strategies often tend to bias learning toward high-frequency oscillations, as low-frequency rhythmic patterns can be easily inferred from the unmasked signal. We introduce a foundation model that utilizes a novel Gaussian-smoothed masking scheme applied to short-time Fourier transform (STFT) maps. By jointly applying time, frequency, and time-frequency Gaussian masks, we make the reconstruction task much more challenging, forcing the model to learn intricate neural patterns across both high- and low-frequency domains. To effectively recover signals under this aggressive masking strategy, we design SpecHi-Net, a U-shaped hierarchical architecture with multiple encoding and decoding stages. To accelerate large-scale pretraining, we partition the data into three subsets, each used to train an independent expert model. We then combine these models through SpecMoE, a mixture of experts framework guided by a learned spectral gating mechanism. SpecMoE achieves state-of-the-art performance across a diverse set of EEG decoding tasks, including sleep staging, emotion recognition, motor imagery classification, abnormal signal detection, and drug effect prediction. Importantly, the model demonstrates strong cross-species and cross-subject generalization, maintaining high accuracy on both human and murine EEG datasets.

PaperPDFCode Syntology ran

In Syntology 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="2603.16739")

Code

Syntology Ran 8 of 17 code samples harvested from 3 repositories linked to this paper; 9 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong; 5 ran with no contract checked.

By repository: found in paper text by Syntology: 17 samples from 3 repositories, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

wjq-learning/CBraMod found in paper text by SyntologyMIT report
eeyhsong/EEG-Conformer found in paper text by Syntology report
yuchen2199/CSBrain found in paper text by Syntology report
TeraXj78/SpecMoE found in paper text by Syntology report
935963004/LaBraM found in paper text by SyntologyMIT report

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

17 samples harvested; 8 ran; 1 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · our draft was wrong
5ran
9unverified

Licence: 10 of the 17 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 3 repositories linked to this paper, official or community; each sample names its own and says which. “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.

Attention 935963004/LaBraM/modeling_pretrain.py found in paper text by Syntology ran · metamorphic tier: deterministic MIT (permissive) · 68a5e3257881152d · report
CSBrain_TransformerEncoder yuchen2199/CSBrain/models/CSBrain_transformer.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 972c0c1c965c0524 · report
DropPath 935963004/LaBraM/modeling_pretrain.py found in paper text by Syntology ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · ea7880551588ee9f · report
Mlp 935963004/LaBraM/modeling_pretrain.py found in paper text by Syntology ran · metamorphic tier: deterministic MIT (permissive) · e71525ebf968c4c3 · report
TemporalConv 935963004/LaBraM/modeling_pretrain.py found in paper text by Syntology ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · a3961caa3c8c736d · report
_get_clones yuchen2199/CSBrain/models/CSBrain_transformer.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 99d2502ce9270700 · report
clones TeraXj78/SpecMoE/Model_architectures/Finetuning_model.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · a3722169bbc81569 · report
count_parameters TeraXj78/SpecMoE/Finetuning_main.py found in paper text by Syntology ran · honoured contract no licence file found · pointer only · f6b944f50d3f15ae · report
Block 935963004/LaBraM/modeling_pretrain.py found in paper text by Syntology unverified MIT (permissive) · b8c87f15b20f0ad5 · report
NeuralTransformerForMaskedEEGModeling 935963004/LaBraM/modeling_pretrain.py found in paper text by Syntology unverified MIT (permissive) · a0cec3eb78975411 · report
data_generator_maco TeraXj78/SpecMoE/Data_loaders/Finetuning_data_loader.py found in paper text by Syntology unverified licence not identified · pointer only · 08a12a7320ac5af6 · report
regression_Loss TeraXj78/SpecMoE/Utils/loss.py found in paper text by Syntology unverified licence not identified · pointer only · 28ce87f26ae8ccce · report
stats TeraXj78/SpecMoE/Trainers/Finetuning_trainer.py found in paper text by Syntology unverified licence not identified · pointer only · f72b10a64ad58192 · report
trunc_normal_ 935963004/LaBraM/modeling_pretrain.py found in paper text by Syntology unverified MIT (permissive) · 08b4b321d2acf3db · report
weighted_CrossEntropyLoss TeraXj78/SpecMoE/Utils/loss.py found in paper text by Syntology unverified licence not identified · pointer only · f093ae99d7a7ca0c · report
welch_psd TeraXj78/SpecMoE/Model_architectures/Finetuning_model.py found in paper text by Syntology unverified licence not identified · pointer only · f21c66a6ee126b8d · report
zscore TeraXj78/SpecMoE/Data_loaders/Finetuning_data_loader.py found in paper text by Syntology unverified licence not identified · pointer only · e5c1c3c93fc46866 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2603.16739, was issued in March 2026, after that date, so the archive has no leaderboard rows for it.

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