Generative Modeling with Flux Matching

Peter Pao-Huang, Xiaojie Qiu, Stefano Ermon
5/8/2026
1 citation
cs.LGcs.AI

Official code: peterpaohuang/flux_matching (71 stars, Python, MIT, last commit 2026-05-11).

Abstract

We introduce Flux Matching, a new paradigm for generative modeling that generalizes existing score-based models to a broader family of vector fields that need not be conservative. Rather than requiring the model to equal the data score, the Flux Matching objective imposes a weaker condition that admits infinitely many vector fields whose stationary distribution is the data.

Show full abstract

This flexibility enables a class of generative models that cannot be learned under score matching, in which inductive biases, structural priors, and properties of the dynamics can be directly imposed or optimized. We show that Flux Matching performs strongly on high-dimensional image datasets and, more importantly, that our added freedom unlocks a range of applications including faster sampling, interpretable and mechanistic models, and dynamics that encode directed dependencies between variables. More broadly, Flux Matching opens a new dimension in generative modeling by turning the vector field itself into a design choice rather than a fixed target. Code is available at https://github.com/peterpaohuang/flux_matching.

View on arXivView PDF

Code Implementations(1)

MIT

Generative Modeling with Flux Matching

712PythonMay 8, 20266 months agoMIT

Similar Papers

Cite this paper

@article{paohuang2026generative,
  title  = {Generative Modeling with Flux Matching},
  author = {Peter Pao-Huang and Xiaojie Qiu and Stefano Ermon},
  year   = {2026},
  eprint = {2605.07319},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.07319v1}
}

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/2605.07319.svg)](https://codeofpaper.com/paper/2605.07319)

Discussion