Papers › SelEx: Self-Expertise in Fine-Grained Generalized Category Discovery

SelEx: Self-Expertise in Fine-Grained Generalized Category Discovery

26 Aug 2024arXiv:2408.14371archive 2025-07-28

Sarah Rastegar, Mohammadreza Salehi, Yuki M. Asano, Hazel Doughty, Cees G. M. Snoek

In this paper, we address Generalized Category Discovery, aiming to simultaneously uncover novel categories and accurately classify known ones. Traditional methods, which lean heavily on self-supervision and contrastive learning, often fall short when distinguishing between fine-grained categories. To address this, we introduce a novel concept called `self-expertise', which enhances the model's ability to recognize subtle differences and uncover unknown categories. Our approach combines unsupervised and supervised self-expertise strategies to refine the model's discernment and generalization. Initially, hierarchical pseudo-labeling is used to provide `soft supervision', improving the effectiveness of self-expertise. Our supervised technique differs from traditional methods by utilizing more abstract positive and negative samples, aiding in the formation of clusters that can generalize to novel categories. Meanwhile, our unsupervised strategy encourages the model to sharpen its category distinctions by considering within-category examples as `hard' negatives. Supported by theoretical insights, our empirical results showcase that our method outperforms existing state-of-the-art techniques in Generalized Category Discovery across several fine-grained datasets. Our code is available at: https://github.com/SarahRastegar/SelEx.

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

Code

Syntology Ran 6 of 11 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · fixture could not drive it; 4 ran with no contract checked.

By repository: official repository: 11 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.

sarahrastegar/selex officialmentioned in papermentioned on GitHubpytorchMIT report
sarahrastegar/infosieve mentioned 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

11 samples harvested; 6 ran; 1 honoured the contract we drafted; 5 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
1ran · fixture could not drive it
4ran
5unverified

Licence: 0 of the 11 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 sarahrastegar/selex. “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_add_residual_stochastic_depth sarahrastegar/selex/models/vision_transformer2.py official repository ran MIT (permissive) · 167e169f064431a0 · report
drop_path sarahrastegar/selex/models/vision_transformer.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 55120f2026b56aa2 · report
evaluate_clustering sarahrastegar/selex/project_utils/cluster_utils.py official repository ran fingerprinted MIT (permissive) · 15d2b95b53f6db9a · report
make_2tuple sarahrastegar/selex/models/vision_transformer2.py official repository ran · honoured contract fingerprinted MIT (permissive) · 3c04490a215299f2 · report
named_apply sarahrastegar/selex/models/vision_transformer2.py official repository ran MIT (permissive) · e9858e26f4c51e98 · report
purity_score sarahrastegar/selex/project_utils/cluster_utils.py official repository ran fingerprinted MIT (permissive) · 1645ca2fb55ce1f8 · report
cluster_acc sarahrastegar/selex/project_utils/cluster_utils.py official repository unverified MIT (permissive) · 569a0b5d2369b072 · report
info_nce_logits sarahrastegar/selex/methods/contrastive_training/contrastive_training.py official repository unverified MIT (permissive) · 40f5a2f8b0143f94 · report
pairwise_distance sarahrastegar/selex/methods/clustering/faster_mix_k_means_pytorch.py official repository unverified MIT (permissive) · 980dd2e8fa24f9da · report
vit_small sarahrastegar/selex/models/vision_transformer.py official repository unverified MIT (permissive) · 995a10f898196998 · report
vit_tiny sarahrastegar/selex/models/vision_transformer.py official repository unverified MIT (permissive) · 996780ba4be89ba3 · report

Tasks

Contrastive Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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