Learn or Recall? Revisiting Incremental Learning with Pre-trained Language Models

Junhao Zheng, Shengjie Qiu, Qianli Ma
12/13/2023
18 citations
cs.CLcs.LG

Official code: zzz47zzz/codebase-for-incremental-learning-with-llm (63 stars, Python, last commit 2025-02-01).

Abstract

Incremental Learning (IL) has been a long-standing problem in both vision and Natural Language Processing (NLP) communities. In recent years, as Pre-trained Language Models (PLMs) have achieved remarkable progress in various NLP downstream tasks, utilizing PLMs as backbones has become a common practice in recent research of IL in NLP.

Show full abstract

Most assume that catastrophic forgetting is the biggest obstacle to achieving superior IL performance and propose various techniques to overcome this issue. However, we find that this assumption is problematic. Specifically, we revisit more than 20 methods on four classification tasks (Text Classification, Intent Classification, Relation Extraction, and Named Entity Recognition) under the two most popular IL settings (Class-Incremental and Task-Incremental) and reveal that most of them severely underestimate the inherent anti-forgetting ability of PLMs. Based on the observation, we propose a frustratingly easy method called SEQ* for IL with PLMs. The results show that SEQ* has competitive or superior performance compared to state-of-the-art (SOTA) IL methods and requires considerably less trainable parameters and training time. These findings urge us to revisit the IL with PLMs and encourage future studies to have a fundamental understanding of the catastrophic forgetting in PLMs. The data, code and scripts are publicly available at https://github.com/zzz47zzz/codebase-for-incremental-learning-with-llm.

View on arXivView PDF

Code Implementations(1)

[ACL2024] A Codebase for Incremental Learning with Large Language Models; Official released code for "Learn or Recall? Revisiting Incremental Learning with Pre-trained Language Models (ACL 2024)", "Incremental Sequence Labeling: A Tale of Two Shifts (ACL 2024 Findings)", and "Concept-1K: A Novel Benchmark for Instance Incremental Learning (arxiv)"

6310Python, ShellDec 13, 20231 years ago
continual-learningincremental-learninglarge-language-modelspretrained-language-model

Similar Papers

Cite this paper

@article{zheng2023learn,
  title  = {Learn or Recall? Revisiting Incremental Learning with Pre-trained Language Models},
  author = {Junhao Zheng and Shengjie Qiu and Qianli Ma},
  year   = {2023},
  eprint = {2312.07887},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.07887v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.07887.svg)](https://codeofpaper.com/paper/2312.07887)

Discussion