论文

BF16 写回精度缺陷导致四比特量化后 LLM 遗忘失效

BFloat16 Writeback Freezing Makes LLM Unlearning Fragile to Wide-Gap Four-Bit Quantization

精选理由

做模型遗忘的研究者应该看看这篇: forgetting 后模型一量化就把删掉的内容吐回来,居然不是量化器的锅,而是训练时 BF16 写回把权重冻住了。换成随机舍入一行改动,FP4 rebound 从 30.2 降到 0.09,Llama、Qwen2.5、Gemma-4 都验证过。

一项审计发现,主流 LLM 遗忘训练管道存在上游精度缺陷:Zhang et al. 的 MUSE 训练器和单 GPU 版 open-unlearning 默认采用纯 BF16 舍入存储,即使优化器动量使用 FP32,仍会冻结 83%-95% 的权重,并把更新集中在 |w0|≤2^-8 的小权重区间,恰好是 bnb-FP4、逐通道 GPTQ 等宽间隙四比特量化器和幅度剪枝会抹除的位置。

正文

在 MUSE-News 基准上(Llama-2-7B,n=3),仅把写回改为随机舍入(BF16+SR),即可将第 10 轮 FP4 和逐通道 GPTQ 的逐字复现从 30.2 降至 0.09、19.0 降至 0.21,并在两次独立运行中把非饱和早停 FP4 复现削减 92%。作者还在 1B-8B 规模上用 Llama、Qwen2.5、Gemma-4 复现了 rebound,并对 Qwen3.8 的 27B 模型做了局部冻结检查。

这项工作把此前被归咎于量化方法本身的"遗忘失效"问题,定位到训练器写回精度这一可修复环节,并给出可操作的检查项:先检查训练层权重移动量 f_move^tr,再联合调整写回精度和学习率。

原文 · arXiv cs.LG

BFloat16 Writeback Freezing Makes LLM Unlearning Fragile to Wide-Gap Four-Bit Quantization

Four-bit post-training quantization (PTQ) can restore supposedly forgotten text after LLM unlearning (Zhang et al., 2025). Auditing seven public repositories reveals an upstream precision defect: both Zhang et al.'s MUSE trainer and single-GPU open-unlearning default to pure-BF16 round-to-nearest (RN) storage, freezing 83%-95% of weights even with FP32 optimizer moments and concentrating updates inside $|w_0| \le 2^{-8}$ where wide-gap four-bit quantizers (bnb-FP4, per-channel GPTQ) and magnitude pruning erase them. On MUSE-News (Llama-2-7B, $n=3$), switching only writeback to stochastic rounding (BF16+SR) eliminates severe Ep. 10 FP4 and per-channel GPTQ verbatim rebound ($30.2 \to 0.09$ and $19.0 \to 0.21$) and cuts non-saturated early-stop FP4 rebound by 92% across two independent runs (30 neighboring checkpoints across 3 seeds). A single-seed same-checkpoint GPTQ sweep is consistent with median zero-cell half-width $\mathrm{hw}_0$ crossing $τ= 2^{-8}$, while strict zero-BF16 FP32 1B surgeries establish near-zero support sufficiency alongside update-magnitude co-mediation on natural 7B runs. Combining sufficient arithmetic bounds, 1B-8B rebound replications (Llama, Qwen2.5, Gemma-4), and localized 27B freezing checks (Qwen3.8), we recommend checking trained-layer weight movement ($f_{\mathrm{move}}^{\mathrm{tr}}$) before jointly tuning writeback precision and learning rate.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:LLM unlearning、量化、BF16、GPTQ,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Weiye Yuan, Xue Yuan),经 AITOP 多维评分管线结构化提炼。