arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.16629cs.LG
收藏

论机器遗忘中重训练等价性的不可能性

On the Impossibility of Retrain Equivalence in Machine Unlearning

Princeton Language and Intelligence(普林斯顿语言与智能)

Jiatong Yu, Yinghui He, Anirudh Goyal, Sanjeev Arora

AI总结:

本文通过理论与实验证明,在多阶段训练(如LLM微调)中,局部机器遗忘具有路径依赖性,导致重训练等价性无法普遍实现,呼吁重新思考机器遗忘的定义与目标。

摘要:

机器遗忘旨在选择性地移除特定训练数据对模型输出的“影响”。其理想目标是重训练等价性(Retrain Equivalence)——即行为与仅在保留数据上从头训练的模型完全一致。该目标最初是为在独立同分布(i.i.d.)数据批次上训练的模型而制定的,但现代训练流程通常包含多阶段训练,每个阶段具有不同的数据分布和目标。例如,用于对齐、推理能力等的LLM微调。我们通过理论和实验表明,向多阶段训练的转变给机器遗忘引入了根本性障碍。理论表明,局部遗忘(仅使用在遗忘集上计算的梯度的遗忘方法)的结果具有路径依赖性。即模型在遗忘过程中的行为受其学习阶段顺序的影响,使得路径无关算法无法普遍实现重训练等价性。我们在Llama和Qwen模型(1B至14B)的LLM后训练中,使用gradient ascent、NPO和SimNPO局部遗忘算法,实证展示了相同现象。通过相同训练阶段不同顺序微调的模型,在遗忘过程中的行为出现差异,不同路径下遗忘后GSM8K准确率的下降幅度差异超过20%。我们还观察到,某些学习路径持续产生遗忘缓慢的模型。在遗忘过程中,概率质量是被压缩进复述还是替代概念同样具有路径依赖性。这些结果一致表明,只要目标模型是分阶段训练的,重训练等价性就是局部遗忘算法的一个不适定目标。在难以获取模型训练历史的情况下,本研究呼吁重新思考机器遗忘的定义和期望目标。

英文摘要:

Machine unlearning seeks to selectively remove the "influence" of specific training data on a model's outputs. The ideal goal is Retrain Equivalence--behavior identical to a model trained from scratch on only the retained data. This goal was formulated for models trained on i.i.d. data batches, but modern pipelines often involve multi-stage training, with each stage having a distinct data distribution and objective. Examples include LLM fine-tuning for alignment, reasoning ability, etc. Our study shows via theory and experiments that this shift to multi-stage training introduces a fundamental barrier for machine unlearning. The theory indicates that the outcome of local unlearning--methods that only use gradients computed on the forget set--is path-dependent. That is, a model's behavior during unlearning is influenced by the order of its training stages during learning, making it impossible for path-oblivious algorithms to universally achieve Retrain Equivalence. We empirically demonstrate the same phenomenon in LLM post-training across Llama and Qwen models (1B to 14B) with gradient ascent, NPO, and SimNPO local unlearning algorithms. Models fine-tuned via different orderings of identical training stages diverge in behavior during unlearning, with the degradation in GSM8K accuracy after unlearning varying by over 20% across paths. We also observe that some learning paths consistently produce models that unlearn slowly. During unlearning, whether the probability mass gets squeezed into paraphrasing or alternative concepts is also path-dependent. These results consistently show that Retrain Equivalence is an ill-posed target for local unlearning algorithms, so long as the target models are trained in stages. In situations where access to models' training histories is hard, the current work calls for rethinking the definition and desiderata of machine unlearning.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑