[Paper Review] HJ-sampler: A Bayesian sampler for inverse problems of a stochastic process by leveraging Hamilton-Jacobi PDEs and score-based generative models
This paper introduces HJ-sampler, a novel Bayesian inference algorithm for inverse problems in stochastic processes by leveraging Hamilton-Jacobi PDEs and score-based generative models. It formulates posterior sampling as a stochastic optimal control problem, enabling flexible, high-dimensional uncertainty quantification through two-stage computation: solving viscous HJ PDEs followed by trajectory sampling, with demonstrated accuracy in model misspecification and high-dimensional settings.
The interplay between stochastic processes and optimal control has been extensively explored in the literature. With the recent surge in the use of diffusion models, stochastic processes have increasingly been applied to sample generation. This paper builds on the log transform, known as the Cole-Hopf transform in Brownian motion contexts, and extends it within a more abstract framework that includes a linear operator. Within this framework, we found that the well-known relationship between the Cole-Hopf transform and optimal transport is a particular instance where the linear operator acts as the infinitesimal generator of a stochastic process. We also introduce a novel scenario where the linear operator is the adjoint of the generator, linking to Bayesian inference under specific initial and terminal conditions. Leveraging this theoretical foundation, we develop a new algorithm, named the HJ-sampler, for Bayesian inference for the inverse problem of a stochastic differential equation with given terminal observations. The HJ-sampler involves two stages: (1) solving the viscous Hamilton-Jacobi partial differential equations, and (2) sampling from the associated stochastic optimal control problem. Our proposed algorithm naturally allows for flexibility in selecting the numerical solver for viscous HJ PDEs. We introduce two variants of the solver: the Riccati-HJ-sampler, based on the Riccati method, and the SGM-HJ-sampler, which utilizes diffusion models. We demonstrate the effectiveness and flexibility of the proposed methods by applying them to solve Bayesian inverse problems involving various stochastic processes and prior distributions, including applications that address model misspecifications and quantifying model uncertainty.
Motivation & Objective
- To develop a new Bayesian sampling framework for inverse problems involving stochastic differential equations (SDEs) with terminal observations.
- To establish a theoretical link between Bayesian inference, stochastic optimal control, and score-based generative models through the log transform and Cole-Hopf-type transformations.
- To design a flexible algorithm that allows for diverse numerical solvers and generative model integration in posterior sampling.
- To address challenges in uncertainty quantification under model misspecification and high-dimensional state spaces.
- To enable sequential updating of posteriors through iterative application of the method with updated priors.
Proposed method
- The method formulates the posterior distribution of an SDE inverse problem as a solution to a viscous Hamilton-Jacobi (HJ) PDE, derived via a log transform of the Fokker-Planck equation.
- It introduces a novel connection between Bayesian inference and stochastic optimal control by treating the prior as a terminal condition and observations as an initial condition in the HJ framework.
- The HJ-sampler operates in two stages: (1) solving the viscous HJ PDE to compute the control, and (2) sampling optimal trajectories using the computed control.
- Two variants are proposed: the Riccati-HJ-sampler for analytically tractable cases and the SGM-HJ-sampler that uses score-based generative models (diffusion models) for the sampling stage.
- The framework is generalizable to any process with a well-defined infinitesimal generator, not limited to SDEs.
- The method supports flexible numerical solvers for the HJ PDE and integrates machine learning techniques for scalable inference in high dimensions.
Experimental results
Research questions
- RQ1Can the log transform framework be extended beyond the Cole-Hopf transform to unify Bayesian inference, stochastic optimal control, and score-based generative models?
- RQ2How can viscous Hamilton-Jacobi PDEs be used to represent posterior distributions in inverse problems for SDEs?
- RQ3To what extent can score-based generative models be integrated into a control-theoretic framework for posterior sampling?
- RQ4Can the HJ-sampler effectively quantify uncertainty in high-dimensional and misspecified models?
- RQ5How can the method be adapted for sequential inference with multiple observations and updated priors?
Key findings
- The SGM-HJ-sampler successfully generates 1,000 posterior samples for a 1D function-valued SDE, with posterior means closely tracking observed values at terminal time $ t = 0.9 $.
- At $ t = 0.9 $, uncertainty intervals (two standard deviations) are narrow, indicating high confidence near the terminal observation.
- As $ t $ decreases, the posterior mean becomes smoother, reflecting reduced confidence in earlier time points.
- For $ t = 0 $, the true reference values lie within the two-standard-deviation uncertainty regions, validating the method’s accuracy in uncertainty quantification.
- The HJ-sampler demonstrates robustness to model misspecification and can handle mixtures of certainty and uncertainty in ODE systems.
- The method generalizes beyond SDEs to any process with a well-defined infinitesimal generator, suggesting broad applicability to stochastic processes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.