ResQAdam: Residual-Preserving Adaptive Optimization for Memory-Efficient Quantization Aware Training
Liqun Ma, Shengkun Tang, Liangyu Wang, Lin Zhao, Wei Luo, Xinjun Niu, Spandan Tiwari, Ashish Sirasao, Kun Zhang, Zhiqiang Shen
Abstract
Quantization-aware training (QAT) is the most reliable way to obtain accurate low-bit large language models (LLMs), but training with AdamW keeps two dense FP32 states for every weight matrix. We find that low-rank memory-efficient optimizers such as GaLore and LDAdam degrade substantially in QAT. A considerable part of the QAT momentum lies outside its top-r singular subspace, and projection-based methods discard this part at every step. We further observe that this residual remains useful when only its sign is kept. Based on these observations, we propose ResQAdam. It keeps a single BF16 momentum, applies Adam only to the r x r coordinates of the principal subspace, and adds a normalized sign update computed from the residual. We evaluate ResQAdam with two from-scratch QAT methods and three QAT fine-tuning pipelines, with weights quantized down to 2 bits. It reduces optimizer-state memory by 71% to 74% relative to AdamW, stays close to AdamW in most settings, and lowers training throughput by less than 2%.
Create a lesson
Related papers
DRAM: Memory-Efficient Muon via Rank Reallocation in Principal-Random Subspaces
Shared title terminology · Haomin Bai, Dingzhi Yu, Xuling Zhao et al.
Ranking-Preserving Coreset Selection for Efficient Evolutionary Hyperparameter Optimization
Shared title terminology · Mamoona Tasadduq, Maryam Bashir
Jointly Optimizing Memory, Computing and Offloading for Energy-Efficient DNN Inference
Shared title terminology · Yunchu Han, Zhaojun Nan, Sheng Zhou et al.
MINE: Entropy-coded Memory-efficient Inference for Large Language Models
Shared title terminology · Emil Schätzle, Markus Püschel
ARC: Adaptive Rollout Control for Efficient Synchronous LLM Reinforcement Learning
Shared title terminology · Yihui Zhang, Tianyu Wo, Jinghao Wang et al.
Model Carving: Training Transformers That Optimize Their Own Topology
Shared title terminology · Kaden Zheng, Pratyusha Sharma