arXiv:2506.04377cs.LG2025-06被引 3

研究发现,重放样本可能加剧遗忘,而非总是缓解。

Replay Can Provably Increase Forgetting

  • 在过参数线性回归中分析重放机制,揭示其与任务子空间的关系。
  • 即使无噪声环境下,重放样本数量增加也可能导致遗忘非单调上升。
  • 适用于对持续学习中重放策略敏感的研究者,尤其关注样本选择影响。

持续学习旨在使机器学习系统能够顺序处理越来越多的任务。其关键挑战是遗忘问题,即新任务引入后旧任务性能下降。常用缓解方法样本重放(sample replay)通过保留部分旧任务样例并重复用于新训练,被实证证明可减少遗忘。本文在过参数化的持续线性回归设置下,对样本重放进行理论分析,其中每个任务由一个线性子空间定义。结果表明,当重放样本足够多时,可完全消除遗忘。分析聚焦于重放样本的作用及其与任务子空间的关系。令人惊讶的是,在无噪声情况下,遗忘程度随重放样本数量的变化并非单调。我们展示了在最坏情况及分布设定下,随机选取的重放样本反而会增加遗忘的期望值。此外,通过在神经网络配合SGD的实验,提供了重放有害行为不限于线性模型的经验证据。在常用基准上的实验进一步表明,即便在看似温和的情形中,重放性能也高度依赖于重放样本的选择和任务间关系。

原文摘要 · Abstract (English)

Continual learning seeks to enable machine learning systems to solve an increasing corpus of tasks sequentially. A critical challenge for continual learning is forgetting, where the performance on previously learned tasks decreases as new tasks are introduced. One of the commonly used techniques to mitigate forgetting, sample replay, has been shown empirically to reduce forgetting by retaining some examples from old tasks and including them in new training episodes. In this work, we provide a theoretical analysis of sample replay in an over-parameterized continual linear regression setting, where each task is given by a linear subspace and with enough replay samples, one would be able to eliminate forgetting. Our analysis focuses on sample replay and highlights the role of the replayed samples and the relationship between task subspaces. Surprisingly, we find that, even in a noiseless setting, forgetting can be non-monotonic with respect to the number of replay samples. We present tasks where replay can be harmful with respect to worst-case settings, and also in distributional settings where replay of randomly selected samples increases forgetting in expectation. We also give empirical evidence that harmful replay is not limited to training with linear models by showing similar behavior for a neural networks equipped with SGD. Through experiments on a commonly used benchmark, we provide additional evidence that, even in seemingly benign scenarios, performance of the replay heavily depends on the choice of replay samples and the relationship between tasks.

持续学习遗忘问题样本重放理论分析

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