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

FlowBudget:用于Flow Matching模型的无训练采样预算估计

FlowBudget: Training-Free Sampling-Budget Estimation for Flow Matching Models

ÉTS Montréal(蒙特利尔高等技术学院);Mila – Quebec AI Institute(米拉-魁北克人工智能研究所);CNRS, CentraleSupélec – Université Paris-Saclay(法国国家科学研究中心、中央理工-高等电力学院 – 巴黎-萨克雷大学)

Zahra Dehghani, Pablo Piantanida, Mohammadhadi Shateri

AI总结:

该研究提出无训练的FLOWBUDGET估计器,可在不生成样本或执行FID-NFE扫描的情况下,为Flow Matching等流模型估计采样所需的NFE预算,降低了采样预算选择的成本。

摘要:

从连续基于流的生成器(如Flow Matching模型)采样需要数值常微分方程(ODE)或随机微分方程(SDE)积分,这使得推理成本依赖于函数评估次数(NFEs)。在实践中,采样预算要么继承自先前工作,要么通过昂贵的FID-NFE扫描选择——该扫描使用FID评估图像生成质量,需要在多个预算下生成样本并评估,这使得采样预算选择依赖于重复的经验评估。因此,我们提出了一个与求解器设计和时间步分配互补的问题:对于固定的预训练模型和求解器,何种数值分辨率是足够的?我们引入FLOWBUDGET,这是一种与求解器相关的采样复杂度的无训练估计器。通过对学习到的动力学进行无模拟插值探测,FLOWBUDGET将主导的单步离散化误差按运动归一化,从插值探测中估计其系数,并使用求解器阶数将数值容差映射到步长预算。我们推导了Flow Matching采样中数值求解器的估计器,即ODE采样的Euler和Heun方法,以及SDE采样的加性噪声Euler-Maruyama方法,并将ODE系数与终端积分误差关联。在SiT、FlowDCN和Rectified Flow模型上进行的实验,涵盖了流模型的架构和形式,测试了FLOWBUDGET是否可以在不在多个预算下生成样本或执行FID-NFE扫描的情况下估计NFE预算。代码可在该https URL获取。

英文摘要:

Sampling from continuous flow-based generators such as flow matching models requires numerical ODE or SDE integration, making inference cost depend on the number of function evaluations (NFEs). In practice, the sampling budget is inherited from prior work or selected through expensive FID-versus-NFE sweeps, using FID to assess image-generation quality, requiring sample generation and evaluation at multiple budgets. This makes sampling-budget selection dependent on repeated empirical evaluation. We therefore ask a complementary question to solver design and timestep allocation: for a fixed pretrained model and solver, what numerical resolution is sufficient? We introduce FLOWBUDGET, a training-free estimator of solver-relative sampling complexity. Using simulation-free interpolation probes of the learned dynamics, FLOWBUDGET normalizes the leading one-step discretization error by the motion, estimates its coefficient from interpolation probes, and maps a numerical tolerance to a step budget using the solver order. We derive estimators for numerical solvers in flow~matching sampling, namely Euler and Heun for ODE sampling and additive-noise Euler--Maruyama for SDE sampling, and connect the ODE coefficients to terminal integration error. Experiments on SiT, FlowDCN and Rectified Flow models, spanning flow-model architectures and formulations, test whether FLOWBUDGET can estimate the NFE budget without generating samples at multiple budgets or performing an FID-versus-NFE sweep. The code is available at https://github.com/Yasaman-dt/FlowBudget

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

↑