Happy: A Debiased Learning Framework for Continual Generalized Category Discovery

Shijie Ma, Fei Zhu, Zhun Zhong, Wenzhuo Liu, Xu-Yao Zhang +1 more
2/3/2026

No official code found. Best implementation: mashijie1028/Happy-CGCD (46 stars, MIT, last commit 2025-11-25).

Abstract

Constantly discovering novel concepts is crucial in evolving environments. This paper explores the underexplored task of Continual Generalized Category Discovery (C-GCD), which aims to incrementally discover new classes from unlabeled data while maintaining the ability to recognize previously learned classes. Although several settings are proposed to study the C-GCD task, they have limitations that do not reflect real-world scenarios. We thus study a more practical C-GCD setting, which includes more new classes to be discovered over a longer period, without storing samples of past classes. In C-GCD, the model is initially trained on labeled data of known classes, followed by multiple incremental stages where the model is fed with unlabeled data containing both old and new classes. The core challenge involves two conflicting objectives: discover new classes and prevent forgetting old ones. We delve into the conflicts and identify that models are susceptible to prediction bias and hardness bias. To address these issues, we introduce a debiased learning framework, namely Happy, characterized by Hardness-aware prototype sampling and soft entropy regularization. For the prediction bias, we first introduce clustering-guided initialization to provide robust features. In addition, we propose soft entropy regularization to assign appropriate probabilities to new classes, which can significantly enhance the clustering performance of new classes. For the harness bias, we present the hardness-aware prototype sampling, which can effectively reduce the forgetting issue for previously seen classes, especially for difficult classes. Experimental results demonstrate our method proficiently manages the conflicts of C-GCD and achieves remarkable performance across various datasets, e.g., 7.5% overall gains on ImageNet-100. Our code is publicly available at https://github.com/mashijie1028/Happy-CGCD.

View on arXivView PDF

Code Implementations(1)

MIT

(NeurIPS 2024) Happy: A Debiased Learning Framework for Continual Generalized Category Discovery

463PythonOct 5, 202411 months agoMIT
continual-learningmachine-learningnovel-class-discoveryopen-world-classification

Similar Papers

Cite this paper

@article{ma2026happy,
  title  = {Happy: A Debiased Learning Framework for Continual Generalized Category Discovery},
  author = {Shijie Ma and Fei Zhu and Zhun Zhong and Wenzhuo Liu and Xu-Yao Zhang and Cheng-Lin Liu},
  year   = {2026},
  eprint = {2410.06535},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2410.06535},
  url    = {https://arxiv.org/abs/2410.06535},
  journal = {NEURIPS 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/2410.06535.svg)](https://codeofpaper.com/paper/2410.06535)

Discussion