Skip to main content
QUICK REVIEW

[论文解读] Continual Learning of Large Language Models: A Comprehensive Survey

Haizhou Shi, Zihao Xu|arXiv (Cornell University)|Apr 25, 2024
Natural Language Processing TechniquesComputer Science被引用 11
一句话总结

对于大型语言模型(LLMs)的连续学习方法的综合综述,概述垂直与水平连续性、CPT/DAP/CFT 学习阶段、评估协议以及未来研究方向。

ABSTRACT

The recent success of large language models (LLMs) trained on static, pre-collected, general datasets has sparked numerous research directions and applications. One such direction addresses the non-trivial challenge of integrating pre-trained LLMs into dynamic data distributions, task structures, and user preferences. Pre-trained LLMs, when tailored for specific needs, often experience significant performance degradation in previous knowledge domains -- a phenomenon known as "catastrophic forgetting". While extensively studied in the continual learning (CL) community, it presents new manifestations in the realm of LLMs. In this survey, we provide a comprehensive overview of the current research progress on LLMs within the context of CL. This survey is structured into four main sections: we first describe an overview of continually learning LLMs, consisting of two directions of continuity: vertical continuity (or vertical continual learning), i.e., continual adaptation from general to specific capabilities, and horizontal continuity (or horizontal continual learning), i.e., continual adaptation across time and domains (Section 3). We then summarize three stages of learning LLMs in the context of modern CL: Continual Pre-Training (CPT), Domain-Adaptive Pre-training (DAP), and Continual Fine-Tuning (CFT) (Section 4). Then we provide an overview of evaluation protocols for continual learning with LLMs, along with the current available data sources (Section 5). Finally, we discuss intriguing questions pertaining to continual learning for LLMs (Section 6). The full list of papers examined in this survey is available at https://github.com/Wang-ML-Lab/llm-continual-learning-survey.

研究动机与目标

  • 促进将预训练的 LLMs 适应动态数据分布、用户偏好和新领域,同时保留过去知识。
  • 阐明 LLM 连续学习中的两种连续性方向:垂直(从通用到特定)和水平(时间/领域),及其含义。
  • 概述学习阶段(CPT、DAP、CFT)及它们如何与 LLM 的持续适应相关。
  • 提供评估协议、数据源和基准,以评估 LLM 的连续学习。
  • 突出未解决的挑战,优先考虑可防止遗忘并实现知识迁移的方法。

提出的方法

  • 将指令微调(IT)、模型改进(MR)和模型对齐(MA)定义并形式化为 LLM 的适应目标。
  • 将连续学习技术分为回放型、正则化型和基于架构的方法,适用于 LLM。
  • 描述任务增量、领域增量和类增量学习情景及其在 LLM 的适用性。
  • 讨论垂直持续学习阶段:持续预训练(CPT)、领域自适应预训练(DAP)和持续微调(CFT)。
  • 提出一个沿垂直和水平连续性发展的持续 LLM 框架,包括垂直遗忘和数据可访问性约束等挑战。

实验结果

研究问题

  • RQ1在 LLM 的持续学习中,关键的连续性形式(垂直和水平)是什么,它们如何影响模型适应?
  • RQ2如何组织和评估 CPT、DAP 及 CFT,以在实现领域特定能力的同时减轻遗忘?
  • RQ3存在哪些评估协议和数据源用于 LLM 的持续学习,又有哪些空白?
  • RQ4垂直遗忘(任务异质性、上游数据不可获得)等实际挑战有哪些,如何应对?
  • RQ5未来方向和基准需要哪些,以推进 LLM 的持续学习?

主要发现

  • 本综述指出垂直连续性(由通用到具体)和水平连续性(跨时间与领域)是持续学习中 LLM 的两个关键轴。
  • 它强调 CPT、DAP、CFT 作为持续 LLM 训练与适应的三个阶段,强调需要在每个阶段解决遗忘。
  • 回放型、正则化型和基于架构的方法构成与 LLM 持续学习的核心工具箱,回放在实践中简单而有效。
  • 垂直遗忘与数据可访问性问题对垂直持续学习构成重大挑战,需要如任务重新表述和伪数据生成等策略。
  • 呼吁制定实际、易获得的评估基准和方法,专门用于针对遗忘和促进在不断演化的 LLM 范式中的知识迁移。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。