Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Derivative-Free Guidance in Continuous and Discrete Diffusion Models with Soft Value-Based Decoding

About

Diffusion models excel at capturing the natural design spaces of images, molecules, DNA, RNA, and protein sequences. However, rather than merely generating designs that are natural, we often aim to optimize downstream reward functions while preserving the naturalness of these design spaces. Existing methods for achieving this goal often require ``differentiable'' proxy models (\textit{e.g.}, classifier guidance or DPS) or involve computationally expensive fine-tuning of diffusion models (\textit{e.g.}, classifier-free guidance, RL-based fine-tuning). In our work, we propose a new method to address these challenges. Our algorithm is an iterative sampling method that integrates soft value functions, which looks ahead to how intermediate noisy states lead to high rewards in the future, into the standard inference procedure of pre-trained diffusion models. Notably, our approach avoids fine-tuning generative models and eliminates the need to construct differentiable models. This enables us to (1) directly utilize non-differentiable features/reward feedback, commonly used in many scientific domains, and (2) apply our method to recent discrete diffusion models in a principled way. Finally, we demonstrate the effectiveness of our algorithm across several domains, including image generation, molecule generation, and DNA/RNA sequence generation. The code is available at \href{https://github.com/masa-ue/SVDD}{https://github.com/masa-ue/SVDD}.

Xiner Li, Yulai Zhao, Chenyu Wang, Gabriele Scalia, Gokcen Eraslan, Surag Nair, Tommaso Biancalani, Shuiwang Ji, Aviv Regev, Sergey Levine, Masatoshi Uehara• 2024

Related benchmarks

TaskDatasetResultRank
Text-to-Image GenerationGenEval (test)--
169
Biological Sequence GenerationMPRA
HepG2 Activity3.189
25
Molecular GenerationQM9
QED56.7
25
Molecular GenerationZINC250K
QED0.809
25
Text-to-Image GenerationImageReward (test)
ImageReward Score0.775
16
DNA sequence designEnhancer dataset (held-out evaluation)
Pred-activity506
9
Showing 6 of 6 rows

Other info

Follow for update