arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.10708cs.LGmath.OC
收藏

用于深度学习的内存增强优化器

Memory Augmented Optimizers for Deep Learning

Mila - Quebec AI Institute(米拉-魁北克人工智能研究所);McGill University(麦吉尔大学);École Polytechnique de Montréal(蒙特利尔综合理工学院)

Paul-Aymeric McRae, Prasanna Parthasarathi, Mahmoud Assran, Sarath Chandar

摘要:

在数据驱动的学习中,最小化损失的流行方法通常涉及抽象或显式保留梯度的历史,以进行有效的参数更新。即使在任何给定步骤的梯度没有信息时,梯度的聚合历史也会在正确的方向上推动参数更新。尽管在元参数中总结的或明确地存储在存储器中的梯度的历史在理论和实践中已经被证明是有效的,但是在决定参数更新时,历史中的梯度的$all$或仅子集是否足够的问题仍然没有答案。在本文中,我们提出了一个框架的内存增强的梯度下降优化,保留在其内部存储器的梯度历史的有限的看法。这样的优化器可以很好地扩展到大型现实数据集,我们的实验表明,标准优化器的内存增强扩展在我们考虑的大多数计算机视觉和语言任务上都可以加速收敛并提高性能。此外,我们证明了所提出的一类优化与固定大小的内存收敛强凸性的假设下,无论梯度被选择或它们是如何线性组合,形成更新步骤。

英文摘要:

Popular approaches for minimizing loss in data-driven learning often involve an abstraction or an explicit retention of the history of gradients for efficient parameter updates. The aggregated history of gradients nudges the parameter updates in the right direction even when the gradients at any given step are not informative. Although the history of gradients summarized in meta-parameters or explicitly stored in memory has been shown effective in theory and practice, the question of whether $all$ or only a subset of the gradients in the history are sufficient in deciding the parameter updates remains unanswered. In this paper, we propose a framework of memory-augmented gradient descent optimizers that retain a limited view of their gradient history in their internal memory. Such optimizers scale well to large real-life datasets, and our experiments show that the memory augmented extensions of standard optimizers enjoy accelerated convergence and improved performance on a majority of computer vision and language tasks that we considered. Additionally, we prove that the proposed class of optimizers with fixed-size memory converge under assumptions of strong convexity, regardless of which gradients are selected or how they are linearly combined to form the update step.

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

↑