Backward Filtering Forward Guiding
Frank van der Meulen, Moritz Schauer, Stefan Sommer
TL;DR
This paper develops Backward Filtering Forward Guiding (BFFG), a general methodology for Bayesian smoothing of latent trajectories on directed acyclic graphs with leaf-only observations, applicable to both discrete- and continuous-time dynamics. It combines a backward information filter that computes likelihood-informed potentials with a forward guided process obtained via an exponential change of measure, enabling tractable sampling and unbiased posterior estimation of latent paths. The framework is designed to be compatible with MCMC and particle-filtering methods and extensible to general DAGs, with demonstrations across discrete kernels, continuous-time dynamics, and branching structures such as trees. The numerical illustrations include diffusion processes on trees and parameter-estimation experiments, highlighting BFFG’s potential for probabilistic programming and complex stochastic dynamics in domains like phylogenetics and shape analysis.
Abstract
We develop a general methodological framework for probabilistic inference in discrete- and continuous-time stochastic processes evolving on directed acyclic graphs (DAGs). The process is observed only at the leaf nodes, and the challenge is to infer its full latent trajectory: a smoothing problem that arises in fields such as phylogenetics, epidemiology, and signal processing. Our approach combines a backward information filtering step, which constructs likelihood-informed potentials from observations, with a forward guiding step, where a tractable process is simulated under a change of measure constructed from these potentials. This Backward Filtering Forward Guiding (BFFG) scheme yields weighted samples from the posterior distribution over latent paths and is amenable to integration with MCMC and particle filtering methods. We demonstrate that BFFG applies to both discrete- and continuous-time models, enabling probabilistic inference in settings where standard transition densities are intractable or unavailable. Our framework opens avenues for incorporating structured stochastic dynamics into probabilistic programming. We numerically illustrate our approach for a branching diffusion process on a directed tree.
