Discrete Diffusion Samplers and Bridges: Off-Policy Algorithms and Applications in Latent Spaces
Abstract
Lay Summary
To understand how random processes behave, we often need examples generated by these processes (e.g., to compute statistics). In some cases, we do not have access to such examples, but we have a way to score how likely they are -- this is known as the sampling problem in probabilistic inference. In this work, we focus on processes that produce discrete outputs. We train models to learn how to sample by starting from simple random noise and gradually transforming it into outputs we are interested in by iteratively applying a transformation represented by a neural network. Learning the full diversity of some random processes is challenging. Previous work on continuous outputs showed that training the neural network with so-called off-policy reinforcement learning methods can greatly improve the diversity of generated samples. We extend these results and show that off-policy methods give a large improvement in the discrete setting as well. Building on previous work for continuous outputs, we also show that, in this discrete setting, algorithms can be trained to transform samples from one random process into samples from another when only a scoring function (but no samples) for one or both processes is available. Finally, we also show that these samplers can be used to perform conditional generation, where outputs are generated according to specified requirements. This allows us to draw samples from pretrained image models that satisfy desired constraints, even when no samples that satisfy these constraints are available.