Probabilistic Models for Integration Error in the Assessment of Functional Cardiac Models

Chris J. Oates, Steven Niederer, Angela Lee, François‐Xavier Briol, Mark Girolami

Abstract

This paper studies the numerical computation of integrals, representing estimates or predictions, over the output $f(x)$ of a computational model with respect to a distribution $p(\mathrm{d}x)$ over uncertain inputs $x$ to the model. For the functional cardiac models that motivate this work, neither $f$ nor $p$ possess a closed-form expression and evaluation of either requires $\approx$ 100 CPU hours, precluding standard numerical integration methods. Our proposal is to treat integration as an estimation problem, with a joint model for both the a priori unknown function $f$ and the a priori unknown distribution $p$. The result is a posterior distribution over the integral that explicitly accounts for dual sources of numerical approximation error due to a severely limited computational budget. This construction is applied to account, in a statistically principled manner, for the impact of numerical errors that (at present) are confounding factors in functional cardiac model assessment.

Introduction

In the realm of computational medicine, functional cardiac models offer the potential to revolutionize patient care by providing personalized predictions of heart health. However, a significant barrier to their clinical adoption is the extreme computational cost. A single simulation of a state-of-the-art heart model can require approximately 100 CPU hours. When researchers attempt to calculate average patient outcomes—mathematically represented as an integral of the model output over a distribution of uncertain inputs—they are often limited to a very small number of samples (typically $n < 100$).

At such low sample sizes, standard numerical integration techniques like Monte Carlo become unreliable. The resulting "numerical error" can become a massive confounding factor: if a model's prediction fails to match clinical reality, it is often unclear whether the underlying model is flawed or if the integration itself was simply imprecise. This paper introduces a framework to quantify this uncertainty, treating integration not as a deterministic calculation, but as a statistical estimation problem.

The Challenge of Dual Intractability

The core problem involves calculating the integral $Z = \int f(x) p(dx)$, where $f$ represents the cardiac model and $p$ represents the distribution of uncertain input parameters (such as tissue stiffness or geometry). In practice, this task faces two major hurdles:

  1. Function Intractability: The model $f(x)$ is a complex, black-box simulation with no closed-form expression.
  2. Distribution Intractability: The input distribution $p(dx)$ is often unknown and must be estimated from limited clinical data or MRI-derived geometries.

Traditional Bayesian Quadrature (BQ) addresses the first point by placing a Gaussian Process (GP) prior on $f$. However, standard BQ requires $p$ to be known in a closed form to calculate the "kernel mean," a requirement that is rarely met in complex biological modeling.

Methodology: Dirichlet Process Mixture Bayesian Quadrature (DPMBQ)

To address the dual uncertainty of both the function and the distribution, the authors propose Dirichlet Process Mixture Bayesian Quadrature (DPMBQ). This method extends the BQ framework by using a Dirichlet Process Mixture (DPM) to model the unknown input distribution $p$.

The "Aha" Moment: Analytical Tractability

The primary innovation lies in the selection of a "conjugate pair" for the models. By utilizing Gaussian components for the DPM and a Gaussian (squared exponential) kernel for the GP, the authors derived closed-form expressions for the kernel mean and the initial error. This allows the algorithm to propagate uncertainty from the distribution $p$ through the GP model of $f$ to produce a final posterior distribution over the value of the integral $Z$.

The Workflow

The DPMBQ process follows a structured Bayesian pipeline:

  • Distribution Modeling: A Gibbs sampler is used to estimate the distribution $p$ based on available samples.
  • Function Modeling: A GP prior is placed on the model $f$.
  • Integration: The uncertainty from both the DPM and the GP is integrated to provide a posterior distribution for the integral, effectively putting "error bars" on the final prediction.

Experimental Validation

The authors evaluated DPMBQ across three tiers of increasing complexity:

  1. Synthetic Polynomials: Used as a controlled environment where the ground truth integral could be calculated exactly to verify the method's accuracy and convergence properties.
  2. The Goodwin Oscillator: A 5-dimensional system of differential equations modeling chemical oscillations. This served as a benchmark for expensive, high-dimensional black-box functions.
  3. Functional Cardiac Model: The primary application involving a state-of-the-art model of the left and right ventricles. The dataset included MRI-derived geometries and clinical measurements of pressure and volume transients.

Key Insights and Results

Honest Uncertainty and Coverage

One of the most critical findings is that DPMBQ provides "honest" uncertainty. In simulation experiments, DPMBQ maintained a coverage frequency of $\geq 50\%$ for its $50\%$ credible intervals. In contrast, standard Monte Carlo methods were found to be "dangerously overconfident," with coverage dropping below $20\%$ at small sample sizes. This suggests that DPMBQ is a much safer tool for clinical decision-making where data is scarce.

Theoretical Consistency

The authors provided theoretical proof that DPMBQ is consistent. As the number of samples $n$ increases, the DPMBQ estimate is guaranteed to converge to the true integral at a rate of $n^{-1/4+\epsilon}$.

Transfer Learning in Cardiac Metrics

Because the DPM models the input distribution $p$ independently of the function $f$, the knowledge gained about $p$ can be reused. In the cardiac application, the authors successfully quantified numerical error for 10 different functional metrics (e.g., Peak Pressure, Ejection Fraction) simultaneously, demonstrating the efficiency of the framework.

Limitations and Future Directions

While DPMBQ represents a significant step forward, the authors identify several areas for future work:

  • Dimensionality: While the method performed well in the 5D cardiac model, theoretical proofs are currently limited to 1D. Future research could exploit "low-rank" structures in high-dimensional spaces.
  • Active Learning: The current study used a fixed set of samples. An "Active Learning" approach, where the algorithm chooses the most informative next input $x$ to evaluate, could further reduce uncertainty with even fewer simulations.
  • Kernel Selection: Choosing the appropriate GP kernel remains a subjective task requiring domain expertise, suggesting a need for more automated kernel selection processes.

Conclusion

DPMBQ provides a statistically principled way to account for numerical errors that currently confound the assessment of functional cardiac models. By treating integration as an estimation problem and providing robust posterior distributions, this framework moves computational medicine closer to a future where complex simulations can be trusted in clinical environments.

Summary updated

Abstract

This paper studies the numerical computation of integrals, representing estimates or predictions, over the output $f(x)$ of a computational model with respect to a distribution $p(\mathrm{d}x)$ over uncertain inputs $x$ to the model. For the functional cardiac models that motivate this work, neither $f$ nor $p$ possess a closed-form expression and evaluation of either requires $\approx$ 100 CPU hours, precluding standard numerical integration methods. Our proposal is to treat integration as an estimation problem, with a joint model for both the a priori unknown function $f$ and the a priori unknown distribution $p$. The result is a posterior distribution over the integral that explicitly accounts for dual sources of numerical approximation error due to a severely limited computational budget. This construction is applied to account, in a statistically principled manner, for the impact of numerical errors that (at present) are confounding factors in functional cardiac model assessment.
BibTeX
@inproceedings{oates2017probabilistic,
  author = {Chris J. Oates and Steven Niederer and Angela Lee and François‐Xavier Briol and Mark Girolami},
  title = {{Probabilistic Models for Integration Error in the Assessment of Functional Cardiac Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2017},
  url = {https://openreview.net/forum?id=SJ-eju-uWS},
}
Figure