Pushing the Limits of Low-Bit Optimizers: A Focus on EMA Dynamics

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Xu, Cong, Liang, Wenbin, Yu, Mo, Liu, Anan, Zhang, Ke-Yue, Wang, Shunli, Ma, Lizhuang, Wang, Jianyong, Wang, Jun, Zhang, Wei
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915332835246080
author Xu, Cong
Liang, Wenbin
Yu, Mo
Liu, Anan
Zhang, Ke-Yue
Wang, Shunli
Ma, Lizhuang
Wang, Jianyong
Wang, Jun
Zhang, Wei
author_facet Xu, Cong
Liang, Wenbin
Yu, Mo
Liu, Anan
Zhang, Ke-Yue
Wang, Shunli
Ma, Lizhuang
Wang, Jianyong
Wang, Jun
Zhang, Wei
contents The rapid scaling of models has led to prohibitively high training and fine-tuning costs. A major factor accounting for memory consumption is the widespread use of stateful optimizers (e.g., Adam), which maintain auxiliary information of even 2x the model size in order to achieve optimal convergence. We therefore present SOLO in this work to spawn a novel type of optimizer that requires an extremely light memory footprint. While previous efforts have achieved certain success in 8-bit or 4-bit cases, SOLO enables Adam-style optimizers to maintain quantized states with precision as low as 3 bits, or even 2 bits. This immense progress is due to the identification and resolution of two key challenges: the signal swamping problem in unsigned quantization that results in unchanged state dynamics, and the increased gradient variance in signed quantization that leads to incorrect descent directions. The theoretical analysis suggests a tailored logarithmic quantization for the former and a precision-specific momentum hyperparameter for the latter. SOLO can thus be seamlessly applied to Adam-style optimizers, leading to substantial memory savings with minimal accuracy loss.
format Preprint
id arxiv_https___arxiv_org_abs_2505_00347
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Pushing the Limits of Low-Bit Optimizers: A Focus on EMA Dynamics
Xu, Cong
Liang, Wenbin
Yu, Mo
Liu, Anan
Zhang, Ke-Yue
Wang, Shunli
Ma, Lizhuang
Wang, Jianyong
Wang, Jun
Zhang, Wei
Machine Learning
Artificial Intelligence
The rapid scaling of models has led to prohibitively high training and fine-tuning costs. A major factor accounting for memory consumption is the widespread use of stateful optimizers (e.g., Adam), which maintain auxiliary information of even 2x the model size in order to achieve optimal convergence. We therefore present SOLO in this work to spawn a novel type of optimizer that requires an extremely light memory footprint. While previous efforts have achieved certain success in 8-bit or 4-bit cases, SOLO enables Adam-style optimizers to maintain quantized states with precision as low as 3 bits, or even 2 bits. This immense progress is due to the identification and resolution of two key challenges: the signal swamping problem in unsigned quantization that results in unchanged state dynamics, and the increased gradient variance in signed quantization that leads to incorrect descent directions. The theoretical analysis suggests a tailored logarithmic quantization for the former and a precision-specific momentum hyperparameter for the latter. SOLO can thus be seamlessly applied to Adam-style optimizers, leading to substantial memory savings with minimal accuracy loss.
title Pushing the Limits of Low-Bit Optimizers: A Focus on EMA Dynamics
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2505.00347