TorchCor: High-Performance Cardiac Electrophysiology Simulations with the Finite Element Method on GPUs

📅 2025-10-13
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Cardiac electrophysiology (CEP) simulation has long relied on high-performance computing resources—particularly multi-core CPUs—hindering its broader adoption in research and clinical practice. To address this, we present the first PyTorch-based, GPU-accelerated finite-element framework enabling end-to-end differentiable CEP simulation. Our method integrates automatic differentiation, tensor parallelism, and hybrid explicit/implicit time integration to efficiently solve large-scale 3D cardiac meshes. Numerical accuracy is rigorously validated against analytical solutions and via N-version benchmarking. Experiments demonstrate up to数十-fold speedup over CPU-based implementations on representative 3D models, with simulation results matching gold-standard solvers to high fidelity. The framework is open-source, cross-platform, deployment-friendly, and imposes no commercial usage restrictions. By substantially lowering hardware requirements, it advances the democratization of CEP simulation for both scientific and clinical applications.

Technology Category

Application Category

📝 Abstract
Cardiac electrophysiology (CEP) simulations are increasingly used for understanding cardiac arrhythmias and guiding clinical decisions. However, these simulations typically require high-performance computing resources with numerous CPU cores, which are often inaccessible to many research groups and clinicians. To address this, we present TorchCor, a high-performance Python library for CEP simulations using the finite element method on general-purpose GPUs. Built on PyTorch, TorchCor significantly accelerates CEP simulations, particularly for large 3D meshes. The accuracy of the solver is verified against manufactured analytical solutions and the $N$-version benchmark problem. TorchCor is freely available for both academic and commercial use without restrictions.
Problem

Research questions and friction points this paper is trying to address.

Accelerating cardiac electrophysiology simulations using GPU computing
Making high-performance cardiac simulations accessible without CPU clusters
Verifying accuracy of finite element cardiac models on general-purpose GPUs
Innovation

Methods, ideas, or system contributions that make the work stand out.

GPU-accelerated finite element cardiac simulations
PyTorch-based high-performance Python library
Freely available unrestricted academic commercial use
🔎 Similar Papers
No similar papers found.
Bei Zhou
Bei Zhou
PhD Student, Zhejiang University
learning-based controlmotion planningautonomous driving
M
Maximilian Balmus
National Heart and Lung Institute, Imperial College London, London, UK; The Alan Turing Institute, London, UK
C
Cesare Corrado
National Heart and Lung Institute, Imperial College London, London, UK
Ludovica Cicci
Ludovica Cicci
Imperial College London
cardiac digital twinsglobal sensitivity analysisreduced order modelsECGs
Shuang Qian
Shuang Qian
Imperial College London
Cardiac digital twinsComputational modelling
S
Steven A. Niederer
National Heart and Lung Institute, Imperial College London, London, UK; The Alan Turing Institute, London, UK