NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Single-seed generation of Brownian paths and integrals for adaptive and high order SDE solvers

Andraž Jelinčič, James Foster, Patrick KidgerarXiv 2024

TL;DR

This paper introduces an extended version of the Virtual Brownian Tree (VBT) that generates both Brownian motion increments and their time-integrals (Lévy areas) non-chronologically from a single random seed. By providing stateless, query-independent path generation with a constant memory footprint, this method unlocks the practical use of high-order, adaptive time-stepping solvers for Stochastic Differential Equations (SDEs). The implementation is open-source and available within the popular JAX-based library, Diffrax.

What Problem Does This Paper Address?

Simulating Stochastic Differential Equations (SDEs) with adaptive time-stepping is notoriously difficult. In standard Ordinary Differential Equation (ODE) simulation, if an adaptive solver detects too much error, it simply backtracks and tries a smaller step size. For SDEs, however, backtracking means the solver must sample a new Brownian motion value that is properly conditioned on all previously generated values.

Figure 1: An SDE solver is a deterministic function from a Brownian path to an SDE trajectory [FJ24].

To do this without massive memory overhead, researchers use non-chronological Brownian generators like the Virtual Brownian Tree (VBT). But there is a second catch: to achieve a high order of convergence (accuracy), advanced SDE solvers require not just the values of the Brownian path, but also its time-integrals (known as space-time and space-time-time Lévy areas). Prior VBT implementations could only generate basic Brownian increments and were mathematically precise only at specific "dyadic" (halved) time intervals, rendering them incompatible with high-order adaptive solvers.

Methods

The authors overcome these limitations by expanding the VBT framework to simultaneously simulate Brownian increments and their higher-order time integrals ($H$ and $K$).

Key methodological innovations include:

  • Advanced Brownian Bridge Interpolation: The authors derived new midpoint formulas and general interpolation rules based on Chen's relation to exactly match the joint distribution of Brownian motion and its time integrals at any arbitrary query times, moving past the dyadic constraints of the original VBT.
  • Splittable PRNGs: The tree structure uses pseudo-random number generator (PRNG) splitting, meaning the entire infinite path is deterministically fixed by a single 64-bit seed. The algorithm reconstructs path segments on-the-fly via binary search, keeping memory usage at $O(1)$.
  • Interval Normalisation: The algorithm internally maps the user's time interval $[t_0, t_1]$ to $[0, 1]$. This ensures all tree nodes land perfectly on exact dyadic floating-point rationals, speeding up computation by roughly 20% and eliminating catastrophic numerical cancellation errors.
Figure 2: An illustration of the original Brownian Tree by [GL97] (image from [FJ24]).

Datasets

The method was evaluated using:

  • Synthetic Benchmarks: The Cox-Ingersoll-Ross (CIR) model (a standard financial model for interest rates) and Neal's Funnel (a notoriously challenging geometry for Markov Chain Monte Carlo sampling).
  • Real-World MCMC Datasets: 13 datasets from prior literature spanning dimensionalities from $d=3$ to $d=61$ (e.g., "flare solar", "splice"), alongside the high-dimensional Isolet spoken letter database ($d=617$) configured for a Bayesian logistic regression task.

Key Insights and Ideas

  • Statelessness is a Superpower: Because the path is query-independent and uniquely determined by the seed, different numerical solvers can query the exact same underlying Brownian motion path at completely different adaptive time steps without communicating or storing history. This makes strong error estimation and parallelized GPU experiments exceptionally clean.
  • Solving the Non-Dyadic Precision Gap: By establishing exact pathwise joint distributions for any query times separated by at least the tolerance parameter $\varepsilon$, the authors fixed the statistical inaccuracies that plagued previous VBT implementations when dealing with arbitrary step sizes.

Key Results

  • CIR Model Simulation: When simulating a high-volatility CIR model, the new adaptive high-order solver (HoSts) achieved more than twice the convergence order of standard constant time-stepping methods.
  • Langevin Monte Carlo (MCMC): Applied to Neal's Funnel, the adaptive third-order Langevin solver enabled by this VBT significantly outperformed the industry-standard No U-Turn Sampler (NUTS), matching its accuracy while requiring only a tenth of the function/gradient evaluations (88.6 vs 733.7 evaluations per sample).
  • High-Dimensional Scaling: On high-dimensional real-world datasets like splice and isolet, the adaptive high-order approach consistently converged to the ground-truth target distributions faster and with fewer gradient evaluations than NUTS.

Limitations and Future Work

  • Resolution Limit: The algorithm requires a pre-specified tolerance parameter $\varepsilon$. The time complexity scales logarithmically with this parameter ($O(\log \varepsilon)$), and query points must be at least $\varepsilon$ apart to guarantee exact joint distributions.
  • Sample Density Constraint: The proof of exact distribution assumes that at most one sample point is queried between any two consecutive dyadic points in the tree. If queries are packed tighter than this, the joint distribution is no longer perfectly exact.

Future directions highlighted by the authors include applying this single-seed generation technique to Multilevel Monte Carlo (MLMC) methods and exploring chain couplings to estimate MCMC stationarity at finite times.

Summary updated

BibTeX
@misc{jelincic2024single,
  author = {Andraž Jelinčič and James Foster and Patrick Kidger},
  title = {{Single-seed generation of Brownian paths and integrals for adaptive and high order SDE solvers}},
  year = {2024},
  eprint = {2405.06464},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.06464},
}
Figure