Constrained Diffusion with Trust Sampling

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Huang, William, Jiang, Yifeng, Van Wouwe, Tom, Liu, C. Karen
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913579778703360
author Huang, William
Jiang, Yifeng
Van Wouwe, Tom
Liu, C. Karen
author_facet Huang, William
Jiang, Yifeng
Van Wouwe, Tom
Liu, C. Karen
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2411_10932
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Constrained Diffusion with Trust Sampling
Huang, William
Jiang, Yifeng
Van Wouwe, Tom
Liu, C. Karen
Machine Learning
Computer Vision and Pattern Recognition
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.
title Constrained Diffusion with Trust Sampling
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2411.10932