[论文解读] Theory on Forgetting and Generalization of Continual Learning
本文在过参数化线性模型下为持续学习中的遗忘和泛化误差提供了首个显式的闭式表达,并分析了过参数化、任务相似性和任务排序如何影响这些指标,并在深度网络上进行了验证。
Continual learning (CL), which aims to learn a sequence of tasks, has attracted significant recent attention. However, most work has focused on the experimental performance of CL, and theoretical studies of CL are still limited. In particular, there is a lack of understanding on what factors are important and how they affect "catastrophic forgetting" and generalization performance. To fill this gap, our theoretical analysis, under overparameterized linear models, provides the first-known explicit form of the expected forgetting and generalization error. Further analysis of such a key result yields a number of theoretical explanations about how overparameterization, task similarity, and task ordering affect both forgetting and generalization error of CL. More interestingly, by conducting experiments on real datasets using deep neural networks (DNNs), we show that some of these insights even go beyond the linear models and can be carried over to practical setups. In particular, we use concrete examples to show that our results not only explain some interesting empirical observations in recent studies, but also motivate better practical algorithm designs of CL.
研究动机与目标
- 提供在一个线性回归设定下对持续学习中遗忘和泛化误差的显式特征描述。
- 展示系统参数(任务数/样本数/参数数量、噪声、任务相似性/顺序)如何影响遗忘和泛化。
- 解释过参数化与任务关系如何影响CL性能并指导实际算法设计。
- 通过在深度网络上验证线性模型洞察,将理论与实际CL设计相连接。
提出的方法
- 将持续学习建模为具有独立同分布高斯特征和噪声的序贯线性回归。
- 定义训练与评估指标,包括遗忘 F_t 和使用测试损失的整体泛化 G_T。
- 在定理 4.1 中推导过参数化状态下 E[F_T] 与 E[G_T] 的显式表达式(p ≥ n+2)。
- 通过定理 4.3 在过参数化与欠参数化的参数条件下进行分析。
- 使用推论(如 T=2)来解释任务相似性及其对遗忘与泛化的影响。
- 通过在 MNIST 上使用 DNN 来验证洞察,研究任务相似性与任务排序。
实验结果
研究问题
- RQ1过参数化、任务相似性和任务排序如何定量地影响持续学习中的遗忘和泛化?
- RQ2是否能在线性、过参数化的CL设定中推导出遗忘和泛化误差的显式闭式表达?
- RQ3线性模型的洞见是否能推广到实际的深度学习设置并指导算法设计?
主要发现
- 在过参数化线性CL设定中遗忘和泛化误差的显式闭式表达(定理 4.1)。
- 遗忘与泛化误差对任务相似性呈现不同的依赖,在某些噪声和相似性条件下可能出现良性过拟合。
- 泛化误差随着更高的任务相似性而下降,而遗忘可能并非随相似性单调,因为存在任务排序系数。
- 最优任务排序倾向于通过紧邻学习更不相似的任务来多样化早期任务,特殊情况的结果表明交替类别学习可最小化遗忘。
- 在欠参数化状态下,遗忘和泛化遵循不同的表达式(定理 4.3),说明了良性过拟合的条件。
- 在 MNIST 上使用 DNN 的实验支持线性模型洞察,显示任务相似性和任务排序的相似趋势。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。