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

基于因式分解哈密顿下降的内存高效优化

Memory-Efficient Optimization with Factorized Hamiltonian Descent

The University of Texas at Austin(德克萨斯大学奥斯汀分校)

Son Nguyen, Lizhang Chen, Bo Liu, Qiang Liu

AI总结:

针对自适应优化器内存开销大的问题,提出基于哈密顿动力学的新型优化器 H-Fac,通过秩为1参数化将内存降至次线性水平,兼具理论保证与竞争力。

摘要:

现代深度学习严重依赖 Adam 及其变体等自适应优化器,它们因具备处理模型缩放和简化超参数调优的能力而闻名。然而,这些算法通常会因为优化状态的累积而产生高内存开销,导致在训练大规模网络模型时面临严峻挑战。在本研究中,我们引入了一种新型自适应优化器 H-Fac,它结合了内存高效的因式分解方法来应对这一挑战。通过对动量和缩放参数估计器采用秩为1的参数化,H-Fac 将内存成本降低至次线性水平,同时在多种架构中保持极具竞争力的性能。我们基于源自哈密顿动力学的原理开发了算法,为优化动力学和收敛保证提供了坚实的理论基础。这些优化算法设计得既简单又具适应性,便于在不同环境中轻松实现。

英文摘要:

Modern deep learning heavily depends on adaptive optimizers such as Adam and its variants, which are renowned for their capacity to handle model scaling and streamline hyperparameter tuning. However, these algorithms typically experience high memory overhead caused by the accumulation of optimization states, leading to a critical challenge in training large-scale network models. In this study, we introduce a novel adaptive optimizer, H-Fac, which incorporates a memory-efficient factorization approach to address this challenge. By employing a rank-1 parameterization for both momentum and scaling parameter estimators, H-Fac reduces memory costs to a sublinear level while maintaining competitive performance across a wide range of architectures. We develop our algorithms based on principles derived from Hamiltonian dynamics, providing robust theoretical underpinnings in optimization dynamics and convergence guarantees. These optimization algorithms are designed to be both straightforward and adaptable, facilitating easy implementation in diverse settings.

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

↑