{"title":"TorchTEM3D: PyTorch-Driven forward modeling platform for fast 3D transient electromagnetic modeling and efficient sensitivity matrix calculation","authors":"Ziteng Li , Hai Li , Keying Li , Ahmed M. Beshr","doi":"10.1016/j.cageo.2025.106063","DOIUrl":null,"url":null,"abstract":"<div><div>The three-dimensional (3D) forward modeling of transient electromagnetic (TEM) data is often computationally demanding due to its high complexity and limited hardware acceleration, which also affects the efficiency of sensitivity matrix calculation. In recent years, deep learning frameworks, particularly PyTorch, have been widely used in various fields due to their high flexibility, parallel computing capabilities, and powerful automatic differentiation function. In this paper, we develop a time-domain finite-difference forward modeling platform for 3D TEM, named TorchTEM3D, based on the powerful parallel computing and GPU acceleration capabilities of PyTorch. By fully utilizing the automatic differentiation function of PyTorch, we achieve efficient and fast calculation of sensitivity matrix (the gradient of the electromagnetic response to the geoelectric model). Compared with existing open-source Python computing platforms such as SimPEG and custEM, our method improves computing speed by 15–60 times. Furthermore, high-precision sensitivity matrices can be obtained with a single forward modeling run.</div></div>","PeriodicalId":55221,"journal":{"name":"Computers & Geosciences","volume":"207 ","pages":"Article 106063"},"PeriodicalIF":4.4000,"publicationDate":"2025-10-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Geosciences","FirstCategoryId":"89","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0098300425002134","RegionNum":2,"RegionCategory":"地球科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
The three-dimensional (3D) forward modeling of transient electromagnetic (TEM) data is often computationally demanding due to its high complexity and limited hardware acceleration, which also affects the efficiency of sensitivity matrix calculation. In recent years, deep learning frameworks, particularly PyTorch, have been widely used in various fields due to their high flexibility, parallel computing capabilities, and powerful automatic differentiation function. In this paper, we develop a time-domain finite-difference forward modeling platform for 3D TEM, named TorchTEM3D, based on the powerful parallel computing and GPU acceleration capabilities of PyTorch. By fully utilizing the automatic differentiation function of PyTorch, we achieve efficient and fast calculation of sensitivity matrix (the gradient of the electromagnetic response to the geoelectric model). Compared with existing open-source Python computing platforms such as SimPEG and custEM, our method improves computing speed by 15–60 times. Furthermore, high-precision sensitivity matrices can be obtained with a single forward modeling run.
期刊介绍:
Computers & Geosciences publishes high impact, original research at the interface between Computer Sciences and Geosciences. Publications should apply modern computer science paradigms, whether computational or informatics-based, to address problems in the geosciences.