Skip to main content
QUICK REVIEW

[Paper Review] Continual Learning of Large Language Models: A Comprehensive Survey

Haizhou Shi, Zihao Xu|arXiv (Cornell University)|Apr 25, 2024
Natural Language Processing TechniquesComputer Science11 citations
TL;DR

A comprehensive survey of continual learning approaches for large language models (LLMs), outlining vertical and horizontal continuity, the CPT/DAP/CFT learning stages, evaluation protocols, and future research directions.

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.

Motivation & Objective

  • Motivate adapting pre-trained LLMs to dynamic data distributions, user preferences, and new domains while preserving past knowledge.
  • Clarify two continuity directions in LLM continual learning: vertical (general to specific) and horizontal (time/domain), and their implications.
  • Summarize learning stages (CPT, DAP, CFT) and how they relate to continual adaptation of LLMs.
  • Provide evaluation protocols, data sources, and benchmarks to assess continual learning in LLMs.
  • Highlight open challenges and prioritize methodologies to counter forgetting and enable knowledge transfer.

Proposed method

  • Define and formalize instruction tuning (IT), model refinement (MR), and model alignment (MA) as adaptation objectives for LLMs.
  • Categorize continual learning techniques into replay-based, regularization-based, and architecture-based approaches relevant to LLMs.
  • Describe task-incremental, domain-incremental, and class-incremental learning scenarios and their applicability to LLMs.
  • Discuss vertical continual learning stages: continual pre-training (CPT), domain-adaptive pre-training (DAP), and continual fine-tuning (CFT).
  • Present a framework for continual LLM development along vertical and horizontal continuity, including challenges like vertical forgetting and data accessibility constraints.

Experimental results

Research questions

  • RQ1What are the key forms of continuity (vertical and horizontal) in continual learning for LLMs and how do they affect model adaptation?
  • RQ2How can CPT, DAP, and CFT be organized and evaluated to mitigate forgetting while enabling domain-specific capabilities?
  • RQ3What evaluation protocols and data sources exist for continual learning in LLMs, and what gaps remain?
  • RQ4What are the practical challenges in vertical forgetting (task heterogeneity, inaccessible upstream data) and how can they be addressed?
  • RQ5What future directions and benchmarks are needed to advance continual learning for LLMs?

Key findings

  • The survey identifies vertical continuity (general to specific) and horizontal continuity (across time and domains) as two essential axes for continual LLM learning.
  • It highlights CPT, DAP, and CFT as the three stages in continual LLM training and adaptation, emphasizing the need to address forgetting at each stage.
  • Replay-based, regularization-based, and architecture-based methods form the core toolkit for continual learning with LLMs, with replay being simple yet effective in practice.
  • Vertical forgetting and data accessibility issues pose major challenges for vertical continual learning, necessitating strategies like task reformulation and pseudo-data generation.
  • There is a call for practical, accessible evaluation benchmarks and methods specifically tailored to counter forgetting and promote knowledge transfer in evolving LLM paradigms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.