Solving the Catastrophic Forgetting Problem in Generalized Category Discovery

Xinzi Cao, Xiawu Zheng, Guanhong Wang, Weijiang Yu, Yunhang Shen +3 more
2/9/2026

No official code found. Best implementation: Cliffia123/LegoGCD (16 stars, last commit 2024-12-24).

Abstract

Generalized Category Discovery (GCD) aims to identify a mix of known and novel categories within unlabeled data sets, providing a more realistic setting for image recognition. Essentially, GCD needs to remember existing patterns thoroughly to recognize novel categories. Recent state-of-the-art method SimGCD transfers the knowledge from known-class data to the learning of novel classes through debiased learning. However, some patterns are catastrophically forgot during adaptation and thus lead to poor performance in novel categories classification. To address this issue, we propose a novel learning approach, LegoGCD, which is seamlessly integrated into previous methods to enhance the discrimination of novel classes while maintaining performance on previously encountered known classes. Specifically, we design two types of techniques termed as Local Entropy Regularization (LER) and Dual-views Kullback-Leibler divergence constraint (DKL). The LER optimizes the distribution of potential known class samples in unlabeled data, thus ensuring the preservation of knowledge related to known categories while learning novel classes. Meanwhile, DKL introduces Kullback-Leibler divergence to encourage the model to produce a similar prediction distribution of two view samples from the same image. In this way, it successfully avoids mismatched prediction and generates more reliable potential known class samples simultaneously. Extensive experiments validate that the proposed LegoGCD effectively addresses the known category forgetting issue across all datasets, e.g., delivering a 7.74% and 2.51% accuracy boost on known and novel classes in CUB, respectively. Our code is available at: https://github.com/Cliffia123/LegoGCD.

View on arXivView PDF

Code Implementations(1)

Cliffia123/LegoGCDCommunity100%

[CVPR'24] Solving the Catastrophic Forgetting Problem in Generalized Category Discovery https://arxiv.org/pdf/2501.05272

160Shell, PythonNov 9, 20231 years ago

Similar Papers

Cite this paper

@article{cao2026solving,
  title  = {Solving the Catastrophic Forgetting Problem in Generalized Category Discovery},
  author = {Xinzi Cao and Xiawu Zheng and Guanhong Wang and Weijiang Yu and Yunhang Shen and Ke Li and Yutong Lu and Yonghong Tian},
  year   = {2026},
  eprint = {2501.05272},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2501.05272},
  journal = {CVPR 2024 2024}
}

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

Discussion