针对任务规模长尾且任务数量众多的持续学习场景,本文构建合成与真实数据集,并提出复用 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.
Prior-free Balanced Replay: Uncertainty-guided Reservoir Sampling for Long-Tailed Continual Learning
Shenzhen Research Institute of Big Data (SRIBD)(深圳大数据研究院);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The Hong Kong University of Science and Technology(香港科技大学);The Hong Kong Polytechnic University(香港理工大学)
Handling Spatial-Temporal Data Heterogeneity for Federated Continual Learning via Tail Anchor
Southwestern University of Finance and Economics(西南财经大学);University of Electronic Science and Technology of China(电子科技大学);WeBank(微众银行);Southwest Jiaotong University(西南交通大学);Hong Kong University of Science and Technology(香港科技大学)
Continual Learning of Context-dependent Processing in Neural Networks
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);Center for Excellence in Brain Science and Intelligence Technology, Chinese Academy of Sciences(中国科学院脑科学与智能技术卓越创新中心)
PILOT: A Pre-Trained Model-Based Continual Learning Toolbox
School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);National Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室)
School of Computing and Artificial Intelligence, Southwest Jiaotong University(西南交通大学计算机与人工智能学院);Southwest Jiaotong University(西南交通大学);Engineering Research Center of Sustainable Urban Intelligent Transportation, Ministry of Education(教育部可持续城市智能运输工程研究中心);National Engineering Laboratory of Integrated Transportation Big Data Application Technology(综合交通运输大数据应用技术国家工程实验室);Manufacturing Industry Chains Collaboration and Information Support Technology Key Laboratory of Sichuan Province(四川省制造业产业链协同与信息化支撑技术重点实验室)
Dual-CBA: Improving Online Continual Learning via Dual Continual Bias Adaptors from a Bi-level Optimization Perspective
School of Mathematics and Statistics, Xi’an Jiaotong University(西安交通大学数学与统计学院);City University of Hong Kong(香港城市大学);School of Mathematics and Statistics, Xidian University(西安电子科技大学数学与统计学院)
Exploring the Efficacy of Federated-Continual Learning Nodes with Attention-Based Classifier for Robust Web Phishing Detection: An Empirical Investigation
School of Computer Science and Engineering(计算机科学与工程学院);Vellore Institute of Technology(韦洛尔理工学院)
Continual Learning for Generative AI: From LLMs to MLLMs and Beyond
School of Advanced Interdisciplinary Sciences, University of Chinese Academy of Sciences(中国科学院大学先进交叉学科学院);MAIS, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所MAIS);Centre for Artificial Intelligence and Robotics, Hong Kong Institute of Science and Innovation, Chinese Academy of Sciences(中国科学院香港科学与创新研究院人工智能与机器人中心);School of Computer and Information Engineering, Xiamen University of Technology(厦门理工大学计算机与信息工程学院)
Pengcheng laboratory(鹏城实验室);Harbin Institute of Technology(哈尔滨工业大学);Xi’an Jiaotong University(西安交通大学);Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院)
A Practitioner's Guide to Continual Multimodal Pretraining
Tübingen AI Center(蒂宾根人工智能中心);University of Tübingen(蒂宾根大学);Helmholtz Munich(亥姆霍兹慕尼黑中心);University of Cambridge(剑桥大学);LAION;Jülich Supercomputing Center (JSC)(于利希超级计算中心);Research Center Jülich (FZJ)(于利希研究中心);Helmholtz Association(亥姆霍兹联合会);Google DeepMind(谷歌DeepMind);Munich Center for ML(慕尼黑机器学习中心);Technical University of Munich(慕尼黑工业大学)