NeurIPS 2026QuestionsPapersAreasAboutMarkdown

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

Heshen Zhan, Youhan Huang, Yunke Peng, Yao Wang, Linghui Kong, Ziwei Zhu, Qingyu Han, Yaoyuan Wang, Congliang Chen, Ruoyu Sun

NeurIPS page · OpenReview · Open on the map

Category: Efficient LLM Inference & Training › Low-bit Post-Training Quantization · Type: new method · Keywords: low-bit optimizer quantization, quantization error accumulation, deterministic dither, block-wise shared dither, stable training

Summary

BReD introduces block replay dithering to reduce rounding bias and control variance in low-bit EMA optimizer states, enabling stable training with minimal performance loss.

Explained to a 5-year-old

Computers learn by adjusting their settings a little each time they see new information. To remember how to adjust, they keep a copy of these changes called an optimizer state. If this copy is stored using very few bits, the tiny rounding errors can start to add up. These errors get mixed into the next updates, making the learning process wobble. The paper finds a trick that spreads the errors out evenly and reuses some random numbers so the copy stays balanced. This makes learning faster, uses less memory, and still gives almost the same good results.

Explained to a 5-year-old, longer

When a computer learns, it changes its internal settings a little bit each time it sees new information. To remember how to change, it keeps a copy of these changes called an optimizer state. Storing this copy using only a few bits saves a lot of memory, which is great for big models. However, when the copy is very small, the tiny rounding errors can start to add up. These errors get mixed into the next updates, making the learning process wobble and sometimes stop improving. The paper looks at why this happens, especially when the optimizer uses a moving average of past changes. They find that the errors become biased and noisy, which makes training less reliable. To fix this, they create a new trick that spreads the errors out evenly and reuses some random values. This trick avoids storing a huge amount of extra random data, keeping the memory savings. By applying this method, the optimizer states stay more stable even when they are only a few bits. As a result, the model still learns almost as well as when using full-precision states. This allows researchers and engineers to train huge models on less powerful hardware without losing performance.

For a technical reader

The paper addresses instability in low-bit quantized optimizer states caused by accumulated quantization error during iterative dequantize-update-requantize cycles. It proposes a block-wise deterministic dither scheme that replays seeds and shares dither values across blocks, eliminating per-element random tensors while reducing both bias and variance in rounding. This method is applied to exponential moving-average based optimizers, preserving convergence and keeping perplexity shifts under 0.5 for 4-bit and stable training for 3-bit quantization. Experiments across multiple model sizes (120M to 7B) and optimizers (AdamW, Muon) demonstrate that the approach matches full-precision performance with significantly lower memory usage.

Problem

Quantizing optimizer states to low bits can destabilize training because quantization errors accumulate over repeated dequantize-update-requantize cycles, especially when states are updated using a moving average of past gradients.

Method

The approach adapts subtractive dithering by replaying deterministic seeds and sharing dither values across blocks, reducing rounding bias and variance without storing per-element random tensors. This block-wise dither scheme is applied to optimizer-state quantization to mitigate error accumulation.

Results

4-bit quantization with the approach yields perplexity shifts ≤0.5 in pretraining and ≤0.2 in fine-tuning, with downstream performance changes within 0.7 points, while 3-bit preserves stable convergence.

Contributions

A block-wise deterministic dither scheme that reduces rounding bias and variance in low-bit optimizer states, enabling stable training with minimal accuracy loss across a range of model sizes and optimizers.

Practical relevance

Enables large-scale training with significantly lower memory usage while maintaining model performance, facilitating training on more modest hardware.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction