Reward-Directed Score-Based Diffusion Models via q-Learning
<|reference_start|>Reward-Directed Score-Based Diffusion Models via q-Learning: We propose a new reinforcement learning (RL) formulation for training continuous-time score-based diffusion models for generative AI to generate samples that maximize reward functions while keeping the generated distributions close to the unknown target data distributions. Different from most existing studies, our formulation does not involve any pretrained model for the unknown score functions of the noise-perturbed data distributions. We present an entropy-regularized continuous-time RL problem and show that the optimal stochastic policy has a Gaussian distribution with a known covariance matrix. Based on this result, we parameterize the mean of Gaussian policies and develop an actor-critic type (little) q-learning algorithm to solve the RL problem. A key ingredient in our algorithm design is to obtain noisy observations from the unknown score function via a ratio estimator. Numerically, we show the effectiveness of our approach by comparing its performance with two state-of-the-art RL methods that fine-tune pretrained models. Finally, we discuss extensions of our RL formulation to probability flow ODE implementation of diffusion models and to conditional diffusion models.<|reference_end|>
@article{gao2024reward-directed,
    title={Reward-Directed Score-Based Diffusion Models via q-Learning},
    author={Xuefeng Gao, Jiale Zha, Xun Yu Zhou},
    journal={arXiv preprint arXiv:2409.04832},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.04832},
    primaryClass={cs.LG cs.AI math.OC}
}