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

从长尾分布中持续学习大量任务

Continual Learning of Numerous Tasks from Long-tail Distributions

National University of Singapore(新加坡国立大学)

Liwei Kang, Wee Sun Lee

AI总结:

针对任务规模长尾且任务数量众多的持续学习场景,本文构建合成与真实数据集,并提出复用 Adam 二阶矩加权平均的方法,以低成本减少遗忘并增强现有算法。

摘要:

持续学习是人工智能与机器学习研究的一个重要方面,专注于开发能够在学习并适应新任务的同时保留先前已获知识的模型。现有的持续学习算法通常涉及数量较少且规模均匀的任务,可能无法准确表示现实世界的学习场景。本文研究持续学习算法在大量任务下的性能,这些任务取自一个在任务规模方面呈长尾分布的任务分布。我们设计了一个合成数据集和两个现实世界持续学习数据集,以评估现有算法在此类设置下的性能。此外,我们研究持续学习中一个被忽视的因素,即优化器状态,例如 Adam 优化器中的一阶矩和二阶矩,并探究如何利用它来提升持续学习性能。我们提出一种复用 Adam 中优化器状态的方法,通过维护来自先前任务的二阶矩的加权平均来实现。我们证明,该方法与大多数现有持续学习算法兼容,仅需少量额外计算或内存成本即可有效减少遗忘,并能对现有持续学习算法作进一步改进,尤其是在长尾任务序列中。

英文摘要:

Continual learning, an important aspect of artificial intelligence and machine learning research, focuses on developing models that learn and adapt to new tasks while retaining previously acquired knowledge. Existing continual learning algorithms usually involve a small number of tasks with uniform sizes and may not accurately represent real-world learning scenarios. In this paper, we investigate the performance of continual learning algorithms with a large number of tasks drawn from a task distribution that is long-tail in terms of task sizes. We design one synthetic dataset and two real-world continual learning datasets to evaluate the performance of existing algorithms in such a setting. Moreover, we study an overlooked factor in continual learning, the optimizer states, e.g. first and second moments in the Adam optimizer, and investigate how it can be used to improve continual learning performance. We propose a method that reuses the optimizer states in Adam by maintaining a weighted average of the second moments from previous tasks. We demonstrate that our method, compatible with most existing continual learning algorithms, effectively reduces forgetting with only a small amount of additional computational or memory costs, and provides further improvements on existing continual learning algorithms, particularly in a long-tail task sequence.

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

↑