SOTAVerified

Block Flow: Learning Straight Flow on Data Blocks

2025-01-20Code Available0· sign in to hype

Zibin Wang, Zhiyuan Ouyang, Xiangyun Zhang

Code Available — Be the first to reproduce this paper.

Reproduce

Code

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 https://github.com/wpp13749/block_flow.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
CIFAR-10block flowFID2.29Unverified

Reproductions