ReSFlow: Rectifying Categorical Flows on Statistical Manifolds for One-Step Generation

Xiaohuan Jia, Renzhe Xu, Xiao Wang, Jiayun Wu, Shaohua Fan
10/9/2026
cs.LGcs.AI

Official code: xiaohuanjia/ReSFlow (10 stars, Python, MIT, last commit 2026-10-08).

Abstract

Generative modeling for discrete data has been significantly advanced by learning continuous vector fields on the statistical manifolds to transport simple priors to target discrete distributions. However, because these continuous-time flows are not constrained to follow geodesics on the statistical manifold, thereby requiring multi-step numerical integration for simulation and leading to substantial computational costs during inference.

Show full abstract

In this work, drawing inspiration from the "straight and fast" properties of Rectified Flow in continuous Euclidean space, we propose the Rectified Statistical Flow (ReSFlow) model, which enables one-step categorical generation on statistical manifolds by explicitly learning geodesic trajectories that adhere to the intrinsic Riemannian geometry. By rectifying the flow on the statistical manifold, we theoretically guarantee that trajectories between prior and target distributions approximate geodesics. This rectification significantly reduces the transport cost by aligning the learned trajectories directly along geodesics on the statistical manifold, allowing the model to map pure noise to target discrete data in a single step. Through extensive experiments on diverse real-world generative tasks, ranging from image and text to biological domains, we demonstrate ReSFlow's superior one-step generation quality, which truly embodies geodesically optimal and rapid categorical generation. Our code is available at https://github.com/xiaohuanjia/ReSFlow.

View on arXivView PDF

Code Implementations(1)

MIT

Rectified Statistical Flow for one-step categorical generation on statistical manifolds

100Python, Jupyter NotebookOct 8, 20261 months agoMIT

Similar Papers

Cite this paper

@article{jia2026resflow,
  title  = {ReSFlow: Rectifying Categorical Flows on Statistical Manifolds for One-Step Generation},
  author = {Xiaohuan Jia and Renzhe Xu and Xiao Wang and Jiayun Wu and Shaohua Fan},
  year   = {2026},
  eprint = {2610.13225},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.13225v2}
}

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

Discussion