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.
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.
-
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.
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.
-
2026
A Roadmap for MEG Foundation Models
arXiv · Preprint
-
2025
Artificial neural networks for magnetoencephalography: a review of an emerging field
Journal of Neural Engineering
Evaluation & benchmarks
I ran analyses for the NeuroImage 2023 class-imbalance study and contributed to the 2025 and 2026 PNPL speech-decoding competition benchmarks.
- 2026
-
2026
Benchmarking Non-Invasive Speech BCIs: Lessons Learned from the 2025 PNPL Competition
Proceedings of Machine Learning Research (NeurIPS 2025 Competition Track)
-
2025
The 2025 PNPL Competition: Speech Detection and Phoneme Classification in the LibriBrain Dataset
NeurIPS 2025 Competition Track
- 2023
Reusable tools
I am first author and creator of Coord2Region, alongside core development of MNE-Denoise, CoCo-PiPe, and contributions to Jamica.
- 2025
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.
Perception in brains & models
Uses matched untrained baselines and stimulus controls to test alignment between vision models and human M/EEG.
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.