arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.15262cs.LGcs.AImath.OC
收藏

基于动态记忆的自适应优化

Dynamic Memory Based Adaptive Optimization

Balázs Szegedy, Domonkos Czifra, Péter Kőrösi-Szabó

AI总结:

本文提出回顾性学习律修正方法 RLLC,通过动态组合多个记忆单元提升优化器性能,实验表明其优于 SGD、动量和 Adam 等经典优化器。

摘要:

如果一个优化器在参数空间中存储 k 个动态变化的向量,则称其具有记忆 k。经典 SGD 的记忆为 0,带动量的 SGD 优化器记忆为 1,Adam 优化器记忆为 2。我们研究以下问题:优化器如何利用更多的记忆单元?这些记忆单元中应存储什么信息?如何利用它们进行学习步骤?作为对最后一个问题的一种解决方法,我们引入了一种通用方法,称为“回顾性学习律修正”,简称 RLLC。该方法旨在计算记忆单元的动态变化线性组合(称为学习律),而这些记忆单元本身可以任意演化。我们在记忆单元具有线性更新规则且记忆较小(≤ 4 个记忆单元)的优化器上展示了 RLLC。实验表明,在各种标准问题中,这些优化器优于上述三种经典优化器。我们得出结论,RLLC 是一个有前景的框架,通过增加更多记忆单元并使其更具自适应性来提升已知优化器的性能。

英文摘要:

Define an optimizer as having memory $k$ if it stores $k$ dynamically changing vectors in the parameter space. Classical SGD has memory $0$, momentum SGD optimizer has $1$ and Adam optimizer has $2$. We address the following questions: How can optimizers make use of more memory units? What information should be stored in them? How to use them for the learning steps? As an approach to the last question, we introduce a general method called "Retrospective Learning Law Correction" or shortly RLLC. This method is designed to calculate a dynamically varying linear combination (called learning law) of memory units, which themselves may evolve arbitrarily. We demonstrate RLLC on optimizers whose memory units have linear update rules and small memory ($\leq 4$ memory units). Our experiments show that in a variety of standard problems, these optimizers outperform the above mentioned three classical optimizers. We conclude that RLLC is a promising framework for boosting the performance of known optimizers by adding more memory units and by making them more adaptive.

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

↑