paper-with-me

Papers

Memory-Efficient 4-bit Preconditioned Stochastic Optimization

2024-12-14 · Jingyang Li, Kuangyu Ding, Kim-Chuan Toh, Pan Zhou

Preconditioned stochastic optimization algorithms, exemplified by Shampoo, outperform first-order optimizers by offering theoretical convergence benefits and practical gains in large-scale neural network training. However, they incur substantial memory overhead due to the storage demands of non-diagonal preconditioning matrices. To address this, we introduce 4-bit quantization for Shampoo's preconditioners. We introduce two key methods: First, we apply Cholesky decomposition followed by quantization of the Cholesky factors, reducing memory usage by leveraging their lower triangular structure while better preserving spectral properties to minimize information loss. To our knowledge, this is the first quantization approach applied to Cholesky factors of preconditioners. Second, we incorporate error feedback in the quantization process, efficiently storing Cholesky factor and error state in the lower and upper triangular parts of the same matrix. Through extensive experiments, we demonstrate that combining Cholesky quantization with error feedback enhances memory efficiency and algorithm performance in large-scale deep-learning tasks. Theoretically, we also provide convergence proofs for quantized Shampoo under both smooth and non-smooth stochastic optimization settings.

📄 PDF Abstract BibTeX arXiv:2412.10663

Code (0)

등록된 구현이 없습니다.

Tasks

QuantizationStochastic Optimization

Similar Papers 제목 키워드 기반

Stochastic Variable Metric Proximal Gradient with variance reduction for non-convex composite optimization

2023-01-02 · Gersende Fort, Eric Moulines

This paper introduces a novel algorithm, the Perturbed Proximal Preconditioned SPIDER algorithm (3P-SPIDER), designed to solve finite sum non-convex composite optimization. It is a stochastic Variable Metric Forward-Back…

Extreme Tensoring for Low-Memory Preconditioning

2019-02-12 · ICLR 2020 1 · Xinyi Chen, Naman Agarwal, Elad Hazan, Cyril Zhang 외

State-of-the-art models are now trained with billions of parameters, reaching hardware limits in terms of memory consumption. This has created a recent demand for memory-efficient optimizers. To this end, we investigate …

Stochastic Optimization

Shampoo: Preconditioned Stochastic Tensor Optimization

2018-02-26 · ICML 2018 7 · Vineet Gupta, Tomer Koren, Yoram Singer

Preconditioned gradient methods are among the most general and powerful tools in optimization. However, preconditioning requires storing and manipulating prohibitively large matrices. We describe and analyze a new struct…

Stochastic Optimization

A preconditioned accelerated stochastic gradient descent algorithm

2019-05-01 · ICLR 2019 5 · Alexandru Onose, Seyed Iman Mossavat, Henk-Jan H. Smilde

We propose a preconditioned accelerated stochastic gradient method suitable for large scale optimization. We derive sufficient convergence conditions for the minimization of convex functions using a generic class of diag…

Stochastic Optimization

The perturbed prox-preconditioned spider algorithm: non-asymptotic convergence bounds

2021-05-25 · Gersende Fort, E Moulines

A novel algorithm named Perturbed Prox-Preconditioned SPIDER (3P-SPIDER) is introduced. It is a stochastic variancereduced proximal-gradient type algorithm built on Stochastic Path Integral Differential EstimatoR (SPIDER…