<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Cardiovasc. Med.</journal-id>
<journal-title>Frontiers in Cardiovascular Medicine</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Cardiovasc. Med.</abbrev-journal-title>
<issn pub-type="epub">2297-055X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fcvm.2021.768419</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Cardiovascular Medicine</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>EP-PINNs: Cardiac Electrophysiology Characterisation Using Physics-Informed Neural Networks</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Herrero Martin</surname> <given-names>Clara</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Oved</surname> <given-names>Alon</given-names></name>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/1518060/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Chowdhury</surname> <given-names>Rasheda A.</given-names></name>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/663515/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Ullmann</surname> <given-names>Elisabeth</given-names></name>
<xref ref-type="aff" rid="aff5"><sup>5</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/1497001/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Peters</surname> <given-names>Nicholas S.</given-names></name>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Bharath</surname> <given-names>Anil A.</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/262148/overview"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Varela</surname> <given-names>Marta</given-names></name>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/379188/overview"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Department of Bioengineering, Imperial College London</institution>, <addr-line>London</addr-line>, <country>United Kingdom</country></aff>
<aff id="aff2"><sup>2</sup><institution>ITACA Institute, Universitat Polit&#x000E8;cnica de Val&#x000E8;ncia</institution>, <addr-line>Valencia</addr-line>, <country>Spain</country></aff>
<aff id="aff3"><sup>3</sup><institution>Department of Computing, Imperial College London</institution>, <addr-line>London</addr-line>, <country>United Kingdom</country></aff>
<aff id="aff4"><sup>4</sup><institution>National Heart and Lung Institute, Imperial College London</institution>, <addr-line>London</addr-line>, <country>United Kingdom</country></aff>
<aff id="aff5"><sup>5</sup><institution>Department of Mathematics, Technical University of Munich</institution>, <addr-line>Munich</addr-line>, <country>Germany</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Paul Leeson, University of Oxford, United Kingdom</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Jordi Heijman, Maastricht University, Netherlands; Alfonso Bueno-Orovio, University of Oxford, United Kingdom</p></fn>
<corresp id="c001">&#x0002A;Correspondence: Marta Varela <email>marta.varela&#x00040;imperial.ac.uk</email></corresp>
<fn fn-type="other" id="fn001"><p>This article was submitted to Cardiac Rhythmology, a section of the journal Frontiers in Cardiovascular Medicine</p></fn></author-notes>
<pub-date pub-type="epub">
<day>03</day>
<month>02</month>
<year>2022</year>
</pub-date>
<pub-date pub-type="collection">
<year>2021</year>
</pub-date>
<volume>8</volume>
<elocation-id>768419</elocation-id>
<history>
<date date-type="received">
<day>31</day>
<month>08</month>
<year>2021</year>
</date>
<date date-type="accepted">
<day>22</day>
<month>12</month>
<year>2021</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2022 Herrero Martin, Oved, Chowdhury, Ullmann, Peters, Bharath and Varela.</copyright-statement>
<copyright-year>2022</copyright-year>
<copyright-holder>Herrero Martin, Oved, Chowdhury, Ullmann, Peters, Bharath and Varela</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p></license>
</permissions>
<abstract>
<p>Accurately inferring underlying electrophysiological (EP) tissue properties from action potential recordings is expected to be clinically useful in the diagnosis and treatment of arrhythmias such as atrial fibrillation. It is, however, notoriously difficult to perform. We present EP-PINNs (Physics Informed Neural Networks), a novel tool for accurate action potential simulation and EP parameter estimation from sparse amounts of EP data. We demonstrate, using 1D and 2D <italic>in silico</italic> data, how EP-PINNs are able to reconstruct the spatio-temporal evolution of action potentials, whilst predicting parameters related to action potential duration (APD), excitability and diffusion coefficients. EP-PINNs are additionally able to identify heterogeneities in EP properties, making them potentially useful for the detection of fibrosis and other localised pathology linked to arrhythmias. Finally, we show EP-PINNs effectiveness on biological <italic>in vitro</italic> preparations, by characterising the effect of anti-arrhythmic drugs on APD using optical mapping data. EP-PINNs are a promising clinical tool for the characterisation and potential treatment guidance of arrhythmias.</p></abstract>
<kwd-group>
<kwd>cardiac electrophysiology</kwd>
<kwd>arrhythmia (any)</kwd>
<kwd>Physics Informed Neural Network (PINN)</kwd>
<kwd>atrial fibrillation</kwd>
<kwd>parameter estimation</kwd>
<kwd>optical mapping</kwd>
<kwd>biophysical modelling</kwd>
<kwd>artificial intelligence</kwd>
</kwd-group>
<contract-num rid="cn001">PG/16/17/32069</contract-num>
<contract-num rid="cn001">RE/18/4/34215</contract-num>
<contract-sponsor id="cn001">British Heart Foundation<named-content content-type="fundref-id">10.13039/501100000274</named-content></contract-sponsor>
<counts>
<fig-count count="9"/>
<table-count count="0"/>
<equation-count count="7"/>
<ref-count count="40"/>
<page-count count="15"/>
<word-count count="10005"/>
</counts>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>1. Introduction</title>
<p>Cardiac arrhythmias are extremely common pathologies caused by disturbances in the generation or propagation of electrical signals across the heart. Atrial fibrillation (AF), the most common sustained arrhythmia, affects 0.5% of the world&#x00027;s population and accounts for 1% of the NHS&#x00027;s total budget through its large impact on patient mortality and morbidity, especially stroke (<xref ref-type="bibr" rid="B1">1</xref>). Catheter ablation of atrial myocardium believed to host the sources of the arrhythmia is the mainstay of AF treatment, but its long-term efficacy is disappointing (54%), especially in patients with persistent forms of the disease (43%) (<xref ref-type="bibr" rid="B2">2</xref>).</p>
<p>The mechanisms behind AF are very complex, involving the interplay of several factors at different scales, from changes in membrane proteins to alterations in cardiac tissue composition and organ shape (<xref ref-type="bibr" rid="B3">3</xref>). To characterise the arrhythmia, information about cardiac activity can be acquired by recording electrical potentials using electrodes placed on the chest (electrocardiogram, ECG) or, in a catheter lab, placed in direct contact with the myocardium (contact electrograms, EGMs). Expert analysis of these signals is extremely successful in the clinical diagnosis of arrhythmias and other types of cardiovascular disease (<xref ref-type="bibr" rid="B1">1</xref>). However, as sparse measurements of the combined electrical activity of large areas of the myocardium, electrical signals provide little direct information about local EP properties.</p>
<p>The ability to perform a detailed EP characterisation in the clinical setting could lead to improved treatments for arrhythmias. For example, evidence suggests that areas with abnormal EP properties (such as fibrotic or ischaemic regions) and their border-zone are often the sites of the abnormal electrical activity driving arrhythmias (<xref ref-type="bibr" rid="B3">3</xref>). Cardiac regions characterised by EP changes such as low conduction velocity, heightened excitability or shortened action potential duration (APD) could be prime targets for localised therapies such as catheter ablation, likely improving their efficacy. So far, ablation strategies that target these EP heterogeneities have not been successful (<xref ref-type="bibr" rid="B4">4</xref>), partly due to the difficulty in identifying suitable ablation sites.</p>
<p>In this study, we present EP-PINNs, a Physics-Informed Neural Network, as an artificial intelligence tool capable of inferring EP properties from sparse measurements of transmembrane potential, V, in cardiac tissue. We test EP-PINNs using <italic>in silico</italic> data from EP biophysical simulations in several conditions and also <italic>in vitro</italic> optical mapping data. EP-PINNs are deployed in forward mode, as high-resolution solvers of the biophysical equations that control EP systems, and also in inverse mode, as estimators of EP parameters. Tests are performed in 1D and 2D for single waves and spiral waves in homogeneous and heterogeneous conditions. We further demonstrate a pharmacological application of EP-PINNs, as a tool to characterise the effect of two different channel blockers in <italic>in vitro</italic> optical mapping data.</p>
<p>In the next section, we will introduce the EP biophysical model used and the PINNs technique, as applied to the EP problem. We will contextualise our work within the available techniques for parameter estimation in EP and other cardiovascular applications of PINNs.</p>
</sec>
<sec id="s2">
<title>2. Background</title>
<sec>
<title>2.1. Biophysical Models of Cardiac Electrophysiology</title>
<p>Biophysical models of cardiac electrophysiology (<xref ref-type="bibr" rid="B5">5</xref>) are an important tool to understand how cardiac tissue properties affect the generation and propagation of cardiac electrical signals (action potentials, APs). They also offer an ideal means for the training and development of computational tools that may aim to infer EP properties from electrical and optical mapping measurements, such as EP-PINNs.</p>
<p>Several biophysical EP models have been proposed (see <ext-link ext-link-type="uri" xlink:href="https://models.cellml.org/electrophysiology">models.cellml.org/electrophysiology</ext-link>), each with varying degrees of detail aiming to reproduce different EP features, cardiac regions or animal/human experimental findings. Mathematically, these EP models usually take the form of a reaction-diffusion system where a diffusion term or equivalent (<xref ref-type="bibr" rid="B6">6</xref>) models the propagation of the electrical signal across the cardiac tissue. In the monodomain formulation, a partial differential equation (PDE) describes the spatio-temporal variations in the electrical potential across a myocyte cell membrane (<italic>V</italic>). This PDE is usually coupled to one or more ordinary differential equations (ODEs) describing how, at each point in time and space, <italic>V</italic> and other local state variables both determine and are determined by the flux of ions across the cell membrane (<xref ref-type="bibr" rid="B5">5</xref>).</p>
<p>The most parsimonious model of the action potential describes it as a travelling excitation wave followed by a non-excitable (refractory) region. This representation requires at least two state variables: <italic>V</italic>, which spreads (diffuses) across neighbouring regions, and a non-observable, non-diffusible recovery variable <italic>W</italic> which effectively controls the refractoriness and restitution properties of the model. One of the simplest models that captures these properties is the 6-parameter canine ventricular Aliev-Panfilov model (<xref ref-type="bibr" rid="B7">7</xref>), which models the transmembrane ionic currents (<italic>V</italic> &#x02212; <italic>W</italic> relationship) using smooth, differentiable functions. Furthermore, the diffusion of <italic>V</italic> across the cardiac tissue can be described by the monodomain equation (<xref ref-type="bibr" rid="B5">5</xref>), which, when combined with the Aliev-Panfilov model gives:</p>
<disp-formula id="E1"><label>(1)</label><mml:math id="M1"><mml:mtable columnalign="left"><mml:mtr><mml:mtd><mml:mfrac><mml:mrow><mml:mi>&#x02202;</mml:mi><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02202;</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mover accent="true"><mml:mrow><mml:mo>&#x02207;</mml:mo></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>.</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mover accent="true"><mml:mrow><mml:mo>&#x02207;</mml:mo></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mi>V</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:mi>k</mml:mi><mml:mi>V</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>V</mml:mi><mml:mo>-</mml:mo><mml:mi>a</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>V</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:mi>V</mml:mi><mml:mi>W</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E2"><label>(2)</label><mml:math id="M2"><mml:mtable columnalign="left"><mml:mtr><mml:mtd><mml:mfrac><mml:mrow><mml:mtext class="textrm" mathvariant="normal">d</mml:mtext><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">d</mml:mtext><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003F5;</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:mi>V</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mi>W</mml:mi><mml:mo>-</mml:mo><mml:mi>k</mml:mi><mml:mi>V</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>V</mml:mi><mml:mo>-</mml:mo><mml:mi>b</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>The diffusion term <inline-formula><mml:math id="M3"><mml:mover accent="true"><mml:mrow><mml:mo>&#x02207;</mml:mo></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>.</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mover accent="true"><mml:mrow><mml:mo>&#x02207;</mml:mo></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mi>V</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> reduces to <italic>D</italic>&#x02207;<sup>2</sup><italic>V</italic> in the case of homogeneous and isotropic conduction, i.e., when the diffusion tensor <italic>D</italic> is approximated by the same scalar throughout. Intuitively, this term quantifies how fast <italic>V</italic> is able to spread to its immediate neighbourhood to become more spatially homogeneous. <italic>D</italic> is determined mostly by the electrical conductivity of the myocardium and is a strong determinant of the propagation velocity of the AP. To prevent a leakage of <italic>V</italic> to regions outside the heart domain, the system described by Equations (1, 2) usually obeys no flux Neumann boundary conditions: <inline-formula><mml:math id="M4"><mml:mfrac><mml:mrow><mml:mi>&#x02202;</mml:mi><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02202;</mml:mi><mml:mover accent="true"><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:math></inline-formula> in the boundary of the heart tissue.</p>
<p>The &#x02212;<italic>kV</italic>(<italic>V</italic> &#x02212; <italic>a</italic>)(<italic>V</italic> &#x02212; 1) &#x02212; <italic>VW</italic> term in Equations (1, 2) models the rapid changes in <italic>V</italic> caused by ionic fluxes across the cell membrane. <italic>a</italic> is related to the excitation threshold (i.e., the minimum <italic>V</italic> value that leads to the onset of an AP). The model&#x00027;s APD and refractoriness can, in turn, be controlled using <italic>b</italic>. The values for each of the model parameters are typically chosen empirically to reproduce observed electrical signals - we use the values listed in <xref ref-type="supplementary-material" rid="SM1">Supplementary Table 1</xref>. The Aliev-Panfilov model uses rescaled units: <italic>V</italic> is adimensional (typically in the [0, 1]<italic>AU</italic> interval) and time is measured in temporal units, referred to as <italic>TU</italic> throughout this study. 1 <italic>TU</italic> corresponds to approximately 13 <italic>ms</italic> (<xref ref-type="bibr" rid="B7">7</xref>).</p>
<p>Other more complex EP models exist, through which it is possible to model individual membrane ionic currents and other biological components relevant for the AP and its propagation. One example used in the current study is a 14-current 30-variable canine atrial model that incorporates different degrees of EP remodelling caused by atrial fibrillation (<xref ref-type="bibr" rid="B8">8</xref>).</p>
<p>By assigning different sets of parameters and/or initial conditions to EP mathematical models, they can represent the electrical behaviour of the heart in both healthy and arrhythmic conditions. Healthy conditions are usually represented as unidirectional smooth propagation from a single source (<xref ref-type="fig" rid="F1">Figures 1a,b</xref>). Large sources produce wave fronts which are close to planar, whereas point-like wavefronts lead to centrifugal (convex) wavefronts. Arrhythmias are usually modelled as one or more re-entrant waves (called spiral waves or rotors in 2D&#x02013;<xref ref-type="fig" rid="F1">Figure 1c</xref>). Moreover, the wavefronts and/or wavebacks of spiral waves can, in some instances, fragment (break-up), leading to complex activation patterns (<xref ref-type="bibr" rid="B9">9</xref>). These models can also consider localised pathology such as fibrosis, scar or ischaemia as heterogeneities in one or more model parameters. Localised reductions in <italic>D</italic>, for instance, can be used to reproduce the slow-down of AP propagation in fibrotic lesions (<xref ref-type="bibr" rid="B10">10</xref>). These heterogeneities can lead to local changes in the curvature of the activation wavefront (<xref ref-type="fig" rid="F1">Figures 1d,e</xref>).</p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p>Numerical solutions to the Aliev-Panfilov monodomain system for: <bold>(a)</bold> Planar wave. <bold>(b)</bold> Centrifugal wave. <bold>(c)</bold> Spiral wave. <bold>(d)</bold> Centrifugal wave in the presence of a square heterogeneity in <italic>D</italic>. <bold>(e)</bold> Spiral wave in the presence of a square heterogeneity in <italic>D</italic>.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fcvm-08-768419-g0001.tif"/>
</fig>
</sec>
<sec>
<title>2.2. Parameter Estimation in Cardiac Electrophysiology</title>
<p>Biophysical models are usually employed in forward mode, with the aim of reproducing the system&#x00027;s behaviour assuming that all model parameters are perfectly known. In many circumstances, such as the identification of pathology from EP measurements, it is more desirable to use these biophysical models in inverse mode, inferring the tissue parameters that underlie an observed system behaviour. This task, often called parameter estimation (or systems identification), is extremely challenging for several reasons.</p>
<p>The observed data are typically insufficient to identify a unique parameter value, since the observations are usually sparse, incomplete and polluted by noise. This can be handled by optimisation methods, such as least squares, that fit data and model in an optimal way, combined with problem-dependent regularisation terms to stabilise the estimate (<xref ref-type="bibr" rid="B11">11</xref>). Typically, the optimisation requires many forward runs of the underlying model. Unfortunately, in physical systems that are described by PDEs such as in EP, the forward runs are very computationally expensive in realistic 2D and 3D settings. These difficulties are exacerbated by the fact that the parameters in many EP models are heterogeneous. Hence, we often do not infer a scalar quantity but a (discrete) function in space and/or time. This increases the cost and complexity of the inverse mode even further.</p>
<p>Modern inverse problem solvers such as ensemble Kalman filters (<xref ref-type="bibr" rid="B12">12</xref>) sequential Monte Carlo (<xref ref-type="bibr" rid="B13">13</xref>) and parameter estimation based on Markov chain Monte Carlo (<xref ref-type="bibr" rid="B14">14</xref>) are often combined with reduced order models (<xref ref-type="bibr" rid="B15">15</xref>) or multi-fidelity approaches (<xref ref-type="bibr" rid="B16">16</xref>) to decrease the computational complexity of parameter estimation. These very complex methods typically make strong assumptions about the statistical distribution of model parameters and require dedicated problem-specific parameterisation. It is not clear how well they can generalise when applied to a different EP model or task.</p>
</sec>
<sec>
<title>2.3. Physics Informed Neural Networks (PINNs)</title>
<p>Physics Informed Neural Networks (PINNs) (<xref ref-type="bibr" rid="B17">17</xref>) are an exciting new tool for the study of physical systems modelled by PDEs and/or ODEs. PINNs have been shown to both efficiently find high-resolution solutions (forward problem) and perform parameter estimation (inverse problem) in a variety of systems (<xref ref-type="bibr" rid="B18">18</xref>). As opposed to most types of neural networks (NNs), whose inputs are exclusively empirical data, PINNs incorporate explicit knowledge about the physical laws that govern a system. This allows PINNs to compute solutions to initial and/or boundary value problems with comparatively less training data than conventional NNs.</p>
<p>Very briefly, PINNs make use of automatic differentiation (<xref ref-type="bibr" rid="B19">19</xref>) to rewrite the differential equations that a system obeys as the minimisation of a functional <italic>f</italic>. For example, for Equations (1, 2), this functional would be defined as:</p>
<disp-formula id="E3"><label>(3)</label><mml:math id="M5"><mml:mtable columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>V</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mi>&#x02202;</mml:mi><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02202;</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>&#x0002B;</mml:mo><mml:mover accent="true"><mml:mrow><mml:mo>&#x02207;</mml:mo></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>.</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mover accent="true"><mml:mrow><mml:mo>&#x02207;</mml:mo></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mi>V</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:mi>k</mml:mi><mml:mi>V</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>V</mml:mi><mml:mo>-</mml:mo><mml:mi>a</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>V</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:mi>V</mml:mi><mml:mi>W</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E4"><label>(4)</label><mml:math id="M6"><mml:mtable columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>W</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mtext class="textrm" mathvariant="normal">d</mml:mtext><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">d</mml:mtext><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>&#x0002B;</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003F5;</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:mi>V</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mi>W</mml:mi><mml:mo>-</mml:mo><mml:mi>k</mml:mi><mml:mi>V</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>V</mml:mi><mml:mo>-</mml:mo><mml:mi>b</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>PINNs are trained to minimise a hybrid loss function, <italic>L</italic>, which ensures the system obeys known physical laws (described by <italic>f</italic><sub><italic>V</italic></sub> and <italic>f</italic><sub><italic>W</italic></sub>), whilst simultaneously fitting known empirical system measurements. <italic>L</italic> thus includes terms to account for:</p>
<list list-type="bullet">
<list-item><p>agreement with the experimental measurements, <italic>L</italic><sub><italic>data</italic></sub>;</p></list-item>
<list-item><p>consistency with the physical laws of the system, <italic>L</italic><sub><italic>f</italic><sub><italic>V</italic></sub></sub> &#x0002B; <italic>L</italic><sub><italic>f</italic><sub><italic>W</italic></sub></sub>;</p></list-item>
<list-item><p>consistency with boundary <italic>L</italic><sub><italic>V</italic><sub><italic>BC</italic></sub></sub> and initial value conditions <italic>L</italic><sub><italic>V</italic><sub><italic>IC</italic></sub></sub>.</p></list-item>
</list>
<p>Mathematically:</p>
<disp-formula id="E5"><label>(5)</label><mml:math id="M7"><mml:mtable columnalign="left"><mml:mtr><mml:mtd><mml:mi>L</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>a</mml:mi><mml:mi>t</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>V</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>W</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi><mml:mi>C</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>I</mml:mi><mml:mi>C</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E7"><label>(6)</label><mml:math id="M9"><mml:mtable columnalign="left"><mml:mtr><mml:mtd><mml:mi>L</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:munderover></mml:mstyle><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>V</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>G</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munderover></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>V</mml:mi></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>W</mml:mi></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x02003;</mml:mtext><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munderover></mml:mstyle><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:mi>&#x02202;</mml:mi><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02202;</mml:mi><mml:mover accent="true"><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:munderover></mml:mstyle><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>V</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Each of the terms of the loss function is typically computed in different domains:</p>
<list list-type="bullet">
<list-item><p>(<italic>x</italic><sub><italic>i</italic></sub>, <italic>t</italic><sub><italic>i</italic></sub>) are the <italic>N</italic> measurement points, where ground truth (GT) experimental measurements, <italic>V</italic><sub><italic>GT</italic></sub>, are known and should be reproduced as closely as possible.</p></list-item>
<list-item><p>(<italic>x</italic><sub><italic>j</italic></sub>, <italic>t</italic><sub><italic>j</italic></sub>) are the <italic>N</italic><sub><italic>f</italic></sub> residual points, where the fulfilment of the biophysical equations is tested.</p></list-item>
<list-item><p>(<italic>x</italic><sub><italic>k</italic></sub>, <italic>t</italic><sub><italic>k</italic></sub>) are the <italic>N</italic><sub><italic>b</italic></sub> boundary points, where the network aims to fulfil the Neumann boundary condition for <italic>V</italic>.</p></list-item>
<list-item><p>(<italic>x</italic><sub><italic>i</italic></sub>, <italic>t</italic><sub>0</sub>) are the <italic>N</italic><sub>0</sub> initial points, where the known initial condition, <italic>V</italic><sub>0</sub>, is replicated as closely as possible.</p></list-item>
</list>
<p>There is an asymmetry in <italic>L</italic> between measurable (<italic>V</italic>) and latent (<italic>W</italic>) variables: only experimental measurements (and initial conditions) for <italic>V</italic> are usually available. Moreover, as <italic>W</italic> does not diffuse across the tissue, it does not obey any boundary conditions.</p>
<p>PINNs have typically been used for two main purposes (<xref ref-type="bibr" rid="B18">18</xref>). In the so-called forward mode, the NN&#x00027;s parameters are optimised to provide a representation of the physical system of interest consistent with observations. Using this representation, the system&#x00027;s differential equations can subsequently be solved at an arbitrarily high spatial or temporal resolution, bypassing the constraints (e.g., small temporal and spatial steps) of traditional numerical solvers. In inverse mode, PINNs additionally perform parameter inference (systems identification) by having the NN optimise one or more of the equation parameters (which here represent tissue EP properties) during the training process.</p>
</sec>
<sec>
<title>2.4. Cardiovascular Applications of PINNs</title>
<p>PINNs have recently been used in several areas of cardiovascular medicine, especially for applications related to blood flow. Examples include the estimation of myocardial perfusion and related physiological parameters from dynamic contrast enhanced MRI (<xref ref-type="bibr" rid="B20">20</xref>) and the estimation of haemodynamic parameters from microscopic images of aneurysms-on-a-chip (<xref ref-type="bibr" rid="B21">21</xref>).</p>
<p>In the field of cardiac EP, Sahli-Costabal et al. (<xref ref-type="bibr" rid="B22">22</xref>) used PINNs in forward mode to estimate activation time maps (ATs, i.e., the arrival times of the action potential) and conduction velocity (CV) maps in the left atrium at high spatial resolution. Sahli-Costabal&#x00027;s method uses PINNs to solve the (isotropic diffusion) eikonal equation, a simple relationship between ATs and the spatial gradient of CV. This effectively interpolates AT and CV across the left atrial surface. Although their PINNs implementation was exclusively deployed on simulated data, the proposed application is very clinically relevant, as it aims to mitigate the low spatial resolution of clinical AT measurements. Grandits et al. (<xref ref-type="bibr" rid="B23">23</xref>) subsequently extended this PINNs-eikonal equation framework to anisotropic conduction, using it to estimate high-resolution AT maps and fibre directions from <italic>in silico</italic> and patient data. The PINNs method performance was nevertheless lower than that of a traditional (variational) inverse solver (<xref ref-type="bibr" rid="B24">24</xref>). As they rely on the eikonal equation, these tools are not well suited to the study of arrhythmic conditions or to the inference of EP parameters other than AT and CV.</p>
</sec>
<sec>
<title>2.5. Optical Mapping for Experimental EP-PINNs Testing</title>
<p>Maps of transmural electrical potential (<italic>V</italic>), similar to those simulated using the Aliev-Panfilov model, can be experimentally recorded using optical mapping. Optical mapping is a technique in which voltage-sensitive fluorescent dyes are added to cardiomyocyte preparations before imaging at high spatio-temporal resolution (<xref ref-type="bibr" rid="B25">25</xref>). It can be used to effectively obtain uncalibrated measurements of <inline-formula><mml:math id="M10"><mml:mi>V</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> in cardiac tissue across time. Although optical mapping can be challenging <italic>in vivo, in vitro</italic> experiments can provide very detailed insights into AP properties and cellular-level EP properties and gain insights into arrhythmic mechanisms (<xref ref-type="bibr" rid="B26">26</xref>). In particular, optical mapping can be used to study the effect of anti-arrhythmic drugs on cardiomyocyte preparations (<xref ref-type="bibr" rid="B27">27</xref>). These data were used to test EP-PINNs in an experimental setting.</p>
</sec>
</sec>
<sec sec-type="materials and methods" id="s3">
<title>3. Materials and Methods</title>
<p>In this section, we provide details about the finite differences (FD) model used, in a variety of settings, to generate training and test data for EP-PINNs. We then introduce the EP-PINNs architecture, before giving details about each of the <italic>in silico</italic> experiments in which EP-PINNs were deployed. We end this section by introducing the experimental data (<italic>in vitro</italic> optical mapping) used for testing EP-PINNs. The code used for EP-PINNs implementation and the generation of <italic>in silico</italic> GT data is freely available from <ext-link ext-link-type="uri" xlink:href="https://github.com/martavarela/EP-PINNs">github.com/martavarela/EP-PINNs</ext-link>.</p>
<sec>
<title>3.1. Generation of <italic>in silico</italic> EP Data</title>
<p>We use an FD solver to generate <italic>in silico</italic> cardiac EP data, <italic>V</italic><sub><italic>GT</italic></sub>, which we use to train and evaluate the performance of EP-PINNs. Simulations were carried out in two different geometries: in 1D, in a 2-cm 1D domain cable; and in 2D, in a square with a 1-cm side. We use in-house code written in Matlab 2020b (Mathworks, Natick, MA, USA) that relies on central FD and an explicit 4-stage Runge-Kutta method to solve the isotropic monodomain Aliev-Panfilov model, as defined in Equations (1, 2) and model parameters listed in <xref ref-type="supplementary-material" rid="SM1">Supplementary Table 1</xref>. All simulations use Neumann boundary conditions and set <italic>dt</italic> &#x0003D; 5 &#x000D7; 10<sup>&#x02212;3</sup><italic>TU</italic> and <italic>dx</italic> &#x0003D; 100&#x003BC;<italic>m</italic> as temporal and spatial steps. All simulations were run for 300 <italic>TU</italic>, with the calculated <inline-formula><mml:math id="M11"><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>G</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> field saved at every 1 <italic>TU</italic> and at every spatial step (every 100&#x003BC;<italic>m</italic>). We thus generate in total 1.4 &#x000D7; 10<sup>4</sup> and 7.0 &#x000D7; 10<sup>5</sup> data points for <inline-formula><mml:math id="M12"><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>G</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>, respectively in 1D and 2D.</p>
<p><xref ref-type="fig" rid="F1">Figure 1</xref> shows example time frames of the generated <italic>V</italic> maps in 2D. All APs were initialised by adding an external stimulus current <italic>V</italic><sub><italic>stim</italic></sub> &#x0003D; 0.12 <italic>AU</italic> to the right-hand side of Equation (1) for 1 <italic>TU</italic> in a sub-domain of the studied geometry (<xref ref-type="fig" rid="F1">Figure 1</xref>). In 2D simulations, this includes both planar (<xref ref-type="fig" rid="F1">Figure 1a</xref>) waves (emanating from a rectangular stimulus) and centrifugal waves (from a point-like excitation) (<xref ref-type="fig" rid="F1">Figure 1b</xref>). Spiral waves were also created using the cross-field protocol: as an initial planar excitation propagates, a second planar excitation wave, orthogonal to the first, is initiated. When timed appropriately (42 <italic>TU</italic> after the first stimulus, in our model), the second planar wave continuously curves as it moves to non-refractory tissue, giving rise to a sustained spiral wave (<xref ref-type="fig" rid="F1">Figure 1c</xref>).</p>
<p>The data generated by the FD model is treated as GT data and is used to both train and test EP-PINNs. As in past studies (<xref ref-type="bibr" rid="B18">18</xref>, <xref ref-type="bibr" rid="B28">28</xref>), we train EP-PINNs on a case-by-case basis, with a small subset of the data for which parameter inference is going to be performed. This is in contrast to most supervised NNs, which are usually trained with large amounts of data acquired in varied circumstances.</p>
<p>Training data for EP-PINNs, <inline-formula><mml:math id="M13"><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>G</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>, are provided to the network as an input and used to minimise the data discrepancy loss function, <italic>L</italic><sub><italic>data</italic></sub> in Equation (6). They amount to 10&#x02013;20% of the total generated data, corresponding to a variable number of data points as detailed below and in <xref ref-type="supplementary-material" rid="SM1">Supplementary Table 2</xref>. The remaining data are withheld from EP-PINNs and used, in a post-processing step, to assess EP-PINNs&#x00027; ability to reproduce cardiac APs, as detailed below.</p>
</sec>
<sec>
<title>3.2. Architecture and Training of EP-PINNs</title>
<p>EP-PINNs are designed, trained and deployed using the Python DeepXDE library (<xref ref-type="bibr" rid="B28">28</xref>). As in past successful implementations of PINNs (<xref ref-type="bibr" rid="B18">18</xref>, <xref ref-type="bibr" rid="B28">28</xref>), we use a fully connected network architecture.</p>
<p>As detailed in <xref ref-type="fig" rid="F2">Figure 2</xref>, EP-PINNs take as inputs the spatio-temporal points, <inline-formula><mml:math id="M14"><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>, where they will estimate the main outputs: <italic>V</italic> (and <italic>W</italic>). Experimental measurements of <italic>V</italic>, <inline-formula><mml:math id="M15"><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>G</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>, are also provided to EP-PINNs as inputs in a (training) subset of <inline-formula><mml:math id="M16"><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>. EP-PINNs minimise the hybrid physics-informed loss function described before (see Equations 5 and 6), by adjusting the network&#x00027;s weights and biases (collectively named &#x003B8; in <xref ref-type="fig" rid="F2">Figure 2</xref>). In inverse mode, EP-PINNs additionally adjust one or more parameters of the Aliev-Panfilov model (generically &#x003BB; in <xref ref-type="fig" rid="F2">Figure 2</xref>). The number of layers and neurons used by EP-PINNs is adjusted to the domain size and the complexity of the problem at hand, as described below and detailed in <xref ref-type="supplementary-material" rid="SM1">Supplementary Table 2</xref>.</p>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p>Network architectures and training schemes for EP-PINNs used in this study. Neurons are represented by &#x003C3;. In forward simulations only network parameters &#x003B8; were estimated, whereas in the inverse setting one or more EP parameters (&#x003BB;) were also calculated. <bold>(A)</bold> Architecture used in all forward simulations and all inverse simulations (1D and 2D) with homogeneous EP parameters. <bold>(B)</bold> Architecture used in all 2D forward simulations and all inverse simulations where <italic>D</italic> was a spatially-varying field. <bold>(C)</bold> Used training schemes. 1 was used in <italic>in silico</italic> 1D problems, whereas training scheme 2 was used in 2D problems and for optical mapping experimental data. The number of NN neurons and layers varied across different experiments, as did the learning rates (lr) and number of iterations (iter) in training scheme 2. Further details about the architecture and parameterisation of the NNs and training schemes can be found in <xref ref-type="supplementary-material" rid="SM1">Supplementary Table 2</xref>.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fcvm-08-768419-g0002.tif"/>
</fig>
<p>The optimisation approach used for EP-PINNs also depends on problem size. For 1D problems, we use Adam optimisation (<xref ref-type="bibr" rid="B29">29</xref>)&#x02014;see <xref ref-type="fig" rid="F2">Figure 2C</xref>. We empirically determined that, in 2D, EP-PINNs&#x00027; performance improved when initially using Adam optimisation for only the data agreement term (<italic>L</italic><sub><italic>data</italic></sub> in Equation 6), followed by Adam optimisation for the full loss function and ending in a final phase of L-BFGS optimisation (<xref ref-type="bibr" rid="B30">30</xref>)&#x02014;see <xref ref-type="fig" rid="F2">Figure 2C</xref>. The initial Adam training phases are used to rapidly approach the desired minimum and the final L-BFGS optimisation phase helps the network converge faster towards it (<xref ref-type="bibr" rid="B28">28</xref>).</p>
<p>In the presence of spatially-varying EP parameters (<italic>D</italic> in the current study), we use network architecture B (see <xref ref-type="fig" rid="F2">Figure 2B</xref>). Here, <inline-formula><mml:math id="M17"><mml:mi>D</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> is estimated by a parallel NN, <italic>NN</italic><sub><italic>D</italic></sub>, with the same number of layers and neurons as the main NN. In this setup, <italic>D</italic> is treated as a system variable (on par with <italic>V</italic> and <italic>W</italic>) and its estimates directly contribute to the loss term that ensures the agreement with the EP equations: <italic>L</italic><sub><italic>f</italic><sub><italic>V</italic></sub></sub> in Equation (6).</p>
<p>The hyperbolic tangent function (<italic>tanh</italic>) is used throughout as the differentiable activation function and Glorot initialisation from a uniform distribution is used for all weights (<xref ref-type="bibr" rid="B31">31</xref>). Additionally, to minimise convergence problems caused by explosive gradients (<xref ref-type="bibr" rid="B28">28</xref>) and enhance the NN&#x00027;s stability, we implemented an automatic reset of the training process when the losses at the first epoch of the training exceeded a predefined threshold.</p>
<p>EP-PINNs were trained on a high performance machine with 1 RTX6000 GPU and 4 AMD EPYC 7742 CPUs. Typical training times varied between 15 min (for 1D problems) and 16h (for heterogeneous spiral wave problems), as detailed in <xref ref-type="supplementary-material" rid="SM1">Supplementary Table 2</xref>.</p>
<sec>
<title>3.2.1. Assessment of EP-PINNs Performance</title>
<p>To assess the performance of EP-PINNs, we calculate, across all test points <italic>N</italic><sub><italic>test</italic></sub>, the root mean squared error (<italic>RMSE</italic>) for estimates of <italic>V</italic>:</p>
<disp-formula id="E8"><label>(7)</label><mml:math id="M18"><mml:mtable columnalign="left"><mml:mtr><mml:mtd><mml:mi>R</mml:mi><mml:mi>M</mml:mi><mml:mi>S</mml:mi><mml:mi>E</mml:mi><mml:mo>=</mml:mo><mml:msqrt><mml:mrow><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>e</mml:mi><mml:mi>s</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>e</mml:mi><mml:mi>s</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munderover></mml:mstyle><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>V</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>G</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:msqrt></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>The RMSE is, by construction, adimensional and in the same scale range as <italic>V</italic>. All experiments were repeated at least 5 times to probe the variability in RMSE. In inverse mode, we additionally calculate the precision of the estimated model parameters using the standard deviation of the parameters estimated by EP-PINNs in these 5 different runs.</p>
</sec>
</sec>
<sec>
<title>3.3. Forward Solution of EP Models</title>
<sec>
<title>3.3.1. 1D Cable Geometry</title>
<p>We assessed the accuracy of EP-PINNs when solving the monodomain equation with the Aliev-Panfilov ionic model (forward problem) in the 20-cm cable during 70 TU (corresponding to 903 ms). We divided the GT data from the FD solver, <italic>V</italic><sub><italic>GT</italic></sub>, into test and training datasets using a 90&#x02013;10% split. This corresponds to 140 randomly chosen points across the temporal and spatial domains for training EP-PINNs and 1,260 points for testing. As for inverse 1D problems, EP-PINNs were implemented in this instance using architecture A and training scheme 1 (see <xref ref-type="supplementary-material" rid="SM1">Supplementary Table 2</xref>).</p>
<p>We used two different training setups:</p>
<list list-type="order">
<list-item><p>using only <italic>in silico</italic> experimental <italic>V</italic><sub><italic>GT</italic></sub> measurements as GT, as in Equation (6).</p></list-item>
<list-item><p>using <italic>in silico</italic> experimental points for <italic>V</italic><sub><italic>GT</italic></sub> and <italic>W</italic><sub><italic>GT</italic></sub> in the loss function, by adding an extra term: <inline-formula><mml:math id="M19"><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:mi>G</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:mfrac><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:munderover><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>W</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:mi>G</mml:mi><mml:mi>T</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> to Equation (5).</p></list-item>
</list>
<p>Setup 1 more closely resembles an experimental setup, as the latent variable <italic>W</italic><sub><italic>GT</italic></sub> is not usually measurable.</p>
<p>To gauge whether EP-PINNs performance depended on model parameter choice, we used EP-PINNs on GT data synthesised with two different sets of model parameters, as detailed in <xref ref-type="supplementary-material" rid="SM1">Supplementary Table 1</xref>.</p>
<p>We additionally evaluated the performance of EP-PINNs in <italic>in silico</italic> data corrupted by noise. For this, we added to <italic>V</italic><sub><italic>GT</italic></sub> zero-mean Gaussian noise with standard deviations of 0.05, 0.10, 0.50 or 1.00 <italic>AU</italic> (with 1 AU being the approximate amplitude of an AP).</p>
<p>We also tested the performance of EP-PINNs in the presence of a reduced number of training data points. For this, we provided the network with <italic>V</italic><sub><italic>GT</italic></sub> at 1 &#x000D7; 10<sup>4</sup>, 5 &#x000D7; 10<sup>3</sup>, 1 &#x000D7; 10<sup>3</sup> or 100 random training points within the 1D space-time domain (compared to 1.40 &#x000D7; 10<sup>7</sup> in usual conditions). We used architecture A with training scheme 1 in all 1D problems (see <xref ref-type="supplementary-material" rid="SM1">Supplementary Table 2</xref>).</p>
</sec>
<sec>
<title>3.3.2. 2D Rectangular Geometry</title>
<p>We solved the forward problem in 2D, using the Aliev-Panfilov model in an isotropic and homogeneous 10-cm side square over 70 TU. We used 1.4 &#x000D7; 10<sup>5</sup> randomly chosen data points (across the temporal and spatial domains) from the FD solver for the training of EP-PINNs (corresponding to 20% of the total generated points) and reserved the remaining 5.6 &#x000D7; 10<sup>5</sup> points to assess EP-PINNs&#x00027; performance. Simulations were carried out in three scenarios: planar wave (<xref ref-type="fig" rid="F1">Figure 1a</xref>), centrifugal wave, emanating from point-like excitation in a corner (<xref ref-type="fig" rid="F1">Figure 1b</xref>) and a spiral wave (<xref ref-type="fig" rid="F1">Figure 1c</xref>). Here and in the equivalent inverse setup, EP-PINNs were implemented using architecture A and training scheme 2 (see <xref ref-type="supplementary-material" rid="SM1">Supplementary Table 2</xref>).</p>
<p>The point-like excitation and spiral wave scenarios were also simulated in heterogeneous conditions, where a 2-mm side square within the spatial domain was assigned a permanent diffusion coefficient (<inline-formula><mml:math id="M20"><mml:msub><mml:mrow><mml:mi>D</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mi>e</mml:mi><mml:mi>s</mml:mi><mml:mi>i</mml:mi><mml:mi>o</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>02</mml:mn><mml:mtext>&#x000A0;</mml:mtext><mml:mi>m</mml:mi><mml:msup><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>/</mml:mo><mml:mi>T</mml:mi><mml:mi>U</mml:mi></mml:math></inline-formula>) lower than that of background tissue (<inline-formula><mml:math id="M21"><mml:msub><mml:mrow><mml:mi>D</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>1</mml:mn><mml:mtext>&#x000A0;</mml:mtext><mml:mi>m</mml:mi><mml:msup><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>/</mml:mo><mml:mi>T</mml:mi><mml:mi>U</mml:mi></mml:math></inline-formula>). Architecture B with training scheme 2 was used for all (forward and inverse) heterogeneous problems (see <xref ref-type="supplementary-material" rid="SM1">Supplementary Table 2</xref>). A sigmoid function was used in the NN dedicated to estimating <inline-formula><mml:math id="M22"><mml:mi>D</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> (<italic>NN</italic><sub><italic>D</italic></sub> in <xref ref-type="fig" rid="F2">Figure 2B</xref>) to account for the fact that <inline-formula><mml:math id="M23"><mml:mi>D</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> follows a binomial distribution: <italic>D</italic><sub>0</sub> in healthy tissue and <italic>D</italic><sub><italic>lesion</italic></sub> otherwise.</p>
</sec>
</sec>
<sec>
<title>3.4. Inverse Estimation of EP Parameters</title>
<p>We withheld the value of one or more of the model parameters from EP-PINNs, which were instead estimated by it. These parameters were chosen for their comparatively simple biophysical interpretation, known susceptibility to both disease remodelling and pharmacological action, and the limited degree of mathematical coupling between them. They were:</p>
<list list-type="bullet">
<list-item><p><italic>a</italic>, which is related to the tissue excitation threshold (see Equation 1);</p></list-item>
<list-item><p><italic>D</italic>, the scalar diffusion coefficient (proportional to the electrical conductivity of the tissue, see Equation 1);</p></list-item>
<list-item><p><italic>b</italic>, which controls APD, see Equation 2.</p></list-item>
<list-item><p><italic>a</italic> and <italic>D</italic> simultaneously;</p></list-item>
<list-item><p><italic>b</italic> and <italic>D</italic> simultaneously.</p></list-item>
</list>
<sec>
<title>3.4.1. Homogeneous 1D and 2D Geometries</title>
<p>We solved the inverse problem in the same (1D or 2D) setup, architecture and training scheme as for the forward problems and using a similar division of randomly chosen data points for training and testing. We assumed that none of the selected parameters varied across time or space (except for <italic>D</italic>, in the heterogeneous problem described below) and used the values listed in <xref ref-type="supplementary-material" rid="SM1">Supplementary Table 1</xref> as GT values. In 1D, we additionally investigated how EP parameter estimation was affected by experimental noise. For this, Gaussian noise (&#x003C3; &#x0003D; 0.05 or 0.10 <italic>AU</italic>) was added to the <italic>in silico</italic> data as described for the forward mode in section 3.3.</p>
<p>In addition to EP-PINNs robustness in the presence of experimental noise, we are also interested in its ability to cope with model uncertainty. Therefore, to assess EP-PINNs&#x00027; ability to generalise beyond the model it is trained on, we additionally tested it on APs generated on a much more complex canine atrial EP model (<xref ref-type="bibr" rid="B8">8</xref>). These atrial APs are markedly different from those of the Aliev Panfilov model the EP-PINNs assumes, both in morphology and restitution properties. The canine atrial model data were synthesised using Matlab (<ext-link ext-link-type="uri" xlink:href="https://models.cellml.org/workspace/47c">https://models.cellml.org/workspace/47c</ext-link>) with central FD and explicit forward Euler schemes (<italic>dt</italic> &#x0003D; 5&#x003BC;<italic>s</italic> and <italic>dx</italic> &#x0003D; 100&#x003BC;<italic>m</italic>), with data saved at every spatial step and at every ms. Using this model, we created GT data for left atrial cells at 3 stages of AF-induced remodelling, which differed in APD. We tested, using the 1D model in inverse mode, whether EP-PINNs could identify the reduction in APD (detected as an increase in parameter <italic>b</italic>) in left atrial APs caused by increasing amounts of AF remodelling.</p>
</sec>
<sec>
<title>3.4.2. Estimation of EP Parameter Heterogeneities</title>
<p>We assessed EP-PINNs&#x00027; ability to recognise spatial heterogeneities in model parameters in 2D, as a test for EP-PINNs potential for identifying spatially-varying lesions such as fibrosis. For this, we used the same setup as in section 3.3.2, with <inline-formula><mml:math id="M24"><mml:msub><mml:mrow><mml:mi>D</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>1</mml:mn><mml:mtext>&#x000A0;</mml:mtext><mml:mi>m</mml:mi><mml:msup><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>/</mml:mo><mml:mi>T</mml:mi><mml:mi>U</mml:mi></mml:math></inline-formula> reduced to <inline-formula><mml:math id="M25"><mml:msub><mml:mrow><mml:mi>D</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mi>e</mml:mi><mml:mi>s</mml:mi><mml:mi>i</mml:mi><mml:mi>o</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>02</mml:mn><mml:mtext>&#x000A0;</mml:mtext><mml:mi>m</mml:mi><mml:msup><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>/</mml:mo><mml:mi>T</mml:mi><mml:mi>U</mml:mi></mml:math></inline-formula> in a similar square region. As before, we estimated <inline-formula><mml:math id="M26"><mml:mi>D</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> on its own and simultaneously with either the <italic>a</italic> or <italic>b</italic> global model parameters.</p>
</sec>
</sec>
<sec>
<title>3.5. Parameter Estimation Using Optical Mapping Data</title>
<p>We tested EP-PINNs performance on <italic>in vitro</italic> datasets using optical mapping data from neonatal ventricular rat myocyte preparations stained with a voltage-sensitive dye, as described in detail by Chowdhury et al. (<xref ref-type="bibr" rid="B27">27</xref>). Briefly, we used four time series (movies) of optical mapping images (field of view: 4.1 &#x000D7; 0.1 <italic>mm</italic>, spatial resolution: 1.2 &#x003BC;<italic>m</italic>, temporal resolution: 2 ms, duration: 300 ms). In two of these image series, ionic channel modulating drugs (E-4031 or nifedipine) had been administered at half maximal inhibitory concentration (<italic>IC</italic><sub>50</sub>): 772.2 nM for nifedipine and 243.4 nM for E-4031. The other two temporal image series consisted of matched control (baseline) preparations, to which no drug had been given.</p>
<p>We manually selected two square regions of interest (ROIs) with a side of 2.3 &#x003BC;<italic>m</italic> and with their centres 0.7 <italic>mm</italic> apart, in the same image location for each time series. We spatially averaged the optical signal over each ROI to obtain a signal trace across time. From this signal, we manually selected two consecutive APs and normalised the signal to the [0, 1] interval for consistency with the Aliev-Panfilov model. To improve the signal to noise ratio (SNR) of this trace, we applied a mean average filter twice, aligned and averaged the two APs over time to obtain a single higher-SNR AP. These pairs of post-processed APs were used as inputs to 1D EP-PINNs in inverse mode, with <italic>b</italic> as the variable to be estimated. All model parameters were unchanged from those in <xref ref-type="supplementary-material" rid="SM1">Supplementary Table 1</xref>. We used EP-PINNs&#x00027; architecture A with training scheme 2 to estimate <italic>b</italic> 10 times for each setting. 116-200 points were used for training EP-PINNs and 29&#x02013;50 to test it, as detailed in <xref ref-type="supplementary-material" rid="SM1">Supplementary Table 2</xref>.</p>
<p>We investigated in particular whether EP-PINNs could detect the effect on APD of E-4031 and nifedipine, which, respectively, block the hERG voltage-gated potassium channel (<italic>I</italic><sub><italic>Kr</italic></sub> current) and the L-type calcium channel (<italic>I</italic><sub><italic>CaL</italic></sub> current). Whereas, E-4031 will extend APD (and thus shorten <italic>b</italic> in the Aliev-Panfilov model&#x02014;see Equations 1, 2), nifedipine will have the opposite effect, decreasing APD (increasing <italic>b</italic>). We compared EP-PINNs&#x00027; <italic>b</italic> estimates for i) E-4031 vs. baseline and ii) nifedipine vs. baseline and assessed, using a <italic>t</italic>-test, whether the administered drugs significantly changed <italic>b</italic> values.</p>
</sec>
</sec>
<sec sec-type="results" id="s4">
<title>4. Results</title>
<p>EP-PINNs successfully solved the monodomain equation coupled with the Aliev-Panfilov model in 1D and 2D, including in the presence of heterogeneities in D. In inverse mode, the proposed setup could also successfully perform EP parameter estimation from <italic>in silico</italic> and <italic>in vitro</italic> data, as described below.</p>
<sec>
<title>4.1. Forward Solution of EP Models</title>
<sec>
<title>4.1.1. 1D Cable Geometry</title>
<p>EP-PINNs accurately reproduced the features, morphology and conduction properties of the APs generated by the Aliev-Panfilov model (<xref ref-type="fig" rid="F3">Figure 3A</xref>). We found that EP-PINNs could accurately simulate APs even in the absence of GT values for the latent variable <italic>W</italic>. Although the error was slightly increased in the absence of <italic>W</italic><sub><italic>GT</italic></sub> (<italic>RMSE</italic> &#x0003D; 6.0 &#x000D7; 10<sup>&#x02212;3</sup> &#x000B1; 2.0 &#x000D7; 10<sup>&#x02212;3</sup> vs. 9.0 &#x000D7; 10<sup>&#x02212;3</sup> &#x000B1; 4.0 &#x000D7; 10<sup>&#x02212;3</sup>), the RMSE was still minimal (see top left inset in <xref ref-type="fig" rid="F3">Figure 3A</xref>) and the estimated <inline-formula><mml:math id="M27"><mml:mi>V</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> were visually indistinguishable from GT traces in both cases. As a consequence, in all other experiments described in this study, GT data for <italic>W</italic> was not used to train EP-PINNs, whose training relied solely on <italic>V</italic><sub><italic>GT</italic></sub>.</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p>Effect of the number of sampled experimental points <bold>(A)</bold> and experimental noise <bold>(B)</bold> on EP-PINNs <italic>V</italic> estimates. The error in estimation is measured using the root mean square error (RMSE, see Equation 7) in forward mode in 1D. Representative <italic>V</italic>(<italic>t</italic>) plots sampled at a random spatial location are shown as insets for some of the probed conditions.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fcvm-08-768419-g0003.tif"/>
</fig>
<p>We found that EP-PINNs could solve the model accurately in the presence of even small numbers of <italic>V</italic><sub><italic>GT</italic></sub> points for training, with <italic>RMSE</italic> &#x02264; 2.5 &#x000D7; 10<sup>&#x02212;2</sup> even when trained with only 100 points (<xref ref-type="fig" rid="F3">Figure 3A</xref>). As expected, increasing noise in <italic>V</italic><sub><italic>GT</italic></sub> led to increasing levels of error in <italic>V</italic> estimates (<xref ref-type="fig" rid="F3">Figure 3B</xref>), but EP-PINNs were able to converge in the presence of Gaussian noise with a standard deviation below 0.5 <italic>AU</italic> (approximately 0.5 times the amplitude of an AP). When using a different set of parameters for the Aliev-Panfilov model (see <xref ref-type="supplementary-material" rid="SM1">Supplementary Table 1</xref>), EP-PINNs&#x00027; accuracy was comparable, suggesting that the obtained EP-PINNs performance is robust to different biophysical model settings.</p>
</sec>
<sec>
<title>4.1.2. 2D Rectangular Geometry</title>
<p>In homogeneous conditions, EP-PINNs were also able to reproduce AP propagation in 2D for planar, centrifugal and spiral waves (see <xref ref-type="fig" rid="F4">Figures 4a&#x02013;c</xref>), with excellent accuracy (<italic>RMSE</italic> &#x0003C; 3.0 &#x000D7; 10<sup>&#x02212;2</sup> throughout). In the presence of heterogeneities in <italic>D</italic>, EP-PINNs were also able to accurately simulate APs with an RMSE of 5.6 &#x000D7; 10<sup>&#x02212;3</sup> &#x000B1; 6.6 &#x000D7; 10<sup>&#x02212;4</sup> for centrifugal waves, which increased slightly to 2.7 &#x000D7; 10<sup>&#x02212;2</sup> &#x000B1; 4.3 &#x000D7; 10<sup>&#x02212;3</sup> for spiral ones (<xref ref-type="fig" rid="F4">Figures 4a&#x02013;c</xref>). In the spiral wave scenario, EP-PINNs found it most difficult to reproduce <italic>V</italic> in the high wavefront curvature regions close to the spiral wave tip.</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p>EP-PINNs 2D forward solutions to the Aliev-Panfilov monodomain system for the same conditions as the GT data depicted in <xref ref-type="fig" rid="F1">Figure 1</xref>. <bold>(a)</bold> Planar wave. <bold>(b)</bold> Centrifugal wave. <bold>(c)</bold> Spiral wave. <bold>(d)</bold> Centrifugal wave in the presence of a square heterogeneity in <italic>D</italic>. <bold>(e)</bold> Spiral wave in the presence of a square heterogeneity in <italic>D</italic>.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fcvm-08-768419-g0004.tif"/>
</fig>
<p>Movies showing the propagation of APs in the 2D rectangular domain across time (for both GT and EP-PINNs solvers) can be seen in <xref ref-type="supplementary-material" rid="SM2">Supplementary Videos 1</xref>&#x02013;<xref ref-type="supplementary-material" rid="SM2">5</xref>.</p>
</sec>
</sec>
<sec>
<title>4.2. Inverse Estimation of EP Parameters</title>
<sec>
<title>4.2.1. Homogeneous 1D and 2D Geometries</title>
<p>EP-PINNs were able to estimate global model parameters in 1D the presence of varying degrees of noise, as detailed in <xref ref-type="fig" rid="F5">Figure 5</xref>. As for the forward problem (<xref ref-type="fig" rid="F3">Figure 3</xref>), AP morphology and main properties were well reproduced even in the presence of large amounts of noise, with <italic>RMSE</italic> &#x0003C; 9.0 &#x000D7; 10<sup>&#x02212;3</sup> overall. Example plots of <italic>V</italic>(<italic>t</italic>) in inverse mode in 1D are shown in <xref ref-type="supplementary-material" rid="SM1">Supplementary Figure 1</xref>.</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p>Error in global EP parameter estimates by EP-PINNs in the inverse setting in 1D in the presence of different amounts of experimental noise. We show the relative error for <italic>a</italic>, <italic>b</italic> and <italic>D</italic>, when estimated separately and in pairs.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fcvm-08-768419-g0005.tif"/>
</fig>
<p>When estimating only one model parameter, relative errors (<italic>RE</italic>) did not exceed on average 27%, even in the presence of noise. Estimates of <italic>b</italic>, which determines AP duration, were the most accurate (|<italic>RE</italic>| &#x0003C; 3%), followed by <italic>D</italic> (|<italic>RE</italic>| &#x0003C; 35%), which EP-PINNs tended to underestimate. <italic>a</italic> estimation was considerably more difficult. Joint estimation of two parameters led in general to less accurate parameter estimates (<xref ref-type="fig" rid="F5">Figure 5</xref>), with an error as high as 100% for <italic>a</italic> when estimated jointly with <italic>D</italic> in the presence of noise (see <xref ref-type="fig" rid="F5">Figure 5</xref>). When performing simultaneous estimation of two parameters, no evidence of coupling between them was observed.</p>
<p>EP-PINNs were additionally able to perform robust parameter estimation on synthetic experimental data generated by a different EP model (<xref ref-type="bibr" rid="B8">8</xref>). When estimating <italic>b</italic> in APs generated by a different atrial EP model, it correctly inferred that APD is reduced (i.e., <italic>b</italic> is increased) for increasing degrees of AF remodelling, as shown in <xref ref-type="fig" rid="F6">Figure 6</xref>. Moreover, the main AP features were well reproduced, with small discrepancies related to the differences between the two models (<xref ref-type="fig" rid="F6">Figure 6</xref>). Interestingly, the solution proposed by EP-PINNs consistently shows a less steep depolarisation than expected from either Aliev-Panfilov model and the detailed canine model. This mismatch is likely to be a consequence of the EP-PINNs&#x00027; adjustment to slightly different AP morphologies from those in the Aliev-Panfilov model in its loss function. This suggests that the cross-model estimation of parameters related to excitability (e.g., <italic>a</italic>) may not be as successful as parameters related to APD (such as <italic>b</italic>).</p>
<fig id="F6" position="float">
<label>Figure 6</label>
<caption><p>1D inverse EP-PINNs solution for a detailed canine left atrial model in the conditions of: <bold>(A)</bold> no remodelling. <bold>(B)</bold> moderate AF remodelling. <bold>(C)</bold> severe AF remodelling. Representative <italic>V</italic>(<italic>t</italic>) plots are shown throughout, accompanied by the models 90% APD and EP-PINNS estimates for <italic>b</italic>, a parameter inversely proportional to APD.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fcvm-08-768419-g0006.tif"/>
</fig>
<p>Global parameter estimation in 2D was again successful, for both unidirectional propagation and spiral wave conditions, as demonstrated in <xref ref-type="fig" rid="F7">Figure 7</xref>. As in 1D, <italic>V</italic> was also correctly reproduced in the different analysed conditions (<xref ref-type="fig" rid="F7">Figures 7b&#x02013;d</xref>), with <italic>RMSE</italic> &#x0003C; 2.3 &#x000D7; 10<sup>&#x02212;2</sup> throughout. Across all experiments, parameter estimation and <italic>V</italic> reconstruction were most successful for planar wave conditions followed by centrifugal waves and less accurate for spiral waves, as shown in <xref ref-type="fig" rid="F7">Figure 7a</xref>. The comparatively worse performance of EP-PINNs in spiral wave conditions may be caused by the spatial dependency of wave front curvature in this setting.</p>
<fig id="F7" position="float">
<label>Figure 7</label>
<caption><p>EP-PINNs inverse solution in homogeneous conditions in 2D. <bold>(a)</bold> Relative error for global estimates of: <italic>a</italic> and <italic>D</italic> and <italic>b</italic> and <italic>D</italic>, when estimated separately or simultaneously. <bold>(b&#x02013;d)</bold> Corresponding representative <italic>V</italic> maps for: planar wave <bold>(b)</bold>, centrifugal wave <bold>(c)</bold>, and spiral wave <bold>(d)</bold>. Compare <bold>(b&#x02013;d)</bold> to the corresponding GT in <xref ref-type="fig" rid="F1">Figures 1a-c</xref> and the forward solutions in <xref ref-type="fig" rid="F4">Figures 4a&#x02013;c</xref>.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fcvm-08-768419-g0007.tif"/>
</fig>
<p>Errors were largest when estimating two parameters simultaneously, with EP-PINNs again struggling to estimate <italic>a</italic>, especially when in conjunction with <italic>D</italic> (|<italic>RE</italic>|<sub><italic>a</italic></sub> &#x0003C; 100%). Estimates of <italic>b</italic> were once again the most accurate (|<italic>RE</italic>|<sub><italic>b</italic></sub> &#x0003C; 8%) and, as in 1D, EP-PINNs tended to underestimate <italic>D</italic> across all settings and to underestimate all parameters in the spiral wave scenario.</p>
</sec>
<sec>
<title>4.2.2. Estimation of EP Parameter Heterogeneities</title>
<p>EP-PINNs were able to estimate <italic>D</italic> on a pixel-by-pixel basis with remarkable accuracy, as demonstrated in <xref ref-type="fig" rid="F8">Figures 8c,d</xref>, accurately identifying the low <italic>D</italic> region. <italic>RMSE</italic><sub><italic>D</italic></sub> was consistently below 3.5 &#x000D7; 10<sup>&#x02212;2</sup> (<xref ref-type="fig" rid="F8">Figure 8e</xref>) and was lower for the centrifugal wave case than the spiral wave one. As before, <italic>V</italic> was similarly well reproduced (<xref ref-type="fig" rid="F8">Figures 8a,b</xref>), especially in the centrifugal wave scenario (see <xref ref-type="fig" rid="F8">Figures 8b,d</xref>), with <italic>RMSE</italic> &#x0003C; 3.0 &#x000D7; 10<sup>&#x02212;2</sup>. In the spiral wave scenario, EP-PINNs found the estimation of <italic>D</italic> hardest near the spiral tip (see <xref ref-type="fig" rid="F8">Figure 8d</xref>), where the high wavefront curvature may resemble the wavefront bending caused by low <italic>D</italic> regions.</p>
<fig id="F8" position="float">
<label>Figure 8</label>
<caption><p>EP-PINNs 2D inverse solution in the presence of heterogeneities in <italic>D</italic>. Maps showing representative <italic>V</italic> and <italic>D</italic> estimates for: <bold>(a,c)</bold> centrifugal wave and <bold>(b,d)</bold> spiral wave. <bold>(e)</bold> Error for global estimates of <italic>a</italic> and <italic>b</italic> and RMSE for estimates of <italic>D</italic> across the 2D domain, for all estimated parameter combinations. Compare <bold>(a,b)</bold> to the corresponding GT in <xref ref-type="fig" rid="F1">Figures 1d,e</xref> and the forward solutions in <xref ref-type="fig" rid="F4">Figures 4d,e</xref>.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fcvm-08-768419-g0008.tif"/>
</fig>
<p>Using architecture B, global estimation of <italic>a</italic> and <italic>b</italic> was also possible in the presence of the heterogeneous <italic>D</italic> field, keeping the same trends as in the 1D and 2D homogeneous cases (<xref ref-type="fig" rid="F8">Figure 8e</xref>). As before, no evidence of coupling between the simultaneously estimated parameters was found. In detail:</p>
<list list-type="bullet">
<list-item><p><italic>b</italic> was very accurately estimated (|<italic>RE</italic>| &#x0003C; 10%), whereas <italic>a</italic> estimates had a larger error (|<italic>RE</italic>| &#x0003C; 100%);</p></list-item>
<list-item><p>estimating <italic>a</italic> and <italic>b</italic> simultaneously with the <italic>D</italic> field led to small decreases in accuracy overall;</p></list-item>
<list-item><p>estimating <italic>V</italic> and <italic>D</italic> in the spiral wave setting was more difficult than in the presence of a centrifugal wave.</p></list-item>
</list>
</sec>
</sec>
<sec>
<title>4.3. Parameter Estimation using Optical Mapping Data</title>
<p>Using optical mapping signals, EP-PINNs were able to accurately reproduce experimental APs and identify the actions of nifedipine and E-4031, correctly estimating that they, respectively, reduce and increase APD (<xref ref-type="fig" rid="F9">Figure 9</xref>). The reduction in APD caused by nifedipine, an <italic>I</italic><sub><italic>CaL</italic></sub> blocker, was detected by EP-PINNs as a significant increase in <italic>b</italic> in the Aliev-Panfilov model [&#x00394;<italic>b</italic> &#x0003D; (2.7 &#x000B1; 0.9) &#x000D7; 10<sup>&#x02212;2</sup>, <italic>p</italic> &#x0003C; 10<sup>&#x02212;5</sup>]. The E-4031-induced increase in APD was more subtle [&#x00394;<italic>b</italic> &#x0003D; (&#x02212;2.1 &#x000B1; 3.0) &#x000D7; 10<sup>&#x02212;2</sup>] and non-significant (<italic>p</italic> &#x0003D; 0.38). The reduced effect of E-4031 in these data is consistent with the modest role <italic>I</italic><sub><italic>Kr</italic></sub>, the current blocked by E-4031, is expected to play in rodent APs (<xref ref-type="bibr" rid="B32">32</xref>).</p>
<fig id="F9" position="float">
<label>Figure 9</label>
<caption><p>1D inverse EP-PINNs solution for experimental optical mapping data, in the presence of <bold>(A)</bold> <italic>I</italic><sub><italic>CaL</italic></sub> channel blocker nifedipine and <bold>(B)</bold> <italic>I</italic><sub><italic>Kr</italic></sub> channel blocker E-4031. (&#x00394;<italic>b</italic> refers to the change in model parameter <italic>b</italic> in the presence of the drug when compared to the baseline value. Each AP was acquired in separate datasets and juxtaposed in the figure to allow visual comparisons.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fcvm-08-768419-g0009.tif"/>
</fig>
</sec>
</sec>
<sec sec-type="discussion" id="s5">
<title>5. Discussion</title>
<p>We present EP-PINNs, a successful framework to estimate EP parameters from measurements of trans-membrane potential <italic>V</italic>. We demonstrate EP-PINNs ability to accurately reproduce AP propagation in 1D and 2D in the presence of very sparse experimental measurements, experimental noise and model uncertainty. EP-PINNs can also estimate, for 1D and 2D <italic>in silico</italic> and <italic>in vitro</italic> data, global markers of APD, excitation threshold and/or conductivity (diffusion coefficient, <italic>D</italic>). We additionally show that EP-PINNs are further capable of identifying heterogeneities in EP parameters, such as <italic>D</italic>, even in arrhythmic conditions, showcasing their potential for clinically useful applications.</p>
<sec>
<title>5.1. Forward Solution of EP Models</title>
<p>EP-PINNs offer a flexible and easy to implement framework for parameter estimation in EP. Sahli-Costabal et al. (<xref ref-type="bibr" rid="B22">22</xref>) and Grandits et al. (<xref ref-type="bibr" rid="B23">23</xref>) had already demonstrated PINNs&#x00027; potential in cardiac EP by estimating high-resolution left atrial AT and CV maps in sinus rhythm conditions using a simple activation-only biophysical model. We extend PINNs&#x00027; applications in EP by applying them to a more complex biophysical model, the monodomain Aliev-Panfilov model (<xref ref-type="bibr" rid="B7">7</xref>), which also captures restitution properties through the inclusion of a latent (non-measurable) variable, <italic>W</italic>. For the first time, we use a PINNs framework for the simulation of arrhythmic conditions, such as spiral waves, and for the estimation of parameters unrelated to the AT of <italic>V</italic>.</p>
<p>Importantly, we show EP-PINNs&#x00027; are able to reproduce APs and perform parameter estimation in the absence of any data for <italic>W</italic>, which is not available experimentally. This bodes well for the deployment of PINNs for even more complex EP models, which use a higher number of latent variables to model individual ionic channels. This possibility is also supported by the work of Yazdani et al. (<xref ref-type="bibr" rid="B33">33</xref>), who successfully used PINNs for parameter estimation across several biological systems described by large sets of coupled ODEs.</p>
<p>We demonstrate PINNs&#x00027; ability to describe AP dynamics in several circumstances. In 1D, EP-PINNs were able to reproduce APs even in the presence of very reduced amounts of experimental data (<xref ref-type="fig" rid="F3">Figure 3A</xref>) and large amounts of noise (<xref ref-type="fig" rid="F3">Figure 3B</xref>). PINNs&#x00027; incorporation of explicit biophysical equations in the NN&#x00027;s loss function acts as an effective regulariser in EP problems, as demonstrated before in many other physical systems (<xref ref-type="bibr" rid="B17">17</xref>, <xref ref-type="bibr" rid="B18">18</xref>). We note that these inherent regularisation properties allow PINNs to be trained with much lower amounts of training data than conventional NNs. The main drawback is the need for a comparatively time-intensive training on a case-by-case basis, compared to the global training usually employed with supervised NNs.</p>
<p>In 2D, we were able to accurately replicate AP dynamics for planar, centrifugal and planar waves, even in the presence of heterogeneities in the diffusion coefficient (see <xref ref-type="fig" rid="F4">Figures 4</xref>, <xref ref-type="fig" rid="F8">8</xref>). We found that a more sophisticated training scheme and, for spiral waves, an increased NN capacity (5 layers of 64 neurons vs. 4 layers of 32 neurons, see <xref ref-type="supplementary-material" rid="SM1">Supplementary Table 2</xref>) were necessary for convergence in these large and complex problems. This more complex setup could, of course, have been used to solve the simpler 1D problems, through a trade-off between computational time and the convenience of a one-size-fits-all EP-PINNs approach.</p>
</sec>
<sec>
<title>5.2. Inverse Estimation of EP Parameters</title>
<p>It is in inverse mode, when estimating model properties from sparse measurements of <italic>V</italic>, that the EP-PINNs framework showcases its usefulness. Parameter estimation is an important topic in EP, as it is essential for both the personalisation of models and for the understanding of the effect of pathology and drugs on APs. Although parameter estimation in EP has been extensively discussed as a means of reducing the uncertainty associated with current biophysical models (<xref ref-type="bibr" rid="B34">34</xref>), NNs had not yet been used for dedicated model parameter estimation in EP. This contrasts with the more common use of NNs as efficient solvers of EP systems (in a similar fashion to the EP-PINNs forward mode in the current study) (<xref ref-type="bibr" rid="B15">15</xref>, <xref ref-type="bibr" rid="B35">35</xref>, <xref ref-type="bibr" rid="B36">36</xref>).</p>
<p>Using EP-PINNs, we were able to estimate, with different degrees of accuracy, three different biophysical parameters, each controlling, in an almost uncoupled manner, different observable properties of the system: APD (through <italic>b</italic>), excitability (through <italic>a</italic>) and conduction velocity (through <italic>D</italic>). In both 1D and 2D (homogeneous and heterogeneous) problems, the network was highly successful at estimating <italic>b</italic>, but struggled with <italic>a</italic>, especially when estimating it in tandem with <italic>D</italic>. This is likely to reflect a dependency between EP-PINNs&#x00027; inverse mode effectiveness and the solution type that is probed experimentally. Indeed, when compared to <italic>b</italic>, the experimental inputs to the network (<inline-formula><mml:math id="M28"><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>G</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>), depend little on <italic>a</italic> providing the initial stimulus is supra-threshold. An exception could have been the spiral wave scenario, whose properties (e.g., the distance between spiral arms) depend strongly on model parameters such as <italic>a</italic>. Model parameters are more strongly coupled in the properties of spiral solutions, however, explaining the consistently lower accuracy of EP-PINNs&#x00027; estimates in this scenario (<xref ref-type="fig" rid="F7">Figures 7a,d</xref>). Parameter estimation in the spiral wave scenario may be improved when EP-PINNs are trained in longer time series, in which the spiral wave tip samples more of the spatial domain.</p>
<p>These issues underlie the difficulties of finding a single experimental design that allows for simultaneous accurate estimation of several EP parameters. A solution for this problem may be the training of PINNs using data from the same system acquired in different experimental conditions, perhaps by training separate NNs in parallel with a combined loss function, in an analogous manner to architecture B in this study (see <xref ref-type="fig" rid="F2">Figure 2</xref>).</p>
<p>EP-PINNs were additionally able to identify heterogeneities in <italic>D</italic> across the 2D domain (see <xref ref-type="fig" rid="F8">Figure 8</xref>), by estimating <italic>D</italic> in a separate parallel NN which shared terms of the loss function (<italic>L</italic><sub><italic>data</italic></sub>, see Equation 5) with the main NN. Characterising heterogeneities in EP parameters from electrical measurements is an interesting problem from a clinical point of view, as arrhythmias such as AF are often accompanied by heterogeneous changes in EP properties. Of these, regions of dense fibrosis [often modelled as areas with a reduced <italic>D</italic> (<xref ref-type="bibr" rid="B10">10</xref>)] are a promising candidate for personalised ablation sites (<xref ref-type="bibr" rid="B37">37</xref>), which may increase the overall efficacy of these procedures. EP-PINNs are thus well placed to help locate these putative ablation sites by identifying spatial heterogeneities in EP parameters such as <italic>D</italic>.</p>
<p>The inputs to the current EP-PINNs implementation, <inline-formula><mml:math id="M29"><mml:mi>V</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> are not, however, measurable clinically. Future work will modify EP-PINNs to instead perform parameter inference from extracellular electrical potentials, &#x003D5;<sub><italic>e</italic></sub>, which are regularly measured during clinical procedures using contact electrodes. &#x003D5;<sub><italic>e</italic></sub> can be interpreted as a weighted spatial convolution of the <inline-formula><mml:math id="M30"><mml:mover accent="true"><mml:mrow><mml:mo>&#x02207;</mml:mo></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>.</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mover accent="true"><mml:mrow><mml:mo>&#x02207;</mml:mo></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mi>V</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> term in Equation (2) (<xref ref-type="bibr" rid="B38">38</xref>, <xref ref-type="bibr" rid="B39">39</xref>), making the identification of localised EP changes more difficult. To take this into account, EP-PINNs designed for &#x003D5;<sub><italic>e</italic></sub> analysis may benefit from a move away from the current fully-connected architecture to incorporate, for example, convolutional layers.</p>
</sec>
<sec>
<title>5.3. Parameter Estimation Using Optical Mapping Data</title>
<p>An important point for future clinical applications of EP-PINNs is its ability to generalise beyond the details of the setup it is trained on. We showed that the proposed EP-PINNs implementation is model-agnostic, as it was able to perform robust parameter inference on <italic>in silico</italic> data generated by a much more complex atrial EP model (<xref ref-type="bibr" rid="B8">8</xref>) than the 2-variable ventricular one used in its loss function. In particular, EP-PINNs were able to correctly identify the decrease in APD (manifest as an increase in <italic>b</italic>) that is associated with increasing degrees of AF-induced remodelling in this model (see <xref ref-type="fig" rid="F6">Figure 6</xref>).</p>
<p>In contrast to most previous PINN studies (<xref ref-type="bibr" rid="B17">17</xref>, <xref ref-type="bibr" rid="B22">22</xref>, <xref ref-type="bibr" rid="B28">28</xref>, <xref ref-type="bibr" rid="B33">33</xref>, <xref ref-type="bibr" rid="B40">40</xref>), we complemented the <italic>in silico</italic> studies with an assessment of the EP-PINNs performance on experimental biological data. Despite requiring a proportionally higher amount of training data than <italic>in silico</italic> experiments, EP-PINNs were able to cope well with the noise and artefacts unavoidably present in experimental data to identify the effect on APD of two different drugs: an <italic>I</italic><sub><italic>Kr</italic></sub> blocker and an <italic>I</italic><sub><italic>CaL</italic></sub> blocker. As for the data generated by a different mathematical model (<xref ref-type="fig" rid="F6">Figure 6</xref>), EP-PINNs coped well with differences between the experimental data and the Aliev-Panfilov model, namely in resting membrane potential (see <xref ref-type="fig" rid="F9">Figure 9</xref>). This ability to generalise well to data with different characteristics could be due to the use of PDE as a soft constraint (a term in the loss function) in the EP-PINNs framework, as well as the lack of assumptions about the distributions from which data come from.</p>
<p>As demonstrated for the <italic>in silico</italic> tests, the EP-PINNs framework can easily be extended to simultaneously infer the effect of drugs on more than one EP parameter, which may be useful for the characterisation and safety assessments of anti-arrhythmic drugs. These applications may further benefit from the training of EP-PINNs on more complex biophysical models, to obtain a more fine-grained characterisation of potential pharmacological (or pathological) effects.</p>
</sec>
<sec>
<title>5.4. Limitations and Future Plans</title>
<p>The current study aims to demonstrate the potential of PINNs within EP, as an initial necessary step towards clinical applications of this method. As such, we only trained EP-PINNs using one comparatively simple EP model, in 1D and 2D scenarios and for the estimation of a small number of EP parameters. We additionally did not test EP-PINNs in the chaotic or pseudo-chaotic scenarios of spiral wave break-up (<xref ref-type="bibr" rid="B9">9</xref>), which may be relevant for some arrhythmias.</p>
<p>Generalisations of the proposed framework to 2D/3D geometries representative of cardiac chambers, anisotropic conditions and more detailed EP biophysical models can be achieved by further increasing the capacity of the deployed EP-PINNs, with a concurrent increase in computational resources. However, promising and less resource-intensive applications for EP-PINNs may be the characterisation of pharmacological effects on AP or the identification of heterogeneities in EP properties from EGM signals.</p>
</sec>
</sec>
<sec sec-type="data-availability" id="s6">
<title>Data Availability Statement</title>
<p>The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec id="s7">
<title>Author Contributions</title>
<p>CH and AO wrote the EP-PINNs software, conducted the experiments, and analysed the results. RC acquired the experimental data and oversaw its analysis. AB, EU, RC, and NP contributed to the study design and the revision of the results. MV designed the study, wrote the GT data generation software, critically analysed the results, and drafted the manuscript. All authors critically reviewed the manuscript and gave final approval for publication.</p>
</sec>
<sec sec-type="funding-information" id="s8">
<title>Funding</title>
<p>This work was supported by the British Heart Foundation (RE/18/4/34215, RG/16/3/32175, PG/16/17/32069, and Centre of Research Excellence), the Imperial-TUM Seed Funding, the National Institute for Health Research (UK) Biomedical Research Centre and the Rosetrees Trust through the interdisciplinary award Atrial Fibrillation: A Major Clinical Challenge and the Generalitat Valenciana Conselleria d&#x00027;Educaci&#x000F3;, Investigaci&#x000F3;, Cultura i Esport (ACIF/2021/205).</p>
</sec>
<sec sec-type="COI-statement" id="conf1">
<title>Conflict of Interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s9">
<title>Publisher&#x00027;s Note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
</body>
<back>
<ack><p>We thank the Imperial College Research Computing Service (DOI: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.14469/hpc/2232">10.14469/hpc/2232</ext-link>) for help with the computational setup of the project and technical support.</p></ack>
<sec sec-type="supplementary-material" id="s10">
<title>Supplementary Material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fcvm.2021.768419/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fcvm.2021.768419/full#supplementary-material</ext-link></p>
<supplementary-material xlink:href="Data_Sheet_1.PDF" id="SM1" mimetype="application/pdf" xmlns:xlink="http://www.w3.org/1999/xlink"/>
<supplementary-material xlink:href="Data_Sheet_2.ZIP" id="SM2" mimetype="application/zip" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<label>1.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hindricks</surname> <given-names>G</given-names></name> <name><surname>Potpara</surname> <given-names>T</given-names></name> <name><surname>Dagres</surname> <given-names>N</given-names></name> <name><surname>Arbelo</surname> <given-names>E</given-names></name> <name><surname>Bax</surname> <given-names>JJ</given-names></name> <name><surname>Blomstr&#x000F6;m-Lundqvist</surname> <given-names>C</given-names></name> <etal/></person-group>. <article-title>2020. ESC Guidelines for the diagnosis and management of atrial fibrillation developed in collaboration with the European Association for Cardio-Thoracic Surgery (EACTS)</article-title>. <source>Eur Heart J</source>. (<year>2020</year>). <volume>42</volume>:<fpage>373</fpage>&#x02013;<lpage>498</lpage>. <pub-id pub-id-type="doi">10.1093/eurheartj/ehaa945</pub-id><pub-id pub-id-type="pmid">33242070</pub-id></citation></ref>
<ref id="B2">
<label>2.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ganesan</surname> <given-names>AN</given-names></name> <name><surname>Shipp</surname> <given-names>NJ</given-names></name> <name><surname>Brooks</surname> <given-names>AG</given-names></name> <name><surname>Kuklik</surname> <given-names>P</given-names></name> <name><surname>Lau</surname> <given-names>DH</given-names></name> <name><surname>Lim</surname> <given-names>H</given-names></name> <etal/></person-group>. <article-title>Long-term outcomes of catheter ablation of atrial fibrillation: a systematic review and meta-analysis</article-title>. <source>J Am Heart Assoc</source>. (<year>2013</year>) <volume>2</volume>:<fpage>e004549</fpage>. <pub-id pub-id-type="doi">10.1161/JAHA.112.004549</pub-id><pub-id pub-id-type="pmid">23537812</pub-id></citation></ref>
<ref id="B3">
<label>3.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nattel</surname> <given-names>S</given-names></name> <name><surname>Dobrev</surname> <given-names>D</given-names></name></person-group>. <article-title>Controversies about atrial fibrillation mechanisms</article-title>. <source>Circ Res</source>. (<year>2017</year>) <volume>120</volume>:<fpage>1396</fpage>&#x02013;<lpage>9</lpage>. <pub-id pub-id-type="doi">10.1161/CIRCRESAHA.116.310489</pub-id><pub-id pub-id-type="pmid">28450363</pub-id></citation></ref>
<ref id="B4">
<label>4.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Calkins</surname> <given-names>H</given-names></name> <name><surname>Kuck</surname> <given-names>KH</given-names></name> <name><surname>Cappato</surname> <given-names>R</given-names></name> <name><surname>Brugada</surname> <given-names>J</given-names></name> <name><surname>John Camm</surname> <given-names>A</given-names></name> <name><surname>Chen</surname> <given-names>SA</given-names></name> <etal/></person-group>. <article-title>2012 HRS/EHRA/ECAS expert consensus statement on catheter and surgical ablation of atrial fibrillation</article-title>. <source>J Intervent Cardiac Electrophysiol</source>. (<year>2012</year>). <volume>14</volume>:<fpage>171</fpage>&#x02013;<lpage>257</lpage>. <pub-id pub-id-type="pmid">22389422</pub-id></citation></ref>
<ref id="B5">
<label>5.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Clayton</surname> <given-names>RH</given-names></name> <name><surname>Bernus</surname> <given-names>O</given-names></name> <name><surname>Cherry</surname> <given-names>E</given-names></name> <name><surname>Dierckx</surname> <given-names>H</given-names></name> <name><surname>Fenton</surname> <given-names>F</given-names></name> <name><surname>Mirabella</surname> <given-names>L</given-names></name> <etal/></person-group>. <article-title>Models of cardiac tissue electrophysiology: progress, challenges and open questions</article-title>. <source>Prog Biophys Mol Biol</source>. (<year>2011</year>) <volume>104</volume>:<fpage>22</fpage>&#x02013;<lpage>48</lpage>. <pub-id pub-id-type="doi">10.1016/j.pbiomolbio.2010.05.008</pub-id><pub-id pub-id-type="pmid">20553746</pub-id></citation></ref>
<ref id="B6">
<label>6.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bueno-Orovio</surname> <given-names>A</given-names></name> <name><surname>Kay</surname> <given-names>D</given-names></name> <name><surname>Grau</surname> <given-names>V</given-names></name> <name><surname>Rodriguez</surname> <given-names>B</given-names></name> <name><surname>Burrage</surname> <given-names>K</given-names></name></person-group>. <article-title>Fractional diffusion models of cardiac electrical propagation: role of structural heterogeneity in dispersion of repolarization</article-title>. <source>J R Soc Interface</source>. (<year>2014</year>) <volume>11</volume>:<fpage>20140352</fpage>. <pub-id pub-id-type="doi">10.1098/rsif.2014.0352</pub-id><pub-id pub-id-type="pmid">24920109</pub-id></citation></ref>
<ref id="B7">
<label>7.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Aliev</surname> <given-names>RR</given-names></name> <name><surname>Panfilov</surname> <given-names>A</given-names></name></person-group>. <article-title>A simple two-variable model of cardiac excitation</article-title>. <source>Chaos Solitons Fractals</source>. (<year>1996</year>) <volume>7</volume>:<fpage>293</fpage>&#x02013;<lpage>301</lpage>. <pub-id pub-id-type="doi">10.1016/0960-0779(95)00089-5</pub-id></citation>
</ref>
<ref id="B8">
<label>8.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Varela</surname> <given-names>M</given-names></name> <name><surname>Colman</surname> <given-names>M</given-names></name> <name><surname>Hancox</surname> <given-names>J</given-names></name> <name><surname>Aslanidi</surname> <given-names>O</given-names></name></person-group>. <article-title>atrial heterogeneity generates re-entrant substrate during atrial fibrillation and anti-arrhythmic drug action: mechanistic insights from canine atrial models</article-title>. <source>PLoS Comput Biol</source>. (<year>2016</year>) <volume>12</volume>:<fpage>e1005245</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pcbi.1005245</pub-id><pub-id pub-id-type="pmid">27984585</pub-id></citation></ref>
<ref id="B9">
<label>9.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fenton</surname> <given-names>F</given-names></name> <name><surname>Karma</surname> <given-names>A</given-names></name></person-group>. <article-title>Vortex dynamics in three-dimensional continuous myocardium with fiber rotation: filament instability and fibrillation</article-title>. <source>Chaos</source>. (<year>1998</year>) <volume>8</volume>:<fpage>879</fpage>. <pub-id pub-id-type="doi">10.1063/1.166311</pub-id><pub-id pub-id-type="pmid">12779795</pub-id></citation></ref>
<ref id="B10">
<label>10.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Roy</surname> <given-names>A</given-names></name> <name><surname>Varela</surname> <given-names>M</given-names></name> <name><surname>Aslanidi</surname> <given-names>O</given-names></name></person-group>. <article-title>Image-Based computational evaluation of the effects of atrial wall thickness and fibrosis on re-entrant drivers for atrial fibrillation</article-title>. <source>Front Physiol</source>. (<year>2018</year>) <volume>9</volume>:<fpage>1352</fpage>. <pub-id pub-id-type="doi">10.3389/fphys.2018.01352</pub-id><pub-id pub-id-type="pmid">30349483</pub-id></citation></ref>
<ref id="B11">
<label>11.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Nelles</surname> <given-names>O</given-names></name></person-group>. <source>Nonlinear System Identification From Classical Approaches to Neural Networks, Fuzzy Models, and Gaussian Processes. 2nd ed</source>. <publisher-loc>Cham</publisher-loc>: <publisher-name>Springer International Publishing</publisher-name> (<year>2020</year>).</citation>
</ref>
<ref id="B12">
<label>12.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hoffman</surname> <given-names>MJ</given-names></name> <name><surname>Cherry</surname> <given-names>EM</given-names></name></person-group>. <article-title>Sensitivity of a data-assimilation system for reconstructing three-dimensional cardiac electrical dynamics</article-title>. <source>Philos Trans R SocA</source>. (<year>2020</year>) <volume>378</volume>:<fpage>20190388</fpage>. <pub-id pub-id-type="doi">10.1098/rsta.2019.0388</pub-id><pub-id pub-id-type="pmid">32448069</pub-id></citation></ref>
<ref id="B13">
<label>13.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Drovandi</surname> <given-names>CC</given-names></name> <name><surname>Cusimano</surname> <given-names>N</given-names></name> <name><surname>Psaltis</surname> <given-names>S</given-names></name> <name><surname>Lawson</surname> <given-names>BAJ</given-names></name> <name><surname>Pettitt</surname> <given-names>AN</given-names></name> <name><surname>Burrage</surname> <given-names>P</given-names></name> <etal/></person-group>. <article-title>Sampling methods for exploring between-subject variability in cardiac electrophysiology experiments</article-title>. <source>J R Soc Interface</source>. (<year>2016</year>) <volume>13</volume>:<fpage>20160214</fpage>. <pub-id pub-id-type="doi">10.1098/rsif.2016.0214</pub-id><pub-id pub-id-type="pmid">27512137</pub-id></citation></ref>
<ref id="B14">
<label>14.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Dhamala</surname> <given-names>J</given-names></name> <name><surname>Arevalo</surname> <given-names>HJ</given-names></name> <name><surname>Sapp</surname> <given-names>J</given-names></name> <name><surname>Hor&#x000E1;cek</surname> <given-names>BM</given-names></name> <name><surname>Wu</surname> <given-names>KC</given-names></name> <name><surname>Trayanova</surname> <given-names>NA</given-names></name> <etal/></person-group>. <article-title>Quantifying the uncertainty in model parameters using Gaussian process-based Markov chain Monte Carlo in cardiac electrophysiology</article-title>. <source>Med Image Anal</source>. (<year>2018</year>) <volume>48</volume>:<fpage>43</fpage>&#x02013;<lpage>57</lpage>. <pub-id pub-id-type="doi">10.1016/j.media.2018.05.007</pub-id><pub-id pub-id-type="pmid">29843078</pub-id></citation></ref>
<ref id="B15">
<label>15.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fresca</surname> <given-names>S</given-names></name> <name><surname>Manzoni</surname> <given-names>A</given-names></name> <name><surname>Ded&#x000E8;</surname> <given-names>L</given-names></name> <name><surname>Quarteroni</surname> <given-names>A</given-names></name></person-group>. <article-title>Deep learning-based reduced order models in cardiac electrophysiology</article-title>. <source>PLoS ONE</source>. (<year>2020</year>) <volume>15</volume>:<fpage>e0239416</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pone.0239416</pub-id><pub-id pub-id-type="pmid">34630131</pub-id></citation></ref>
<ref id="B16">
<label>16.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sahli Costabal</surname> <given-names>F</given-names></name> <name><surname>Perdikaris</surname> <given-names>P</given-names></name> <name><surname>Kuhl</surname> <given-names>E</given-names></name> <name><surname>Hurtado</surname> <given-names>DE</given-names></name></person-group>. <article-title>Multi-fidelity classification using Gaussian processes: Accelerating the prediction of large-scale computational models</article-title>. <source>Comput Methods Appl Mech Eng</source>. (<year>2019</year>) <volume>357</volume>:<fpage>112602</fpage>. <pub-id pub-id-type="doi">10.1016/j.cma.2019.112602</pub-id></citation>
</ref>
<ref id="B17">
<label>17.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Raissi</surname> <given-names>M</given-names></name> <name><surname>Perdikaris</surname> <given-names>P</given-names></name> <name><surname>Karniadakis</surname> <given-names>GE</given-names></name></person-group>. <article-title>Physics-informed neural networks: a deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations</article-title>. <source>J Comput Phys</source>. (<year>2019</year>) <volume>378</volume>:<fpage>686</fpage>&#x02013;<lpage>707</lpage>. <pub-id pub-id-type="doi">10.1016/j.jcp.2018.10.045</pub-id></citation>
</ref>
<ref id="B18">
<label>18.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Karniadakis</surname> <given-names>GE</given-names></name> <name><surname>Kevrekidis</surname> <given-names>IG</given-names></name> <name><surname>Lu</surname> <given-names>L</given-names></name> <name><surname>Perdikaris</surname> <given-names>P</given-names></name> <name><surname>Wang</surname> <given-names>S</given-names></name> <name><surname>Yang</surname> <given-names>L</given-names></name></person-group>. <article-title>Physics-informed machine learning</article-title>. <source>Nat Rev Phys</source>. (<year>2021</year>) <volume>3</volume>:<fpage>422</fpage>&#x02013;<lpage>40</lpage>. <pub-id pub-id-type="doi">10.1038/s42254-021-00314-5</pub-id></citation>
</ref>
<ref id="B19">
<label>19.</label>
<citation citation-type="web"><person-group person-group-type="author"><name><surname>Baydin</surname> <given-names>AG</given-names></name> <name><surname>Pearlmutter</surname> <given-names>BA</given-names></name> <name><surname>Radul</surname> <given-names>AA</given-names></name> <name><surname>Siskind</surname> <given-names>JM</given-names></name></person-group>. <article-title>Automatic differentiation in machine learning: a survey</article-title>. <source>J Mach Learn Res</source>. (<year>2018</year>) <volume>18</volume>:<fpage>1</fpage>&#x02013;<lpage>43</lpage>. Available online at: <ext-link ext-link-type="uri" xlink:href="https://w.jmlr.org/papers/volume18/17-468/17-468.pdf">https://w.jmlr.org/papers/volume18/17-468/17-468.pdf</ext-link><pub-id pub-id-type="pmid">34871167</pub-id></citation></ref>
<ref id="B20">
<label>20.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>van Herten</surname> <given-names>RLM</given-names></name> <name><surname>Chiribiri</surname> <given-names>A</given-names></name> <name><surname>Breeuwer</surname> <given-names>M</given-names></name> <name><surname>Veta</surname> <given-names>M</given-names></name> <name><surname>Scannell</surname> <given-names>CM</given-names></name></person-group>. <article-title>Physics-informed neural networks for myocardial perfusion MRI quantification</article-title>. (<year>2020</year>).</citation>
</ref>
<ref id="B21">
<label>21.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cai</surname> <given-names>S</given-names></name> <name><surname>Li</surname> <given-names>H</given-names></name> <name><surname>Zheng</surname> <given-names>F</given-names></name> <name><surname>Kong</surname> <given-names>F</given-names></name> <name><surname>Dao</surname> <given-names>M</given-names></name> <name><surname>Karniadakis</surname> <given-names>GE</given-names></name> <etal/></person-group>. <article-title>Artificial intelligence velocimetry and microaneurysm-on-a-chip for three-dimensional analysis of blood flow in physiology and disease</article-title>. <source>Proc Natl Acad Sci USA</source>. (<year>2021</year>) <volume>118</volume>:<fpage>e2100697118</fpage>. <pub-id pub-id-type="doi">10.1073/pnas.2100697118</pub-id><pub-id pub-id-type="pmid">33762307</pub-id></citation></ref>
<ref id="B22">
<label>22.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sahli Costabal</surname> <given-names>F</given-names></name> <name><surname>Yang</surname> <given-names>Y</given-names></name> <name><surname>Perdikaris</surname> <given-names>P</given-names></name> <name><surname>Hurtado</surname> <given-names>DE</given-names></name> <name><surname>Kuhl</surname> <given-names>E</given-names></name></person-group>. <article-title>Physics-informed neural networks for cardiac activation mapping</article-title>. <source>Front Phys</source>. (<year>2020</year>) <volume>8</volume>:<fpage>42</fpage>. <pub-id pub-id-type="doi">10.3389/fphy.2020.00042</pub-id></citation>
</ref>
<ref id="B23">
<label>23.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Grandits</surname> <given-names>T</given-names></name> <name><surname>Pezzuto</surname> <given-names>S</given-names></name> <name><surname>Costabal</surname> <given-names>FS</given-names></name> <name><surname>Perdikaris</surname> <given-names>P</given-names></name> <name><surname>Pock</surname> <given-names>T</given-names></name> <name><surname>Plank</surname> <given-names>G</given-names></name> <etal/></person-group>. <article-title>Learning atrial fiber orientations and conductivity tensors from intracardiac maps using physics-informed neural networks</article-title>. <source>Lecture Notes Compu Sci</source>. (<year>2021</year>) <volume>12738</volume>:<fpage>650</fpage>&#x02013;<lpage>8</lpage>. <pub-id pub-id-type="doi">10.1007/978-3-030-78710-3_62</pub-id></citation>
</ref>
<ref id="B24">
<label>24.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Grandits</surname> <given-names>T</given-names></name> <name><surname>Pezzuto</surname> <given-names>S</given-names></name> <name><surname>Lubrecht</surname> <given-names>JM</given-names></name> <name><surname>Pock</surname> <given-names>T</given-names></name> <name><surname>Plank</surname> <given-names>G</given-names></name> <name><surname>Krause</surname> <given-names>R</given-names></name></person-group>. <article-title>PIEMAP: personalized inverse eikonal model from cardiac electro-anatomical maps</article-title>. <source>Lecture Notes Comput Sci</source>. (<year>2020</year>) <volume>12592</volume>:<fpage>76</fpage>&#x02013;<lpage>86</lpage>. <pub-id pub-id-type="doi">10.1007/978-3-030-68107-4_8</pub-id><pub-id pub-id-type="pmid">33751078</pub-id></citation></ref>
<ref id="B25">
<label>25.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Efimov</surname> <given-names>IR</given-names></name> <name><surname>Nikolski</surname> <given-names>VP</given-names></name> <name><surname>Salama</surname> <given-names>G</given-names></name></person-group>. <article-title>Optical imaging of the heart</article-title>. <source>Circ Res</source>. (<year>2004</year>) <volume>95</volume>:<fpage>21</fpage>&#x02013;<lpage>33</lpage>. <pub-id pub-id-type="doi">10.1161/01.RES.0000130529.18016.35</pub-id><pub-id pub-id-type="pmid">15242982</pub-id></citation></ref>
<ref id="B26">
<label>26.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hansen</surname> <given-names>B</given-names></name> <name><surname>Zhao</surname> <given-names>J</given-names></name> <name><surname>Li</surname> <given-names>N</given-names></name> <name><surname>Zolotarev</surname> <given-names>A</given-names></name> <name><surname>Zakharkin</surname> <given-names>S</given-names></name> <name><surname>Wang</surname> <given-names>Y</given-names></name> <etal/></person-group>. <article-title>Human atrial fibrillation drivers resolved with integrated functional and structural imaging to benefit clinical mapping</article-title>. <source>JACC: Clin Electrophysiol</source>. (<year>2018</year>) <volume>4</volume>:<fpage>1501</fpage>&#x02013;<lpage>15</lpage>. <pub-id pub-id-type="doi">10.1016/j.jacep.2018.08.024</pub-id><pub-id pub-id-type="pmid">30573112</pub-id></citation></ref>
<ref id="B27">
<label>27.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chowdhury</surname> <given-names>RA</given-names></name> <name><surname>Tzortzis</surname> <given-names>KN</given-names></name> <name><surname>Dupont</surname> <given-names>E</given-names></name> <name><surname>Selvadurai</surname> <given-names>S</given-names></name> <name><surname>Perbellini</surname> <given-names>F</given-names></name> <name><surname>Cantwell</surname> <given-names>CD</given-names></name> <etal/></person-group>. <article-title>Concurrent micro-to macro-cardiac electrophysiology in myocyte cultures and human heart slices</article-title>. <source>Sci Rep</source>. (<year>2018</year>) <volume>8</volume>:<fpage>1</fpage>&#x02013;<lpage>13</lpage>. <pub-id pub-id-type="doi">10.1038/s41598-018-25170-9</pub-id><pub-id pub-id-type="pmid">29720607</pub-id></citation></ref>
<ref id="B28">
<label>28.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lu</surname> <given-names>L</given-names></name> <name><surname>Meng</surname> <given-names>X</given-names></name> <name><surname>Mao</surname> <given-names>Z</given-names></name> <name><surname>Karniadakis</surname> <given-names>GE</given-names></name></person-group>. <article-title>DeepXDE: a deep learning library for solving differential equations</article-title>. <source>SIAM Rev</source>. (<year>2021</year>) <volume>63</volume>:<fpage>208</fpage>&#x02013;<lpage>28</lpage>. <pub-id pub-id-type="doi">10.1137/19M1274067</pub-id></citation>
</ref>
<ref id="B29">
<label>29.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Kingma</surname> <given-names>DP</given-names></name> <name><surname>Ba</surname> <given-names>J</given-names></name></person-group>. <article-title>Adam: a method for stochastic optimization</article-title>. In: <source>3rd International Conference on Learning Representations</source>. <publisher-loc>San Diego, CA</publisher-loc>: <publisher-name>ICLR</publisher-name>. (<year>2015</year>).</citation>
</ref>
<ref id="B30">
<label>30.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Liu</surname> <given-names>DC</given-names></name> <name><surname>Nocedal</surname> <given-names>J</given-names></name></person-group>. <article-title>On the limited memory BFGS method for large scale optimization</article-title>. <source>Math Programm</source>. (<year>1989</year>) <volume>45</volume>:<fpage>503</fpage>&#x02013;<lpage>28</lpage>. <pub-id pub-id-type="doi">10.1007/BF01589116</pub-id></citation>
</ref>
<ref id="B31">
<label>31.</label>
<citation citation-type="web"><person-group person-group-type="author"><name><surname>Glorot</surname> <given-names>X</given-names></name> <name><surname>Bengio</surname> <given-names>Y</given-names></name></person-group>. <article-title>Understanding the difficulty of training deep feedforward neural networks</article-title>. In: <person-group person-group-type="editor"><name><surname>Teh</surname> <given-names>YW</given-names></name> <name><surname>Titterington</surname> <given-names>M</given-names></name></person-group> editors. <source>Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics</source>. <publisher-loc>Sardinia</publisher-loc>: <publisher-name>PMLR</publisher-name> (<year>2010</year>). p. <fpage>246</fpage>&#x02013;<lpage>56</lpage>. Available Online at: <ext-link ext-link-type="uri" xlink:href="http://proceedings.mlr.press/v9/glorot10a/glorot10a.pdf">http://proceedings.mlr.press/v9/glorot10a/glorot10a.pdf</ext-link></citation>
</ref>
<ref id="B32">
<label>32.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Odening</surname> <given-names>KE</given-names></name> <name><surname>Gomez</surname> <given-names>AM</given-names></name> <name><surname>Dobrev</surname> <given-names>D</given-names></name> <name><surname>Fabritz</surname> <given-names>L</given-names></name> <name><surname>Heinzel</surname> <given-names>FR</given-names></name> <name><surname>Mangoni</surname> <given-names>ME</given-names></name> <etal/></person-group>. <article-title>ESC working group on cardiac cellular electrophysiology position paper: relevance, opportunities, and limitations of experimental models for cardiac electrophysiology research</article-title>. <source>Europace</source>. (<year>2021</year>) <volume>23</volume>:<fpage>1795</fpage>&#x02013;<lpage>814</lpage>. <pub-id pub-id-type="doi">10.1093/europace/euab142</pub-id><pub-id pub-id-type="pmid">34313298</pub-id></citation></ref>
<ref id="B33">
<label>33.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yazdani</surname> <given-names>A</given-names></name> <name><surname>Lu</surname> <given-names>L</given-names></name> <name><surname>Raissi</surname> <given-names>M</given-names></name> <name><surname>Karniadakis</surname> <given-names>GE</given-names></name></person-group>. <article-title>Systems biology informed deep learning for inferring parameters and hidden dynamics</article-title>. <source>PLoS Comput Biol</source>. (<year>2020</year>) <volume>16</volume>:<fpage>e1007575</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pcbi.1007575</pub-id><pub-id pub-id-type="pmid">33206658</pub-id></citation></ref>
<ref id="B34">
<label>34.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Clayton</surname> <given-names>RH</given-names></name> <name><surname>Aboelkassem</surname> <given-names>Y</given-names></name> <name><surname>Cantwell</surname> <given-names>CD</given-names></name> <name><surname>Corrado</surname> <given-names>C</given-names></name> <name><surname>Delhaas</surname> <given-names>T</given-names></name> <name><surname>Huberts</surname> <given-names>W</given-names></name> <etal/></person-group>. <article-title>An audit of uncertainty in multi-scale cardiac electrophysiology models</article-title>. <source>PhilosTrans R Soc A</source>. (<year>2020</year>) <volume>378</volume>: <fpage>20190335</fpage>. <pub-id pub-id-type="doi">10.1098/rsta.2019.0335</pub-id><pub-id pub-id-type="pmid">32448070</pub-id></citation></ref>
<ref id="B35">
<label>35.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cantwell</surname> <given-names>CD</given-names></name> <name><surname>Mohamied</surname> <given-names>Y</given-names></name> <name><surname>Tzortzis</surname> <given-names>KN</given-names></name> <name><surname>Garasto</surname> <given-names>S</given-names></name> <name><surname>Houston</surname> <given-names>C</given-names></name> <name><surname>Chowdhury</surname> <given-names>RA</given-names></name> <etal/></person-group>. <article-title>Rethinking multiscale cardiac electrophysiology with machine learning and predictive modelling</article-title>. <source>Comput Biol Med</source>. (<year>2019</year>) <volume>104</volume>:<fpage>339</fpage>&#x02013;<lpage>51</lpage>. <pub-id pub-id-type="doi">10.1016/j.compbiomed.2018.10.015</pub-id><pub-id pub-id-type="pmid">30442428</pub-id></citation></ref>
<ref id="B36">
<label>36.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Kashtanova</surname> <given-names>V</given-names></name> <name><surname>Ayed</surname> <given-names>I</given-names></name> <name><surname>Cedilnik</surname> <given-names>N</given-names></name> <name><surname>Gallinari</surname> <given-names>P</given-names></name> <name><surname>Sermesant</surname> <given-names>M</given-names></name></person-group>. <article-title>EP-Net 2.0: Out-of-domain generalisation for deep learning models of cardiac electrophysiology</article-title>. In: <person-group person-group-type="editor"><name><surname>Ennis</surname> <given-names>DB</given-names></name> <name><surname>Perotti</surname> <given-names>LE</given-names></name> <name><surname>Wang</surname> <given-names>VY</given-names></name></person-group> editors. <source>Functional Imaging and Modeling of the Heart</source>. <publisher-loc>Cham</publisher-loc>: <publisher-name>Springer International Publishing</publisher-name> (<year>2021</year>). p. <fpage>482</fpage>&#x02013;<lpage>92</lpage>. <pub-id pub-id-type="doi">10.1007/978-3-030-78710-3_46</pub-id></citation>
</ref>
<ref id="B37">
<label>37.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Roy</surname> <given-names>A</given-names></name> <name><surname>Varela</surname> <given-names>M</given-names></name> <name><surname>Chubb</surname> <given-names>H</given-names></name> <name><surname>MacLeod</surname> <given-names>R</given-names></name> <name><surname>Hancox</surname> <given-names>JC</given-names></name> <name><surname>Schaeffter</surname> <given-names>T</given-names></name> <etal/></person-group>. <article-title>Identifying locations of re-entrant drivers from patient-specific distribution of fibrosis in the left atrium</article-title>. <source>PLoS Comput Biol</source>. (<year>2020</year>) <volume>16</volume>:<fpage>e1008086</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pcbi.1008086</pub-id><pub-id pub-id-type="pmid">32966275</pub-id></citation></ref>
<ref id="B38">
<label>38.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Varela</surname> <given-names>M</given-names></name> <name><surname>Aslanidi</surname> <given-names>O</given-names></name></person-group>. <article-title>Role of atrial tissue substrate and electrical activation pattern in fractionation of atrial electrograms: a computational study</article-title>. <source>IEEE Eng Med Biol Soc Ann Conf</source>. (<year>2014</year>) <volume>2014</volume>:<fpage>1587</fpage>&#x02013;<lpage>90</lpage>. <pub-id pub-id-type="doi">10.1109/EMBC.2014.6943907</pub-id><pub-id pub-id-type="pmid">25570275</pub-id></citation></ref>
<ref id="B39">
<label>39.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Plonsey</surname> <given-names>R</given-names></name> <name><surname>Barr</surname> <given-names>R</given-names></name></person-group>. <source>Bioelectricity: a Quantitative Approach</source>. <edition>2nd ed</edition>. <publisher-loc>Berlin</publisher-loc>: <publisher-name>Springer Science Business Media</publisher-name> (<year>2007</year>).</citation>
</ref>
<ref id="B40">
<label>40.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Arthurs</surname> <given-names>CJ</given-names></name> <name><surname>King</surname> <given-names>AP</given-names></name></person-group>. <article-title>Active training of physics-informed neural networks to aggregate and interpolate parametric solutions to the Navier-Stokes equations</article-title>. <source>J Comput Phys</source>. (<year>2021</year>) <volume>438</volume>:<fpage>110364</fpage>. <pub-id pub-id-type="doi">10.1016/j.jcp.2021.110364</pub-id><pub-id pub-id-type="pmid">34345054</pub-id></citation></ref>
</ref-list> 
</back>
</article>
