Probabilistic Numerics — Computation is Machine Learning
Philipp Hennig, Marvin Pförtner, Tim Weiland
International Conference on Machine Learning 2026 · Tutorial
Overview
Modern machine learning is dominated by computational bottlenecks. Whether it is solving massive high-dimensional optimization problems in deep learning, integrating stochastic differential equations for diffusion models, or resolving large-scale partial differential equations (PDEs) in scientific machine learning, learning machines invariably spend their cycles executing numerical routines. Historically, numerical mathematics and machine learning have operated as distinct disciplines: numerical analysts design deterministic algorithms to estimate intractable solutions, while machine learning practitioners gather empirical data to infer latent quantities. This tutorial argues that this separation is artificial. Computation is itself a form of information gathering, and numerical algorithms can be recast as active inference agents operating on data sources.

Key moments
- 0:00 Introduction: Computation is machine learning
- 4:00 Basic example: Linear problems and Bayesian inference
- 38:00 Generalizing probabilistic numerics to other numerical problems
- 65:00 Real-world simulation example: CPU heat distribution
- 84:00 Practical implementation in Julia: Oil leak in Jinhae Bay
- 98:00 Scaling up: Vecchia approximations and hierarchical models
Probabilistic Numerics — Computation is Machine Learning
Speakers: Philipp Hennig; Marvin Pförtner; Tim Weiland
Conference: ICML
YouTube: https://slideslive.com/39083458
Overview
Modern machine learning is dominated by computational bottlenecks. Whether it is solving massive high-dimensional optimization problems in deep learning, integrating stochastic differential equations for diffusion models, or resolving large-scale partial differential equations (PDEs) in scientific machine learning, learning machines invariably spend their cycles executing numerical routines. Historically, numerical mathematics and machine learning have operated as distinct disciplines: numerical analysts design deterministic algorithms to estimate intractable solutions, while machine learning practitioners gather empirical data to infer latent quantities. This tutorial argues that this separation is artificial. Computation is itself a form of information gathering, and numerical algorithms can be recast as active inference agents operating on data sources.
Presented at ICML by Philipp Hennig, Marvin Pförtner, and Tim Weiland, this tutorial introduces Probabilistic Numerics (PN)—a paradigm that treats numerical error (the discrepancy between an intractable true solution and a finite computational estimate) as uncertainty, assigning probability measures to it. By framing classical numerical methods as Bayesian inference over latent computational variables, practitioners can inherit prior assumptions from empirical models, propagate computational uncertainty through downstream pipelines, and develop anytime algorithms that can halt at any point with calibrated error bars.
The implications for systems and ML infrastructure are profound. Rather than treating BLAS routines, matrix decompositions, and PDE solvers as opaque black boxes, probabilistic numerics unlocks a design space of active data-loading policies. These policies replace rigid, generic algorithms (such as QR or LU decompositions) with adaptive, task-aware routines that minimize computational waste. Furthermore, as demonstrated via practical Julia implementations, this framework unifies seemingly disparate numerical tasks—ranging from global optimization and quadrature to ODE/PDE simulation and hierarchical inverse problems—into a single, coherent mathematical modeling language.
Background
▶ Watch: Introduction: Computation is machine learning (0:00)
In standard numerical linear algebra and scientific computing, problems are formulated as deterministic tasks. Given a matrix $A$ and a right-hand side $b$, algorithms like Gaussian elimination, Cholesky decomposition, or QR decomposition compute a point estimate for $Ax = b$. These routines are designed to work universally across arbitrary matrices without semantic interpretation of the data. Consequently, they throw away structural information about the broader pipeline, such as the statistical priors implicitly assumed by a downstream machine learning model.
Conversely, machine learning heavily relies on probability theory to model empirical uncertainty stemming from finite data. When data is insufficient to pin down latent weights or parameters, Bayesian inference assigns a posterior distribution over those latents. However, ML systems routinely ignore computational error. If an iterative solver (like conjugate gradients) stops early, or if a mesh discretization is too coarse, the resulting numerical error is treated as an unmeasured artifact rather than quantified uncertainty.
Probabilistic numerics bridges this gap by observing that a numerical algorithm estimating the solution of an intractable problem from finite computation is mathematically identical to a machine learning method estimating a latent variable from finite data. Just as a lack of data yields an empirical estimation error, a lack of computation yields a computational error. By placing a Gaussian prior over the unknown solution and treating the numerical problem as an information source, classical algorithms are reinterpreted as data loaders that sequentially condition on projections of the matrix. This eliminates the need to arbitrarily invent computational priors; instead, algorithms inherit the calibration of the surrounding Bayesian model.
Key Findings
▶ Watch: Generalizing probabilistic numerics to other numerical problems (38:00)
The tutorial establishes that fundamental numerical algorithms are not monolithic, rigid procedures, but rather specific instances of active inference policies acting on information operators:
- Matrix Decompositions as Data Loaders: Standard matrix factorization techniques emerge as specific active policies in a probabilistic linear solver. The Gram-Schmidt process (and by extension the QR decomposition) corresponds to a naive policy of sequentially processing rows of $A$. Gaussian elimination ($\mathbf{LU}$ decomposition) acts as a policy minimizing numerical round-off error, while Cholesky factorization exploits symmetric positive-definiteness to cut computational cost in half.
- Anytime Numerical Linear Algebra: By tracking the posterior covariance and Gram-Schmidt vectors, linear solvers become "anytime" algorithms. They can be halted at zero iterations (returning the exact Bayesian prior) or at any intermediate step, returning a fully calibrated Gaussian distribution over the solution rather than a wrong point estimate.
- Unified Modeling Language Across Domains: The abstract PN framework—comprising a latent quantity, an information operator, a discretization strategy, and a quantity of interest—applies verbatim across global optimization (Bayesian Optimization), integration (quadrature), ordinary differential equations (ODEs), and partial differential equations (PDEs).
- Uncertainty Propagation in Modular Pipelines: Unlike classical solvers that output single point estimates, probabilistic numerical solvers propagate computational uncertainty through modular pipelines. For example, inverting a Gram matrix within a Gaussian process (GP) regression task using a probabilistic linear solver allows the downstream GP posterior to jointly account for both empirical data noise and computational truncation error.
- Practical Scalability via Sparse Precision Matrices: For spatial physical simulations in 2D and 3D, dense covariance matrices scale cubically ($\mathcal{O}(N^3)$). By leveraging Vecchia approximations and Gaussian Markov Random Fields (GMRFs), precision matrices become sparse (banded or block-tridiagonal), enabling scalable exact-inference equivalents such as Kalman filtering and smoothing in time-space domains.
Technical Deep Dive
▶ Watch: Real-world simulation example: CPU heat distribution (65:00)
The foundational mechanics of probabilistic numerics rest on recasting numerical equations as Bayesian conditioning problems. Consider the linear system $Ax = b$, where $A \in \mathbb{R}^{n \times d}$ ($n < d$). A numerical mathematician views $A$ and $b$ as raw arrays. A probabilistic numericist places a Gaussian prior $\mathcal{N}(0, \Sigma_0)$ over the latent vector $x$.
The linear equation itself is treated as an information operator $\mathcal{I}(x) = Ax = b$, representing an infinite data source mapping the unknown latent $x$ to the known observation $b$. Because processing all rows of $A$ is computationally intractable, the algorithm projects the information operator onto a low-dimensional subspace spanned by a policy matrix $S_N$:
$$\tilde{b}_N = S_N^T b, \quad Y_N^T = S_N^T A$$
Conditioning the Gaussian prior on this projected observation yields a tractable Gaussian posterior distribution over $x$:
$$x \mid \mathcal{I}_{\text{proj}} \sim \mathcal{N}(\mu_N, \Sigma_N)$$
where the posterior covariance $\Sigma_N$ contracts via rank-one updates corresponding to the chosen policy (e.g., Gram-Schmidt vectors).
When scaling to differential equations, such as the stationary Poisson equation ($\nabla^2 u = f$) modelling heat distribution in a CPU, the latent quantity is an infinite-dimensional function (modeled as a Gaussian process). Because linear differential operators (differentiation, integration) preserve Gaussianity, the joint distribution between the unknown function $u$, the PDE residual, boundary conditions, and sensor observations remains analytically tractable.
For non-linear problems—such as the Monod reaction kinetics governing microbial oil consumption in a harbor simulation ($\frac{\mu U}{K_s + U}$)—exact conjugacy is lost. To handle non-linear information operators, the framework employs a Laplace approximation: computing the Maximum A Posteriori (MAP) estimate via Gauss-Newton linearization, followed by a Gaussian approximation centered at the MAP with a covariance given by the inverse Hessian.
Experimental Setup & Results
▶ Watch: Scaling up: Vecchia approximations and hierarchical models (98:00)
The tutorial validates these theoretical principles using implementations in Julia (leveraging packages such as functionalGPs.jl, Latte.jl, and standard probabilistic programming libraries).
- 1D & 2D Heat Conduction (CPU Simulation): Modeled a 3D CPU die with 8 discrete temperature sensors. By chaining a Matérn Gaussian process prior, weak-form finite element discretizations of the Poisson equation, Neumann boundary conditions, and physical stationarity constraints (total heat generated equals total heat dissipated), the framework successfully recovered the temperature distribution and inferred unknown heat source/sink distributions. Uncertainty estimates correctly bounded the true physical errors.
- Jinhae Bay Oil Spill Inverse Problem: Addressed a real-world scientific machine learning scenario involving an advection-diffusion-reaction PDE in a South Korean harbor.
- Datasets & Baselines: Synthetic sensor networks ($S_1$ through $S_6$) combined with boundary observations and physical forcing terms.
- Hardware & Scaling: Evaluated spatial grid scaling. Dense Cholesky factorization on a $300 \times 300$ grid ($90,000$ degrees of freedom) demands $65\text{ GB}$ of RAM and minutes of compute. Applying Vecchia sparse precision approximations reduced memory consumption to $2\text{ MB}$ while preserving spatial correlation fidelity via local screening effects.
- Inference Runtime: Using Integrated Nested Laplace Approximations (INLA) via
Latte.jl, full Bayesian hierarchical inference over leak coordinates $(\theta_x, \theta_y)$ executed in $14\text{ seconds}$, yielding sharp unimodal posterior marginals as sensor density increased. - Temporal Evolution: Modeled time-dependent advection-diffusion using space-time Kronecker products of tridiagonal precisions and spatial Vecchia approximations, equivalent to multi-dimensional Kalman smoothing, enabling real-time trajectory simulation and uncertainty quantification.
Practical Implications
▶ Watch: Conclusion, community, and wrap-up (116:00)
For infrastructure teams, model builders, and systems engineers, probabilistic numerics shifts how computational resources are allocated.
- Tradeoffs in Precision vs. Compute: Traditional ML pipelines waste massive compute running solvers to tight machine-precision tolerances ($10^{-16}$) when downstream model weights have high empirical variance. PN allows engineers to match computational error to statistical uncertainty, stopping iterative solvers early once computational noise drops below empirical data noise.
- Limitations: Setting up probabilistic numerical models requires encoding explicit domain knowledge (kernels, boundary conditions, weak-form operators). While computer algebra systems and probabilistic programming languages (
Latte.jl) automate much of the boilerplate, constructing custom non-linear operators still demands mathematical rigor and human oversight. - Deployment Value: Deploying PN in safety-critical simulation (such as structural mechanics, fluid dynamics, or chip thermal design) provides robust out-of-distribution and error awareness. Systems no longer output fragile point estimates; they return full probability distributions over physical states, enabling risk-aware decision-making.
Key Takeaways
- Computation is Data: Numerical algorithms are not isolated mathematical routines; they are active inference agents that process information sources and generate epistemic uncertainty.
- Anytime Solvers: By framing matrix decompositions and iterative solvers as Bayesian updates, standard linear algebra routines become "anytime" algorithms capable of returning calibrated probability distributions at any step.
- Inherited Priors: Probabilistic numerics eliminates the need to hand-craft computational priors by inheriting calibration directly from surrounding empirical Bayesian machine learning pipelines.
- Scalable Sparse Inference: Through Vecchia approximations and GMRF/Kalman structures, probabilistic numerical methods scale efficiently to high-dimensional spatial-temporal PDEs without incurring cubic computational bottlenecks.
- Unified Modeling Language: A single abstract framework—unifying latent priors, information operators, discretization policies, and quantities of interest—governs optimization, quadrature, ODEs, and PDEs alike.
About the Speaker(s)
Authors: Philipp Hennig, Marvin Pförtner, Tim Weiland.
Reviews
→ Top-rated talks at International Conference on Machine Learning 2026
All talks from International Conference on Machine Learning 2026