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

持续学习的自适应记忆重放

Adaptive Memory Replay for Continual Learning

MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室);Georgia Institute of Technology(佐治亚理工学院)

James Seale Smith, Lazar Valkov, Shaunak Halbe, Vyshnavi Gutta, Rogerio Feris, Zsolt Kira, Leonid Karlinsky

AI总结:

针对计算资源有限但记忆充足场景下的持续学习,提出基于多臂老虎机和玻尔兹曼采样的自适应记忆重放框架,动态选择过去数据训练,在视觉与语言预训练任务中减少高达10%的遗忘且不损失训练效率。

摘要:

基础模型(Foundation Models, FMs)已成为现代人工智能的标志性特征,然而,这些模型在海量数据上进行训练,导致训练成本高昂。随着新数据的出现,更新基础模型非常重要,但这可能导致“灾难性遗忘”(catastrophic forgetting),即模型在与观察时间过久的数据子群体相关的任务上表现不佳。这种持续学习(CL)现象已被广泛研究,但主要是在只能存储少量过去数据的设置下。我们主张一种记忆充足、允许保留所有先前数据但计算资源有限的范式。在这种设置下,传统的基于重放的持续学习方法被一个简单基线所超越,该基线均匀随机地重放过去的数据,表明这种设置需要一种新方法。我们通过引入一个用于持续学习的自适应记忆重放框架来解决这一问题,其中过去数据的采样被表述为一个多臂老虎机问题。我们利用玻尔兹曼采样(Bolzmann sampling)推导出一种方法,该方法在完全数据访问并强调训练效率的前提下,根据当前任务动态选择过去的数据进行训练。通过在视觉和语言预训练任务上的广泛评估,我们证明了我们方法的有效性,该方法在保持高性能的同时,在不损失训练效率的情况下将遗忘减少了高达10%。

英文摘要:

Foundation Models (FMs) have become the hallmark of modern AI, however, these models are trained on massive data, leading to financially expensive training. Updating FMs as new data becomes available is important, however, can lead to `catastrophic forgetting', where models underperform on tasks related to data sub-populations observed too long ago. This continual learning (CL) phenomenon has been extensively studied, but primarily in a setting where only a small amount of past data can be stored. We advocate for the paradigm where memory is abundant, allowing us to keep all previous data, but computational resources are limited. In this setting, traditional replay-based CL approaches are outperformed by a simple baseline which replays past data selected uniformly at random, indicating that this setting necessitates a new approach. We address this by introducing a framework of adaptive memory replay for continual learning, where sampling of past data is phrased as a multi-armed bandit problem. We utilize Bolzmann sampling to derive a method which dynamically selects past data for training conditioned on the current task, assuming full data access and emphasizing training efficiency. Through extensive evaluations on both vision and language pre-training tasks, we demonstrate the effectiveness of our approach, which maintains high performance while reducing forgetting by up to 10% at no training efficiency cost.

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

↑