Recognizing EEG responses to active TMS vs. sham stimulations in different TMS-EEG datasets: a machine learning approach
Ahmadreza KeihaniiD, Francesco Luciano DonatiiD, Simone RussoiD, Sara ParmigianiiD, Michela SolbiatiiD, Adenauer Girardi CasaliiD, Matteo FecchioiD, Omeed Chaichian, John C. RothwelliD, Marcello MassiminiiD, Lorenzo RocchiiD, Mario RosanovaiD, Fabio FerrarelliiD
Abstract
BackgroundTranscranial Magnetic Stimulation (TMS) with simultaneous Electroencephalogram (TMS-EEG) allows assessing the neurophysiological properties of cortical neurons. However, TMS-evoked EEG potentials (TEPs) can be affected by components unrelated to TMS direct neuronal activation. Accurate, automatic tools are therefore needed to establish the quality of TEPs. ObjectiveTo assess the discriminability of EEG responses to TMS vs. EEG responses to sham stimulations using sequence-to-sequence machine learning (ML). MethodsTwo indipendent TMS-EEG datasets including TMS and several sham stimulation conditions were obtained from the left motor area of healthy volunteers (N=33 across datasets). A Bi-directional Long Short-Term Memory (BiLSTM) ML network was used to label each time point of the EEG signals as pertaining to TMS or sham conditions. Main outcome measures included accuracy at single-trial level and after averaging five to twenty trials. ResultsFor TMS conditions, post-stimulus vs. baseline/pre-stimulus EEG comparisons yielded moderate (60%-75%) single-trial accuracy and high-accuracy (>75%) for 20 trials across datasets, while for sham conditions post- vs. baseline/pre-stimulus EEG comparisons yielded lower accuracy rates than for TMS conditions, except for unmasked auditory stimulation. Furthermore, baseline/pre-stimulus TMS vs. baseline/pre-stimulus sham EEG comparisons showed chance-level accuracy, whereas post-stimulus TMS vs. post-stimulus sham EEG comparisons had moderate (single trial) to high (20 trial) accuracy, except for TMS with and without the click noise masking. Single-subject findings were comparable to group-level results across datasets. ConclusionsTEPs after active TMS are discernible from various sham stimulations even after a handful of trials and at the single-subject level using a BiLSTM ML approach.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 3
- FWCI
- 8.27
- Field percentile
- top 3%
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Identifying site- and stimulation-specific TMS-evoked EEG potentials using a quantitative cosine similarity metric
Michael Freedberg, Jack A. Reeves, … Eric M. Wassermann·PLoS ONEPeer-reviewed·Jan 13, 2020
- The spatiotemporal evolution of TMS-evoked potentials reflects direct cortical activation
Matteo Fecchio, Simone Russo, … Mario Rosanova·bioRxiv·Jun 25, 2025
- The non-transcranial TMS-evoked potential is an inherent source of ambiguity in TMS-EEG studies
Virginia Conde, Leo Tomasevic, … Hartwig Roman Siebner·NeuroImagePeer-reviewed·Oct 20, 2018
- Does Pre-Sensorimotor Brain Activity Modulate TMS-Evoked Potentials?
Motahare Delbari, Christoph Siegfried Herrmann, … Stefan Debener·bioRxiv·Sep 15, 2026
- The correspondence between EMG and EEG measures of changes in cortical excitability following transcranial magnetic stimulation
Mana Biabani, Alex Fornito, … Nigel C. Rogasch·The Journal of PhysiologyPeer-reviewed·Feb 18, 2021
- TMS-evoked EEG potentials from prefrontal and parietal cortex: reliability, site specificity, and effects of NMDA receptor blockade
Nigel C. Rogasch, Carl Moritz Zipser, … Ulf Ziemann·bioRxiv·Feb 2, 2019