Papers › Happy: A Debiased Learning Framework for Continual Generalized Category Discovery

Happy: A Debiased Learning Framework for Continual Generalized Category Discovery

9 Oct 2024arXiv:2410.06535archive 2025-07-28

Shijie Ma, Fei Zhu, Zhun Zhong, Wenzhuo LIU, Xu-Yao Zhang, Cheng-Lin Liu

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2410.06535")

Code

Syntology Ran 9 of 16 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 3 ran · fixture could not drive it; 3 ran with no contract checked.

By repository: official repository: 16 samples from 1 repository, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

mashijie1028/happy-cgcd officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 9 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · our draft was wrong
3ran · fixture could not drive it
3ran
7unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from mashijie1028/happy-cgcd. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

DistillLoss mashijie1028/happy-cgcd/train_happy.py official repository ran MIT (permissive) · 86764d18d325bc37 · report
compute_prior_old_new_ratio mashijie1028/Happy-CGCD/models/utils_simgcd_pro.py official repository ran MIT (permissive) · 632bc6894a3dd5ef · report
drop_path mashijie1028/Happy-CGCD/models/lora_vision_transformer.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 55120f2026b56aa2 · report
get_params_groups mashijie1028/Happy-CGCD/models/utils_simgcd.py official repository ran · our draft was wrong MIT (permissive) · ec22c16f1e0653f7 · report
info_nce_logits mashijie1028/Happy-CGCD/models/utils_gcd.py official repository ran · our draft was wrong MIT (permissive) · b3c2e94d4887d26b · report
log_accs_from_preds mashijie1028/happy-cgcd/train_happy.py official repository ran · our draft was wrong MIT (permissive) · 7afc6259fa7d9425 · report
split_cluster_acc_v2 mashijie1028/happy-cgcd/train_happy.py official repository ran · fixture could not drive it MIT (permissive) · 285f08752cf15565 · report
test_online mashijie1028/happy-cgcd/train_happy.py official repository ran · fixture could not drive it MIT (permissive) · 57149724fe52a3ab · report
vit_small mashijie1028/Happy-CGCD/models/svft_vision_transformer.py official repository ran MIT (permissive) · 6322d561ced017bc · report
get_kmeans_centroid_for_new_head mashijie1028/Happy-CGCD/models/utils_simgcd_pro.py official repository unverified MIT (permissive) · 5d78dc81d83bd6e5 · report
train_online mashijie1028/happy-cgcd/train_happy.py official repository unverified MIT (permissive) · 52ca89bb0d0c98aa · report
vit_small mashijie1028/Happy-CGCD/models/vision_transformer.py official repository unverified MIT (permissive) · 995a10f898196998 · report
vit_small mashijie1028/Happy-CGCD/models/lora_vision_transformer.py official repository unverified MIT (permissive) · d08fbcde9f7f23af · report
vit_tiny mashijie1028/Happy-CGCD/models/vision_transformer.py official repository unverified MIT (permissive) · 996780ba4be89ba3 · report
vit_tiny mashijie1028/Happy-CGCD/models/lora_vision_transformer.py official repository unverified MIT (permissive) · abc2090fa89a2d35 · report
vit_tiny mashijie1028/Happy-CGCD/models/svft_vision_transformer.py official repository unverified MIT (permissive) · 92e76c9d03c24769 · report

Tasks

Novel Concepts

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Entropy Regularization

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections