arXiv:2610.24598cs.LGOct 2026

Manuscript Offprint

arXiv:2610.24598

AdamPM: Memory-Efficient LLM Optimization via Moment Pooling

Xiaowei Ji, Lishan Xu, Jianing An, Jie Luo, Wenjun Wu, Lei Huang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Adam is widely used for training large language models (LLMs) owing to its strong optimization performance and training stability, but its element-wise estimation for the first and second moments incur substantial memory overhead. Although numerous memory-efficient optimizers have been proposed, many incur additional computational overhead or require additional tuning of hyperparameters. Consequently, Adam remains a dominant and reliable choice for LLM pre-training. We propose AdamPM (Adam with Pooled Moments), a simple and memory-efficient variant of Adam that groups adjacent moment entries along the row or column dimension and represents each group by a single shared mean. AdamPM can well inherit Adam's hyperparameter settings and is readily integrated into existing Adam optimizer implementations, with less memory overhead. We systematically investigate pooling of both first and second moment estimates and identify second moment pooling as the effective design. With a group size of s, AdamPM reduces second moment memory to 1/s of the original requirement. Extensive experiments on language model pretraining, fine-tuning and multimodal learning demonstrate that AdamPM maintains model performance and training speed while substantially reducing optimizer-state memory. Our code is available at https://github.com/jixiaowei95/AdamPM.

1 INTRODUCTION

Adam (Kingma & Ba, 2015) and its decoupled weight-decay variant AdamW (Loshchilov & Hutter, 2019), which combine momentum with adaptive learning rates, have become the de facto standard for LLM training due to their strong convergence and stability. However, these advantages come at a substantial memory cost: Adam maintains first and second moment estimates for each parameter, requiring storage for two additional optimizer states per parameter.

As LLMs scale to trillions of parameters, this overhead becomes increasingly prohibitive. Against this backdrop, memory-efficient optimizers have emerged as an important research direction, aiming to reduce training memory consumption through optimizer design while preserving the performance of conventional adaptive methods. Representative approaches achieve this goal by projecting gradients into low-rank subspaces (Zhu et al., 2025; Robert et al., 2025), factorizing the second moment state (Luo et al., 2023), sharing the moment statistics (Zhang et al., 2025; Wen et al., 2026b), and employing orthogonalization (Liu et al., 2025) or sign-based update rules (Chen et al., 2023) to eliminate the second moment state.

However, a recent survey from Stanford University (Wen et al., 2026a) notes that, despite numerous optimizers claiming faster training or lower memory consumption, Adam remains the robust default for LLM pre-training, with its primary limitation being the memory overhead of optimizer states. This raises a natural question:

Before an optimizer consistently surpasses Adam in both performance and robustness, would a memory-efficient variant with only minimal modifications to Adam be a better practical choice?

∗^{*}Corresponding author.

In this work, we systematically analyze the correlations and redundancy in Adam’s optimizer states, and propose AdamPM, a minimally modified Adam variant that groups adjacent second moment entries and shares one statistic within each group. Our main contributions are summarized as follows:

• We propose AdamPM, a memory-efficient optimizer for LLM training that reduces optimizer-state memory without sacrificing model performance or increasing training time. AdamPM makes only a minimal modification to vanilla Adam by pooling the second moment state. It can directly reuse Adam's hyperparameters, including the learning rate and decay rates, and is fully model-agnostic. These characteristics of AdamPM are validated by experiments on LLM pre-training, language-model and vision-language model fine-tuning.

• We systematically investigate the pooling of both first and second moments through experiments. We find that the first moment contains substantially more information and is highly sensitive to pooling, explaining why most memory-efficient optimizers primarily compress the second moment. We introduce cosine similarity and relative error to quantify deviations from vanilla Adam, and show that AdamPM's preconditioners and parameter updates become more similar to those of Adam as model scale grows, suggesting that AdamPM offers greater memory-efficiency benefits over Adam for larger models.