Papers › Towards Distribution-Agnostic Generalized Category Discovery

Towards Distribution-Agnostic Generalized Category Discovery

2 Oct 2023NeurIPS 2023 11arXiv:2310.01376archive 2025-07-28

Jianhong Bai, Zuozhu Liu, Hualiang Wang, Ruizhe Chen, Lianrui Mu, Xiaomeng Li, Joey Tianyi Zhou, Yang Feng, Jian Wu, Haoji Hu

Data imbalance and open-ended distribution are two intrinsic characteristics of the real visual world. Though encouraging progress has been made in tackling each challenge separately, few works dedicated to combining them towards real-world scenarios. While several previous works have focused on classifying close-set samples and detecting open-set samples during testing, it's still essential to be able to classify unknown subjects as human beings. In this paper, we formally define a more realistic task as distribution-agnostic generalized category discovery (DA-GCD): generating fine-grained predictions for both close- and open-set classes in a long-tailed open-world setting. To tackle the challenging problem, we propose a Self-Balanced Co-Advice contrastive framework (BaCon), which consists of a contrastive-learning branch and a pseudo-labeling branch, working collaboratively to provide interactive supervision to resolve the DA-GCD task. In particular, the contrastive-learning branch provides reliable distribution estimation to regularize the predictions of the pseudo-labeling branch, which in turn guides contrastive learning through self-balanced knowledge transfer and a proposed novel contrastive loss. We compare BaCon with state-of-the-art methods from two closely related fields: imbalanced semi-supervised learning and generalized category discovery. The effectiveness of BaCon is demonstrated with superior performance over all baselines and comprehensive analysis across various datasets. Our code is publicly available.

PaperPDFConference PDFCodeCode 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="2310.01376")

Code

Syntology Ran 10 of 17 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · honoured contract; 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; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

jianhongbai/bacon officialmentioned in paperpytorch 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

17 samples harvested; 10 ran; 1 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.

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

Licence: 1 of the 17 samples is 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 jianhongbai/bacon. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

get_mean_lr jianhongbai/bacon/model/bacon.py official repository ran · honoured contract MIT (permissive) · c62a45794431e9b7 · report
DistillLoss jianhongbai/bacon/model/bacon.py official repository ran MIT (permissive) · 37030cbebb0d0129 · report
SemiConLoss jianhongbai/bacon/model/bacon.py official repository ran fingerprinted MIT (permissive) · 95c5de44324291cf · report
SupConLoss jianhongbai/bacon/model/bacon.py official repository ran MIT (permissive) · 12b38c6451969326 · report
compute_est_adjustment jianhongbai/bacon/model/bacon.py official repository ran · fixture could not drive it MIT (permissive) · cc083b6352f41e6b · report
compute_reg_loss jianhongbai/bacon/model/bacon.py official repository ran · our draft was wrong MIT (permissive) · 5346c05380052e53 · report
info_nce_logits jianhongbai/bacon/model/bacon.py official repository ran · our draft was wrong MIT (permissive) · dc61c49b216cea13 · report
split_cluster_acc_v2 jianhongbai/bacon/model/bacon.py official repository ran · fixture could not drive it MIT (permissive) · e2b8c1d1e98d7709 · report
split_cluster_acc_v2_balanced jianhongbai/bacon/model/bacon.py official repository ran · fixture could not drive it MIT (permissive) · 50edbf115e750bdd · report
calculate_acc jianhongbai/bacon/model/bacon.py official repository unverified MIT (permissive) · 4e2fa0271f1222c9 · report
compute_softconloss jianhongbai/bacon/model/bacon.py official repository unverified MIT (permissive) · 71b073ad89637020 · report
dist_est jianhongbai/bacon/model/bacon.py official repository unverified MIT (permissive) · 6888e6e64755786e · report
log_accs_from_preds jianhongbai/bacon/model/bacon.py official repository unverified MIT (permissive) · 7d0eb85e7e70c3b3 · report
set_args_mmf jianhongbai/bacon/model/bacon.py official repository unverified MIT (permissive) · 031f432787f1623b · report
test jianhongbai/bacon/model/bacon.py official repository unverified MIT (permissive) · fa3d31a3392a1b08 · report
train_dual jianhongbai/bacon/model/bacon.py official repository unverified MIT (permissive) · b150a7dd8f9c24c0 · report
get_params_groups identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · ec22c16f1e0653f7 · report

Tasks

Contrastive LearningTransfer 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