Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Reflected Flow Matching

About

Continuous normalizing flows (CNFs) learn an ordinary differential equation to transform prior samples into data. Flow matching (FM) has recently emerged as a simulation-free approach for training CNFs by regressing a velocity model towards the conditional velocity field. However, on constrained domains, the learned velocity model may lead to undesirable flows that result in highly unnatural samples, e.g., oversaturated images, due to both flow matching error and simulation error. To address this, we add a boundary constraint term to CNFs, which leads to reflected CNFs that keep trajectories within the constrained domains. We propose reflected flow matching (RFM) to train the velocity model in reflected CNFs by matching the conditional velocity fields in a simulation-free manner, similar to the vanilla FM. Moreover, the analytical form of conditional velocity fields in RFM avoids potentially biased approximations, making it superior to existing score-based generative models on constrained domains. We demonstrate that RFM achieves comparable or better results on standard image benchmarks and produces high-quality class-conditioned samples under high guidance weight.

Tianyu Xie, Yu Zhu, Longlin Yu, Tong Yang, Ziheng Cheng, Shiyue Zhang, Xiangyu Zhang, Cheng Zhang• 2024

Related benchmarks

TaskDatasetResultRank
Constrained Generationl2-ball constrained set (d=8) 1.0 (synthetic)
Constraint Violation Rate0.00e+0
16
Synthetic generation under constraintsBox
SWD Score0.1258
14
Constrained Generationl2-ball constrained set d=20 1.0 (synthetic)
Constraint Violation Rate0.00e+0
9
Constrained Generative Modeling20d l2 ball
SWD0.0098
7
Showing 4 of 4 rows

Other info

Follow for update