Continual Learning for Large Language Models: A Survey

Tongtong Wu, Linhao Luo, Yuan-Fang Li, Shirui Pan, Thuy-Trang Vu, Gholamreza HaffariarXiv 2024 · DOI

Abstract

Large Language Models (LLMs) are typically static snapshots of knowledge, making them prone to obsolescence as the world evolves. While retraining is often economically unfeasible, Continual Learning (CL) offers a path to update models without starting from scratch. This survey provides the first comprehensive roadmap for CL in LLMs, categorizing the field into a multi-stage framework—continual pre-training, instruction tuning, and alignment—and addressing the unique challenges of catastrophic and cross-stage forgetting.

Introduction: The Challenge of Static Knowledge

LLMs face a significant limitation: they are frozen in time. New facts, shifting societal values, and emerging technical domains require constant model updates. However, the massive scale of these models makes frequent full retraining environmentally and economically unsustainable.

Continual Learning aims to solve this, but it faces two primary hurdles. First is catastrophic forgetting, where new knowledge causes the model to lose previously mastered abilities. Second is the multi-stage pipeline (Pre-training $\rightarrow$ Instruction Tuning $\rightarrow$ Alignment). Updating a model at one stage can break progress made in another, a phenomenon known as cross-stage forgetting.

It is important to distinguish CL from other knowledge-update strategies. While Retrieval-Augmented Generation (RAG) fetches external information and Model Editing surgically alters specific facts, CL is uniquely designed to enhance the model's underlying linguistic and reasoning capabilities across various information types.

Comparison of RAG, Model Editing, and Continual Learning across information types.

Methodology and Taxonomy

The survey proposes a novel taxonomy that mirrors the standard LLM training lifecycle, ensuring that updates are categorized by their functional impact on the model.

Taxonomy of Continual Learning for Large Language Models, categorized by training stage and update type.

1. Continual Pre-training (CPT)

CPT focuses on expanding the model's base knowledge. This includes updating facts (e.g., recent news), adapting to specialized domains like medicine or law, and expanding language capabilities (adding new natural or programming languages).

2. Continual Instruction Tuning (CIT)

CIT aims to refine how the model follows commands. This is subdivided into task-incremental (new task types), domain-incremental (field-specific instructions), and tool-incremental (learning new APIs or external tools) updates.

3. Continual Alignment (CA)

CA ensures the model remains safe and helpful as norms shift. This involves Continual Value Alignment (updating ethical guidelines) and Continual Preference Alignment (adapting to diverse user group preferences).

Technically, these stages utilize strategies such as Experience Replay (revisiting old data), Regularization (protecting important weights), and Parameter-Efficient Tuning (PET) like LoRA to minimize the computational overhead of updates.

Benchmarks and Evaluation

Evaluating CL requires specialized datasets that track performance over time. Key benchmarks include:

  • CPT: TemporalWiki for Wikipedia updates and TRACE for diverse domain/code coverage.
  • CIT: CITB (1,600+ NLP tasks) and ConTinTin.
  • CA: COPF, which uses human preference datasets to track evolving alignment.

Performance is measured using metrics like Backward Transfer (BWT) to quantify forgetting and Forward Transfer (FWT) to see if old knowledge aids new learning. The authors also introduce LLM-specific metrics: General Ability Delta (GAD), Instruction Following Delta (IFD), and Safety Delta (SD).

Key Insights and Future Directions

A critical finding of this survey is the prevalence of cross-stage forgetting: instruction tuning can erode general knowledge from pre-training, and safety alignment can be undone by subsequent tuning. This highlights the need for more holistic update strategies.

Future research must address several gaps:

  • Automatic CL: Developing autonomous agents to curate and oversee the update process.
  • History Tracking: Improving methods to debug how model parameters evolve over long-term updates.
  • Privacy and Ethics: Ensuring that continual updates do not inadvertently leak sensitive data from new training streams.

By moving toward modular architectures and more robust theoretical foundations, the field can transition from empirical "tricks" to a reliable science of perpetual model improvement.

Summary updated

BibTeX
@misc{wu2024continual,
  author = {Tongtong Wu and Linhao Luo and Yuan-Fang Li and Shirui Pan and Thuy-Trang Vu and Gholamreza Haffari},
  title = {{Continual Learning for Large Language Models: A Survey}},
  year = {2024},
  eprint = {2402.01364},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.01364},
}
Figure