AlignFlow: Improving Flow-based Generative Models with Semi-Discrete Optimal Transport

Lingkai Kong, Molei Tao, Yang Liu, Bryan Wang, Jinmiao Fu +2 more
10/16/2025
cs.LGstat.ML

Official code: konglk1203/AlignFlow (15 stars, last commit 2026-01-28).

Abstract

Flow-based Generative Models (FGMs) effectively transform noise into complex data distributions. Incorporating Optimal Transport (OT) to couple noise and data during FGM training has been shown to improve the straightness of flow trajectories, enabling more effective inference. However, existing OT-based methods estimate the OT plan using (mini-)batches of sampled noise and data points, which limits their scalability to large and high-dimensional datasets in FGMs. This paper introduces AlignFlow, a novel approach that leverages Semi-Discrete Optimal Transport (SDOT) to enhance the training of FGMs by establishing an explicit, optimal alignment between noise distribution and data points with guaranteed convergence. SDOT computes a transport map by partitioning the noise space into Laguerre cells, each mapped to a corresponding data point. During FGM training, i.i.d. noise samples are paired with data points via the SDOT map. AlignFlow scales well to large datasets and model architectures with negligible computational overhead. Experimental results show that AlignFlow improves the performance of a wide range of state-of-the-art FGM algorithms and can be integrated as a plug-and-play component. Code is available at: https://github.com/konglk1203/AlignFlow.

View on arXivView PDF

Code Implementations(1)

AlignFlow: Improving Flow-based Generative Models with Semi-Discrete Optimal Transport

150Shell, PythonOct 16, 20258 months ago

Similar Papers

Cite this paper

@article{kong2025alignflow,
  title  = {AlignFlow: Improving Flow-based Generative Models with Semi-Discrete Optimal Transport},
  author = {Lingkai Kong and Molei Tao and Yang Liu and Bryan Wang and Jinmiao Fu and Chien-Chih Wang and Huidong Liu},
  year   = {2025},
  eprint = {2510.15038},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.15038v1}
}

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

Discussion