paper-with-me

Papers

FlashOptim: Optimizers for Memory-Efficient Training

2026-02-26 · Jose Javier Gonzalez Ortiz, Abhay Gupta, Christopher Rinard, Davis Blalock arxiv

Standard mixed-precision training of neural networks requires many bytes of accelerator memory for each model parameter. These bytes reflect not just the parameter itself, but also its gradient and one or more optimizer state variables. With each of these values typically requiring 4 bytes, training even a 7 billion parameter model can be impractical for researchers with less than 100GB of accelerator memory. We introduce FlashOptim, a suite of optimizations that reduces per-parameter memory by over 50% while preserving model quality and API compatibility. Our approach introduces two key techniques. First, we improve master weight splitting by finding and exploiting a tight bound on its quantization error. Second, we design companding functions that greatly reduce the error in 8-bit optimizer state quantization. Together with 16-bit gradients, these techniques reduce AdamW memory from 16 bytes to 7 bytes per parameter, or 5 bytes with gradient release. They also cut model checkpoint sizes by more than half. Experiments with FlashOptim applied to SGD, AdamW, and Lion show no measurable quality degradation on any task from a collection of standard vision and language benchmarks, including Llama-3.1-8B finetuning.

📄 PDF Abstract BibTeX arXiv:2602.23349

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Practical tradeoffs between memory, compute, and performance in learned optimizers

2022-03-22 · Luke Metz, C. Daniel Freeman, James Harrison, Niru Maheswaranathan 외

Optimization plays a costly and crucial role in developing machine learning systems. In learned optimizers, the few hyperparameters of commonly used hand-designed optimizers, e.g. Adam or SGD, are replaced with flexible …

Navigating LLM Valley: From AdamW to Memory-Efficient and Matrix-Based Optimizers

2026-05-09 · Aditya Ranganath arxiv

Training large language models requires optimization algorithms that are not only statistically effective, but also computationally and memory efficient at extreme scale. Although Adam remains the dominant optimizer for …

Towards Efficient Optimizer Design for LLM via Structured Fisher Approximation with a Low-Rank Extension

2025-02-11 · Wenbo Gong, Meyer Scetbon, Chao Ma, Edward Meeds

Designing efficient optimizers for large language models (LLMs) with low-memory requirements and fast convergence is an important and challenging problem. This paper makes a step towards the systematic design of such opt…

Breaking Memory Limits: Gradient Wavelet Transform Enhances LLMs Training

2025-01-13 · Ziqing Wen, Ping Luo, Jiahuan Wang, Xiaoge Deng 외

Large language models (LLMs) have shown impressive performance across a range of natural language processing tasks. However, their vast number of parameters introduces significant memory challenges during training, parti…

Dynamic Memory Based Adaptive Optimization

2024-02-23 · Balázs Szegedy, Domonkos Czifra, Péter Kőrösi-Szabó

Define an optimizer as having memory $k$ if it stores $k$ dynamically changing vectors in the parameter space. Classical SGD has memory $0$, momentum SGD optimizer has $1$ and Adam optimizer has $2$. We address the follo…