Walk-on-Spheres Monte Carlo and deep neural network approximations of elliptic PDEs with drift and killing

arXiv:2608.09494 · math.NA, cs.LG, cs.NA, math.AP, math.PR · Submitted 2026-08-10 · Read on arXiv

Konrad Kleinberg, Thomas Kruse

University of Wuppertal

math.NA, cs.LG, cs.NA, math.AP, math.PR

Submitted: 2026-08-10

Updated: 2026-08-11

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Importance score: 100/100

The gist: The paper "Walk-on-Spheres Monte Carlo and deep neural network approximations of elliptic PDEs with drift and killing" by Konrad Kleinberg and Thomas Kruse addresses the numerical approximation of

Terminology

Summary

The paper Walk-on-Spheres Monte Carlo and deep neural network approximations of elliptic PDEs with drift and killing by Konrad Kleinberg and Thomas Kruse addresses the numerical approximation of solutions to linear elliptic partial differential equations (PDEs) with constant diffusion, drift, and killing terms. The authors develop Monte Carlo estimators and deep neural network (ANN) approximations for stochastic representations of these solutions, building upon a modified Walk-on-Spheres (WoS) algorithm introduced by Beznea et al. (arXiv:2209.01432). The primary goal is to provide error and complexity analyses that demonstrate the methods can overcome the curse of dimensionality under suitable assumptions.

The paper focuses on approximating functions w: D to R of the form:

[

w(x) = E[h 0(tau x, x + B tau x)] + E [integral 0 tau x h 1(s, x + B s) ds], x in D,

]

where D R d is open, bounded, and convex, h 0, h 1 are bounded and Lipschitz continuous, B is a standard d-dimensional Brownian motion, and tau x is the first exit time of x + B from D. These expectations arise naturally in stochastic representations of solutions to elliptic drift-diffusion PDEs of the form:

[

1 over 2 tr(sigma sigma D squared u) + b, grad u - r u + f = 0 on D, u d D = g,

]

where sigma in R d times d, b in R d, r in [0, infinity), f: D to R, and g: d D to R.

The authors establish a Girsanov-based Feynman-Kac representation connecting the PDE solution to the expectation form. In Proposition 2.2, they show that under suitable assumptions, the solution u satisfies:

[

u(x) = E [e-(r+ 1 over 2 sigma-1b 2) tau x + sigma-1b, B tau x g(x + sigma B tau x)] + E [integral 0 tau x e-(r+ 1 over 2 sigma-1b 2)s + sigma-1b, B s f(x + sigma B s) ds].

]

They note that by a transformation (Remark 2.4), it suffices to consider the case sigma = I d. In Remark 2.5, they establish the relation u(x) = e- b, x w(x) for x in D, where h 0(t, x) = e-(r+ 1 over 2b 2)t + b, x g(x) and h 1(t, y) = e-(r+ 1 over 2b 2)t + b, y f(y).

The core of the paper is the analysis of a modified Walk-on-Spheres algorithm. The authors introduce a class of modified distance functions (Definition 3.3), which are (beta, delta) -distances on D, satisfying (y) r(y) and (x) beta r(x) for all x, y in D with r(x) delta, where r(x) is the distance to the boundary. The WoS process is defined via:

[

k x,j = k-1 x,j + (k-1 x,j) xi k j,

]

with xi k j uniformly distributed on the unit sphere, and the corresponding exit times:

[

k x,j = k-1 x,j + 2(k-1 x,j) rho k j,

]

where rho k j are i.i.d. copies of the first exit time of a Brownian motion from the unit ball.

A key distributional property is established in Lemma 3.4, showing that (k x,j, k x,j) and (tau k x, x + B tau k x) are identically distributed. Lemma 3.7 provides a crucial tail probability estimate for the number of steps delta x,1 needed to reach the delta-boundary layer:

[

P(delta x,1 M) 2 (1 + beta squared delta squared over 2 diam(D) squared)-M.

]

Lemma 3.9 establishes a WoS-based representation of the expectation (1), incorporating sampled random times (V k, Y k) from a probability measure mu related to the time-space occupation of Brownian motion in the unit ball.

The main Monte Carlo estimator is given by:

[

(x) = 1 over n sum i=1 n [h 0(M x,i, M x,i) + 1 over d sum k=1 M (k-1 x,i) squared h 1 (k-1 x,i + (k-1 x,i) squared V k i, k-1 x,i + (k-1 x,i) Y k i)],

]

where n is the number of sample paths and M is the deterministic number of steps.

The error analysis is presented in Section 4. Lemma 4.1 provides a bias estimate for the boundary term, showing:

[

w(x) - E[(x)] L 1 diam(D) delta + L 2 d 1/2 diam(D) 1/2 delta 1/2 + 4h infinity (1 + beta squared delta squared over 2 diam(D) squared)-M.

]

Lemma 4.2 provides a bias estimate for the integral term:

[

w(x) - E[(x)] h infinity diam(D) (2 diam(D) squared over d (1 + beta squared delta squared over 2 diam(D) squared)-M + delta).

]

Lemma 4.3 establishes a concentration inequality via Hoeffding's inequality:

[

P[(x) - E[(x)] t] 2 (-nt squared over 2 (h 0 infinity + M diam(D) squared h 1 infinity over d) squared).

]

Lemma 4.6 provides Lipschitz continuity estimates for the estimator, and Lemma 4.8 provides a general expectation bound for random variables with exponential tail probabilities.

The main result of Section 4 is Theorem 4.9, which provides a comprehensive L infinity-error bound:

[

E [x in Dw(x) - (x)](a sum of terms involving delta, M, n, K, d, and various constants).

]

Corollary 4.10 then shows that for a prescribed accuracy epsilon in (0,1), by choosing delta, M, and n appropriately, one achieves E[x in Dw(x) - (x)] epsilon, with sample complexity n, M c d q epsilon-q, where q is an absolute constant and c depends polynomially on problem parameters.

Section 5 addresses ANN approximations. The authors adopt the framework of fully-connected feed-forward ANNs with ReLU activation. Lemma 5.2 provides an ANN approximation of the product function. Lemma 5.3 constructs ANNs to represent the WoS process, and Lemma 5.4 constructs ANNs to approximate the exit times. Lemma 5.5 combines these to approximate the Monte Carlo estimator.

The main ANN approximation result is Theorem 5.6, which states that under suitable assumptions—including that the boundary data h can be represented by an ANN and the distance function r can be approximated by ANNs with polynomial complexity—there exists an ANN epsilon such that:

[

x in Dw(x) - (R(epsilon))(x) epsilon

]

and

[

P(epsilon) c epsilon-q,

]

where q is an absolute constant and c depends polynomially on diam(D), (R(h)), L 1, L 2, P(h), C, and d. This demonstrates that the ANN approximation overcomes the curse of dimensionality when the problem parameters grow at most polynomially in the dimension.

In Remark 5.7, the authors discuss the implications of Theorem 5.6, noting that the polynomial dependence on the dimension and the inverse accuracy implies a curse of dimensionality relief. They also mention that the assumptions can be weakened (e.g., approximating h rather than representing it exactly) and that the results can be extended to include non-zero h 1.

Improvements for AI systems

Based on this paper, here are the specific improvements I can make to AI systems:

  • Improvement: Implement the modified Walk-on-Spheres Monte Carlo estimator with the explicit error bounds (Theorem 4.9) and sample complexity guarantees (Corollary 4.10) as a drop-in module for solving elliptic PDEs with drift and killing terms.

  • Capability: The AI system can now solve high-dimensional PDEs (e.g., d = 100+) with rigorous accuracy guarantees, knowing that sample complexity scales polynomially (not exponentially) in dimension—something standard grid-based or naive Monte Carlo methods cannot offer.

  • Improvement: Train feed-forward ReLU ANNs using the architecture prescribed in Theorem 5.6, which guarantees both uniform approximation error ≤ ε and network size P(Ψ ε) ≤ c·ε(-q) with polynomial dependence on problem parameters.

  • Capability: The AI system can generate certified neural surrogates that are provably accurate across the entire domain D, not just at training points. This enables safe deployment in engineering design, control, or inverse problems where worst-case errors matter.

  • Improvement: Use Lemma 3.7's tail probability estimate to design adaptive stopping rules for the WoS walk, dynamically choosing the number of steps M based on the desired accuracy and the current distance-to-boundary distribution.

  • Capability: The AI system can automatically balance computational cost vs. accuracy in real-time, avoiding wasteful oversampling while maintaining rigorous bias bounds—useful for interactive simulation tools or real-time risk assessment.

  • Improvement: Integrate Lemma 4.3's Hoeffding-type concentration inequality into the AI system's uncertainty reporting, providing explicit confidence intervals for PDE solutions at any point x.

  • Capability: The system can output not just point estimates but rigorous confidence bands (e.g., with probability 95%, the solution at x is within ±0.01), enabling reliable decision-making in safety-critical applications like medical imaging or financial option pricing.

  • Improvement: Implement the Girsanov-based Feynman-Kac representation (Proposition 2.2) and the transformation u(x) = e(-⟨b,x⟩)w(x) (Remark 2.5) as a preprocessing step, allowing the solver to handle arbitrary drift b and killing rate r without re-deriving the algorithm.

  • Capability: The AI system can now tackle a wider class of elliptic PDEs (e.g., convection-diffusion-reaction equations) with the same computational machinery, making it a versatile tool for physics-informed machine learning.

  • Improvement: Use the explicit dependence on dimension d in the error bounds (e.g., the d(1/2) term in Lemma 4.1 and the d(-1) factor in Lemma 4.2) to automatically tune δ, M, and n as functions of d.

  • Capability: The system can predict and allocate computational resources (memory, time) based on the problem dimension, avoiding over-engineering for low-d problems and under-engineering for high-d ones.

  • Improvement: Leverage the WoS-based representation of the integral term (Lemma 3.9) with the sampled random times (V k, Y k) to replace expensive numerical quadrature in high dimensions with cheap stochastic sampling, while maintaining the bias bound in Lemma 4.2.

  • Capability: The AI system can handle PDEs with non-zero source terms f(x) more efficiently than deterministic quadrature, which suffers from exponential cost in d.

  • Improvement: Use the Monte Carlo estimator's outputs (and their Lipschitz properties from Lemma 4.6) as training data and regularization targets for the ANN in Theorem 5.6, ensuring the network inherits the estimator's smoothness.

  • Capability: The AI system can train neural PDE solvers faster and with better generalization, since the WoS samples provide high-quality, noise-aware training signals that respect the PDE's stochastic structure.

  • Improvement: Exploit the flexibility of the (β, δ)-distance functions (Definition 3.3) to handle non-smooth or non-convex domains by choosing appropriate modified distances, as long as the β and δ conditions hold.

  • Capability: The system can solve PDEs on more realistic engineering geometries (e.g., with corners or thin features) without losing the theoretical guarantees, broadening applicability beyond simple balls or boxes.

  • Improvement: Implement an optimizer that uses the explicit error decomposition in Theorem 4.9 to automatically select (δ, M, n) that minimizes total error for a given computational budget, rather than relying on heuristics.

  • Capability: The AI system can self-configure its solver settings for new problems, achieving near-optimal accuracy-per-compute ratios—useful for automated scientific discovery pipelines where many PDEs must be solved sequentially.

Sources

Related papers