Machine learning & open science
Learning representations
from time series.
I’m Bruno, a research scientist studying how models learn useful representations from time series, with brain signals as a central application.
About me
I work at Yneuro in France and hold an honorary research appointment at UC San Diego. I earned my PhD in Computer Science jointly at Université Paris-Saclay and the Federal University of ABC, advised by Sylvain Chevallier, Marie-Constance Corsi and Raphael Y. de Camargo.
Research interests
My focus is representation learning from time series: learning structure that supports decoding, generation and transfer across subjects, sessions and datasets. I explore these questions through EEG and other neural signals, combining deep learning, Riemannian geometry and reproducible benchmarks.
Open-source software
I build and maintain tools for learning from time series, geometric deep learning and reproducible neuroscience. Alongside these projects, I contribute to MNE-Python, MONAI, MONAI Generative and SpeechBrain.
Mother of All BCI Benchmarks: reproducible evaluation of BCI pipelines across open datasets.
Open data, tools, and compute resource for machine learning on neuroelectromagnetic data.
Geometric (Riemannian/SPD) deep learning library for neural decoding through trivialization.
Selected work
Competition · Brain and Body Workshop at NeurIPS 2026
EEG/EMG Foundation Challenge 2026
I am the main lead of the 2026 competition. Four decoding tracks — EEG-to-Image, BCI decoding, sleep onset, and EMG-to-Pose — test models across new stimuli, sessions, and people. Registration is open; the competition runs 21 Sep – 21 Nov 2026, with a $20,000 prize pool and winners celebrated at NeurIPS in Sydney. The 2025 edition gathered 1,197 teams from 247 institutions.
EEG representation learning · Scientific Reports · 2026
Learning aligned EEG representations with subject-specific encoders
Subject-specific encoders can internalise part of the alignment role usually handled by Euclidean Alignment. Cross-subject decoding performance holds, and head selection becomes the main remaining bottleneck.
Journey
A research scientist, in motion
Three countries, one through-line: building tools to decode signals from the brain. It started at a 2012 high-school science fair in Mato Grosso do Sul (I was sixteen), went through a cotutelle PhD between Paris-Saclay and UFABC, and continues today at Yneuro, with an honorary affiliation at UC San Diego INC.
Research Scientist
Research Scientist at Yneuro and Honorary Research Associate at UC San Diego (INC). Lead maintainer of Braindecode and MOABB. Lead organizer of the MLSP 2025 Special Session on Decoding the Brain Time Series.
-
2026 Yneuro — Research ScientistJoined post-PhD to continue work on EEG decoding and foundation models for neural signals.
-
2025 NeurIPS 2025 Competition — EEG Foundation ChallengeLed the organization of From Cross-Task to Cross-Subject EEG Decoding, with Terrence J. Sejnowski, Isabelle Guyon, Alan Evans, Scott Makeig, Arnaud Delorme and Alexandre Gramfort.
-
2025 MLSP 2025 Special SessionLead organizer of Decoding the Brain Time Series at IEEE MLSP.
-
2026 → UC San Diego INCHonorary Research Associate at the Institute for Neural Computation.
-
2023 → Reviewer for ML/neuro venuesNeurIPS (×2), ICLR, ICML, JMLR, NeuroImage, Imaging Neuroscience, PeerJ CS, L4DC@ICLR.
Research overview
- Journal
- Conference
- Workshop
- Abstract
- Software
- Report
- Preprocessing
-
Data
- Data resources and platforms
- Data generation
-
Data Alignment
- Cross-session and cross-subject alignment
- Online adaptation
-
Models
- Decoding architectures
- Foundation and transfer models
- Benchmark and Evaluation
- Clinical
- Software
Publications
2026
Automated Artifact Removal in EEG Age Prediction: A Systematic Comparison
Abstract and figure
Automated EEG artifact removal may improve downstream analysis but can also alter predictive information. We benchmarked nine automated artifact removal methods against a common no-artifact-removal baseline for cross-dataset EEG age prediction. We introduce Signal Quality Index (SQI)-guided GEDAI, which leverages local signal-quality assessment to restrict correction to the channel-epoch pairs requiring intervention. Three deep neural architectures were trained on TUEG and evaluated without target-domain fitting on ds005385, LEMON, and TDBRAIN. Across this setting, GEDAI and SQI-guided GEDAI were the only methods with consistent gains over baseline in age prediction performance across all datasets and architectures ( =-0.77/-0.64 years, R²=+0.083/+0.072, respectively). The remaining methods were neutral or detrimental on average ( =+0.220.16 years, R²=-0.0230.016 across methods). The two GEDAI-based methods achieved closely matched performance, while SQI guidance reduced the median modification ratio from 74.78% to 42.80%. These findings show that curation benefits are method-dependent and establish SQI guidance as a more selective operating point, leaving more of the original EEG unchanged and limiting the potential loss of neural activity while retaining most of GEDAI's predictive benefit.
Scaling Laws for EEG Decoding: How Much Data is Enough?
Abstract and figure
Deep learning has become a cornerstone of EEG-based brain decoding, with a growing number of architectures proposed every day; however, how the performance of these different models scales with data volume is not clear. Although this relationship has been characterized in other fields under the name of scaling laws, it remains poorly understood in the EEG domain. The present study addresses this gap by investigating how scan time and subject diversity affect the performance of different architectures. We evaluated five models across four EEG datasets. Training data volume was controlled by varying both subject count and trial volume under cross-subject validation. We then fitted power-law relationships to characterize the resulting behavior. Our findings reveal that as total data volume increases, the distinction between trial and subject scaling becomes largely irrelevant. Furthermore, we show that power-law relationships are both model and dataset-specific, yet they provide a robust descriptive framework for EEG decoding performance; extrapolation to larger subject pools yields RMSE values below 0.1 in most cases. Our work contributes to the literature by providing a descriptive framework for data scaling in EEG and by demonstrating data-efficient experimental design in EEG research.
Neuron-Level Architecture Growth: A Controlled Evaluation for EEG Time-Series Decoding
Abstract and figure
Convolutional EEG decoders are trained at a fixed width, usually set by their authors on other data. Growing methods add neurons during training where the loss could decrease the most, but whether they improve compared to a reference width is untested on EEG. Here, we grow three convolutional backbones on 12 motor-imagery datasets under three protocols and compare each with its reference model per subject. The growing ShallowFBCSPNet scores 2.9 points above its reference model with only half the parameters (0.57x), SCCNet changes by at most 1.2 points. Deep4Net growing models show decreased accuracy, but they require adaptation that prevent to compare faithfully the results. These differences follow the selection step, which keeps a candidate neuron relying on a dynamic threshold from singular values decomposition. Overall, these results suggest that growth helps when its criterion can rank the candidate neurons, and that the rate of skipped neuron addition tells where a decoder can be grown small from scratch.
EEGPrep: a validated Python implementation of the EEGLAB preprocessing pipeline
Abstract and figure
Automated EEG preprocessing is common in research and clinical work, but few pipelines have been tested systematically. In a recent benchmark, the default EEGLAB pipeline was the only pipeline that significantly outperformed simple high pass filtering. Its MATLAB implementation, however, complicates deployment in Python and cloud workflows. We developed EEGPrep to reproduce this pipeline in Python while supporting BIDS data. The main technical problem was numerical: small floating point differences can accumulate during recursive filtering and ICA. Approach. EEGPrep covers the default EEGLAB workflow: average rereferencing, artifact removal with the clean rawdata plugin, Picard ICA, ICLabel component classification, channel interpolation, and epoching. We compared each stage with MATLAB reference output on ARM arm64, the primary analysis, and Intel x86 64, the supplementary analysis. The test dataset contained 64 channel P300 auditory oddball recordings from 13 participants. We measured maximum absolute difference, RMS error, AMARI distance for ICA, and agreement between ICLabel decisions. Main Results. On ARM arm64, import and rereferencing matched exactly for all 12 analysed subjects. The clean rawdata and Picard ICA stages remained at numerical zero, with maximum RMS equal to 1.5 x 10^-12 microvolts, AMARI distance less than or equal to 0.000001, and mean correlation equal to 1.000. ICLabel neural network inference introduced the only measurable difference, with maximum RMS equal to 2.0 x 10^-5 microvolts. Rejection decisions nevertheless agreed for every subject, and the difference did not increase through interpolation and epoching, with end to end maximum RMS less than or equal to 2.1 x 10^-5 microvolts. The Intel x86 64 analysis matched to the same precision. Significance. EEGPrep reproduces the validated EEGLAB pipeline and can be installed from PyPI or run in Docker.
EEGDash: An open-source platform for machine learning on public neurophysiological data
arXiv ↗Journal ↗Site ↗
Abstract and figure
Public neurophysiological datasets are increasingly accessible but remain hard to reuse: turning one into a trained model still takes thousands of lines of code for download, loading, format repair, windowing, and evaluation, and a dataset that meets metadata standards can still fail to load. EEG-Dash is a software resource that catalogues 791 publicly archived recordings (39,778 participants, over 86,051 hours) spanning electroencephalography (EEG), magnetoencephalography (MEG), intracranial EEG (iEEG), electromyography (EMG), and functional near-infrared spectroscopy (fNIRS) from the OpenNeuro and NEMAR archives. It exposes each dataset as an importable, queryable class that preserves signal attributes and loads into machine-learning workflows without custom code, delegating signal handling to MNE-Python, windowing to Braindecode, and format compliance to the official Brain Imaging Data Structure (BIDS) validator. A metadata-first registry adds semantic search, a format-repair layer, automatic dataset-level tags drawn from each source publication, and a feature-extraction framework. The catalogue, with per-record loadability and compliance metadata, supports benchmarking, model development, and cross-dataset analysis.
Learning aligned EEG representations with subject-specific encoders
PDF ↓arXiv ↗DOI ↗Journal ↗
Abstract and figure
Cross-subject EEG decoding promises more training data, but it also exposes neural networks to strong inter-subject distribution shifts. We study whether task supervision and architecture alone can learn subject-aligned representations. We replace a shared EEG encoder with subject-specific encoders followed by a common classifier, and compare this hybrid model with standard EEGNet, AttentionBaseNet, and CTNet baselines with Euclidean Alignment (EA) on three motor-imagery datasets and one motor-execution dataset. EA improves shared encoders by recentering subject covariances, whereas the hybrid encoder reduces reliance on EA: removing EA has little effect on validation-loss dynamics or latent-space organization, and both hybrid variants consistently outperform non-aligned shared baselines. Subject-specific heads increase class distinctiveness and place each subject close to its own latent manifold while improving within-subject class separation. However, on cross-subject classification, subject-specific heads hinder direct parameter transfer to unseen subjects, motivating quantitative head selection and a brief calibration session. Although decoding gains depend on the dataset and backbone, our main findings concern that the sole use of architecture pressure promotes representation learning and alignment in a direction complementary to domain adaptation methods such as Euclidean Alignment. A per-subject low-rank adapter of only 2Cr parameters recover the full encoder's accuracy across five backbones and ranks r=1 to 16, so the per-subject module can be compressed by two to three orders of magnitude.
Abstract and figure
Scaling EEG foundation models requires pooling data across heterogeneous electrode montages, a prerequisite both for larger pretraining corpora and for downstream deployment. We present the first systematic comparison of four channel adaptation methods (Conv1d projection, spherical spline interpolation (SSI), source-space decomposition, and Riemannian re-centering) across five pretrained EEG foundation models (5M-157M parameters), five downstream tasks, and two training regimes with 10-15 random seeds each. We find that rigid-montage models (BENDR, Neuro-GPT) require external adaptation, while flexible models (EEGPT, CBraMod) match or exceed it natively when fine-tuned but benefit from external methods under frozen-encoder deployment. A probe-SFT asymmetry exists: external adaptation can cause severe negative transfer during fine-tuning of flexible models. The optimal method is architecture-dependent (Conv1d for BENDR, SSI/Riemannian for Neuro-GPT, source-space decomposition for depression detection), and 5M-parameter CBraMod outperforms models up to 31x larger on 4/5 datasets, consistent with independent findings that compact EEG-specific architectures can match larger models.
From EEG Cleaning to Decoding: The Role of Artifact Rejection in MI-based BCIs
Abstract and figure
Motor imagery (MI) BCIs are sensitive to EEG artifacts, yet the practical impact of automated artifact rejection on downstream MI decoding performance remains unclear. While most work focuses on decoder design, the contribution of data curation, particularly automated rejection policies, has received comparatively less attention, despite its importance for robust machine learning pipelines. Here, we propose Fast Automatic Artifact Rejection (FAAR), a lightweight method that computes a compact set of artifact-sensitive features, derives an epoch-level Signal Quality Index, adaptively selects rejection thresholds, and automatically rejects contaminated epochs without requiring prior knowledge of artifact types or manual threshold tuning. We evaluate FAAR on 13 publicly available MI datasets and compare it to a no-rejection baseline, AutoReject, and Isolation Forest. We show rejection effects are strongly subjectand regime-dependent, with the largest gains in low-baseline/low-SNR conditions, so it should be used adaptively. FAAR reduces inter-subject performance variability, an important property for MI-BCI reliability and BCI-illiteracy, without aggressive data removal. Finally, FAAR's lightweight and fully automated thresholding yields consistent rejection behavior across offline curation, training, and online filtering, and supports real-time BCI constraints.
Real-Time Continuous EEG Authentication: Streaming Neural Biometrics
Learning Representations of Electroencephalogram using Deep Learning
Abstract and figure
Electroencephalography (EEG) decoding faces a fundamental challenge: deep learning methods that transformed the field require massive datasets, yet EEG studies typically collect only hundreds to thousands of trials per subject. This data scarcity, combined with high inter-subject variability and low signal-to-noise ratios, limits the application of modern machine learning approaches. This thesis investigates representation learning strategies to address EEG data constraints, proposing methods to reuse, create, and constrain representations while establishing infrastructure for reproducible evaluation. In the first part, we focused on reusing representations through transfer learning across cognitive tasks. We investigated whether features learned on one EEG paradigm could improve decoding on another using linear probing to measure transferability across 11 paradigms from two datasets comprising 135 subjects. We found that transfer is highly asymmetric: some tasks serve as effective sources for multiple targets, while others benefit from no pre-training. Linear probing yielded accuracy gains, and hierarchical clustering of transfer matrices revealed that tasks recruiting similar cognitive processes cluster together. In the second part, we focused on creating representations through generative modeling to augment limited datasets. We trained latent diffusion models with a novel spectral loss on sleep EEG data from two datasets to generate realistic 30-second epochs. The spectral loss enforces frequency-domain fidelity by minimizing differences between short-time Fourier transforms of real and synthetic signals, preserving physiologically relevant oscillations in delta, theta, and alpha bands. The generated signals achieved low Fréchet Inception Distance and correct power spectral density profiles, demonstrating that diffusion models can synthesize EEG suitable for privacy-preserving data sharing. In the third part, we addressed the challenge of parameter efficiency by constraining representations with geometric priors. We proposed Phase-SPDNet, which combines Riemannian geometry on the symmetric positive-definite manifold with Takens’ theorem-based phase-space reconstruction. This approach enriches spatial covariance matrices with temporal dynamics through delay embedding, enabling effective decoding with minimal electrodes. Evaluated on six motor imagery datasets using only three electrodes, Phase-SPDNet achieved state-of-the-art performance. In the fourth part, we addressed the reproducibility crisis in EEG decoding by developing standardized benchmarking infrastructure. We organized a large-scale challenge on 3,000+ subjects with six cognitive tasks, revealing that cross-subject generalization remains substantially harder than cross-task generalization. Beyond the competition, we developed three open-source tools: MOABB for standardized benchmarking, Braindecode as a PyTorch model zoo, and EEGDash for dataset cataloging. These tools have collectively exceeded one million installations. The contributions address EEG data constraints from complementary angles: transfer learning reduces calibration burden, generative models expand available training data, geometric constraints improve parameter efficiency, and reproducible benchmarks enable fair comparison.
Toward OpenEEG-Bench: A live community-driven benchmark for EEG foundation models
Abstract and figure
The rapid emergence of foundation models for electroencephalography (EEG) promises to transform brain-computer interfaces and clinical neuroscience. In many cases, however, results reported on foundation models are snapshots in time, which are hard to compare due to heterogeneous evaluation protocols, such as differing pre-processing, datasets, data-splits, finetuning methods etc. To mitigate this, a few benchmark papers have recently been proposed that try to standardize the comparison of foundation models. Compared to other domains, however, the EEG field still lacks a continuously updated, open-source benchmark which provides a live online leaderboard and allows for a fair, reproducible comparison of current foundation models, and also allows for introspecting which design decisions are impactful. In this paper, building upon our experience organizing the NeurIPS 2025 EEG Foundation Model Challenge, we describe our four initial design choices for a live EEG foundation model benchmark, that implements a continuously updated leaderboard: (1) It embraces existing open-source tools, including MNE-Python, Braindecode, and HuggingFace for easier adoption. (2) We recommend using openly accessible datasets and will include new datasets in the future. (3) We standardize the finetuning and pre-processing procedures for comparable results. (4) We implement a community-driven governance to ensure long-term sustainability. To stimulate feedback and discussion about our current design choices, we also present the initial results for five recent foundation models evaluated across ten commonly used datasets. Before we freeze design decisions, we invite the community to share suggestions at https://huggingface.co/spaces/braindecode/EEG-finetune-arena/discussions. The live leaderboard will be accessible at the same location. The code is open-source and can be found at https://github.com/braindecode/OpenEEGBench.
SPD Learn: A geometric deep learning Python library for neural decoding through trivialization
PDF ↓arXiv ↗Site ↗
Abstract and figure
Implementations of symmetric positive definite (SPD) matrix-based neural networks for neural decoding remain fragmented across research codebases and Python packages. Existing implementations often employ ad hoc handling of manifold constraints and non-unified training setups, which hinders reproducibility and integration into modern deep-learning workflows. To address this gap, we introduce SPD Learn, a unified and modular Python package for geometric deep learning with SPD matrices. SPD Learn provides core SPD operators and neural-network layers, including numerically stable spectral operators, and enforces Stiefel/SPD constraints via trivialization-based parameterizations. This design enables standard backpropagation and optimization in unconstrained Euclidean spaces while producing manifold-constrained parameters by construction. The package also offers reference implementations of representative SPDNet-based models and interfaces with widely used brain computer interface/neuroimaging toolkits and modern machine-learning libraries (e.g., MOABB, Braindecode, Nilearn, and SKADA), facilitating reproducible benchmarking and practical deployment.
Abstract and figure
Automating the diagnostic process steps has been of interest for research grounds and to help manage the healthcare systems. Improved classification accuracies, provided by ever more sophisticated algorithms, were mirrored by the loss of interpretability on the criteria for achieving accuracy. In other words, the mechanisms responsible for generating the distinguishing features are typically not investigated. Furthermore, the vast majority of the classification studies focus on the classification of one disease as opposed to matched controls. While this scenario has internal validity, concerning the appropriateness toward answering scientific questions, it does not have external validity. In other words, differentiating multiple diseases at once is a classification problem closer to many real-world scenarios. In this work, we test the hypothesis that specific data features hold most of the discriminative power across multiple neurodegenerative diseases. Furthermore, we perform an explorative analysis to compare metrics based on different assumptions (concerning the underlying mechanisms). To test this hypothesis, we leverage a large magnetoencephalography dataset (N=109) merging four cohorts, recorded in the same clinical setting, of patients affected by multiple sclerosis, amyotrophic lateral sclerosis, Parkinson's disease, and mild cognitive impairment. Our results show that it is possible to reach a balanced accuracy of 67.1% (chance level = 35%), based on a small set of (non-disease specific) features. We show that edge metrics (defined as statistical dependencies between pairs of brain signals) perform better than nodal metrics (considering regions while disregarding the interactions). Moreover, phase-based metrics slightly outperform amplitude-based metrics. In conclusion, our work shows that a small set of phase-based connectivity metrics applied to MEG data successfully distinguishes across multiple neurological diseases.
2025
EEG Foundation Challenge: From Cross-Task to Cross-Subject EEG Decoding
Geometric Neural Network based on Phase Space for BCI decoding
The largest EEG-based BCI reproducibility study for open science: the MOABB benchmark
Uncovering and improving the structure of cognitive tasks with transfer learning
2024
General-Purpose Brain Foundation Models for Time-Series Neuroimaging Data
What is the best model for decoding neurophysiological signals? Depends on how you evaluate
Combining Euclidean Alignment and Data Augmentation for BCI decoding
A systematic evaluation of Euclidean alignment with deep learning for EEG decoding
Evaluation of the Electroencephalogram Conformer for the P300 Signal
2023
Synthetic Sleep EEG Signal Generation using Latent Diffusion Models
Evaluating the structure of cognitive tasks with transfer learning
Applying independent vector analysis on EEG-based motor imagery classification
Sleep-Energy: An Energy Optimization Method to Sleep Stage Scoring
Augmented SPDNet: Second-Order Neural Network for Motor Imagery-Based BCI
Distribuição de Newcomb-Benford, Mudanças de Bases e Aplicações Eleitorais
2020
2019
Education
-
09/2020 – 02/2026 PhD in Computer Science
Cotutelle between Université Paris-Saclay 🇫🇷 and UFABC 🇧🇷. Advised by Sylvain Chevallier, Marie-Constance Corsi, and Raphael Y. de Camargo. Thesis: Learning Representations of Electroencephalogram using Deep Learning.
-
2016 – 2020 Double BSc in Computer Science & Science and Technology
Center for Mathematics, Computing, and Cognition, Federal University of ABC (UFABC), Brazil 🇧🇷.
Work experience
-
2026 → Research Scientist, Yneuro
France 🇫🇷. Tools for EEG decoding and foundation models on neural signals.
-
2026 → Honorary Research Associate, UC San Diego (INC)
Institute for Neural Computation, USA 🇺🇸.
-
03/2022 – 06/2022 Data Scientist Intern, University of Glasgow / FGV
United Kingdom 🇬🇧.
-
03/2021 – 08/2021 Data Scientist Intern, Getúlio Vargas Foundation (FGV)
Brazil 🇧🇷.
-
07/2014 – 12/2015 Research Intern (Computer Vision), Dom Bosco Catholic University
Brazil 🇧🇷. INOVISÃO lab during high school. I published two papers :)
Mentorship
Students I was lucky to work with and mentor:
-
Adam Mounir
Master internUniversité Paris-Saclay (Inria TAU), research internship on Braindecode.
-
Léo Burgund
Master student → YneuroUniversité Paris-Saclay (M2 Mathematics & AI), now Machine Learning Researcher at Yneuro.
-
Tom Mariani
Master student → YneuroMVA, ENS Paris-Saclay / Mines, now Research Scientist at Yneuro.
-
Aman Jaiswal
Master studentUC San Diego, MS in Computer Science.
-
Kuntal Kokate
Master studentUC San Diego, MS in Machine Learning & Data Science (ECE).
-
Jose Mauricio
Master studentFederal University of ABC, Computer Science.
-
Taha Habib
Undergrad → MasterUniversité Paris-Saclay, now a master student.
-
Gustavo H. Rodrigues
Undergrad → MasterUniversidade de São Paulo (USP), now a master student at USP.
-
Bruna Junqueira
Undergrad → Master → PhDUSP, then the Mathématiques, Vision, Apprentissage master at Université Paris-Saclay; now my PhD student.
-
Alexandre Janoni
Undergrad → IndustryFederal University of ABC, now at Hospital Albert Einstein.
Community
During my PhD, I collaborated with research groups across the US (San Diego, San Francisco, Washington), UK, Ireland, Germany, Italy, Netherlands, Canada (Waterloo, MILA), Brazil (Sao Paulo), and France. Those collaborations turned into more than 16 publications (full/short papers, reports, abstracts), all listed on Google Scholar. I particularly enjoyed the self-contained, code-oriented projects 🧠⚙️. For academic cooperation, contact me via email or LinkedIn.
I organized the Braindecode Code-Sprint in the European summer of 2023, co-organized the workshop Designing Brain-Computer Interfaces from Theory to Real-Life Scenarios at the Graz BCI 2024 conference, led the Special Session on Decoding the Brain Time Series at IEEE MLSP 2025, and led the organization of the NeurIPS 2025 Competition EEG Foundation Challenge: From Cross-Task to Cross-Subject EEG Decoding.
I review for machine learning conferences and journals: NeurIPS (twice), ICLR, ICML, NeuroImage, Imaging Neuroscience, the Journal of Machine Learning Research (JMLR), and the Learning from Time Series for Health workshop at ICLR.























