arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2411.19671cs.LG
收藏

动量方法性能分析:频域视角

On the Performance Analysis of Momentum Method: A Frequency Domain Perspective

Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);University of Chinese Academy of Sciences(中国科学院大学);University of California, Berkeley(加州大学伯克利分校);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Sun Yat-sen University(中山大学);Shanghai Astronomical Observatory, Chinese Academy of Sciences(中国科学院上海天文台);University of Luxembourg(卢森堡大学)

Xianliang Li, Jun Luo, Zhiwei Zheng, Hanxiao Wang, Li Luo, Lingkun Wen, Linlong Wu, Sheng Xu

AI总结:

针对神经网络训练中动量系数最优选择不明确的问题,本文从频域视角将动量方法视为梯度时变滤波器,提出动态调整滤波特性的FSGDM优化器,性能优于传统动量优化器。

摘要:

基于动量的优化器被广泛用于神经网络训练,但动量系数的最优选择仍未明确,这一不确定性阻碍了人们清晰理解动量在随机梯度方法中的作用。本文提出一种频域分析框架,将动量方法解释为针对梯度的时变滤波器,其中动量系数的调整会改变滤波器的特性。我们的实验支持这一观点,并为相关机制提供了更深入的理解。此外,分析揭示了以下重要发现:训练后期的高频梯度分量是不利的;训练早期保留原始梯度、训练过程中逐步放高低频梯度分量均能提升性能。基于这些洞见,我们提出了频域随机梯度动量下降法(Frequency Stochastic Gradient Descent with Momentum, FSGDM),这是一种启发式优化器,通过经验上有效的动态幅度响应动态调整动量滤波特性。实验结果表明,FSGDM的性能优于传统动量优化器。

英文摘要:

Momentum-based optimizers are widely adopted for training neural networks. However, the optimal selection of momentum coefficients remains elusive. This uncertainty impedes a clear understanding of the role of momentum in stochastic gradient methods. In this paper, we present a frequency domain analysis framework that interprets the momentum method as a time-variant filter for gradients, where adjustments to momentum coefficients modify the filter characteristics. Our experiments support this perspective and provide a deeper understanding of the mechanism involved. Moreover, our analysis reveals the following significant findings: high-frequency gradient components are undesired in the late stages of training; preserving the original gradient in the early stages, and gradually amplifying low-frequency gradient components during training both enhance performance. Based on these insights, we propose Frequency Stochastic Gradient Descent with Momentum (FSGDM), a heuristic optimizer that dynamically adjusts the momentum filtering characteristic with an empirically effective dynamic magnitude response. Experimental results demonstrate the superiority of FSGDM over conventional momentum optimizers.

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

↑