arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.04832cs.LGcs.AImath.OC
收藏

基于 q-Learning 的奖励导向分数扩散模型

Reward-Directed Score-Based Diffusion Models via q-Learning

The Chinese University of Hong Kong(香港中文大学)

Xuefeng Gao, Jiale Zha, Xun Yu Zhou

AI总结:

提出一种基于熵正则化连续时间强化学习的 q-learning 算法来训练连续时间分数扩散模型,无需预训练或学习未知分数函数即可生成最大化奖励且逼近目标分布的样本。

摘要:

我们提出了一种新的强化学习(RL)公式,用于训练连续时间基于分数的扩散模型,以使生成式 AI 生成能够最大化奖励函数的样本,同时保持生成的分布接近未知目标数据分布。与大多数现有研究不同,我们的方法不涉及针对噪声扰动数据分布的未知分数函数的任何预训练模型,也不试图学习这些分数函数。相反,我们将问题表述为熵正则化的连续时间 RL,并证明最优随机策略具有已知协方差矩阵的高斯分布。基于这一结果,我们对高斯策略的均值进行参数化,并开发了一种 actor-critic 类型的(小写)q-learning 算法来解决该 RL 问题。我们算法设计中的一个关键要素是通过比率估计器从未知分数函数获取噪声观测。我们的公式也可适用于解决纯分数匹配和微调预训练模型。在数值实验中,我们通过将其性能与两种微调预训练模型的最先进 RL 方法在包括高维图像生成在内的多个生成任务上进行比较,展示了我们方法的有效性。最后,我们讨论了将我们的 RL 公式扩展到扩散模型的概率流 ODE 实现以及条件扩散模型。

英文摘要:

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, ours does not involve any pretrained model for the unknown score functions of the noise-perturbed data distributions, nor does it attempt to learn the score functions. Instead, we formulate the problem as entropy-regularized continuous-time RL 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. Our formulation can also be adapted to solve pure score-matching and fine-tuning pretrained models. 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 on several generative tasks including high-dimensional image generations. Finally, we discuss extensions of our RL formulation to probability flow ODE implementation of diffusion models and to conditional diffusion models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑