arXiv:2602.06441cs.LG2026-02被引 5

用记忆代替反向梯度,让模型更稳定地遗忘敏感数据

Is Gradient Ascent Really Necessary? Memorize to Forget for Machine Unlearning

  • 通过记忆异常数据构建参考模型,避免直接梯度上升
  • 新方法使遗忘过程更稳定,不引发性能崩溃
  • 适合需要安全可控删除数据的AI应用

为实现伦理与安全的AI,机器遗忘成为关键议题,旨在防止敏感、私密及版权内容被滥用。传统方法依赖梯度上升(GA)反向训练以消除不良数据影响,但易引发灾难性遗忘,导致整体性能严重下降。为此,我们提出模型外推法作为替代方案:以原始模型为参考,进一步训练其记忆不良数据,同时保持对其他保留数据的预测一致性,从而获得记忆模型。看似矛盾的是,从该记忆模型外推回参考模型即可得到遗忘模型。因此,我们不再使用梯度上升获取遗忘模型,而是对记忆模型采用梯度下降优化,显著提升了机器遗忘的稳定性。该方法实现简单高效,可在整个训练过程中有效收敛,提升遗忘性能。

原文摘要 · Abstract (English)

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.

机器遗忘模型外推梯度下降

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。