Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Solving the Catastrophic Forgetting Problem in Generalized Category Discovery

About

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, eg, 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.

Xinzi Cao, Xiawu Zheng, Guanhong Wang, Weijiang Yu, Yunhang Shen, Ke Li, Yutong Lu, Yonghong Tian• 2025

Related benchmarks

TaskDatasetResultRank
Generalized Category DiscoveryImageNet-100
All Accuracy86.3
138
Generalized Category DiscoveryCIFAR-100
Accuracy (All)82.1
133
Generalized Category DiscoveryStanford Cars
Accuracy (All)57.3
128
Generalized Category DiscoveryCUB
Accuracy (All)63.8
113
Generalized Category DiscoveryCIFAR-10
All Accuracy97.1
105
Generalized Category DiscoveryFGVC Aircraft
Accuracy (All)55
82
Generalized Category DiscoveryHerbarium19
Score (All Categories)45.1
47
Generalized Category DiscoveryAircraft (test)
Accuracy (All)55
38
Generalized Category DiscoveryImageNet-1K
Accuracy (All)62.4
19
Deepfake AttributionOW-DFA-40 Protocol-3
All ACC82
10
Showing 10 of 17 rows

Other info

Code

Follow for update