Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Practical and Asymptotically Exact Conditional Sampling in Diffusion Models

About

Diffusion models have been successful on a range of conditional generation tasks including molecular design and text-to-image generation. However, these achievements have primarily depended on task-specific conditional training or error-prone heuristic approximations. Ideally, a conditional generation method should provide exact samples for a broad range of conditional distributions without requiring task-specific training. To this end, we introduce the Twisted Diffusion Sampler, or TDS. TDS is a sequential Monte Carlo (SMC) algorithm that targets the conditional distributions of diffusion models through simulating a set of weighted particles. The main idea is to use twisting, an SMC technique that enjoys good computational efficiency, to incorporate heuristic approximations without compromising asymptotic exactness. We first find in simulation and in conditional image generation tasks that TDS provides a computational statistical trade-off, yielding more accurate approximations with many particles but with empirical improvements over heuristics with as few as two particles. We then turn to motif-scaffolding, a core task in protein design, using a TDS extension to Riemannian diffusion models. On benchmark test cases, TDS allows flexible conditioning criteria and often outperforms the state of the art.

Luhuan Wu, Brian L. Trippe, Christian A. Naesseth, David M. Blei, John P. Cunningham• 2023

Related benchmarks

TaskDatasetResultRank
DNA Sequence GenerationPred-Activity
Pred-Activity4.64
13
Enhancer optimizationGRCh38 (test)
Predicted Activity7.082
11
Splice inpaintingSplice inpainting
Splice Geomean0.5686
11
Rain Field ReconstructionOpenMRG Isotropic noise
RMSE0.84
9
Rain Field ReconstructionOpenMRG Heteroscedastic noise
RMSE0.81
9
Class-conditional posterior samplingMNIST
FID0.092
6
Class-conditional posterior samplingMNIST even odd
FID0.14
6
Class-conditional posterior samplingCIFAR-10
FID0.411
6
Quantity-Aware SamplingQuantity-Aware Sampling Simple N=30
T2I Count1.305
5
Quantity-Aware SamplingQuantity-Aware Sampling N=60 (Overall)
T2I-Count2.083
5
Showing 10 of 14 rows

Other info

Follow for update