ErrorEraser: Unlearning Data Bias for Improved Continual Learning

Xuemei Cao, Hanlin Gu, Xin Yang, Bingjun Wei, Haoyang Liang +2 more
6/11/2025
8 citations
cs.LGcs.AI

Official code: diadai/ErrorEraser (2 stars, Python, last commit 2025-05-26).

Abstract

Continual Learning (CL) primarily aims to retain knowledge to prevent catastrophic forgetting and transfer knowledge to facilitate learning new tasks. Unlike traditional methods, we propose a novel perspective: CL not only needs to prevent forgetting, but also requires intentional forgetting.This arises from existing CL methods ignoring biases in real-world data, leading the model to learn spurious correlations that transfer and amplify across tasks.

Show full abstract

From feature extraction and prediction results, we find that data biases simultaneously reduce CL's ability to retain and transfer knowledge. To address this, we propose ErrorEraser, a universal plugin that removes erroneous memories caused by biases in CL, enhancing performance in both new and old tasks. ErrorEraser consists of two modules: Error Identification and Error Erasure. The former learns the probability density distribution of task data in the feature space without prior knowledge, enabling accurate identification of potentially biased samples. The latter ensures only erroneous knowledge is erased by shifting the decision space of representative outlier samples. Additionally, an incremental feature distribution learning strategy is designed to reduce the resource overhead during error identification in downstream tasks. Extensive experimental results show that ErrorEraser significantly mitigates the negative impact of data biases, achieving higher accuracy and lower forgetting rates across three types of CL methods. The code is available at https://github.com/diadai/ErrorEraser.

View on arXivView PDF

Code Implementations(1)

diadai/ErrorEraserOfficial100%

The F2BCL plugin code is designed to facilitate the forgetting of erroneous knowledge in continual learning (CL) methods.

20PythonAug 9, 20241 years ago

Similar Papers

Cite this paper

@article{cao2025erroreraser,
  title  = {ErrorEraser: Unlearning Data Bias for Improved Continual Learning},
  author = {Xuemei Cao and Hanlin Gu and Xin Yang and Bingjun Wei and Haoyang Liang and Xiangkun Wang and Tianrui Li},
  year   = {2025},
  eprint = {2506.09347},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.09347v1}
}

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

Discussion