Evaluating AI fashions skilled on mind indicators has lengthy been a messy, inconsistent subject. Totally different analysis teams use completely different preprocessing pipelines, prepare fashions on completely different datasets, and report outcomes on a slender set of duties — making it practically not possible to know which mannequin truly works finest, or for what. A brand new framework from Meta AI crew is designed to repair that.
Meta Researchers have launched NeuralBench, a unified, open-source framework for benchmarking AI fashions of mind exercise. Its first launch, NeuralBench-EEG v1.0, is the biggest open benchmark of its sort: 36 downstream duties, 94 datasets, 9,478 topics, 13,603 hours of electroencephalography (EEG) information, and 14 deep studying architectures evaluated underneath a single standardized interface.


The Drawback NeuralBench Solves
The broader subject of NeuroAI the place deep studying meets neuroscience has exploded in recent times. Self-supervised studying strategies initially developed for language, speech and pictures are actually being tailored to construct mind basis fashions: massive fashions pretrained on unlabeled mind recordings and fine-tuned for downstream duties starting from medical seizure detection to decoding what an individual is seeing or listening to.
However the analysis panorama has been badly fragmented. Current benchmarks like MOABB cowl as much as 148 brain-computer interfacing (BCI) datasets however restrict analysis to only 5 downstream duties. Different efforts — EEG-Bench, EEG-FM-Bench, AdaBrain-Bench — are every constrained in their very own methods. For modalities like magnetoencephalography (MEG) and useful magnetic resonance imaging (fMRI), there isn’t any systematic benchmark in any respect.
The end result — claims about basis fashions being “generalizable” or “foundational” usually relaxation on cherry-picked duties with no widespread reference level.
What’s NeuralBench?
NeuralBench is constructed on three core Python packages that type a modular pipeline.
NeuralFetch handles dataset acquisition, pulling curated information from public repositories together with OpenNeuro, DANDI, and NEMAR. NeuralSet prepares information as PyTorch-ready dataloaders, wrapping current neuroscience instruments like MNE-Python and nilearn for preprocessing, and HuggingFace for extracting stimulus embeddings (for duties involving pictures, speech, or textual content). NeuralTrain supplies modular coaching code constructed on PyTorch-Lightning, Pydantic, and the exca execution and caching library.
As soon as put in through pip set up neuralbench, the framework is managed through a command-line interface (CLI). Working a job is so simple as three instructions: obtain the information, put together the cache, and execute. Each job is configured by means of a light-weight YAML file that specifies the information supply, prepare/validation/check splits, preprocessing steps, goal processing, coaching hyperparameters, and analysis metrics.


What NeuralBench-EEG v1.0 Covers
The primary launch focuses on EEG and spans eight job classes: cognitive decoding (picture, sentence, speech, typing, video, and phrase decoding), brain-computer interfacing (BCI), evoked responses, medical duties, inside state, sleep, phenotyping, and miscellaneous.
Three lessons of fashions are in contrast:
- Job-specific architectures (~1.5K–4.2M parameters, skilled from scratch): ShallowFBCSPNet, Deep4Net, EEGNet, BDTCN, ATCNet, EEGConformer, SimpleConvTimeAgg, and CTNet.
- EEG basis fashions (~3.2M–157.1M parameters, pretrained and fine-tuned): BENDR, LaBraM, BIOT, CBraMod, LUNA, and REVE.
- Handcrafted function baselines: sklearn-style pipelines utilizing symmetric optimistic particular (SPD) matrix representations fed into logistic or Ridge regression.
All basis fashions are fine-tuned end-to-end utilizing a shared coaching recipe — AdamW optimizer, studying price of 10⁻⁴, weight decay of 0.05, cosine-annealing with 10% warmup, as much as 50 epochs with early stopping (endurance=10). The only real exception is BENDR, for which the educational price is lowered to 10⁻⁵ and gradient clipping is utilized at 0.5 to acquire steady studying curves. This intentional standardization in any other case removes model-specific optimization tips — akin to layer-wise studying price decay, two-stage probing, or LoRA — in order that structure and pretraining methodology are what truly will get evaluated.
Knowledge splitting is dealt with in another way per job kind to mirror real-world generalization constraints: predefined splits the place supplied by dataset analysis crew, leave-concept-out for cognitive decoding duties (all topics seen in coaching, however a held-out set of stimuli used for testing), cross-subject splits for many medical and BCI duties, and within-subject splits for datasets with only a few contributors. Every mannequin is skilled 3 times per job utilizing three completely different random seeds.
Analysis metrics are standardized by job kind: balanced accuracy for binary and multiclass classification, macro F1-score for multilabel classification, Pearson correlation for regression, and top-5 accuracy for retrieval duties. All outcomes are moreover reported as normalized scores (s̃), the place 0 corresponds to dummy-level efficiency and 1 corresponds to excellent efficiency, enabling honest cross-task comparisons no matter metric scale.
One necessary methodological word: some EEG basis fashions had been pretrained on datasets that overlap with NeuralBench’s downstream analysis units. Slightly than discarding these outcomes, the benchmark flags them with hashed bars in end result figures so readers can establish potential pretraining information leakage — no sturdy pattern suggesting leakage inflates efficiency was noticed, however the transparency is preserved.
The benchmark provides two variants: NeuralBench-EEG-Core v1.0, which makes use of a single consultant dataset per job for broad protection, and NeuralBench-EEG-Full v1.0, which expands to as much as 24 datasets per job to review within-task variability throughout recording {hardware}, labs, and topic populations. A Kendall’s τ of 0.926 (p < 0.001) between Core and Full rankings confirms that the Core variant is a dependable proxy — although a number of mannequin positions do shift, together with CTNet overtaking LUNA when extra datasets are included.


Two Key Findings
Discovering 1: Basis fashions solely marginally outperform task-specific fashions. The highest-ranked fashions general are REVE (69.2M parameters, imply normalized rank 0.20), LaBraM (5.8M, rank 0.21), and LUNA (40.4M, rank 0.30). However a number of task-specific fashions skilled from scratch — CTNet (150K parameters, rank 0.32), SimpleConvTimeAgg (4.2M, rank 0.35), and Deep4Net (146K, rank 0.43) — path intently behind. CTNet truly overtakes the LUNA basis mannequin to rank third within the Full variant, regardless of having roughly 270× fewer parameters. This exhibits the hole between task-specific and basis fashions is slender sufficient that increasing dataset protection alone is enough to vary world rankings.
Discovering 2: Many duties stay genuinely onerous. Cognitive decoding duties — recovering dense representations of pictures, speech, sentences, video, or phrases from mind exercise — are significantly difficult, with even one of the best fashions scoring nicely under ceiling. Duties like psychological imagery, sleep arousal, psychopathology decoding, and cross-subject motor imagery and P300 classification often yield efficiency near dummy degree. These duties signify one of the best benchmarks for stress-testing the following era of EEG basis fashions.
Duties approaching saturation embody SSVEP classification, pathology detection, seizure detection, sleep stage classification, and phenotyping duties like age regression and intercourse classification.
Past EEG: MEG and fMRI
Even on this preliminary EEG-focused launch, NeuralBench already helps MEG and fMRI duties as proof of idea. Notably, the REVE mannequin — pretrained solely on EEG information — achieves one of the best efficiency amongst all examined fashions on the typing decoding job in MEG. It is a hanging early sign that EEG-pretrained representations could switch meaningfully throughout mind recording modalities, a speculation the framework is positioned to carefully check in future releases.
The infrastructure is explicitly designed for growth to intracranial EEG (iEEG), useful near-infrared spectroscopy (fNIRS), and electromyography (EMG).
The best way to Get Began
Set up takes a single command: pip set up neuralbench. From there, working the audiovisual stimulus classification job on EEG seems to be like this:
neuralbench eeg audiovisual_stimulus --download # Obtain information
neuralbench eeg audiovisual_stimulus --prepare # Put together cache
neuralbench eeg audiovisual_stimulus # Run the duty
To run all 36 duties in opposition to all 14 EEG fashions, the -m all_classic all_fm flag handles the orchestration. Full benchmark storage necessities are substantial: roughly 11 TB whole (~3.2 TB uncooked information, ~7.8 TB preprocessed cache, ~333 GB logged outcomes), with one GPU of a minimum of 32 GB VRAM per job — although common peak GPU utilization measured throughout experiments is barely ~1.3 GB (most ~30.3 GB).
The complete NeuralBench-EEG-Full v1.0 run requires roughly 1,751 GPU-hours throughout 4,947 experiments.
Key Takeaways
- Meta AI’s NeuralBench-EEG v1.0 is an open EEG benchmark — 36 duties, 94 datasets, 9,478 topics, and 14 deep studying architectures underneath one standardized interface.
- Regardless of as much as 270× extra parameters, EEG basis fashions like REVE solely marginally outperform light-weight task-specific fashions like CTNet (150K params) throughout the benchmark.
- Cognitive decoding duties (speech, video, sentence, phrase decoding from mind exercise) and medical predictions stay extremely difficult, with most fashions scoring close to dummy degree.
- REVE, pretrained solely on EEG information, outperformed all fashions on MEG typing decoding — an early sign of significant cross-modality switch.
- NeuralBench is MIT-licensed.
Take a look at the Paper and GitHub Repo. Additionally, be at liberty to comply with us on Twitter and don’t overlook to hitch our 150k+ ML SubReddit and Subscribe to our Publication. Wait! are you on telegram? now you may be part of us on telegram as nicely.
Must associate with us for selling your GitHub Repo OR Hugging Face Web page OR Product Launch OR Webinar and many others.? Join with us
