BReD: Block Replay Dithering for Stable Low-Bit EMA Optimizer States

Heshen Zhan, Youhan Huang, Yunke Peng, Yao Wang, Linghui Kong +5 more
11/25/2026
cs.LGstat.ML

Official code: ZhanHeshen/BReD (3 stars, Python, last commit 2026-11-23).

Abstract

Low-bit storage of optimizer states can substantially reduce the memory footprint of large-scale training. In practice, however, these states are not quantized once: at every training step, they are dequantized, updated, requantized, and written back.

Show full abstract

This iterative quantization pipeline can destabilize training. We identify a failure mode behind this instability: for states updated via exponential moving averages (EMAs), quantization errors are recursively fed into subsequent updates. As a result, biased errors accumulate over time while high-variance errors are amplified, particularly when the EMA decay factor is close to 1. To address this error accumulation, we propose BReD (Block Replay Dithering), a method that reduces rounding bias and controls rounding variance during quantization. BReD adapts classical subtractive dithering to optimizer-state quantization by combining deterministic seed replay with block-wise shared dither values, avoiding auxiliary random-tensor storage and per-element dither values generation. Across the default pretraining settings (five optimizers at 120M; AdamW and Muon at 1.1B and 3.4B model) and supervised fine-tuning (AdamW and Muon at 7B model), 4-bit BReD closely matches training with full-precision optimizer states, with PPL shifts $\leq0.5$ in pretraining and $\leq0.2$ in fine-tuning and average downstream performance changes within 0.7 points. Moreover, 3-bit BReD preserves stable convergence in the evaluated settings, offering a more aggressive alternative. Our implementation of BReD is available at: https://github.com/ZhanHeshen/BReD

View on arXivView PDF

Code Implementations(1)

ZhanHeshen/BReDOfficial100%

Code of paper "BReD: Block Replay Dithering for Stable Low-Bit EMA Optimizer States"

30PythonOct 4, 20261 weeks agoNOASSERTION

Similar Papers

Cite this paper

@article{zhan2026bred,
  title  = {BReD: Block Replay Dithering for Stable Low-Bit EMA Optimizer States},
  author = {Heshen Zhan and Youhan Huang and Yunke Peng and Yao Wang and Linghui Kong and Ziwei Zhu and Qingyu Han and Yaoyuan Wang and Congliang Chen and Ruoyu Sun},
  year   = {2026},
  eprint = {2611.33951},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.33951v1}
}

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/2611.33951.svg)](https://codeofpaper.com/paper/2611.33951)

Discussion