Reflected Flow Matching

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Xie, Tianyu, Zhu, Yu, Yu, Longlin, Yang, Tong, Cheng, Ziheng, Zhang, Shiyue, Zhang, Xiangyu, Zhang, Cheng
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909211084980224
author Xie, Tianyu
Zhu, Yu
Yu, Longlin
Yang, Tong
Cheng, Ziheng
Zhang, Shiyue
Zhang, Xiangyu
Zhang, Cheng
author_facet Xie, Tianyu
Zhu, Yu
Yu, Longlin
Yang, Tong
Cheng, Ziheng
Zhang, Shiyue
Zhang, Xiangyu
Zhang, Cheng
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_16577
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Reflected Flow Matching
Xie, Tianyu
Zhu, Yu
Yu, Longlin
Yang, Tong
Cheng, Ziheng
Zhang, Shiyue
Zhang, Xiangyu
Zhang, Cheng
Machine Learning
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.
title Reflected Flow Matching
topic Machine Learning
url https://arxiv.org/abs/2405.16577