Papers › ProtoGCD: Unified and Unbiased Prototype Learning for Generalized Category Discovery

ProtoGCD: Unified and Unbiased Prototype Learning for Generalized Category Discovery

2 Apr 2025arXiv:2504.03755archive 2025-07-28

Shijie Ma, Fei Zhu, Xu-Yao Zhang, Cheng-Lin Liu

Generalized category discovery (GCD) is a pragmatic but underexplored problem, which requires models to automatically cluster and discover novel categories by leveraging the labeled samples from old classes. The challenge is that unlabeled data contain both old and new classes. Early works leveraging pseudo-labeling with parametric classifiers handle old and new classes separately, which brings about imbalanced accuracy between them. Recent methods employing contrastive learning neglect potential positives and are decoupled from the clustering objective, leading to biased representations and sub-optimal results. To address these issues, we introduce a unified and unbiased prototype learning framework, namely ProtoGCD, wherein old and new classes are modeled with joint prototypes and unified learning objectives, {enabling unified modeling between old and new classes}. Specifically, we propose a dual-level adaptive pseudo-labeling mechanism to mitigate confirmation bias, together with two regularization terms to collectively help learn more suitable representations for GCD. Moreover, for practical considerations, we devise a criterion to estimate the number of new classes. Furthermore, we extend ProtoGCD to detect unseen outliers, achieving task-level unification. Comprehensive experiments show that ProtoGCD achieves state-of-the-art performance on both generic and fine-grained datasets. The code is available at https://github.com/mashijie1028/ProtoGCD.

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="2504.03755")

Code

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

By repository: official repository: 15 samples from 1 repository, 6 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/protogcd 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

15 samples harvested; 6 ran; 1 honoured the contract we drafted; 9 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.

1ran · honoured contract
2ran · our draft was wrong
3ran · fixture could not drive it
9unverified

Licence: 0 of the 15 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/protogcd. “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.

drop_path mashijie1028/protogcd/models/vision_transformer.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 55120f2026b56aa2 · report
get_params_groups mashijie1028/protogcd/models/model.py official repository ran · our draft was wrong MIT (permissive) · ec22c16f1e0653f7 · report
info_nce_logits mashijie1028/protogcd/models/loss.py official repository ran · our draft was wrong MIT (permissive) · b3c2e94d4887d26b · report
split_cluster_acc_v2_balanced mashijie1028/protogcd/my_utils/cluster_and_log_utils.py official repository ran · fixture could not drive it MIT (permissive) · 50edbf115e750bdd · report
stable_cumsum mashijie1028/protogcd/my_utils/ood_utils.py official repository ran · honoured contract fingerprinted MIT (permissive) · d4acb3120a027622 · report
trunc_normal_ mashijie1028/protogcd/models/vision_transformer.py official repository ran · fixture could not drive it MIT (permissive) · fabe0899316ffaa5 · report
entropy_regularization_loss mashijie1028/protogcd/models/loss.py official repository unverified MIT (permissive) · 7a96a31292b7e97a · report
get_ood_scores mashijie1028/protogcd/my_utils/ood_utils.py official repository unverified MIT (permissive) · 655d96ad1b7b3de4 · report
get_ood_scores_in mashijie1028/protogcd/my_utils/ood_utils.py official repository unverified MIT (permissive) · db00ee40ebe7a2dd · report
init_experiment mashijie1028/protogcd/my_utils/general_utils.py official repository unverified MIT (permissive) · 3c5ee964462a01ff · report
init_experiment_estimate_k mashijie1028/protogcd/my_utils/general_utils.py official repository unverified MIT (permissive) · ce9a1c162b7bb795 · report
old_cluster_acc mashijie1028/protogcd/my_utils/cluster_and_log_utils.py official repository unverified MIT (permissive) · fde9e423d59feca8 · report
prototype_separation_loss mashijie1028/protogcd/models/loss.py official repository unverified MIT (permissive) · 502c820b11521b6a · report
split_cluster_acc_v2 mashijie1028/protogcd/my_utils/cluster_and_log_utils.py official repository unverified MIT (permissive) · 965fcd5f9ab03841 · report
vit_tiny mashijie1028/protogcd/models/vision_transformer.py official repository unverified MIT (permissive) · 059df77687f34567 · report

Tasks

Contrastive Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Contrastive Learning

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