Markovian Flow Matching: Accelerating MCMC with Continuous Normalizing Flows

A. Cabezas, Louis Sharrock, Christopher Nemeth
2/3/2026

No official code found. Best implementation: albcab/mfm (14 stars, last commit 2024-05-23).

Abstract

Continuous normalizing flows (CNFs) learn the probability path between a reference distribution and a target distribution by modeling the vector field generating said path using neural networks. Recently, Lipman et al. (2022) introduced a simple and inexpensive method for training CNFs in generative modeling, termed flow matching (FM). In this paper, we repurpose this method for probabilistic inference by incorporating Markovian sampling methods in evaluating the FM objective, and using the learned CNF to improve Monte Carlo sampling. Specifically, we propose an adaptive Markov chain Monte Carlo (MCMC) algorithm, which combines a local Markov transition kernel with a non-local, flow-informed transition kernel, defined using a CNF. This CNF is adapted on-the-fly using samples from the Markov chain, which are used to specify the probability path for the FM objective. Our method also includes an adaptive tempering mechanism that allows the discovery of multiple modes in the target distribution. Under mild assumptions, we establish convergence of our method to a local optimum of the FM objective. We then benchmark our approach on several synthetic and real-world examples, achieving similar performance to other state-of-the-art methods, but often at a significantly lower computational cost.

View on arXivView PDF

Code Implementations(1)

albcab/mfmCommunity100%

Code to reproduce experiments in Markovian Flow Matching: Accelerating MCMC with Continuous Normalizing Flows

140PythonMay 23, 20242 years ago

Similar Papers

Cite this paper

@article{cabezas2026markovian,
  title  = {Markovian Flow Matching: Accelerating MCMC with Continuous Normalizing Flows},
  author = {A. Cabezas and Louis Sharrock and Christopher Nemeth},
  year   = {2026},
  eprint = {2405.14392},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.14392},
  url    = {https://arxiv.org/abs/2405.14392},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.14392.svg)](https://codeofpaper.com/paper/2405.14392)

Discussion