Reward-Guided Discrete Diffusion via Clean-Sample Markov Chain for Molecule and Biological Sequence Design
Prin Phunyaphibarn, Minhyuk Sung
TL;DR
This paper tackles the challenge of reward-guided sample generation in discrete diffusion models for molecules and biological sequences, where reward functions are often non-smooth and intermediate rewards are unreliable. It introduces Clean-Sample Markov Chain (CSMC) Sampler, a training-free, Metropolis-Hastings-based method that operates on clean samples by using a forward–backward diffusion-based proposal, enabling tractable acceptance probabilities and local search without intermediate rewards. Empirical results across QM9, ZINC250K, and MPRA datasets show that CSMC yields the highest rewards across multiple base diffusion architectures (MDM, USM, SEDD variants) and reward functions, with CSMC-B offering faster sampling while maintaining performance. The work demonstrates that accurate, clean-reward guidance can outperform methods relying on intermediate rewards, and provides a versatile framework applicable to both uniform and masked discrete diffusion models, with potential for broader impact in science-guided generative design.
Abstract
Discrete diffusion models have recently emerged as a powerful class of generative models for chemistry and biology data. In these fields, the goal is to generate various samples with high rewards (e.g., drug-likeness in molecules), making reward-based guidance crucial. Most existing methods are based on guiding the diffusion model using intermediate rewards but tend to underperform since intermediate rewards are noisy due to the non-smooth nature of reward functions used in scientific domains. To address this, we propose Clean-Sample Markov Chain (CSMC) Sampler, a method that performs effective test-time reward-guided sampling for discrete diffusion models, enabling local search without relying on intermediate rewards. CSMC constructs a Markov chain of clean samples using the Metropolis-Hastings algorithm such that its stationary distribution is the target distribution. We design a proposal distribution by sequentially applying the forward and backward diffusion processes, making the acceptance probability tractable. Experiments on molecule and biological sequence generation with various reward functions demonstrate that our method consistently outperforms prior approaches that rely on intermediate rewards.
