Skip to main content
QUICK REVIEW

[Paper Review] Flow Matching for Scalable Simulation-Based Inference

Maximilian Dax, Jonas Wildberger|arXiv (Cornell University)|May 26, 2023
Model Reduction and Neural NetworksPhysics and Astronomy9 citations
TL;DR

FMPE applies flow matching with continuous normalizing flows to simulation-based inference, enabling unconstrained architectures, tractable densities, and scalable performance; it achieves competitive benchmarks and superior gravitational-wave inference with faster training.

ABSTRACT

Neural posterior estimation methods based on discrete normalizing flows have become established tools for simulation-based inference (SBI), but scaling them to high-dimensional problems can be challenging. Building on recent advances in generative modeling, we here present flow matching posterior estimation (FMPE), a technique for SBI using continuous normalizing flows. Like diffusion models, and in contrast to discrete flows, flow matching allows for unconstrained architectures, providing enhanced flexibility for complex data modalities. Flow matching, therefore, enables exact density evaluation, fast training, and seamless scalability to large architectures--making it ideal for SBI. We show that FMPE achieves competitive performance on an established SBI benchmark, and then demonstrate its improved scalability on a challenging scientific problem: for gravitational-wave inference, FMPE outperforms methods based on comparable discrete flows, reducing training time by 30% with substantially improved accuracy. Our work underscores the potential of FMPE to enhance performance in challenging inference scenarios, thereby paving the way for more advanced applications to scientific problems.

Motivation & Objective

  • Motivate neural posterior estimation for complex scientific models via scalable, exact-density SBI.
  • Introduce flow matching posterior estimation (FMPE) for SBI using continuous normalizing flows.
  • Show that FMPE offers mass-covering posteriors and scalable training to large architectures.
  • Demonstrate FMPE performance on SBI benchmarks and gravitational-wave inference, with practical training-time gains.

Proposed method

  • Adopt flow-matching to Bayesian inference, replacing log-likelihood training with a sample-conditional flow-matching objective (FMPE loss).
  • Use a vector-field parameterization v_t,x to define deterministic sample trajectories via ODEs.
  • Train with a sample-conditional path p_t(θ|θ1) and a corresponding vector field u_t(θ|θ1); minimize L_FMPE = E[...] ||v_t,x(θ_t) − u_t(θ_t|θ1)||^2.
  • Provide an architecture that processes high-dimensional x to parameter-space conditioning for θ, with t-conditioning via gated linear units.
  • Allow time-prior re-weighting with p_α(t) to emphasize certain t regions; use Bayes’ theorem to train via data simulated from p(θ)p(x|θ).
  • Demonstrate mass-covering properties and theoretical bounds relating MSE between vector fields to KL divergence under regularity assumptions.

Experimental results

Research questions

  • RQ1Can FMPE approximate the true posterior p(θ|x) in SBI with tractable density evaluation?
  • RQ2Does FMPE provide mass-covering posteriors, preserving support of p(θ|x) across benchmark tasks?
  • RQ3How does FMPE scale in high-dimensional x and larger networks compared to discrete normalizing flows?
  • RQ4What benefits does FMPE offer in a challenging scientific application such as gravitational-wave inference compared with NPE?

Key findings

  • FMPE achieves competitive performance to NPE on SBI benchmarks and improves in several tasks, with clear mass-covering behavior.
  • FMPE yields tractable densities and supports unconstrained architectures, enabling larger networks and better scaling.
  • In gravitational-wave inference, FMPE substantially outperforms NPE in accuracy and training efficiency, reducing training time by about 30% while improving posterior quality.
  • FMPE posteriors for GW150914 attain a Jensen-Shannon divergence close to or on par with symmetry-enhanced methods like GNPE, demonstrating practical accuracy gains.
  • Empirical analysis shows FMPE yields mass-covering posteriors across benchmark tasks, with density estimates that cover reference posteriors.

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.