Artificial Neural Networks for Magnetoencephalography: A review of an emerging field

Arthur Dehgan, Hamza Abdelhedi, Vanessa Hadid, Irina Rish, Karim Jerbi

TL;DR

This comprehensive review surveys 119 studies to map the rapidly growing intersection of Artificial Neural Networks (ANNs) and Magnetoencephalography (MEG). It categorizes the field into three pillars—brain decoding, neural modeling, and methodological improvements—revealing that while deep learning (particularly CNNs) is becoming a powerhouse for neuroimaging, the field still struggles with data scarcity and a lack of standardized reporting.

What Problem Does This Paper Address?

Magnetoencephalography (MEG) is a "goldilocks" neuroimaging technique: it offers the millisecond-range temporal resolution of EEG with significantly better spatial precision because magnetic fields aren't distorted by the skull. However, MEG data is notoriously difficult to analyze. It is high-dimensional, noisy, and traditionally relies on "hand-crafted" features and expert-driven signal processing.

As Artificial Intelligence has exploded, researchers have begun applying ANNs to MEG, but the literature was fragmented. This paper provides the first systematic "map" of the field, identifying where ANNs are outperforming classical stats and where the "black box" nature of deep learning is creating new hurdles for neuroscience.

Methods

The authors conducted a systematic review of 119 primary research articles (sourced from PubMed, arXiv, bioRxiv, etc.) published up to late 2024. They categorized the research into three functional "vantage points":

  1. Classification (58.8% of studies): Using MEG data as input to predict brain states, clinical diagnoses, or intentions (for Brain-Computer Interfaces).
  2. Modeling (13.4% of studies): Using ANNs as "silicon brains" to compare their internal activations with human neural responses to the same stimuli (e.g., images or speech).
  3. Other/Methodological (27.8% of studies): Using ANNs to clean data (artifact removal), improve signal-to-noise ratios, or solve the "inverse problem" (source localization).

Datasets

The review highlights a significant reliance on small, private datasets.

  • Small-Scale: 65 of the 119 studies used fewer than 20 subjects.
  • Public Repositories: The authors point to several "gold standard" open datasets that are driving the field forward, including OpenNeuro, the Cam-CAN (aging) dataset, OMEGA, and the Human Connectome Project (HCP).
  • Synthetic Data: Interestingly, many "Source Localization" studies rely on simulated MEG data to train networks before validating them on real human recordings.

Key Insights and Ideas

  • The "EEG Trajectory": The authors note that MEG-ANN research is following a similar growth curve to EEG, but with the added benefit of MEG’s superior spatial clarity, making it better suited for deep learning architectures that thrive on structured spatial-temporal data.
  • Representation Learning vs. Feature Engineering: The field is shifting away from "hand-picking" frequency bands (like Alpha or Beta) and toward letting CNNs and Transformers discover their own features directly from raw, minimally processed data.
  • The Simulation-to-Real Gap: In source localization (finding where in the brain a signal starts), ANNs trained on simulated data can outperform classical algorithms like MNE or Beamforming, but they are highly sensitive to the "fidelity" of the simulation.
  • Modeling as Reverse Engineering: Modeling studies aren't just about accuracy; they are about "alignment." If a VGG-16 vision network and a human brain show similar Representational Similarity Analysis (RSA) patterns when looking at a cat, it suggests the ANN is a valid proxy for biological information processing.

Key Results

  • Architecture Dominance: Convolutional Neural Networks (CNNs) are the most popular choice for classification, while LSTMs and Transformers are gaining ground for sequential speech and auditory tasks.
  • Performance: Classification studies (especially in clinical diagnostics for Alzheimer’s or Epilepsy) frequently achieve high predictive accuracy, often surpassing traditional machine learning (like SVMs).
  • Preprocessing Trends: 16 studies successfully used ANNs (like Autoencoders) to automate the removal of heartbeats and eye blinks from MEG signals—a task that previously required hours of manual labor.
  • Sampling Rates: Most studies downsample data to 250 Hz to save on computation, though high-frequency tasks (auditory/motor) often maintain 1000 Hz.

Limitations and Future Work

  • Data Scarcity: Deep learning is data-hungry, but most MEG studies are "small-N." The authors strongly advocate for Data Augmentation (only used in 12/70 classification studies) and the use of Foundation Models (pre-trained on massive datasets) to overcome this.
  • The "Black Box" Problem: Only 16 of the 70 classification papers used interpretability tools (like Grad-CAM or Saliency maps). Without knowing why a model predicted "Epilepsy," the clinical utility remains limited.
  • Standardization: There is a "wild west" of nomenclature and reporting. Many papers omit crucial hyperparameters or fail to compare their ANN against a simple linear baseline.
  • Future Frontier: The authors predict a surge in Multimodal Fusion, where ANNs simultaneously process MEG and EEG to get the best of both worlds (magnetic clarity and electrical depth).

Summary updated

Abstract

Magnetoencephalography (MEG) is a cutting-edge neuroimaging technique that measures the intricate brain dynamics underlying cognitive processes with an unparalleled combination of high temporal and spatial precision. MEG data analytics has always relied on advanced signal processing and mathematical and statistical tools for various tasks ranging from data cleaning to probing the signals' rich dynamics and estimating the neural sources underlying the surface-level recordings. Like in most domains, the surge in Artificial Intelligence (AI) has led to the increased use of Machine Learning (ML) methods for MEG data classification. More recently, an emerging trend in this field is using Artificial Neural Networks (ANNs) to address many MEG-related tasks. This review provides a comprehensive overview of how ANNs are being used with MEG data from three vantage points: First, we review work that employs ANNs for MEG signal classification, i.e., for brain decoding. Second, we report on work that has used ANNs as putative models of information processing in the human brain. Finally, we examine studies that use ANNs as techniques to tackle methodological questions in MEG, including artifact correction and source estimation. Furthermore, we assess the current strengths and limitations of using ANNs with MEG and discuss future challenges and opportunities in this field. Finally, by establishing a detailed portrait of the field and providing practical recommendations for the future, this review seeks to provide a helpful reference for both seasoned MEG researchers and newcomers to the field who are interested in using ANNs to enhance the exploration of the complex dynamics of the human brain with MEG.
BibTeX
@article{dehgan2025artificial,
  author = {Arthur Dehgan and Hamza Abdelhedi and Vanessa Hadid and Irina Rish and Karim Jerbi},
  title = {{Artificial Neural Networks for Magnetoencephalography: A review of an emerging field}},
  journal = {Journal of Neural Engineering},
  year = {2025},
  doi = {10.1088/1741-2552/addd4a},
}
Figure