← All research Current methods line Reviewed November 2026

M/EEG representation learning and evaluation

What do models learn from brain signals, and how should we evaluate whether those representations generalize across people and recordings?

My contribution

I synthesize the MEG–ANN and foundation-model literature (Journal of Neural Engineering 2025 review of 119 studies and second author on the 2026 MEG foundation-model roadmap), run benchmark and clinical evaluations (NeuroImage 2023 class-imbalance study, PNPL competitions, and CHU Sainte-Justine pediatric EEG), and build reusable open-source packages (MNE-Denoise, CoCo-PiPe, Coord2Region, and Jamica).

Three complementary tracks: synthesis, evaluation, and tools

My work in this line spans three tracks across human electroencephalography (EEG) and magnetoencephalography (MEG): literature synthesis, evaluation of existing models and benchmarks, and reusable open-source software.

  • Synthesizing the field (published & preprint): In our Journal of Neural Engineering (2025) review, we systematically examined 119 studies applying artificial neural networks (ANNs) to MEG across decoding, brain–model comparison, and preprocessing (I led Section II). We extended that perspective in A Roadmap for MEG Foundation Models (2026), where as second author I contributed to recommendations on data representation, architecture design, cross-subject evaluation, and shared infrastructure.
  • Evaluating models and decoding benchmarks (published & active): In our NeuroImage (2023) study, we showed how class imbalance and metric choice can produce misleadingly high decoding scores. Through the 2025 and 2026 PNPL speech-decoding competitions, I contributed to shared non-invasive MEG benchmarks testing transfer across people. In active clinical work at CHU Sainte-Justine, I evaluate and adapt four existing pretrained EEG foundation models (frozen, low-rank adaptation, and full fine-tuning) against a cohort-trained transformer and classical descriptors.
  • Building reusable open-source software (active): Alongside studies and benchmarks, I co-create and maintain MNE-Denoise (presented at the 2026 MNE-Python Maintainers Sprint in Paris), created CoCo-PiPe and Coord2Region, contribute to Jamica and the MNE ecosystem, and taught frozen-versus-fine-tuned EEG foundation-model workflows in an open Brainhack Montréal 2026 workshop.

Why evaluation is part of the scientific question

Across clinical, perceptual, and speech-decoding tasks, a higher held-out score alone does not establish what a model learned. Practical evaluation choices, including which baseline receives equal hyperparameter effort, whether cross-validation splits by patient, how class imbalance is handled, and how much individual identity a representation leaks, decide whether a result transfers outside its training cohort. Making those pipelines inspectable in open code lets other laboratories verify and adapt the same benchmarks on their own recordings.

Diagram of routes toward a reusable MEG foundation model, including MEG-native pretraining, EEG model adaptation and continued pretraining, cross-modal training, and transfer from generic time-series models, with trade-offs in data, compute, and MEG-specific expressiveness.

Proposed development pathways for MEG foundation models from Thölke et al. (2026): MEG-native pretraining, EEG adaptation, cross-modal training, and generic time-series transfer (conceptual pathways rather than a benchmark ranking).

Thölke, Abdelhedi, Mantilla-Ramos et al. (2026), arXiv · CC BY 4.0 Enlarge figure

Code & tools

Analysis repositories and reusable software behind this work.

  • Workshop & notebooks

    meeg-fm-workshop

    Hands-on Brainhack Montréal 2026 workshop notebooks comparing classical EEG decoding against frozen and fine-tuned foundation models.

  • Companion study repository

    Class-imbalance study code

    Shared code accompanying our NeuroImage 2023 paper on classifiers and evaluation metrics for imbalanced brain decoding.

  • Shared software

    Unified biosignal framework for feature extraction, foundation-model embeddings, dimensionality reduction, decoding, and reporting.

  • Shared software

    Open-source M/EEG artifact-removal and denoising toolbox built for the MNE-Python ecosystem.

  • Shared software

    Python package linking 3D brain coordinates and atlas regions to anatomical labels, literature, and summaries.

Related papers

Grouped by role in this line of work.

Full publication list

Reviews & roadmaps

I led Section II of the 2025 Journal of Neural Engineering review of 119 MEG–ANN studies and contributed to Sections 3–5 as second author on the 2026 MEG foundation-model roadmap.

Evaluation & benchmarks

I ran analyses for the NeuroImage 2023 class-imbalance study and contributed to the 2025 and 2026 PNPL speech-decoding competition benchmarks.

Reusable tools

I am first author and creator of Coord2Region, alongside core development of MNE-Denoise, CoCo-PiPe, and contributions to Jamica.

Where this connects

Related lines of work that share methods or questions.

Clinical questions & EEG

Evaluates and adapts pretrained EEG foundation models against classical features on 1,218 routine hospital recordings.

Decisions & commitment

Applies time-resolved decoding and reusable source pipelines to track information before and after commitment.

Related activity

Talks, posters, mentoring, funding, and updates linked to this work.

Mentoring & teaching

Figure preview