NeuroImageNeurosciencePeer-reviewed journal article
Computation of transcranial magnetic stimulation electric fields using self-supervised deep learning
Hongming LiiD, Zhi‐De DengiD, Desmond J. OathesiD, Yong Fan AiD
Abstract
Electric fields (E-fields) induced by transcranial magnetic stimulation (TMS) can be modeled using partial differential equations (PDEs). Using state-of-the-art finite-element methods (FEM), it often takes tens of seconds to solve the PDEs for computing a high-resolution E-field, hampering the wide application of the E-field modeling in practice and research. To improve the E-field modelings computational efficiency, we developed a self-supervised deep learning (DL) method to compute precise TMS E-fields. Given a head model and the primary E-field generated by TMS coils, a DL model was built to generate a E-field by minimizing a loss function that measures how well the generated E-field fits the governing PDE. The DL model was trained in a self-supervised manner, which does not require any external supervision. We evaluated the DL model using both a simulated sphere head model and realistic head models of 125 individuals and compared the accuracy and computational speed of the DL model with a state-of-the-art FEM. In realistic head models, the DL model obtained accurate E-fields that were significantly correlated with the FEM solutions. The DL model could obtain precise E-fields within seconds for whole head models at a high spatial resolution, faster than the FEM. The DL model built for the simulated sphere head model also obtained an accurate E-field whose average difference from the analytical E-fields was 0.0054, comparable to the FEM solution. These results demonstrated that the self-supervised DL method could obtain precise E-fields comparable to the FEM solutions with improved computational speed.
- Citations
- 27
- FWCI
- 1.93
- Field percentile
- top 13%
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
- Prediction of Electric Fields Induced by Transcranial Magnetic Stimulation in the Brain using a Deep Encoder-Decoder Convolutional Neural Network
M. Tashli, M. S. Alam, … R. L. Hadimani·bioRxiv·Oct 27, 2022
- Efficient Electric Field Simulations for Transcranial Brain Stimulation
G. Bicalho Saturnino, K. H. Madsen, A. Thielscher·bioRxiv·Feb 5, 2019
- Fast FEM-based Electric Field Calculations for Transcranial Magnetic Stimulation
Fang Cao, Kristoffer Hougaard Madsen, … Axel Thielscher·Journal of Neural EngineeringPeer-reviewed·May 12, 2025
- Conditions for numerically accurate TMS electric field simulation
L. Gomez, M. Dannhauer, … A. V. Peterchev·bioRxiv·Dec 25, 2018
- Real-time computation of the TMS-induced electric field in a realistic head model
Matti Stenroos, Lari M. Koponen·NeuroImagePeer-reviewed·Sep 5, 2019
- A Software Toolkit for TMS Electric-Field Modeling with Boundary Element Fast Multipole Method: An Efficient MATLAB Implementation
S. N. Makarov, W. A. Wartman, … A. Nummenmaa·bioRxiv·Feb 9, 2020