Skip to main content
QUICK REVIEW

[Paper Review] Automatic Backward Filtering Forward Guiding for Markov processes and graphical models

Frank van der Meulen, Moritz Schauer|arXiv (Cornell University)|Oct 7, 2020
Gaussian Processes and Bayesian InferenceComputer Science24 references5 citations
TL;DR

This paper introduces Automatic Backward Filtering Forward Guiding (BFFG), a framework for efficient Bayesian inference in probabilistic graphical models with latent Markov processes. By transforming a generative (forward) model into a data-guided approximation via backward filtering and change of measure, BFFG enables differentiable, structure-preserving sampling from the smoothing distribution—exact for linear models and applicable to nonlinear, continuous-time processes like SDEs, branching diffusions, and Gamma processes.

ABSTRACT

We incorporate discrete and continuous time Markov processes as building blocks into probabilistic graphical models with latent and observed variables. We introduce the automatic Backward Filtering Forward Guiding (BFFG) paradigm (Mider et al., 2021) for programmable inference on latent states and model parameters. Our starting point is a generative model, a forward description of the probabilistic process dynamics. We backpropagate the information provided by observations through the model to transform the generative (forward) model into a pre-conditional model guided by the data. It approximates the actual conditional model with known likelihood-ratio between the two. The backward filter and the forward change of measure are suitable to be incorporated into a probabilistic programming context because they can be formulated as a set of transformation rules. The guided generative model can be incorporated in different approaches to efficiently sample latent states and parameters conditional on observations. We show applicability in a variety of settings, including Markov chains with discrete state space, interacting particle systems, state space models, branching diffusions and Gamma processes.

Motivation & Objective

  • To enable efficient, automated inference in probabilistic graphical models with latent Markov processes and observed data.
  • To address the challenge of smoothing—sampling latent states conditional on observations—without modifying the DAG structure.
  • To provide a programmable, structure-preserving framework compatible with probabilistic programming and modern inference methods.
  • To extend existing backward filtering and Doob's h-transform methods to continuous-time and nonlinear processes.
  • To support differentiable inference via reparameterization and enable use in Hamiltonian Monte Carlo, particle methods, and variational inference.

Proposed method

  • Backward filtering propagates information from observed leaves to the root of the DAG to compute likelihood ratios.
  • A change of measure transforms the original generative model into a pre-conditional (guided) model using the backward filter output.
  • The guided model approximates the true posterior distribution of latent states and parameters given observations.
  • The framework supports both discrete and continuous-time Markov processes, including SDEs, Gamma processes, and branching diffusions.
  • The method enables reparameterization for gradient-based inference, such as Hamiltonian Monte Carlo and score-based optimization.
  • It supports pseudo-marginal Metropolis-Hastings by providing unbiased estimators of the likelihood ratio for intractable weights.

Experimental results

Research questions

  • RQ1How can we efficiently sample latent states in a probabilistic graphical model with latent Markov processes and observed data?
  • RQ2Can we construct a data-guided generative model that preserves the original DAG structure and enables differentiable inference?
  • RQ3How can backward filtering and change of measure be systematically applied to continuous-time and nonlinear Markov processes?
  • RQ4What is the relationship between the proposed BFFG framework and Doob’s h-transform or existing filtering algorithms?
  • RQ5Can the framework be integrated into modern inference engines like Hamiltonian Monte Carlo or particle MCMC without structural modifications?

Key findings

  • The BFFG framework provides an exact smoothing distribution for linear state space models, recovering the classical backward filtering forward sampling algorithm.
  • For nonlinear and non-reversible processes, BFFG offers a structure-preserving approximation to the true posterior with known likelihood ratio to the original model.
  • The method enables differentiable inference via reparameterization, allowing gradient estimation through the transformation $ G(Z) $, which supports Hamiltonian Monte Carlo.
  • The framework supports pseudo-marginal Metropolis-Hastings by providing unbiased estimators of the likelihood ratio, even when weights are intractable.
  • The approach is applicable to a wide range of processes, including continuous-time Markov chains, Poisson processes, Gamma processes, and stochastic differential equations.
  • The implementation is compatible with probabilistic programming, as the transformation rules are modular and composable, enabling integration into existing inference pipelines.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.