A Computationally Efficient Sparsified Online Newton Method
Not on the map. Why?
Abstract (arXiv)
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
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 15 of its 48 references that are in the map. First posted on arXiv 16 Nov 2023.
Builds on
15 of 48 references.
References · 15
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
- 2018Relational inductive biases, deep learning, and graph networkscited by 1,341
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
- 2019Introduction to Online Convex Optimizationcited by 793
- 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 776
- 2014Deep Learning in Neural Networks: An Overviewcited by 765
- 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 413
- 2022What Language Model Architecture and Pretraining Objective Work Best for Zero-Shot Generalization?cited by 149
- 2023A Distributed Data-Parallel PyTorch Implementation of the Distributed Shampoo Optimizer for Training Neural Networks At-Scalecited by 69
- 2020Practical Quasi-Newton Methods for Training Deep Neural Networkscited by 67
Built on by
Not cited yet.