scholarly journals Real-time computation of transcranial magnetic stimulation electric fields using self-supervised deep learning

2021 ◽  
Author(s):  
Hongming Li ◽  
Zhi-De Deng ◽  
Desmond Oathes ◽  
Yong Fan

Background: Electric fields (E-fields) induced by transcranial magnetic stimulation (TMS) can be modeled using partial differential equations (PDEs) with boundary conditions. However, existing numerical methods to solve PDEs for computing E-fields are usually computationally expensive. It often takes minutes to compute a high-resolution E-field using state-of-the-art finite-element methods (FEM). Methods: We developed a self-supervised deep learning (DL) method to compute precise TMS E-fields in real-time. Given a head model and the primary E-field generated by TMS coils, a self-supervised 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 and Neumann boundary condition. 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 efficiency of the DL model with a state-of-the-art FEM. Results: In realistic head models, the DL model obtained accurate E-fields with significantly smaller PDE residual and boundary condition residual than the FEM (p<0.002, Wilcoxon signed-rank test). The DL model was computationally efficient, which took about 0.30 seconds on average to compute the E-field for one testing individual. The DL model built for the simulated sphere head model also obtained an accurate E-field whose difference from the analytical E-fields was 0.004, more accurate than the solution obtained using the FEM. Conclusions: We have developed a self-supervised DL model to directly learn a mapping from the magnetic vector potential of a TMS coil and a realistic head model to the TMS induced E-fields, facilitating real-time, precise TMS E-field modeling.

2019 ◽  
Vol 12 (6) ◽  
pp. 1500-1507 ◽  
Author(s):  
Tatsuya Yokota ◽  
Toyohiro Maki ◽  
Tatsuya Nagata ◽  
Takenobu Murakami ◽  
Yoshikazu Ugawa ◽  
...  

2018 ◽  
Author(s):  
Aman Aberra ◽  
Boshuo Wang ◽  
Warren M Grill ◽  
Angel V Peterchev

Transcranial magnetic stimulation (TMS) enables non-invasive modulation of brain activity with both clinical and research applications, but fundamental questions remain about the neural types and elements it activates and how stimulation parameters affect the neural response. We integrated detailed neuronal models with TMS-induced electric fields in the human head to quantify the effects of TMS on cortical neurons. TMS activated with lowest intensity layer 5 pyramidal cells at their intracortical axonal terminations in the superficial gyral crown and lip regions. Layer 2/3 pyramidal cells and inhibitory basket cells may be activated too, whereas direct activation of layers 1 and 6 was unlikely. Neural activation was largely driven by the field magnitude, contrary to theories implicating the field component normal to the cortical surface. Varying the induced current's direction caused a waveform-dependent shift in the activation site and provided a mechanistic explanation for experimentally observed differences in thresholds and latencies of muscle responses. This biophysically-based simulation provides a novel method to elucidate mechanisms and inform parameter selection of TMS and other forms of cortical stimulation.


Sign in / Sign up

Export Citation Format

Share Document