Introduction
Numerical methods—the algorithms we use to solve differential equations, find eigenvalues, or compute integrals—are inherently approximations. Because we have finite computing power, these approximations carry "numerical uncertainty." Probabilistic Numerics (PN) aims to quantify this uncertainty by treating numerical tasks as statistical inference problems.
However, traditional PN methods are often "white box": they require redesigning the solver from the ground up to incorporate probabilistic logic. This makes it incredibly difficult to apply PN to complex, nonlinear problems or to leverage decades of optimization found in standard libraries.
This paper introduces Black Box Probabilistic Numerics (BBPN), a framework that brings uncertainty quantification to virtually any existing numerical solver without needing to "open the hood." By treating a sequence of numerical outputs at different resolutions as a dataset, the authors use Gaussian Processes to extrapolate to the zero-error limit, inheriting the performance of state-of-the-art solvers while providing a rigorous statistical measure of numerical error.
The Black Box Methodology
The core idea behind BBPN is a probabilistic reimagining of Richardson’s Deferred Approach to the Limit (RDAL).
- The Data: Instead of looking at the internal steps of a solver, BBPN looks only at the final outputs $q(h)$ produced at different resolutions (step sizes) $h_1, h_2, \dots, h_n$.
-
The Model: The authors model the solver's output as a stochastic process: $$Q(h, t) = Q^*(t) + E(h, t)$$ where $Q^*(t)$ represents the true (unknown) solution and $E(h, t)$ represents the numerical error.
-
Gaussian Process (GP) Extrapolation: They use a GP to fit this sequence. Crucially, they design a non-stationary "error kernel" that is forced to vanish as $h \to 0$. This allows the GP to "predict" the solution at the unattainable limit of infinite resolution ($h=0$).
By focusing on the final output rather than intermediate steps, BBPN avoids the "nonlinear conditioning" nightmare that plagues other PN methods. Furthermore, the authors prove that BBPN doesn't just provide error bars; it actually improves the accuracy of the underlying solver, achieving higher orders of convergence similar to classical extrapolation methods.
Key Insights and Advantages
- Inheritance of Features: Because BBPN treats the solver as a black box, it automatically inherits advanced features like adaptivity and numerical stability that are already baked into professional-grade software.
- Learning the Convergence Order: In classical numerical analysis, you usually need to know the "order" of your method (e.g., $O(h^2)$) beforehand. BBPN allows this order to be treated as a hyperparameter that can be learned from the data using maximum likelihood estimation.
- Turning Lead into Gold: The framework leans into the idea that a sequence of mediocre, low-resolution approximations contains enough structural information to infer a much better, high-resolution one.
Experimental Results
The paper evaluates BBPN on three distinct numerical challenges: Ordinary Differential Equations (ODEs), Eigenvalue Problems, and Partial Differential Equations (PDEs).
Competitive Accuracy on ODEs: Tested on the classic Lotka–Volterra equations, BBPN was as accurate as—and often more calibrated than—bespoke, state-of-the-art probabilistic ODE solvers. The method demonstrated the ability to take a simple first-order solver (like Euler's method) and accelerate its convergence to a higher order through the GP framework.
First-of-its-kind Eigenvalue UQ: The authors applied BBPN to the QR algorithm for matrix eigenvalues and a "shifted power method" for tensor eigenpairs. This is a significant contribution, as no probabilistic numerical methods previously existed for eigenvalue problems. BBPN successfully provided $\pm 2\sigma$ credible intervals for eigenvalue discovery, with the true eigenvalues consistently falling within the predicted uncertainty bounds.
PDE Scaling: On the highly complex, chaotic Kuramoto–Sivashinsky PDE, BBPN produced stable uncertainty estimates that were consistent with the discrepancy between the mean prediction and a high-resolution reference solution, proving its ability to handle "stiff" spatio-temporal dynamics.
Limitations and Future Work
While powerful, BBPN does introduce computational overhead. It requires running the underlying solver multiple times at different resolutions. While this provides the necessary "data," it is more expensive than a single run. Additionally, Gaussian Processes typically scale cubically with the number of data points. While the dataset here is usually small (a few solver runs), scaling to very high-dimensional outputs remains a challenge.
Future work could explore "active learning" to intelligently choose which resolutions ($h$ values) to run next, minimizing computational cost while maximizing the reduction in uncertainty. Furthermore, while default Matérn kernels worked well in these experiments, more flexible or problem-specific kernels could further improve performance.
Summary updated