arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.11305cs.LG
收藏

创建并寻找平坦性:为持续学习提前构建平坦训练空间

Create and Find Flatness: Building Flat Training Spaces in Advance for Continual Learning

Renmin University of China(中国人民大学);Tencent AI Lab(腾讯人工智能实验室)

Wenhang Shi, Yiren Chen, Zhe Zhao, Wei Lu, Kimmo Yan, Xiaoyong Du

AI总结:

本文提出 C&F 框架,通过在当前任务学习中提前创建平坦训练空间并依据平坦度约束参数更新,在保留旧知识的同时为新任务留出参数空间,实验表明其持续学习性能达到领先水平。

摘要:

灾难性遗忘仍是持续学习领域的一个关键挑战,神经网络在吸收新信息的同时难以保留先前知识。现有研究大多只在遇到新任务时才强调缓解这一问题,忽视了任务前阶段的重要性。因此,我们将注意力转移到当前任务学习阶段,提出了一种新颖框架 C&F(Create and Find Flatness,创建并寻找平坦性),该框架为每个任务提前构建平坦训练空间。具体而言,在学习当前任务的过程中,我们的框架在损失景观中围绕最小值自适应地创建平坦区域。随后,它根据参数的平坦程度找出这些参数对当前任务的重要性。当模型适应新任务时,根据平坦性施加约束,同时为即将到来的任务准备平坦空间。我们从理论上证明了所创建平坦性与所找到平坦性之间的一致性。通过这种方式,我们的框架不仅为学习新任务容纳了充足的参数空间,而且保留了先前任务的知识。实验结果表明,C&F 作为一种独立的持续学习方法具有最先进的性能,并且作为一个融合其他方法的框架也具有有效性。我们的工作可在 https://github.com/Eric8932/Create-and-Find-Flatness 获取。

英文摘要:

Catastrophic forgetting remains a critical challenge in the field of continual learning, where neural networks struggle to retain prior knowledge while assimilating new information. Most existing studies emphasize mitigating this issue only when encountering new tasks, overlooking the significance of the pre-task phase. Therefore, we shift the attention to the current task learning stage, presenting a novel framework, C&F (Create and Find Flatness), which builds a flat training space for each task in advance. Specifically, during the learning of the current task, our framework adaptively creates a flat region around the minimum in the loss landscape. Subsequently, it finds the parameters' importance to the current task based on their flatness degrees. When adapting the model to a new task, constraints are applied according to the flatness and a flat space is simultaneously prepared for the impending task. We theoretically demonstrate the consistency between the created and found flatness. In this manner, our framework not only accommodates ample parameter space for learning new tasks but also preserves the preceding knowledge of earlier tasks. Experimental results exhibit C&F's state-of-the-art performance as a standalone continual learning approach and its efficacy as a framework incorporating other methods. Our work is available at https://github.com/Eric8932/Create-and-Find-Flatness.

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

↑