Second-order methods hold significant promise for enhancing the convergence of deep neural network training; however, their large memory and computational demands have limited their practicality. Thus there is a need for scalable second-order methods that can efficiently train large models. In this paper, we introduce the Sparsified Online Newton (SONew) method, a memory-efficient second-order algorithm that yields a sparsified yet effective preconditioner. The algorithm emerges from a novel use of the LogDet matrix divergence measure; we combine it with sparsity constraints to minimize regret in the online convex optimization framework. Empirically, we test our method on large scale benchmarks of up to 1B parameters. We achieve up to 30% faster convergence, 3.4% relative improvement in validation performance, and 80% relative improvement in training loss, in comparison to memory efficient optimizers including first order methods. Powering the method is a surprising fact -- imposing structured sparsity patterns, like tridiagonal and banded structure, requires little to no overhead, making it as efficient and parallelizable as first-order methods. In wall-clock time, tridiagonal SONew is only about 3% slower per step than first-order methods but gives overall gains due to much faster convergence. In contrast, one of the state-of-the-art (SOTA) memory-intensive second-order methods, Shampoo, is unable to scale to large benchmarks. Additionally, while Shampoo necessitates significant engineering efforts to scale to large benchmarks, SONew offers a more straightforward implementation, increasing its practical appeal. SONew code is available at: https://github.com/devvrit/SONew
Newton Losses: Using Curvature Information for Learning with Differentiable Algorithms
Stanford University(斯坦福大学);University of Salzburg(萨尔茨堡大学);University of Konstanz(康斯坦茨大学);Tuebingen AI Center(蒂宾根人工智能中心);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室)
针对可微排序与最短路径损失的非凸及梯度消失、爆炸问题,本文提出 Newton Losses,仅利用损失的经验 Fisher 与 Hessian 二阶信息替换原损失,并在八种算法上验证其稳定提升。
An efficient Quasi-Newton method for nonlinear inverse problems via learned singular values
University of Sheffield(谢菲尔德大学);Purdue University(普渡大学);University of Science and Technology of China(中国科学技术大学);University of Oulu(奥卢大学);University College London(伦敦大学学院)
Computationally efficient Gauss-Newton reinforcement learning for model predictive control
Chair of Process Automation Systems, TU Dortmund University(多特蒙德工业大学过程自动化系统教席);Department of Engineering Cybernetics, Norwegian University of Science and Technology (NTNU)(挪威科技大学工程控制论系)
Online Newton Method for Bandit Convex Optimisation
University of Amsterdam(阿姆斯特丹大学);Leiden University(莱顿大学);Google DeepMind(谷歌DeepMind);Korteweg-de Vries Institute for Mathematics(科特韦格-德弗里斯数学研究所);Mathematical Institute(数学研究所)