InfoCL: Alleviating Catastrophic Forgetting in Continual Text Classification from An Information Theoretic Perspective

Yifan Song, Peiyi Wang, Weimin Xiong, Dawei Zhu, Tianyu Liu +2 more
10/10/2023
15 citations
cs.CL

Official code: Yifan-Song793/InfoCL (14 stars, Python, last commit 2024-08-13).

Abstract

Continual learning (CL) aims to constantly learn new knowledge over time while avoiding catastrophic forgetting on old tasks. We focus on continual text classification under the class-incremental setting.

Show full abstract

Recent CL studies have identified the severe performance decrease on analogous classes as a key factor for catastrophic forgetting. In this paper, through an in-depth exploration of the representation learning process in CL, we discover that the compression effect of the information bottleneck leads to confusion on analogous classes. To enable the model learn more sufficient representations, we propose a novel replay-based continual text classification method, InfoCL. Our approach utilizes fast-slow and current-past contrastive learning to perform mutual information maximization and better recover the previously learned representations. In addition, InfoCL incorporates an adversarial memory augmentation strategy to alleviate the overfitting problem of replay. Experimental results demonstrate that InfoCL effectively mitigates forgetting and achieves state-of-the-art performance on three text classification tasks. The code is publicly available at https://github.com/Yifan-Song793/InfoCL.

View on arXivView PDF

Code Implementations(1)

Findings of EMNLP 2023: InfoCL: Alleviating Catastrophic Forgetting in Continual Text Classification from An Information Theoretic Perspective

140Python, Jupyter NotebookAug 23, 20232 years ago

Similar Papers

Cite this paper

@article{song2023infocl,
  title  = {InfoCL: Alleviating Catastrophic Forgetting in Continual Text Classification from An Information Theoretic Perspective},
  author = {Yifan Song and Peiyi Wang and Weimin Xiong and Dawei Zhu and Tianyu Liu and Zhifang Sui and Sujian Li},
  year   = {2023},
  eprint = {2310.06362},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.06362v1}
}

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

Discussion