Physics-informed neural operators for rapid electric field prediction in transcranial magnetic stimulation of healthy and tumor subjects
Accurate and rapid prediction of transcranial magnetic stimulation (TMS)-induced electric fields is essential for personalized clinical applications, from individualized therapy in major depressive disorder to presurgical functional mapping in neuro-oncology. Yet conventional finite element methods are often too computationally expensive for interactive use. Existing deep learning surrogate models partly address this limitation but are largely constrained to fixed voxel-grid representations that cannot naturally accommodate the irregular geometry of subject-specific head meshes. We present the first physics-informed neural operator (PINO) for subject-specific prediction of vector TMS electric fields, built on a mesh-native dual-encoder architecture that jointly encodes head anatomy and coil configuration. By incorporating a curl-based regularization term aligned with the curl-free nature of the TMS secondary field, the PINO model promotes physical consistency as a soft regularizer alongside data-driven supervision. Trained on 75 subjects from the IXI dataset, the framework was evaluated across four independent held-out test datasets, including healthy subjects from two additional MRI cohorts and, for the first time in learning-based TMS electric-field prediction, tumor patients. The resolution-agnostic formulation generalizes across subjects, coil types, and spatial resolutions without retraining, predicting vector electric fields on approximately 300,000 gray matter volume nodes in under 100 ms on a consumer-grade GPU. Across all test datasets within the focality-50% region, the PINO model achieved median center-of-gravity errors of 0.39–0.43 mm, RMSE of 0.12–0.16 V/m, and mean angular deviations of 6.7°–7.3°, with performance within or below the error ranges reported by recent deep-learning approaches. At the selected 5% physics-loss weighting, curl loss decreased by 9.1% relative to the data-only model, while RMSE and MAD increased by only 1.6% and 1.3%, respectively. These results suggest that physics-informed neural operators provide a scalable technical foundation for rapid gray-matter electric-field approximation, supporting future studies on real-time electric-field-guided TMS workflows
Authors
- Sascha Freigang (ORCID: https://orcid.org/0000-0001-8298-1663)
- Philipp Moser (ORCID: https://orcid.org/0000-0002-9717-6197)
- Gernot Reishofer (ORCID: https://orcid.org/0000-0002-3068-6475)
- Stefan Thumfart (ORCID: https://orcid.org/0000-0001-9838-3641)
- K Mahdy Ali (ORCID: https://orcid.org/0009-0005-6260-2896)
- Louis Frank (ORCID: https://orcid.org/0009-0000-2426-5941)
- Fabian Greifeneder
- Pia Ritter (ORCID: https://orcid.org/0009-0004-8125-9360)
- Dominik Freinberger (ORCID: https://orcid.org/0009-0006-0545-2083)
Institutions
- Medical University of Graz (AT)
- RISC Software (Austria) (AT)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-10-16
- DOI
- https://doi.org/10.1038/s41598-026-74936-z
- Primary Topic
- Transcranial Magnetic Stimulation Studies
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Österreichische Forschungsförderungsgesellschaft