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

大型扩散模型仅需指数移动平均(EMA)是不够的

Large Diffusion Models Need More Than EMA

Tsinghua University(清华大学);Shanghai Qi Zhi Institute(上海智知研究所);The Hong Kong University of Science and Technology(香港科技大学)

Chuyu Hu, Huanran Chen, Shitong Shao, Yinpeng Dong

AI总结:

本研究发现大型扩散模型仅用EMA不足,学习率衰减与EMA结合可提升性能但需注意衰减时机,无调度优化无需考虑时间要求且表现更优,其优势还可迁移至ReFL和generator-side DMD等场景。

摘要:

尽管在训练大型语言模型时,学习率衰减(LR decay)和无调度优化(Schedule-Free optimization)表现出色,但大规模扩散模型通常采用固定学习率(LR)和指数移动平均(EMA)进行训练。本研究旨在探究EMA是否为扩散模型训练的专属适配方案,抑或存在被低估的更优替代方案。理论分析表明,对固定步长轨迹取平均存在固有的优化局限,而在标准非凸假设下,学习率衰减和无调度优化可获得平稳性保证。实验结果显示,学习率衰减与EMA具有互补优势:在多数测试的起始点,将衰减与EMA结合可进一步提升标准基线性能,但增益对衰减的起始时间敏感;无调度优化则无需考虑时间要求,在整个训练阶段均能以固定学习率优于EMA,同时实现更低的固定评估目标值与更优的生成质量。进一步分析发现,三种策略均能大幅降低参数变异性,但更强的稳定性并非总是更优:固定学习率的EMA保留了相对较高的参数变异性,而激进的衰减与EMA结合虽能实现最低的检查点变异性,却会削弱后续优化;无调度优化在大幅降低参数变异性的同时,保留了更多后期进展,在参数稳定性与后续优化间实现了更好的平衡。最后,无调度优化的优势不仅限于预训练,还可迁移至反馈学习(ReFL)和生成器侧的动态模态分解(generator-side DMD)等不同扩散优化场景。总体而言,本研究结果表明,大型扩散模型仅靠参数平均是不够的,有效的优化需要在方差降低与后续优化间取得平衡。

英文摘要:

Large-scale diffusion models are commonly trained with a constant learning rate (LR) and exponential moving average (EMA), despite the strong performance of LR decay and Schedule-Free optimization in training large language models. We study whether EMA is uniquely suited to diffusion training, or whether stronger alternatives have been underexplored. Our theory shows that averaging a constant-step trajectory has an inherent optimization limitation, whereas LR decay and Schedule-Free optimization admit vanishing stationarity guarantees under standard nonconvex assumptions. Empirically, LR decay and EMA provide complementary benefits: combining decay with EMA further improves the standard baseline at most tested starting points, although the gain remains sensitive to when decay begins. Schedule-Free avoids this timing requirement and consistently outperforms EMA with a constant LR across training stages, achieving both lower fixed-evaluation objectives and better generation quality. Our analysis further shows that all three strategies substantially reduce parameter variability, yet stronger stabilization is not always better: EMA with a constant LR retains comparatively higher parameter variability, while aggressive decay combined with EMA achieves the lowest checkpoint variability but also weakens continued optimization. Schedule-Free substantially reduces parameter variability while preserving more late-stage progress, providing a better balance between parameter stability and continued optimization. Finally, the benefits of Schedule-Free extend beyond pretraining to ReFL and generator-side DMD, demonstrating its transferability across distinct diffusion optimization settings. Overall, our results suggest that large diffusion models need more than parameter averaging alone: effective optimization requires balancing variance reduction with continued optimization.

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

↑