Skip to main content
QUICK REVIEW

[Paper Review] Towards Continual Knowledge Learning of Language Models

Joel Jang, Seonghyeon Ye|arXiv (Cornell University)|Oct 7, 2021
Topic ModelingComputer Science56 references40 citations
TL;DR

The paper formulates Continual Knowledge Learning (CKL) to renew internal world knowledge of LMs via continual pretraining, introduces a CKL benchmark with InvariantLAMA, UpdatedLAMA, and NewLAMA datasets, and analyzes CKL methods including regularization, rehearsal, and parameter-expansion, highlighting parameter-expansion as most robust despite memory concerns.

ABSTRACT

Large Language Models (LMs) are known to encode world knowledge in their parameters as they pretrain on a vast amount of web corpus, which is often utilized for performing knowledge-dependent downstream tasks such as question answering, fact-checking, and open dialogue. In real-world scenarios, the world knowledge stored in the LMs can quickly become outdated as the world changes, but it is non-trivial to avoid catastrophic forgetting and reliably acquire new knowledge while preserving invariant knowledge. To push the community towards better maintenance of ever-changing LMs, we formulate a new continual learning (CL) problem called Continual Knowledge Learning (CKL). We construct a new benchmark and metric to quantify the retention of time-invariant world knowledge, the update of outdated knowledge, and the acquisition of new knowledge. We adopt applicable recent methods from literature to create several strong baselines. Through extensive experiments, we find that CKL exhibits unique challenges that are not addressed in previous CL setups, where parameter expansion is necessary to reliably retain and learn knowledge simultaneously. By highlighting the critical causes of knowledge forgetting, we show that CKL is a challenging and important problem that helps us better understand and train ever-changing LMs. The benchmark datasets, evaluation script, and baseline code to reproduce our results are available at https://github.com/joeljang/continual-knowledge-learning.

Motivation & Objective

  • Define Continual Knowledge Learning (CKL) as continual pretraining to refresh world knowledge while preserving time-invariant facts.
  • Construct a benchmark to measure retention of invariant knowledge, updating of outdated knowledge, and acquisition of new knowledge.
  • Propose FUAR, a metric capturing the trade-off between forgetting and acquiring/updating knowledge.
  • Evaluate CKL methods across architectures and identify challenges unique to CKL compared to traditional continual learning.

Proposed method

  • Introduce CKL formulation and three benchmark datasets: InvariantLAMA (time-invariant knowledge), UpdatedLAMA (outdated knowledge to be updated), NewLAMA (new knowledge from D1).
  • Construct New Text Corpus D1 (CC-RecentNews) and define a zero-shot LAMA probing framework for knowledge evaluation.
  • Propose FUAR metric to quantify Forgetting / (Updated + Acquired) trade-offs across sequential corpora.
  • Evaluate baseline CKL methods categorized as regularization, rehearsal, and parameter-expansion (e.g., RecAdam, Mix-Review, LoRA, Kadapters, Modular) on encoder-decoder models (T5).
  • Analyze effects of multiple CKL phases, data duplication, learning rate, and cross-architecture transfer of CKL methods.

Experimental results

Research questions

  • RQ1How does continual pretraining on a new corpus affect retention of time-invariant knowledge in LMs?
  • RQ2How effectively can CKL update outdated information and acquire new knowledge without catastrophic forgetting?
  • RQ3Which CKL methods best balance forgetting with updating and acquiring knowledge, and how do they scale with multiple CKL phases?

Key findings

  • CKL methods generally reduce forgetting of invariant knowledge and improve updating/acquisition versus vanilla continued pretraining.
  • Parameter-expansion methods (e.g., Kadapters, Modular) achieve the best results on UpdatedLAMA and NewLAMA but suffer memory inefficiency with growing parameters.
  • Rehearsal methods (e.g., MixReview) underperform on UpdatedLAMA and NewLAMA due to poor updating/acquisition gains.
  • CKL reveals memory efficiency and repeated exposure to the same data as key factors driving forgetting; learning rate and multiple CKL phases significantly affect performance.
  • CKL results transfer across LM architectures, though trends vary by method and architecture details.
  • The study provides a baseline suite of architectures and training strategies tailored for CKL, highlighting nontrivial differences from traditional CL.

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.