arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.01169cs.LGcs.AI
收藏

通过分别匹配初始速度与终端速度来蒸馏双时间流模型

Distilling Two-Timed Flow Models by Separately Matching Initial and Terminal Velocities

pixiv Inc.(pixiv公司);School of Information Science(信息科学学院);Center for Artificial Intelligence in Medicine, Research Affairs, Faculty of Medicine, Chulalongkorn University(医学人工智能中心、研究事务处、医学学院)

Pramook Khungurn, Pratch Piyawongwisal, Sira Sriswasdi, Supasorn Suwajanakorn

AI总结:

本文提出初始/终端速度匹配(ITVM)损失用于蒸馏双时间流模型,通过改进LFMD损失并引入EMA稳定化,在多种数据集和架构上提升了少步生成性能。

摘要:

流匹配模型学习一个时间依赖的向量场 $v_t(x)$,该向量场生成一条概率路径 $\{ p_t \}_{0 \leq t \leq 1}$,该路径在已知的噪声分布($p_0$)与数据分布($p_1$)之间进行插值。该模型可以被蒸馏为一个双时间流模型(TTFM)$ϕ_{s,x}(t)$,它能够在一次函数求值中将属于初始时间 $s$ 处分布的样本变换为属于终端时间 $t$ 处分布的另一个样本。我们提出了一种用于 TTFM 蒸馏的新损失函数,称为初始/终端速度匹配(ITVM)损失,它扩展了 Boffi 等人提出的拉格朗日流映射蒸馏(LFMD)损失,具体做法是:添加冗余项以匹配时间 $s$ 处的初始速度,从时间 $t$ 处的终端速度项中移除导数,并使用一个经过指数移动平均(EMA)稳定化的训练中模型版本来计算目标终端平均速度。初步实验表明,与基线方法相比,我们的损失在多种类型的数据集和模型架构上带来了更好的少步生成性能。

英文摘要:

A flow matching model learns a time-dependent vector field $v_t(x)$ that generates a probability path $\{ p_t \}_{0 \leq t \leq 1}$ that interpolates between a well-known noise distribution ($p_0$) and the data distribution ($p_1$). It can be distilled into a two-timed flow model (TTFM) $ϕ_{s,x}(t)$ that can transform a sample belonging to the distribution at an initial time $s$ to another belonging to the distribution at a terminal time $t$ in one function evaluation. We present a new loss function for TTFM distillation called the \emph{initial/terminal velocity matching} (ITVM) loss that extends the Lagrangian Flow Map Distillation (LFMD) loss proposed by Boffi et al. by adding redundant terms to match the initial velocities at time $s$, removing the derivative from the terminal velocity term at time $t$, and using a version of the model under training, stabilized by exponential moving averaging (EMA), to compute the target terminal average velocity. Preliminary experiments show that our loss leads to better few-step generation performance on multiple types of datasets and model architectures over baselines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑