Can LLMs Learn New Concepts Incrementally without Forgetting?

Junhao Zheng, Shengjie Qiu, Qianli Ma
2/13/2024
cs.LGcs.CL

No official code found. Best implementation: zzz47zzz/codebase-for-incremental-learning-with-llm (63 stars, last commit 2025-02-01).

Abstract

Large Language Models (LLMs) have achieved remarkable success across various tasks, yet their ability to learn incrementally without forgetting remains underexplored. Incremental learning (IL) is crucial as it enables models to acquire new knowledge while retaining previously learned information, akin to human learning. Existing benchmarks for IL are insufficient due to data leakage issues and the overqualification of LLMs. To address these challenges, we introduce Concept-1K, a novel dataset comprising 1,023 recently emerged concepts across diverse domains. The concepts in Concept-1K are discrete, interpretable units of knowledge that allow for fine-grained analysis of learning and forgetting processes. Using Concept-1K as a testbed, we aim to answer the question: ``Can LLMs learn new concepts incrementally without forgetting like humans?'' Our investigation reveals that LLMs still suffer from catastrophic forgetting and that LoRA, despite fine-tuning fewer parameters, may lead to more forgetting on training data. Additionally, we explore the roles of in-context learning, model scale, buffer size, and pretraining in IL performance. These findings highlight the strengths and limitations of LLMs in IL scenarios and provide a robust benchmark for future research.

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)"

6310Shell, PythonDec 13, 20231 years ago
continual-learningincremental-learninglarge-language-modelspretrained-language-model

Similar Papers

Cite this paper

@article{zheng2024llms,
  title  = {Can LLMs Learn New Concepts Incrementally without Forgetting?},
  author = {Junhao Zheng and Shengjie Qiu and Qianli Ma},
  year   = {2024},
  eprint = {2402.08526},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.08526v3}
}

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/2402.08526.svg)](https://codeofpaper.com/paper/2402.08526)

Discussion