arXiv:2610.25297cs.GROct 2026

Manuscript Offprint

arXiv:2610.25297

Walk in Envelopes: Efficient Branching Walk-on-Spheres via Certified Solution Bounds

Yunfeng Liao, Zhenhao Qiu, Xinyang Chen, Xiucheng Li

YUNFENG LIAO, ZHENHAO QIU, XINYANG CHEN, and XIUCHENG LI, Harbin Institute of Technology (Shenzhen), China

Figure

Fig. 1. Walk in Envelopes (WiE) transforms branching WoS using certified lower and upper solution bounds. By reparameterizing the solution within a spatially varying envelope, WiE redistributes the original branching mechanism into splitting, return-0, and return-1 events, enabling early termination and pruning of redundant branches while preserving the target solution. The resulting computation trees are substantially smaller than those of conventional branching WoS.

Branching Walk-on-Spheres (WoS) solves semilinear PDEs without meshes, but its computational cost grows sharply near critical branching rates. We introduce Walk in Envelopes (WiE), which uses certified solution bounds to transform branching diffusion rather than prune existing trees. The transformation suppresses reproduction, introduces controlled termination, and preserves unbiasedness with an envelope-dependent variance bound. We realize the transformed process through exact rejection sampling using standard screened WoS kernels, supported by certified spline envelopes and adaptive sampling and further prove that suitable harmonic envelopes yield bounded expected reproduction counts even as conventional BBM diverges.

Additional Key Words and Phrases: Walk-on-Spheres, Branching Brownian Motion, Semilinear PDEs, Certified Solution Bounds, Monte Carlo Methods

1 Introduction

Grid-free Monte Carlo methods have become an attractive alternative to mesh-based PDE solvers, enabling pointwise solution queries on complex domains without constructing a global discretization [Sawhney and Crane 2020]. While Walk-on-Spheres (WoS) efficiently resolves linear elliptic equations through boundary-hitting processes, extending this paradigm to semilinear PDEs requires handling nonlinear reactions. Branching Brownian motion (BBM) provides a natural probabilistic representation by replacing nonlinear terms with particle reproduction events [Agarwal and Claisse 2020]. Combined with WoS, this yields a grid-free solver for semilinear equations. However, eliminating Brownian time discretization does not eliminate branching complexity: each offspring initiates additional walks, and the expected particle population diverges as the branching intensity approaches a critical spectral threshold. This makes otherwise valid stochastic representations increasingly expensive precisely in strongly nonlinear regimes.

A natural strategy is to exploit approximate solution information to terminate branches whose remaining contributions are sufficiently small. Yet such pruning requires reliable bounds on unresolved subtrees, whose evaluation can itself be expensive. Approximate bounds may also introduce bias, while tighter estimates do not necessarily offset their computation costs. More fundamentally, pruning acts on a branching process that has already been generated, rather than preventing unnecessary reproduction. This motivates a different question: can certified solution information be used to construct an equivalent stochastic process that branches less frequently, without sacrificing correctness?

We introduce Walk in Envelopes (WiE), a branching WoS framework that transforms the stochastic representation using certified lower and upper solution envelopes. Given sub- and supersolutions ℓ≤u≤a\ell \leq u \leq a, we normalize the unknown solution as v=(u−ℓ)/(a−ℓ)v = (u - \ell)/(a - \ell). This induces a generalized Doob transform whose diffusion, reproduction, and termination mechanisms are determined by the envelope functions. For binary branching, the reproduction rate becomes λ(a−ℓ)\lambda(a - \ell), while envelope residuals introduce additional success and failure termination events. The resulting estimator remains unbiased and has variance bounded by (a−ℓ)2/4(a - \ell)^2/4. Moreover, we characterize its expected reproduction count through an elliptic equation, showing that a suitable harmonic envelope can keep this count uniformly bounded even as conventional BBM approaches

Authors' Contact Information: Yunfeng Liao; Zhenhao Qiu; Xinyang Chen; Xiucheng Li, Harbin Institute of Technology (Shenzhen), Shenzhen, Guangdong, China.

Liao and Li

its critical divergence threshold. Although branching-process transformations have established mathematical foundations [Engländer 2007], WiE develops them into a certified computational framework for semilinear PDE solving.

The transformed process introduces spatially varying diffusion, which would ordinarily require simulating drifted trajectories. We avoid this difficulty by deriving an exact envelope-aware transition using the original screened WoS exit and Green kernels. Rejection sampling with certified local majorants realizes the transformed distribution without evaluating weighted kernel integrals. To obtain useful envelopes efficiently, we develop monotone refinement of cubic B-spline sub- and supersolutions, using Bernstein constraints to certify PDE inequalities throughout the domain by comparison principle. Adaptive screening, spatially localized rejection bounds, and lazy evaluation further reduce sampling overhead, while a spectral-workload criterion avoids unnecessary preprocessing in inexpensive regimes.

We evaluate WiE on four complex two-dimensional domains across branching intensities and accuracy requirements. Near criticality, WiE achieves 6.9–16.2×6.9–16.2\times improvements in time–variance efficiency and 4.7–14.6×4.7–14.6\times reductions in sampling time at matched accuracy, excluding one-time envelope construction. Its benefits increase with branching intensity, while a workload-aware fallback preserves the efficiency of conventional BBM in easier regimes. We additionally demonstrate extensions to projected walks on manifolds and semilinear parabolic equations.

Our main contributions are:

  • A certified envelope transformation of branching diffusion, with unbiased estimation, variance guarantees, and a spectral characterization of near-critical branching complexity.

  • An exact envelope-aware WoS sampler using existing screened kernels, without explicitly simulating transformed diffusion.

  • A practical solver combining certified spline-envelope refinement, efficient rejection sampling, and workload-aware fallback, with substantial near-critical acceleration.