arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.11480cs.LG
收藏

高效对抗匹配用于扩散模型微调

Efficient Adjoint Matching for Fine-tuning Diffusion Models

Seoul National University(首尔国立大学);Georgia Institute of Technology(佐治亚理工学院);Sungkyunkwan University(庆尚大学)

Jeongwoo Shin, Dongsoo Shin, Yuchen Zhu, Wei Guo, Yongxin Chen, Joonseok Lee, Jaewoong Choi, Jaemoo Choi

AI总结:

本文提出高效对抗匹配(EAM),通过改用线性基础漂移和修改终端成本,解决对抗匹配在扩散模型微调中的计算瓶颈,使训练效率提升4倍并在多个指标上表现优异。

摘要:

奖励微调已成为对齐预训练扩散和流模型与人类偏好的常见方法。在基于奖励梯度的方法中,对抗匹配(AM)通过将奖励微调视为随机最优控制(SOC)问题提供了系统化的公式。然而,AM不可避免地需要显著的计算成本:它要求(i)在无记忆动态下对完整生成轨迹进行随机模拟,导致大量的函数评估,以及(ii)沿每个采样轨迹进行反向ODE模拟。在本工作中,我们观察到这两个瓶颈都与从预训练模型继承的非平凡基础漂移密切相关。受此启发,我们提出高效对抗匹配(EAM),通过将SOC问题改用线性基础漂移和相应修改的终端成本,大幅提高训练效率。此改写消除了两种无效来源;它使训练时采样能够使用几步确定性ODE求解器,并产生闭合形式的伴随解,从而消除反向伴随模拟。在标准的文本到图像奖励微调基准上,EAM比AM快4倍收敛,并在PickScore、ImageReward、HPSv2.1、CLIPScore和Aesthetics等各项指标上匹配或超越了AM。

英文摘要:

Reward fine-tuning has become a common approach for aligning pretrained diffusion and flow models with human preferences in text-to-image generation. Among reward-gradient-based methods, Adjoint Matching (AM) provides a principled formulation by casting reward fine-tuning as a stochastic optimal control (SOC) problem. However, AM inevitably requires a substantial computational cost: it requires (i) stochastic simulation of full generative trajectories under memoryless dynamics, resulting in a large number of function evaluations, and (ii) backward ODE simulation of the adjoint state along each sampled trajectory. In this work, we observe that both bottlenecks are closely tied to the non-trivial base drift inherited from the pretrained model. Motivated by this observation, we propose Efficient Adjoint Matching (EAM), which substantially improves training efficiency by reformulating the SOC problem with a linear base drift and a correspondingly modified terminal cost. This reformulation removes both sources of inefficiency; it enables training-time sampling with a few-step deterministic ODE solver and yields a closed-form adjoint solution that eliminates backward adjoint simulation. On standard text-to-image reward fine-tuning benchmarks, EAM converges up to 4x faster than AM and matches or surpasses it across various metrics including PickScore, ImageReward, HPSv2.1, CLIPScore and Aesthetics.

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

↑