paper-with-me

홈 › Papers

AdaLomo: Low-memory Optimization with Adaptive Learning Rate

2023-10-16 · Kai Lv, Hang Yan, Qipeng Guo, Haijun Lv, Xipeng Qiu

Large language models have achieved remarkable success, but their extensive parameter size necessitates substantial memory for training, thereby setting a high threshold. While the recently proposed low-memory optimization (LOMO) reduces memory footprint, its optimization technique, akin to stochastic gradient descent, is sensitive to hyper-parameters and exhibits suboptimal convergence, failing to match the performance of the prevailing optimizer for large language models, AdamW. Through empirical analysis of the Adam optimizer, we found that, compared to momentum, the adaptive learning rate is more critical for bridging the gap. Building on this insight, we introduce the low-memory optimization with adaptive learning rate (AdaLomo), which offers an adaptive learning rate for each parameter. To maintain memory efficiency, we employ non-negative matrix factorization for the second-order moment estimation in the optimizer state. Additionally, we suggest the use of a grouped update normalization to stabilize convergence. Our experiments with instruction-tuning and further pre-training demonstrate that AdaLomo achieves results on par with AdamW, while significantly reducing memory requirements, thereby lowering the hardware barrier to training large language models. The code is accessible at https://github.com/OpenLMLab/LOMO.

📄 PDF Abstract BibTeX arXiv:2310.10195

Code (1)

openlmlab/lomo 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

AdamW AdamW is a stochastic optimization method that modifies the typical implementation of weight decay in Adam, by decoupling [weight…
Adam 설명 없음

Similar Papers 제목 키워드 기반

CoLLiE: Collaborative Training of Large Language Models in an Efficient Way

2023-12-01 · Kai Lv, Shuo Zhang, Tianle Gu, Shuhao Xing 외

Large language models (LLMs) are increasingly pivotal in a wide range of natural language processing tasks. Access to pre-trained models, courtesy of the open-source community, has made it possible to adapt these models …

GPUparameter-efficient fine-tuning

On Adaptivity in Zeroth-Order Optimization

2026-05-05 · Hassan Dbouk, Nidham Gazagnadou, Matthias Reisser, Christos Louizos arxiv

We investigate the effectiveness of adaptive zeroth-order (ZO) optimization for memory-constrained fine-tuning of large language models (LLMs). Contrary to prior claims, we show that adaptive ZO methods such as ZO-Adam o…

Memory-Efficient Adaptive Optimization

2019-01-30 · Rohan Anil, Vineet Gupta, Tomer Koren, Yoram Singer

Adaptive gradient-based optimizers such as Adagrad and Adam are crucial for achieving state-of-the-art performance in machine translation and language modeling. However, these methods maintain second-order statistics for…

Language ModelingLanguage ModellingMachine TranslationTranslation

Memory Efficient Adaptive Optimization

2019-12-01 · NeurIPS 2019 12 · Rohan Anil, Vineet Gupta, Tomer Koren, Yoram Singer

Adaptive gradient-based optimizers such as Adagrad and Adam are crucial for achieving state-of-the-art performance in machine translation and language modeling. However, these methods maintain second-order statistics for…

Language ModelingLanguage ModellingMachine TranslationTranslation

ReLMXEL: Adaptive RL-Based Memory Controller with Explainable Energy and Latency Optimization

2026-03-18 · Panuganti Chirag Sai, Gandholi Sarat, R. Raghunatha Sarma, Venkata Kalyan Tavva 외 arxiv

Reducing latency and energy consumption is critical to improving the efficiency of memory systems in modern computing. This work introduces ReLMXEL (Reinforcement Learning for Memory Controller with Explainable Energy an…

Reinforcement Learning