arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.00639cs.CVcs.AIcs.LGstat.ML
收藏

扩散模型的半阶微调:一种递归似然比优化器

Half-order Fine-Tuning for Diffusion Model: A Recursive Likelihood Ratio Optimizer

Peking University(北京大学)

Tao Ren, Zishi Zhang, Jingyang Jiang, Zehao Li, Shentao Qin, Yi Zheng, Guanghao Li, Qianyou Sun, Yan Li, Jiafeng Liang, Xinping Li, Yijie Peng

AI总结:

针对扩散模型对齐中RL样本效率低与截断BP梯度有偏的问题,提出递归似然比优化器RLR,通过半阶梯度重排实现无偏低方差估计,并验证其图像与视频生成优势。

摘要:

概率扩散模型(DM)通过递归链结构进行推理来生成内容,已成为视觉生成的强大框架。在海量数据上预训练后,该模型需要进行适当对齐,以满足下游应用需求。如何高效对齐基础DM是一项关键任务。当前方法要么基于强化学习(RL),要么基于截断反向传播(BP)。然而,RL和截断BP分别存在样本效率低和梯度估计有偏的问题,导致提升有限,甚至更糟的是造成完全训练失败。为克服这些挑战,我们提出了递归似然比(RLR)优化器,这是一种用于DM的半阶(HO)微调范式。HO梯度估计器能够在递归扩散链内重新排列计算图,使RLR的梯度估计器成为无偏估计,并且相比其他方法具有更低方差。我们从理论上研究了该方法的偏差、方差和收敛性。在图像和视频生成上开展了大量实验,以验证RLR的优越性。此外,我们提出了一种对RLR而言自然适用的新型提示技术,以实现协同效应。

英文摘要:

The probabilistic diffusion model (DM), generating content by inferencing through a recursive chain structure, has emerged as a powerful framework for visual generation. After pre-training on enormous data, the model needs to be properly aligned to meet requirements for downstream applications. How to efficiently align the foundation DM is a crucial task. Contemporary methods are either based on Reinforcement Learning (RL) or truncated Backpropagation (BP). However, RL and truncated BP suffer from low sample efficiency and biased gradient estimation, respectively, resulting in limited improvement or, even worse, complete training failure. To overcome the challenges, we propose the Recursive Likelihood Ratio (RLR) optimizer, a Half-Order (HO) fine-tuning paradigm for DM. The HO gradient estimator enables the computation graph rearrangement within the recursive diffusive chain, making the RLR's gradient estimator an unbiased one with lower variance than other methods. We theoretically investigate the bias, variance, and convergence of our method. Extensive experiments are conducted on image and video generation to validate the superiority of the RLR. Furthermore, we propose a novel prompt technique that is natural for the RLR to achieve a synergistic effect.

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

↑