Methodology of this study including the emulator development and the evaluation. The simulator is visualized by a schematic human ventricular cardiomyocyte that includes all currents considered for the emulator training. Inputs of the emulator (see Figure 2) are the corresponding maximum conductances (G) but for the sake of illustration, only three representatives are shown. Output is the AP (Vm(t)). Training and validation data (maximum conductances Ĝ and APs ) were generated by the simulator. The evaluation was performed for forward and inverse problems and to this end, the pharmacological parameter s was introduced. This describes the interaction between the drug and a given target and was defined as scaling factor of the respective maximum conductance in control conditions (s < 1: block, s = 1: no effect, s > 1: enhancement). Synthetic data (control maximum conductances and drugged maximum conductances obtained through scaling, and control and drugged APs) and experimental data (control and drugged APs) were used for the evaluation. The forward problem was only solved for synthetic data, whereas the inverse problem was solved for both synthetic and experimental data. When experimental data were used, estimated pharmacological parameters were compared to distributions derived from data published within the CiPA initiative [Li et al., 2017, Chang et al., 2017].

Conceptual architecture of the neural network emulator. The maximum conductances x are encoded into depolarization parameters di and a latent space representation ϑ that uniquely defines the time series functional fϑ : ℝ ℝ. The time is normalized and encoded in polynomials up to degree 8 (tp for p ∈ {1, 2, … 8}), before being appended to the latent code ϑ. fϑ is then used in conjunction with the depolarization helper tanh to approximate the AP Vm(t).

Processed APs used for training and validation. For better visualization, only 4000 of the set are shown.

AP biomarkers and their experimental ranges used to generate the population of synthetic cardiomyocytes. These were adopted from [Passini et al., 2017]. Experimental data were collected at 37 °C in small right ventricular trabeculae and papillary tissue preparations obtained from healthy human hearts during pacing with a cycle length of 1000 ms [Britton et al., 2017].
Pharmacological parameter samples (synthetic drugs) with scaling factors for GKr and PCa to generate the drug data of data set #2.

Comparison of an averaged raw and an averaged filtered experimental AP. One dofetilide control AP is shown as example.

Analysis of solution accuracy of the forward problem on synthetic data including normal APs (drug data of data set #1). Left: histogram of RMSEs for the APs, right: APs with the largest RMSEs. The RMSE is given above each subplot.

Analysis of solution accuracy of the forward problem on synthetic data including normal APs (data set #1) with respect to AP biomarkers. Histograms of mismatches for each biomarker are shown and the RMSE is given in the upper left corner. Note that potential staircasing artifacts in the APDs are related to the temporal discretization of the APs generated from the simulator.

Analysis of solution accuracy of the forward problem on synthetic data including abnormal APs exhibiting EADs (drug data of data set #2). Left: histogram of RMSEs for the APs, right: APs with the largest RMSEs. 123 of the 170 emulated traces exhibit the expected EADs (based on the criterion outlined in Appendix A). The RMSE is given above each subplot. All emulated APs are shown in Appendix C

Analysis of solution accuracy of the inverse problem on synthetic data (data set #1). Left: boxplot of errors between normalized estimated and ground truth control maximum conductances, middle: boxplot of errors between normalized estimated and ground truth drugged maximum conductances, right: boxplot of errors between estimated and ground truth pharmacological parameters. Error definitions are given in (4) and (5). The RMSE over all data is given below each parameter.

Average RMSE over control and drugged APs measured in all preparations per drug. All values in mV.

Analysis of fit quality of the inverse problem on experimental data. Comparison of the fitted APs (solid lines) and the experimental APs (dashed lines) at control (red) and after drug administration (blue) for all drugs.

Pharmacological parameters related to maximum conductances that were considered successfully or unsuccessfully estimated across all preparations and drugs

Analysis of solution accuracy of the inverse problem using experimental data. The histograms compare the estimated pharmacological parameters (dashed vertical lines) from data of multiple preparations with the CiPA distributions (blue; see Section 2.3.3). The black dash dotted vertical lines are the borders of the range (grey) that was used to determine if the estimation of the given pharmacological parameter was successful. The range is spanned up by μ ± (0.15 + σ) of the CiPA distribution. Successfully estimated parameters are shown as green lines and unsuccessfully estimated parameters are shown as red lines. The number in the upper left corner indicates for how many preparations the parameters could be successfully estimated in relation to the total number of preparations for the given drug.

Global sensitivity analysis of the ToR-ORd simulator. Sobol’ sensitivity indices are shown for each maximum conductance relative to each AP biomarker. Left: first-order (S1), right: total-effect (ST) Sobol’ sensitivity coefficient.

Emulated APs based on the pharmacological parameters of data set #2. See also Section 3.1.1 and Figure 7. Left: APs classified as normal, right: APs classified as abnormal exhibiting EADs. The classification criterion is outlined in Appendix A.