arXiv:2510.09181cs.LGcs.AI2025-10

新任务训练会无意中攻击旧知识,导致遗忘。

On the Implicit Adversariality of Catastrophic Forgetting in Deep Continual Learning

  • 新任务梯度会自动对齐旧任务损失的尖锐方向,引发快速遗忘。
  • 梯度投影方法能缓解前向传播造成的攻击,但无法解决反向传播问题。
  • 提出backGP方法,平均减少10.8%遗忘,提升12.7%准确率。

持续学习旨在赋予机器类人能力,实现技能的不断积累。其核心挑战是灾难性遗忘,深层网络中该现象的成因尚未完全明晰。本文揭示:新任务训练本质上是对旧任务知识的隐式对抗攻击。具体而言,新任务梯度会自动且精准地对齐旧任务损失曲面的尖锐方向,迅速推高旧任务损失。这种对抗性对齐令人意外,因尖锐方向分布稀疏,难以偶然对齐。理论分析表明,这源于训练过程的低秩偏差:通过前向与反向传播,将两个方向限制在同个低维子空间,促成对齐。梯度投影(GP)类方法可缓解前向传播带来的对齐,却无法应对反向传播引起的对齐。为此,我们提出backGP,有效降低遗忘10.8%,平均准确率提升12.7%。

原文摘要 · Abstract (English)

Continual learning seeks the human-like ability to accumulate new skills in machine intelligence. Its central challenge is catastrophic forgetting, whose underlying cause has not been fully understood for deep networks. In this paper, we demystify catastrophic forgetting by revealing that the new-task training is implicitly an adversarial attack against the old-task knowledge. Specifically, the new-task gradients automatically and accurately align with the sharp directions of the old-task loss landscape, rapidly increasing the old-task loss. This adversarial alignment is intriguingly counter-intuitive because the sharp directions are too sparsely distributed to align with by chance. To understand it, we theoretically show that it arises from training's low-rank bias, which, through forward and backward propagation, confines the two directions into the same low-dimensional subspace, facilitating alignment. Gradient projection (GP) methods, a representative family of forgetting-mitigating methods, reduce adversarial alignment caused by forward propagation, but cannot address the alignment due to backward propagation. We propose backGP to address it, which reduces forgetting by 10.8% and improves accuracy by 12.7% on average over GP methods.

持续学习灾难性遗忘对抗攻击梯度投影

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