arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.09153cs.LGcs.AIcs.CLcs.CV
收藏

预训练在终身学习中的作用:一项实证研究

An Empirical Investigation of the Role of Pre-training in Lifelong Learning

Carnegie Mellon University(卡内基梅隆大学);Mila - Quebec AI Institute(米拉-魁北克人工智能研究所);Université de Montréal(蒙特利尔大学);École Polytechnique de Montréal(蒙特利尔综合理工学院)

Sanket Vaibhav Mehta, Darshan Patil, Sarath Chandar, Emma Strubell

AI总结:

本研究实证探究预训练在终身学习中缓解灾难性遗忘的作用,发现其通过引导更宽的损失极小值减轻遗忘,并提出联合优化任务损失与盆地锐度的方法,在多种任务上优于现有持续学习算法。

摘要:

机器学习中的终身学习范式是更为突出的孤立学习方案的一个有吸引力的替代方案,这不仅因为其与生物学习的相似性,还因为其通过避免过度重新训练模型而减少能源浪费的潜力。该范式的一个关键挑战是灾难性遗忘现象。随着预训练模型在机器学习中的日益普及和成功,我们提出一个问题:预训练在终身学习中扮演什么角色,特别是在灾难性遗忘方面?我们在大型预训练模型的背景下研究现有方法,并在各种文本和图像分类任务上评估其性能,包括一项使用包含15个多样化NLP任务的新数据集的大规模研究。在所有设置中,我们观察到,与随机初始化的模型相比,通用预训练在顺序学习多个任务时隐式地减轻了灾难性遗忘的影响。然后,我们进一步研究为什么预训练在这种设置中减轻遗忘。我们通过分析损失景观来研究这一现象,发现预训练权重似乎通过导致更宽的极小值来减轻遗忘。基于这一见解,我们提出联合优化当前任务损失和损失盆地锐度,以在顺序微调期间显式鼓励更宽的盆地。我们表明,这种优化方法在多种设置下优于几种最先进的按任务顺序的持续学习算法,有时甚至不需要保留随任务数量规模增长的内存。

英文摘要:

The lifelong learning paradigm in machine learning is an attractive alternative to the more prominent isolated learning scheme not only due to its resemblance to biological learning but also its potential to reduce energy waste by obviating excessive model re-training. A key challenge to this paradigm is the phenomenon of catastrophic forgetting. With the increasing popularity and success of pre-trained models in machine learning, we pose the question: What role does pre-training play in lifelong learning, specifically with respect to catastrophic forgetting? We investigate existing methods in the context of large, pre-trained models and evaluate their performance on a variety of text and image classification tasks, including a large-scale study using a novel data set of 15 diverse NLP tasks. Across all settings, we observe that generic pre-training implicitly alleviates the effects of catastrophic forgetting when learning multiple tasks sequentially compared to randomly initialized models. We then further investigate why pre-training alleviates forgetting in this setting. We study this phenomenon by analyzing the loss landscape, finding that pre-trained weights appear to ease forgetting by leading to wider minima. Based on this insight, we propose jointly optimizing for current task loss and loss basin sharpness to explicitly encourage wider basins during sequential fine-tuning. We show that this optimization approach outperforms several state-of-the-art task-sequential continual learning algorithms across multiple settings, occasionally even without retaining a memory that scales in size with the number of tasks.

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

↑