[论文解读] Is Gradient Ascent Really Necessary? Memorize to Forget for Machine Unlearning
论文提出 MOX,一种仅使用梯度下降的机器学习遗忘框架,通过记忆 undesired 数据并向参考模型外推以实现遗忘,避免梯度上升,从而提高稳定性和效用。
For ethical and safe AI, machine unlearning rises as a critical topic aiming to protect sensitive, private, and copyrighted knowledge from misuse. To achieve this goal, it is common to conduct gradient ascent (GA) to reverse the training on undesired data. However, such a reversal is prone to catastrophic collapse, which leads to serious performance degradation in general tasks. As a solution, we propose model extrapolation as an alternative to GA, which reaches the counterpart direction in the hypothesis space from one model given another reference model. Therefore, we leverage the original model as the reference, further train it to memorize undesired data while keeping prediction consistency on the rest retained data, to obtain a memorization model. Counterfactual as it might sound, a forget model can be obtained via extrapolation from the memorization model to the reference model. Hence, we avoid directly acquiring the forget model using GA, but proceed with gradient descent for the memorization model, which successfully stabilizes the machine unlearning process. Our model extrapolation is simple and efficient to implement, and it can also effectively converge throughout training to achieve improved unlearning performance.
研究动机与目标
- 通过机器遗忘在大模型中引发的隐私、安全和版权问题进行动机阐述与解决。
- 显示梯度上升在遗忘过程可能导致不稳定与效用下降。
- 提出基于记忆的学习(memorize)及随后模型外推(extrapolate)来实现遗忘。
- 在保留数据上保持性能,同时有效遗忘 undesired 信息。
提出的方法
- 在遗忘集上定义记忆损失以及一个 KL 散度的一致性项以保持效用。
- 引入 MOdel eXtrapolation (MOX):先通过梯度下降优化记忆以获得记忆模型,然后使用 theta_for = (1+α) theta_ref − α theta_mem 将记忆模型外推到遗忘模型。
- 施加不可逆梯度回避以确保稳定优化并防止崩溃。
- 将 MOX 拓展到具有额外遗忘项的定向遗忘。
- 通过动量外推提升泛化,并在训练期间允许在线、动态应用。

实验结果
研究问题
- RQ1是否可以在不使用梯度上升的情况下,通过聚焦记忆及随后外推实现遗忘?
- RQ2从记忆模型外推到参考模型是否能可靠地产生遗忘模型,从而削弱 undesired knowledge 同时保留 retained knowledge?
- RQ3超参数 α(外推强度)和 η(动量)如何影响不同数据集上的遗忘质量和效用?
- RQ4MOX 是否对不同基准和基础 LLMs 具有鲁棒性与高效性,能否处理定向遗忘?
主要发现
- MOX 通过避免梯度上升并使用梯度下降进行记忆来稳定机器遗忘。
- 从记忆模型向参考模型外推可得到有效移除 undesired knowledge 的遗忘模型。
- MOX 在大多数设定下保持 retained 数据上的模型效用,并在各基准上展现出强遗忘性能。
- 动量外推通过在训练期间对历史权重进行集合,进一步提升遗忘效果。
- 良好选择的 α 能在有限的效用损失下控制遗忘质量,且 MOX 在不同遗忘集规模下仍保持稳定。
- MOX 在 TOFU 与 MUSE 基准上对若干强基线具有竞争力或更优表现。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。