Wavelet Meets Adam: Compressing Gradients for Memory-Efficient Training

Ziqing Wen, Ping Luo, Jiahuan Wang, Xiaoge Deng, Jinping Zou +3 more
1/13/2025
cs.LGcs.AI

No official code found. Best implementation: zqOuO/GWT (14 stars, last commit 2026-05-04).

Abstract

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, particularly when using memory-intensive optimizers like Adam. Existing memory-efficient algorithms often rely on techniques such as singular value decomposition projection or weight freezing. While these approaches help alleviate memory constraints, they generally produce suboptimal results compared to full-rank updates. In this paper, we investigate the memory-efficient method beyond low-rank training, proposing a novel solution called Gradient Wavelet Transform (GWT), which applies wavelet transforms to gradients in order to significantly reduce the memory requirements for maintaining optimizer states. We demonstrate that GWT can be seamlessly integrated with memory-intensive optimizers, enabling efficient training without sacrificing performance. Through extensive experiments on both pre-training and fine-tuning tasks, we show that GWT achieves state-of-the-art performance compared with advanced memory-efficient optimizers and full-rank approaches in terms of both memory usage and training performance.

View on arXivView PDF

Code Implementations(1)

zqOuO/GWTCommunity100%
140Shell, PythonJan 13, 20255 months ago

Cite this paper

@article{wen2025wavelet,
  title  = {Wavelet Meets Adam: Compressing Gradients for Memory-Efficient Training},
  author = {Ziqing Wen and Ping Luo and Jiahuan Wang and Xiaoge Deng and Jinping Zou and Kun Yuan and Tao Sun and Dongsheng Li},
  year   = {2025},
  eprint = {2501.07237},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.07237v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.07237.svg)](https://codeofpaper.com/paper/2501.07237)

Discussion