paper-with-me

홈 › Papers

Error Feedback Can Accurately Compress Preconditioners

2023-06-09 · Ionut-Vlad Modoranu, Aleksei Kalinov, Eldar Kurtic, Elias Frantar, Dan Alistarh

Leveraging second-order information about the loss at the scale of deep networks is one of the main lines of approach for improving the performance of current optimizers for deep learning. Yet, existing approaches for accurate full-matrix preconditioning, such as Full-Matrix Adagrad (GGT) or Matrix-Free Approximate Curvature (M-FAC) suffer from massive storage costs when applied even to small-scale models, as they must store a sliding window of gradients, whose memory requirements are multiplicative in the model dimension. In this paper, we address this issue via a novel and efficient error-feedback technique that can be applied to compress preconditioners by up to two orders of magnitude in practice, without loss of convergence. Specifically, our approach compresses the gradient information via sparsification or low-rank compression \emph{before} it is fed into the preconditioner, feeding the compression error back into future iterations. Experiments on deep neural networks show that this approach can compress full-matrix preconditioners to up to 99\% sparsity without accuracy loss, effectively removing the memory overhead of full-matrix preconditioners such as GGT and M-FAC. Our code is available at \url{https://github.com/IST-DASLab/EFCP}.

📄 PDF Abstract BibTeX arXiv:2306.06098

Code (1)

ist-daslab/efcp 공식 구현 jax

Tasks

ClassificationSecond-order methods

Methods 이 논문이 사용한 방법론

AdaGrad AdaGrad is a stochastic optimization method that adapts the learning rate to the parameters. It performs smaller updates for parameters associated with frequently occurring…

Similar 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. Howeve…

QuantizationStochastic Optimization

PEARL: Preconditioner Enhancement through Actor-critic Reinforcement Learning

2025-01-18 · David Millard, Arielle Carr, Stéphane Gaudreault, Ali Baheri

We present PEARL (Preconditioner Enhancement through Actor-critic Reinforcement Learning), a novel approach to learning matrix preconditioners. Existing preconditioners such as Jacobi, Incomplete LU, and Algebraic Multig…

reinforcement-learningReinforcement Learning

A Neural-preconditioned Poisson Solver for Mixed Dirichlet and Neumann Boundary Conditions

2023-09-29 · Kai Weixian Lan, Elias Gueidon, Ayano Kaneda, Julian Panetta 외

We introduce a neural-preconditioned iterative solver for Poisson equations with mixed boundary conditions. Typical Poisson discretizations yield large, ill-conditioned linear systems. Iterative solvers can be effective …

Error Feedback Fixes SignSGD and other Gradient Compression Schemes

2019-01-28 · Sai Praneeth Karimireddy, Quentin Rebjock, Sebastian U. Stich, Martin Jaggi

Sign-based algorithms (e.g. signSGD) have been proposed as a biased gradient compression technique to alleviate the communication bottleneck in training large neural networks across multiple workers. We show simple conve…

Analysis of Error Feedback in Federated Non-Convex Optimization with Biased Compression

2022-11-25 · Xiaoyun Li, Ping Li

In federated learning (FL) systems, e.g., wireless networks, the communication cost between the clients and the central server can often be a bottleneck. To reduce the communication cost, the paradigm of communication co…

Federated Learning