mlsanityData to 7 Oct 2026

Sampling on Metric Graphs

arXiv 2512.02175 ↗First posted 1 Dec 2025math.NA cs.DC cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Metric graphs are structures obtained by associating edges in a standard graph with segments of the real line and gluing these segments at the vertices of the graph. The resulting structure has a natural metric that allows for the study of differential operators and stochastic processes on the graph. Brownian motions in these domains have been extensively studied theoretically using their generators. However, less work has been done on practical algorithms for simulating these processes. We introduce the first algorithm for simulating Brownian motions on metric graphs through a timestep splitting Euler-Maruyama-based discretization of their corresponding stochastic differential equation. By applying this scheme to Langevin diffusions on metric graphs, we also obtain the first algorithm for sampling on metric graphs. We provide theoretical guarantees on the number of timestep splittings required for the algorithm to converge to the underlying stochastic process. We also show that the exit probabilities of the simulated particle converge to the vertex-edge jump probabilities of the underlying stochastic differential equation as the timestep goes to zero. Finally, since this method is highly parallelizable, we provide fast, memory-aware implementations of our algorithm in the form of custom CUDA kernels that are up to ~8000x faster than a GPU implementation using PyTorch on simple star metric graphs. Beyond simple star graphs, we benchmark our algorithm on a real cortical vascular network extracted from a DuMuX tissue-perfusion model for tracer transport. Our algorithm is able to run stable simulations with timesteps significantly larger than the stable limit of the finite volume method used in DuMuX while also achieving speedups of up to ~1500x.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 8 of its 44 references that are in the map. First posted on arXiv 1 Dec 2025.

Builds on

8 of 44 references.

References · 8

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  2. 2017A Conceptual Introduction to Hamiltonian Monte Carlocited by 207
  3. 2018Mirrored Langevin Dynamicscited by 61
  4. 2013Langevin diffusions and the Metropolis-adjusted Langevin algorithmcited by 29
  5. 2022A Proximal Algorithm for Samplingcited by 21
  6. 2016GPU-accelerated Gibbs sampling: a case study of the Horseshoe Probit modelcited by 4
  7. 2015Scalable MCMC for Large Data Problems using Data Subsampling and the Difference Estimatorcited by 1
  8. 2019DuMux 3 -- an open-source simulator for solving flow and transport problems in porous media with a focus on model couplingcited by 1

Built on by

Not cited yet.