基于二元评估的约束扩散生成框架:通过学习 Doob h-函数实现无梯度引导
Constrained Diffusion from Binary Evaluations via Learned Doob h-Functions
做分子生成或图像约束的朋友可以看看这篇。不用改基座模型、不用可微指标,只靠通过/不通过的二元标注就能训一个轻量引导头,QM9 分子过滤率从 54.3% 拉到 96.8%,比拒绝采样省 50 倍算力。
一篇 arXiv 论文提出用 Doob h-transform 框架解决扩散模型的约束生成问题,将条件生成简化为学习一个函数:带噪样本最终去噪后落入约束集的概率。训练只需二元(通过/不通过)的干净样本评估,通过对前向加噪标签做平方误差回归完成,基础模型全程冻结,每个约束只需训练一个轻量输出头,无需可微分测量算子或配对条件数据。
实验数据显示:在 QM9 分子数据集上,Lipinski 类性质过滤通过率从 54.3% 提升到 96.8%;在 Stable Diffusion 1.5 上,约束满足率从 7.2% 提升到 60.0%,成本仅为无导数筛选方法的十六分之一(后者仅达 9.0%)。在 1.7% 基础通过率下,每个满足约束样本的成本比拒绝采样低 50 倍以上。
该框架还推导出一个量化结论:若固定采样调度和平均步长、把步数拉平,在 CIFAR-10 上会损失 17.0 到 18.5 个百分点的约束满足率(FID 相当)。这说明保留逆概率因子的完整引导步优于常见的归一化引导。对需要在分子设计、图像生成中施加不可微过滤条件的开发者,这提供了一条比拒绝采样和无导数优化更省算力的路径。
Constrained Diffusion from Binary Evaluations via Learned Doob h-Functions
Conditional generation under constraints that can only be checked on a finished sample, such as a molecular property filter, remains challenging for diffusion models: most guidance methods require differentiable measurement operators, paired conditional data, or rollouts of the base model at every step. We present a framework grounded in the Doob $h$-transform that reduces conditional generation to learning a single function, the probability that a noisy sample denoises into the constraint set. We learn this function from binary clean-sample evaluations alone, by squared-error regression on forward-noised labels; the base model is frozen, one lightweight head is trained per constraint, and noisy-state classifier guidance arises as a special case. The exact guidance step fades where the constraint signal provably vanishes and carries a factor of the inverse probability across samples, which normalized guidance discards: with the schedule and mean step size held fixed, equalizing the step costs 17.0 to 18.5 points of constraint satisfaction on CIFAR-10 at comparable FID, across independently trained estimators. Guidance is more than 50$\times$ cheaper per satisfying sample than rejection sampling at a 1.7% base rate, raises a Lipinski-type property filter on QM9 from 54.3% to 96.8%, and lifts satisfaction on Stable Diffusion 1.5 from 7.2% to 60.0% at one sixteenth of the cost of derivative-free selection, which reaches 9.0%. These results demonstrate that binary evaluations of clean samples are sufficient supervision for constrained generation across pixel, latent, and molecular diffusion.
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Doob h-transform, diffusion models, QM9, Stable Diffusion 1.5.
Source attribution: curated from arXiv cs.LG (@Ssaumya Kammal Jaiswal, Mahfuza Farooque).