首页 > AI前沿 > BReD: Block Replay Dithering for Stable Low-Bit EMA Optimizer States

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

arXiv机器学习 2026-11-25 16:13 3 阅读 查看原文
用户现在需要把给定的新闻正文排版成语义化的HTML片段,要遵循规则,每个自然段落用p包裹,重要句子可以加strong,保留所有信息。首先看原文,第一段是介绍低比特存储优化器状态的问题和提出的BReD。首先,原文是一段完整的内容?不对,仔细看,原文是连贯的一段,但可以划分小节吗?不对,原文的结构:首先讲低比特存储的问题,然后识别的失败模式,然后提出的BReD方法,然后实验结果,最后实现地址。按照规则,用h2或者h3划分?不对,看内容,首先可以加一个h2?不对,先看,首先开头的内容,先处理: 首先,第一句到“particularly when the EMA decay factor is close to 1.”这部分是讲问题和失败模式,然后下一部分是提出的BReD方法,然后实验结果,然后实现地址。不过要保留所有内容,不增删。那正确的排版: 首先,用

讲问题与方法动机?不对,不能加内容,哦对,不能增删,所以h2的文本必须来自原文?不对,规则2是长文用h2/h3划分小节,那原文的内容可以划分成几个小节,h2的文本要从原文里提取吗?不对,看原文的结构: 1. 开头讲低比特存储的作用,以及实际中的迭代量化导致不稳定,然后识别失败模式,这部分是一个小节? 2. 然后提出BReD方法,介绍其原理,这部分是第二个小节? 3. 然后实验结果,第三个小节? 4. 最后实现地址,放在最后? 不对,要准确,不能添加原文没有的h2文本?哦对,规则4是保留原文所有信息,不得增删改内容。所以h2的文本必须是原文里的内容?比如:

问题与失败模式识别

?不对,这会增删,不行。哦,不对,规则2是划分小节,但h2的内容必须是原文里的吗?等下看用户的要求:“保留原文所有信息,不得增删改内容”,所以不能添加原文没有的文字,所以h2的标题应该是从原文里摘取的关键句?比如: 原文里的“Low-bit storage of optimizer states can substantially reduce the memory footprint of large-scale training.”可以作为h2?不对,或者看,其实原文的段落可以这样划分: 首先,

开头的一段:Low-bit storage... close to 1. 这部分讲背景和问题原因,然后

To address this error accumulation... generation. 这部分讲提出的方法,然后

Across the default pretraining settings... points. 这部分讲实验结果,然后

Moreover, 3-bit BReD... https://github.com/ZhanHeshen/BReD 这部分讲3bit的情况和实现地址。然后重要的句子加strong,比如“We identify a failure mode behind this instability: for states updated via exponential moving averages (EMAs), quantization errors are recursively fed into subsequent updates.”这里的关键部分可以加strong?还有“we propose BReD (Block Replay Dithering), a method that reduces rounding bias and controls rounding variance during quantization.”这些可以加strong。 等下,正确的排版:

研究背景与问题分析

不行,这是添加的内容,违反规则4。哦,原来h2的文本必须是原文里的内容吗?对,因为不能增删。那比如,原文里的第一部分可以不用h2?不对,规则2说长文用h2/h3划分小节,所以要把原文的内容分成几个小节,每个小节的标题用原文里的关键词句? 哦,等下,看原文的结构,其实是: 1. 背景与问题:从开头到“particularly when the EMA decay factor is close to 1.” 2. 提出方法:从“To address this error accumulation”到“avoiding auxiliary random-tensor storage and per-element dither values generation.” 3. 实验结果:从“Across the default pretraining settings”到“average downstream performance changes within 0.7 points.” 4. 补充与实现:最后两句。 那h2的标题可以用原文里的句子,比如第一个h2:

Low-bit storage of optimizer states

?不对,然后下面放

内容?或者,其实可以这样:

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. 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

不对,但是规则2说长文用h2/h3划分小节,所以需要加h2,但是h2的内容不能是添加的,必须来自原文。比如:

问题识别

不行,这是添加的。哦,等下,是不是可以把原文的每个关键部分的开头作为h2?比如:

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. 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.

不对,这样拆分会把原文的句子拆碎,不行。哦,对,不能拆分原文的句子,所以h2应该是概括原文的,但不能添加内容?不对,规则4是保留原文所有信息,不得增删改内容,所以不能添加原文没有的文字,所以h2的文本必须是原文里存在的。那可能原文的结构不需要强制加h2?不对,规则2说长文用h2/h3划分小节,这个原文不算特别长,但可以划分。哦,对了,原文里的内容,比如:

问题与失败模式

不行,这是添加的。哦,等下,可能我理解错了,规则2的“划分小节”是指用原文的内容作为小节标题,比如:

Low-bit optimizer state storage issues

还是添加的。不对,那可能不需要加h2?不对,再看规则2:“长文用

/

划分小节”,如果原文不算长文,就可以不用?但用户给的原文是一段,但可以分成几个自然段用p包裹,重要的加strong。 等下,再仔细看规则:2.每个