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 ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 17 code samples harvested from 3 repositories linked to this paper: 14 ran (of which 5 constructed an object rather than computing a result; 12 with no instrument failure: 2 honoured, 1 violated, 9 with no contract checked; 2 where Syntology's instrument failed) · 3 unverified. Where Syntology's instrument failed: 2 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 17 samples from 3 repositories, 14 ran (12 with no instrument failure; 2 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

No sample is linked to this paper from 2 of its repositories that Syntology harvested for other papers:

Levels written between 2026-09-22 and 2026-09-25 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 2 of the 14 samples that ran have no recorded date.

wjq-learning/CBraMod found in paper text by SyntologyMITSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to CBraMod: A Criss-Cross Brain Foundation Model for EEG Decoding (arXiv:2412.07236; that paper's own run record: 2 ran (of which 0 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 1 where Syntology's instrument failed) · 3 unverified); nothing checks that they implement this paper's method. report
eeyhsong/EEG-Conformer found in paper text by SyntologySyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Taming foundation model with invariance-oriented pre-training for broad-spectrum EEG... (arXiv:2608.24597; that paper's own run record: 17 ran (of which 8 constructed an object rather than computing a result; 12 with no instrument failure: 0 honoured, 0 violated, 12 with no contract checked; 5 where Syntology's instrument failed) · 8 unverified); nothing checks that they implement this paper's method. report
yuchen2199/CSBrain found in paper text by SyntologySyntology: 2 samples, 2 ran (1 instrument-failed) · 0 unverified report
TeraXj78/SpecMoE found in paper text by SyntologySyntology: 8 samples, 8 ran (1 instrument-failed) · 0 unverified report
935963004/LaBraM found in paper text by SyntologyMITSyntology: 7 samples, 4 ran (0 instrument-failed) · 3 unverified 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.

A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.

Code Syntology ran Syntology

17 samples harvested: 14 ran (of which 5 constructed an object rather than computing a result; 12 with no instrument failure: 2 honoured, 1 violated, 9 with no contract checked; 2 where Syntology's instrument failed) · 3 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

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

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; the list below is grouped by repository, each group headed by its name and what it is to the paper. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. For 4 samples that ran, the graph records a signature this page does not show: for a class the fixture built without calling, the harness called the object with inputs it made up itself, so the recorded signature is the harness's probe, not the fixture's arguments. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

yuchen2199/CSBrain found in paper text by Syntology 2 samples, 2 ran (1 instrument-failed) · 0 unverified
CSBrain_TransformerEncoder models/CSBrain_transformer.py ran fingerprinted no licence file found · pointer only · 972c0c1c965c0524 · report fixture: returned CSBrain_TransformerEncoder · level recorded 2026-09-22
_get_clones in 28 papers models/CSBrain_transformer.py ran · our draft was wrong no licence file found · pointer only · 99d2502ce9270700 · report fixture: returned ModuleList · level recorded 2026-09-22
TeraXj78/SpecMoE found in paper text by Syntology 8 samples, 8 ran (1 instrument-failed) · 0 unverified
clones in 92 papers Model_architectures/Finetuning_model.py ran · our draft was wrong no licence file found · pointer only · a3722169bbc81569 · report fixture: signature module:callable/0/?, N:int/0/int · returned ModuleList · level recorded, date not recorded
count_parameters in 278 papers Finetuning_main.py ran · honoured contract no licence file found · pointer only · f6b944f50d3f15ae · report fixture: signature model:callable/0/? · returned int · level recorded, date not recorded
data_generator_maco Data_loaders/Finetuning_data_loader.py ran licence not identified · pointer only · 08a12a7320ac5af6 · report fixture: signature signals_path:str/0/str, segment_Len_Dpts:int/0/int, original_sampling_Freq:int/0/int, desired_sampling_Freq:int/0/int, nb_structures:int/0/int, df_training:DataFrame/0/?, df_validation:DataFrame/0/?, df_test:DataFrame/0/? · returned tuple · level recorded 2026-09-25
regression_Loss Utils/loss.py ran licence not identified · pointer only · 28ce87f26ae8ccce · report fixture: signature output:Tensor/2/float, target:Tensor/2/float, classes_weights:Tensor/1/float, device:str/0/str, gate_weights:Tensor/2/float, lambda_gate:float/0/float, eps:float/0/float · returned tuple · level recorded 2026-09-25
stats in 9 papers Trainers/Finetuning_trainer.py ran · honoured contract licence not identified · pointer only · f72b10a64ad58192 · report fixture: signature x:Tensor/2/float · returned tuple · level recorded 2026-09-25
weighted_CrossEntropyLoss Utils/loss.py ran licence not identified · pointer only · f093ae99d7a7ca0c · report fixture: signature output:Tensor/2/float, target:Tensor/1/int, classes_weights:Tensor/1/float, device:device/0/?, gate_weights:Tensor/2/float, lambda_gate:float/0/float, eps:float/0/float · returned tuple · level recorded 2026-09-25
welch_psd Model_architectures/Finetuning_model.py ran licence not identified · pointer only · f21c66a6ee126b8d · report fixture: signature x:Tensor/3/float, fs:float/0/float, nperseg:int/0/int, noverlap:int/0/int, window:str/0/str, detrend:bool/0/bool, eps:float/0/float · returned Tensor · level recorded 2026-09-25
zscore in 12 papers Data_loaders/Finetuning_data_loader.py ran · violated contract fingerprinted licence not identified · pointer only · e5c1c3c93fc46866 · report fixture: signature x:ndarray/1/float · returned ndarray · level recorded 2026-09-25
935963004/LaBraM found in paper text by Syntology 7 samples, 4 ran (0 instrument-failed) · 3 unverified
Attention in 344 papers
census: 13 implementations from 12 papers, 10 distinct outputs across 4 buckets, one shared input per bucket
modeling_pretrain.py ran · metamorphic tier: deterministic MIT (permissive) · 68a5e3257881152d · report fixture: returned Attention · level recorded 2026-09-22
DropPath in 75 papers
census: 17 implementations from 17 papers, 8 distinct outputs across 3 buckets, one shared input per bucket
modeling_pretrain.py ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · ea7880551588ee9f · report fixture: returned DropPath · level recorded 2026-09-22
Mlp in 102 papers modeling_pretrain.py ran · metamorphic tier: deterministic MIT (permissive) · e71525ebf968c4c3 · report fixture: returned Mlp · level recorded 2026-09-22
TemporalConv in 8 papers modeling_pretrain.py ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · a3961caa3c8c736d · report fixture: returned TemporalConv · level recorded 2026-09-22
NeuralTransformerForMaskedEEGModeling modeling_pretrain.py unverified MIT (permissive) · a0cec3eb78975411 · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it. Siblings are assemblies lifted from this paper in the same batch for the same method: alternative readings kept side by side; none replaces or supersedes another.

2 assemblies on this paper: 2 harvested, 0 generated, listed in 1 groups (siblings lifted in one batch form one group).

2 sibling assemblies for SpecMoE (harvested), lifted in the same batch on 2026-09-09: alternative readings kept side by side; none replaces or supersedes another.

harvested Assembly for SpecMoE (graph method: SpecMoE). 7 bricks; individually on a fixture: 4 ran (of which 4 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 0 violated, 4 with no contract checked; 0 where Syntology's instrument failed) · 3 unverified; every one of the 4 samples that ran constructed an object rather than computing a result. The assembly has not been run end-to-end.

one of 2 siblings

  1. NeuralTransformerForMaskedEEGModeling entry · level 0 · unverified · a0cec3eb78975411
  2. Block model · level 0 · unverified · b8c87f15b20f0ad5
  3. TemporalConv model · level 1 · ran · a3961caa3c8c736d
  4. trunc_normal_ helper · level 0 · unverified · 08b4b321d2acf3db
  5. Attention model · level 1 · ran · 68a5e3257881152d
  6. DropPath helper · level 1 · ran · ea7880551588ee9f
  7. Mlp model · level 1 · ran · e71525ebf968c4c3

harvested Assembly for SpecMoE (graph method: SpecMoE). 2 bricks; individually on a fixture: 2 ran (of which 1 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 1 where Syntology's instrument failed) · 0 unverified. The assembly has not been run end-to-end.

one of 2 siblings

  1. CSBrain_TransformerEncoder entry · level 1 · ran · 972c0c1c965c0524
  2. _get_clones helper · level 1 · ran · our draft was wrong · 99d2502ce9270700

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2603.16739") returns these assemblies with each brick's role and wiring (how to connect).

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