Improving Flow Matching by Aligning Flow Divergence

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Huang, Yuhao, Transue, Taos, Wang, Shih-Hsin, Feldman, William, Zhang, Hong, Wang, Bao
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866915766991847424
author Huang, Yuhao
Transue, Taos
Wang, Shih-Hsin
Feldman, William
Zhang, Hong
Wang, Bao
author_facet Huang, Yuhao
Transue, Taos
Wang, Shih-Hsin
Feldman, William
Zhang, Hong
Wang, Bao
contents Conditional flow matching (CFM) stands out as an efficient, simulation-free approach for training flow-based generative models, achieving remarkable performance for data generation. However, CFM is insufficient to ensure accuracy in learning probability paths. In this paper, we introduce a new partial differential equation characterization for the error between the learned and exact probability paths, along with its solution. We show that the total variation gap between the two probability paths is bounded above by a combination of the CFM loss and an associated divergence loss. This theoretical insight leads to the design of a new objective function that simultaneously matches the flow and its divergence. Our new approach improves the performance of the flow-based generative model by a noticeable margin without sacrificing generation efficiency. We showcase the advantages of this enhanced training approach over CFM on several important benchmark tasks, including generative modeling for dynamical systems, DNA sequences, and videos. Code is available at \href{https://github.com/Utah-Math-Data-Science/Flow_Div_Matching}{Utah-Math-Data-Science}.
format Preprint
id arxiv_https___arxiv_org_abs_2602_00869
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Improving Flow Matching by Aligning Flow Divergence
Huang, Yuhao
Transue, Taos
Wang, Shih-Hsin
Feldman, William
Zhang, Hong
Wang, Bao
Machine Learning
Artificial Intelligence
Numerical Analysis
68T07
Conditional flow matching (CFM) stands out as an efficient, simulation-free approach for training flow-based generative models, achieving remarkable performance for data generation. However, CFM is insufficient to ensure accuracy in learning probability paths. In this paper, we introduce a new partial differential equation characterization for the error between the learned and exact probability paths, along with its solution. We show that the total variation gap between the two probability paths is bounded above by a combination of the CFM loss and an associated divergence loss. This theoretical insight leads to the design of a new objective function that simultaneously matches the flow and its divergence. Our new approach improves the performance of the flow-based generative model by a noticeable margin without sacrificing generation efficiency. We showcase the advantages of this enhanced training approach over CFM on several important benchmark tasks, including generative modeling for dynamical systems, DNA sequences, and videos. Code is available at \href{https://github.com/Utah-Math-Data-Science/Flow_Div_Matching}{Utah-Math-Data-Science}.
title Improving Flow Matching by Aligning Flow Divergence
topic Machine Learning
Artificial Intelligence
Numerical Analysis
68T07
url https://arxiv.org/abs/2602.00869