Block Flow: Learning Straight Flow on Data Blocks
Zibin Wang, Zhiyuan Ouyang, Xiangyun Zhang
TL;DR
Block Flow introduces label-informed block matching to learn straighter flows in flow-matching models by pairing data blocks $p(x_0|y)$ with localized Gaussian priors $p(z|y)$. It establishes a theoretical link between forward-trajectory curvature and prior variance, and delivers regularization-based training schemes (Full Alignment and Hybrid Information Alignment) to control this curvature while preserving sample diversity. The method demonstrates competitive results on CIFAR-10 and MNIST with parameter-efficient architectures, highlighting the potential for faster sampling with reduced truncation error. Overall, Block Flow provides a flexible framework to improve generation quality and efficiency by exploiting label structure through learnable Gaussian-mixture priors.
Abstract
Flow-matching models provide a powerful framework for various applications, offering efficient sampling and flexible probability path modeling. These models are characterized by flows with low curvature in learned generative trajectories, which results in reduced truncation error at each sampling step. To further reduce curvature, we propose block matching. This novel approach leverages label information to partition the data distribution into blocks and match them with a prior distribution parameterized using the same label information, thereby learning straighter flows. We demonstrate that the variance of the prior distribution can control the curvature upper bound of forward trajectories in flow-matching models. By designing flexible regularization strategies to adjust this variance, we achieve optimal generation performance, effectively balancing the trade-off between maintaining diversity in generated samples and minimizing numerical solver errors. Our results demonstrate competitive performance with models of the same parameter scale.Code is available at \url{https://github.com/wpp13749/block_flow}.
