New rounding methods aim to bring 4-Bit AdamW closer to 32-bit results

Paper / preprint arXiv cs.LG · Reported findings, not independently verified by us.

A study introduces two methods intended to improve 4-bit quantization of AdamW optimizer states. In pretraining experiments with GPT- and Llama-style models, both reduced the mean validation-loss gap to 32-bit AdamW compared with TorchAO 4-bit AdamW; the largest reported reduction in that gap is 70 percent.

The approach focuses on rounding: a quantizer’s choice between adjacent reconstruction values depends on the space in which it makes that choice. For the second moment, the authors show that a small mean error in the state does not necessarily mean a small error in the resulting preconditioner. A one-dimensional quadratic construction also illustrates different optimization dynamics when rounding in state space versus preconditioner space.

ZIP-SR retains zero in the second-moment codebook and calculates stochastic-rounding probabilities in preconditioner space. ZE-EDEN excludes zero from the codebook and rescales the quantized block to mitigate distortion from the positive quantization floor. Both methods quantize the first moment using 4-bit NF4; during the final ten percent of training, they apply targeted stochastic rounding to the LM-head first moment.

The pretraining tests cover models with 130 million to 2.7 billion parameters. For full-parameter supervised fine-tuning, the authors report lower validation losses than TorchAO for both methods and results close to 32-bit AdamW on downstream tasks. The source describes the methods and results but gives no runtime or memory comparisons. The original entry provides further details on the analysis and experiments.

Original source on arXiv

🇬🇧 https://arxiv.org/abs/2610.12444v1

Leave a Comment

The weekly brief: selected developments, projects and videos