arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.10315cs.LGphysics.app-phq-bio.NC
收藏

深度神经网络中持续学习的序参量与相变

Order parameters and phase transitions of continual learning in deep neural networks

Harvard University(哈佛大学);Harvard Medical School(哈佛医学院);Hebrew University(希伯来大学)

Haozhe Shan, Qianyi Li, Haim Sompolinsky

AI总结:

提出了深度宽神经网络中持续学习的统计力学理论,利用序参量刻画任务关系与网络架构对遗忘的影响,揭示了单头CL中的行为预测及多头CL中的相变现象,为缓解遗忘提供了策略。

摘要:

持续学习(CL)使动物能够学习新任务而不抹除先前的知识。由于灾难性遗忘(即新学习会降低旧任务上的性能),人工神经网络(NNs)中的CL极具挑战性。尽管存在多种缓解遗忘的技术,但关于NNs中CL何时以及为何失败的理论见解仍然缺乏。在此,我们提出了一种关于深度宽NNs中CL的统计力学理论,该理论将网络在学习一系列任务时的输入-输出映射进行了特征化描述。它引入了序参量(OPs),用于捕捉任务关系和网络架构如何影响遗忘和前向干扰,这一点已通过数值评估得到验证。对于所有任务共享读出层的网络(单头CL),任务之间的相关特征和规则相似性(分别由两个OPs测量)足以预测广泛的CL行为。此外,该理论预测增加网络深度可以有效减少任务之间的干扰,从而降低遗忘。对于具有任务特定读出层的网络(多头CL),该理论识别出一种相变,即随着任务变得不那么相似(由另一个任务相似性OP测量),CL性能会发生剧烈变化。尽管与单头CL相比,所有任务上的遗忘相对较轻,但足够低的相似性会导致灾难性的前向干扰,即网络完美保留旧任务但完全无法泛化新学习。我们的结果描绘了影响CL性能的重要因素,并提出了缓解遗忘的策略。

英文摘要:

Continual learning (CL) enables animals to learn new tasks without erasing prior knowledge. CL in artificial neural networks (NNs) is challenging due to catastrophic forgetting, where new learning degrades performance on older tasks. While various techniques exist to mitigate forgetting, theoretical insights into when and why CL fails in NNs are lacking. Here, we present a statistical-mechanics theory of CL in deep, wide NNs, which characterizes the network's input-output mapping as it learns a sequence of tasks. It gives rise to order parameters (OPs) that capture how task relations and network architecture influence forgetting and anterograde interference, as verified by numerical evaluations. For networks with a shared readout for all tasks (single-head CL), the relevant-feature and rule similarity between tasks, respectively measured by two OPs, are sufficient to predict a wide range of CL behaviors. In addition, the theory predicts that increasing the network depth can effectively reduce interference between tasks, thereby lowering forgetting. For networks with task-specific readouts (multi-head CL), the theory identifies a phase transition where CL performance shifts dramatically as tasks become less similar, as measured by another task-similarity OP. While forgetting is relatively mild compared to single-head CL across all tasks, sufficiently low similarity leads to catastrophic anterograde interference, where the network retains old tasks perfectly but completely fails to generalize new learning. Our results delineate important factors affecting CL performance and suggest strategies for mitigating forgetting.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑