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

带有信任采样的约束扩散

Constrained Diffusion with Trust Sampling

Stanford University(斯坦福大学)

William Huang, Yifeng Jiang, Tom Van Wouwe, C. Karen Liu

AI总结:

本文提出一种名为信任采样的无训练约束优化方法,通过在扩散模型推理中沿代理约束梯度多步采样并结合状态流形提前终止机制,有效平衡了无条件扩散与损失引导,显著提升了图像与3D运动生成的质量。

摘要:

扩散模型在各种生成任务中展现了巨大的潜力;然而,它们通常难以满足具有挑战性的约束。我们的方法通过从优化角度重新思考无训练损失引导扩散来解决这一局限性。我们在扩散模型的推理过程中构建了一系列约束优化。在每次优化中,我们允许样本沿着代理约束函数的梯度采取多个步骤,直到根据每个扩散级别的方差我们不再信任该代理。此外,我们估计了扩散模型的状态流形,以便在每个扩散步骤中当样本开始偏离状态流形时允许提前终止。信任采样在遵循无条件扩散模型和遵循损失指导之间取得了有效的平衡,从而实现了更灵活和准确的约束生成。我们通过对复杂任务的广泛实验,以及在图像和3D运动生成的截然不同的领域中,证明了我们方法的有效性,显示出在生成质量方面相比现有方法的显著改进。我们的实现可在 https://github.com/will-s-h/trust-sampling 获取。

英文摘要:

Diffusion models have demonstrated significant promise in various generative tasks; however, they often struggle to satisfy challenging constraints. Our approach addresses this limitation by rethinking training-free loss-guided diffusion from an optimization perspective. We formulate a series of constrained optimizations throughout the inference process of a diffusion model. In each optimization, we allow the sample to take multiple steps along the gradient of the proxy constraint function until we can no longer trust the proxy, according to the variance at each diffusion level. Additionally, we estimate the state manifold of diffusion model to allow for early termination when the sample starts to wander away from the state manifold at each diffusion step. Trust sampling effectively balances between following the unconditional diffusion model and adhering to the loss guidance, enabling more flexible and accurate constrained generation. We demonstrate the efficacy of our method through extensive experiments on complex tasks, and in drastically different domains of images and 3D motion generation, showing significant improvements over existing methods in terms of generation quality. Our implementation is available at https://github.com/will-s-h/trust-sampling.

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

↑