Papers
Topics
Authors
Recent
Search
2000 character limit reached

NC-GCD: Neural Collapse in Category Discovery

Updated 6 July 2026
  • The paper introduces a framework that unifies supervised and unsupervised clustering by aligning features to fixed Simplex ETF prototypes, overcoming inconsistent optimization objectives and category confusion.
  • NC-GCD applies Neural Collapse properties to enforce a shared geometric structure, resulting in improved novel-class accuracies compared to traditional prototype-based methods.
  • Leveraging a Semantic Consistency Matcher (SCM) and periodic clustering, NC-GCD stabilizes pseudo-label assignments and maintains consistent optimization targets across training epochs.

Searching arXiv for the primary NC-GCD paper and the original GCD paper to ground the article in the cited literature. arXiv search query: id:([2507.04725](/papers/2507.04725)) OR id:([2201.02609](/papers/2201.02609)) Neural Collapse-inspired Generalized Category Discovery (NC-GCD) is a framework for generalized category discovery that classifies known categories while simultaneously discovering novel categories from unlabeled data by imposing a Neural Collapse–motivated geometric structure on the embedding space. In the generalized category discovery setting, the unlabeled pool contains a mixture of known and novel categories, and the model is required to organize all of them jointly rather than merely reject unknowns or assume that all unlabeled instances are novel. NC-GCD addresses two difficulties emphasized in prior GCD work—inconsistent optimization objectives between supervised and unsupervised components, and category confusion caused by feature overlap—by pre-assigning and fixing Simplex Equiangular Tight Frame (ETF) prototypes, aligning both labeled and unlabeled data to the same prototype geometry, and stabilizing pseudo-label identities across clustering iterations with a Semantic Consistency Matcher (SCM) (Han et al., 7 Jul 2025, Vaze et al., 2022).

1. Problem setting within generalized category discovery

Generalized Category Discovery (GCD) is defined on a partially labeled dataset in which some categories are known and labeled, while the unlabeled data come from both known and novel categories. In NC-GCD notation, the dataset is

D=Dl∪Du,D = D_l \cup D_u,

where

Dl={(xil,yil)}⊂X×YlD_l = \{(x_i^l, y_i^l)\} \subset X \times Y_l

contains labeled known-category samples and

Du={xiu}⊂XD_u = \{x_i^u\} \subset X

contains unlabeled samples from both known and novel categories. The full category set is

Yu=Yl∪Yn,Yl∩Yn=∅,Y_u = Y_l \cup Y_n, \qquad Y_l \cap Y_n = \varnothing,

with YnY_n denoting the novel categories. The goal is to classify samples from YlY_l and to discover and organize samples from YnY_n without predefined class structures (Han et al., 7 Jul 2025).

This setting extends the original GCD formulation, which introduced a labeled set DL={(xi,yi)}i=1ND_L = \{(x_i,y_i)\}_{i=1}^N with yi∈YLy_i \in Y_L, an unlabeled set DU={xj}j=1MD_U = \{x_j\}_{j=1}^M drawn from Dl={(xil,yil)}⊂X×YlD_l = \{(x_i^l, y_i^l)\} \subset X \times Y_l0, and a validation set Dl={(xil,yil)}⊂X×YlD_l = \{(x_i^l, y_i^l)\} \subset X \times Y_l1 on seen classes. Its goal was to assign every Dl={(xil,yil)}⊂X×YlD_l = \{(x_i^l, y_i^l)\} \subset X \times Y_l2 to its correct class in Dl={(xil,yil)}⊂X×YlD_l = \{(x_i^l, y_i^l)\} \subset X \times Y_l3, including both seen and unseen categories, without knowing which unlabeled samples are seen versus novel or the number of novel classes a priori (Vaze et al., 2022).

The importance of this formulation is that it removes assumptions made by adjacent paradigms. Semi-supervised learning assumes unlabeled data share the same label set as labeled data; open-set recognition focuses on known-versus-unknown detection rather than organizing unknowns among themselves; and novel category discovery usually assumes that unlabeled data contain only unknown classes and often that the number of unknown classes is known. GCD, and consequently NC-GCD, operates in the mixed seen/unseen regime and treats all unlabeled data as belonging to one global label space (Vaze et al., 2022).

A common misconception is to view GCD as a variant of unknown-class rejection. In fact, the task requires full categorization of the unlabeled set, including unknown instances among themselves, and NC-GCD preserves that requirement by jointly discovering and labeling all clusters rather than introducing an explicit known/novel reject threshold (Han et al., 7 Jul 2025).

2. Neural Collapse as the geometric principle

NC-GCD is organized around Neural Collapse (NC), a geometric phenomenon observed in well-trained classifiers. The framework explicitly highlights four NC properties: NC1 (Within-class collapse), where within-class variance vanishes and features of the same class collapse to their mean; NC2 (Simplex ETF geometry), where centered class means converge to a Simplex ETF; NC3 (Self-duality), where class means align with classifier weight directions; and NC4 (Nearest-center prediction), where prediction reduces to nearest class center (Han et al., 7 Jul 2025).

NC-GCD operationalizes these ideas by constructing a fixed set of Dl={(xil,yil)}⊂X×YlD_l = \{(x_i^l, y_i^l)\} \subset X \times Y_l4 Simplex ETF prototypes Dl={(xil,yil)}⊂X×YlD_l = \{(x_i^l, y_i^l)\} \subset X \times Y_l5, one for each class, known and novel. The construction is

Dl={(xil,yil)}⊂X×YlD_l = \{(x_i^l, y_i^l)\} \subset X \times Y_l6

where Dl={(xil,yil)}⊂X×YlD_l = \{(x_i^l, y_i^l)\} \subset X \times Y_l7 has orthonormal columns. The resulting prototypes are unit norm and satisfy

Dl={(xil,yil)}⊂X×YlD_l = \{(x_i^l, y_i^l)\} \subset X \times Y_l8

This gives equal pairwise angles and a tight-frame structure (Han et al., 7 Jul 2025).

The role of the ETF is not merely descriptive. In NC-GCD, the prototypes are pre-assigned and fixed before training and are never updated. The stated rationale is twofold. First, the Simplex ETF is taken as the NC limit for balanced classification, maximizing inter-class margins with equal pairwise angles while collapsing within-class variance. Second, using the same fixed geometric targets for both supervised and unsupervised samples enforces a shared objective for known and novel categories, combats prototype drift, and reduces category confusion (Han et al., 7 Jul 2025).

This geometric choice distinguishes NC-GCD from earlier prototype-based GCD pipelines. The original GCD method also classified in feature space by nearest centroid, with labeled centroids formed as class means and novel centroids discovered by Dl={(xil,yil)}⊂X×YlD_l = \{(x_i^l, y_i^l)\} \subset X \times Y_l9-means, but its centroids were data-dependent rather than pre-fixed ETF anchors (Vaze et al., 2022). A plausible implication is that NC-GCD can be read as a geometry-constrained reformulation of prototype-based GCD.

3. Architecture and consistent ETF alignment objective

NC-GCD uses a pre-trained visual encoder Du={xiu}⊂XD_u = \{x_i^u\} \subset X0, reported as DINO ViT-B/16 in experiments, to produce embeddings Du={xiu}⊂XD_u = \{x_i^u\} \subset X1 and augmented embeddings Du={xiu}⊂XD_u = \{x_i^u\} \subset X2. A clustering module Du={xiu}⊂XD_u = \{x_i^u\} \subset X3 periodically clusters all embeddings into Du={xiu}⊂XD_u = \{x_i^u\} \subset X4 groups and computes cluster centers

Du={xiu}⊂XD_u = \{x_i^u\} \subset X5

If the ground-truth number of classes Du={xiu}⊂XD_u = \{x_i^u\} \subset X6 is available, it is used directly; if Du={xiu}⊂XD_u = \{x_i^u\} \subset X7 is unknown, it is estimated from clustering and the ETF is then constructed with this Du={xiu}⊂XD_u = \{x_i^u\} \subset X8 (Han et al., 7 Jul 2025).

Pseudo-labels for unlabeled samples are assigned by cosine similarity to current cluster centers: Du={xiu}⊂XD_u = \{x_i^u\} \subset X9 The confidence of a sample within its assigned cluster is

Yu=Yl∪Yn,Yl∩Yn=∅,Y_u = Y_l \cup Y_n, \qquad Y_l \cap Y_n = \varnothing,0

For each cluster Yu=Yl∪Yn,Yl∩Yn=∅,Y_u = Y_l \cup Y_n, \qquad Y_l \cap Y_n = \varnothing,1, NC-GCD selects the top Yu=Yl∪Yn,Yl∩Yn=∅,Y_u = Y_l \cup Y_n, \qquad Y_l \cap Y_n = \varnothing,2 of samples with highest Yu=Yl∪Yn,Yl∩Yn=∅,Y_u = Y_l \cup Y_n, \qquad Y_l \cap Y_n = \varnothing,3 to form Yu=Yl∪Yn,Yl∩Yn=∅,Y_u = Y_l \cup Y_n, \qquad Y_l \cap Y_n = \varnothing,4, and aligns them to the corresponding fixed ETF prototype Yu=Yl∪Yn,Yl∩Yn=∅,Y_u = Y_l \cup Y_n, \qquad Y_l \cap Y_n = \varnothing,5 using the unsupervised ETF alignment loss

Yu=Yl∪Yn,Yl∩Yn=∅,Y_u = Y_l \cup Y_n, \qquad Y_l \cap Y_n = \varnothing,6

This is defined clusterwise over high-confidence unlabeled samples (Han et al., 7 Jul 2025).

For labeled data, SCM produces an ETF-aligned label

Yu=Yl∪Yn,Yl∩Yn=∅,Y_u = Y_l \cup Y_n, \qquad Y_l \cap Y_n = \varnothing,7

and supervised alignment pulls labeled features toward their mapped ETF prototypes: Yu=Yl∪Yn,Yl∩Yn=∅,Y_u = Y_l \cup Y_n, \qquad Y_l \cap Y_n = \varnothing,8 The combined Consistent ETF Alignment Loss is

Yu=Yl∪Yn,Yl∩Yn=∅,Y_u = Y_l \cup Y_n, \qquad Y_l \cap Y_n = \varnothing,9

where YnY_n0 balances unsupervised and supervised contributions (Han et al., 7 Jul 2025).

NC-GCD does not discard contrastive representation learning. It adds an unsupervised representation term,

YnY_n1

and a supervised representation term,

YnY_n2

where YnY_n3 collects in-batch samples sharing the same label and YnY_n4 is the temperature. These combine as

YnY_n5

The final objective is

YnY_n6

with YnY_n7 controlling the relative weight of ETF alignment (Han et al., 7 Jul 2025).

The central design choice is therefore not simply to add an auxiliary NC regularizer, but to unify supervised and unsupervised learning around the same fixed prototype geometry.

4. Semantic Consistency Matcher and temporal stabilization

NC-GCD identifies two instability sources in GCD training: pseudo-label drift across clustering iterations, where the same semantic category may be assigned different cluster IDs over time, and supervised-label mismatch, where known labels and current cluster identities may not align with ETF prototype indices (Han et al., 7 Jul 2025).

SCM addresses the first issue by matching cluster IDs between consecutive clustering iterations. Across iterations YnY_n8, it finds the permutation

YnY_n9

where YlY_l0 is the permutation group on YlY_l1 items. The current iteration’s label set is updated by applying this optimal permutation. A similar optimal assignment YlY_l2 is computed to align predicted clusters with the known ground-truth labels for supervised samples, yielding ETF-aligned labels for the supervised loss (Han et al., 7 Jul 2025).

In practice, these permutations can be solved by the Hungarian algorithm applied to cluster–cluster or cluster–label co-occurrence matrices. This is important because the ETF prototypes are fixed: if cluster identities were allowed to swap arbitrarily across epochs, the same semantic class could be alternately attracted to different ETF vectors, defeating the intended geometry. SCM preserves the semantic identity of clusters across time, prevents prototype swapping, and stabilizes the optimization target for both labeled and unlabeled data (Han et al., 7 Jul 2025).

Training proceeds with periodic clustering every YlY_l3 epochs, where YlY_l4 is a hyperparameter. After each clustering step, SCM relabels the current clustering consistently with the previous one and aligns known labels to ETF prototypes. At inference, embeddings are assigned to the nearest ETF prototype or cluster by cosine similarity. For GCD evaluation, a one-to-one matching between discovered clusters and ground-truth classes is typically computed by Hungarian assignment to report accuracies on All/Old/New splits. The framework does not require an explicit known/novel reject threshold; it discovers and labels all clusters jointly (Han et al., 7 Jul 2025).

5. Relation to the original GCD pipeline

The original GCD framework established the problem setting that NC-GCD inherits and also provided the prototype-based baseline that NC-GCD most directly generalizes. Its representation pipeline used a Vision Transformer ViT-B/16 pretrained with DINO on ImageNet, with features taken from the YlY_l5 token. Two random augmented views YlY_l6 were generated for each image, an MLP projection head YlY_l7 was used only for contrastive training, and clustering at test time operated on the backbone’s YlY_l8 embedding rather than on projected features (Vaze et al., 2022).

Original GCD combined an unsupervised InfoNCE-style contrastive loss on all images with a supervised contrastive loss on labeled images. After fine-tuning, it extracted YlY_l9 and applied semi-supervised YnY_n0-means with squared Euclidean distance. If YnY_n1 was known, it maintained YnY_n2 centroids YnY_n3, tied centroid indices for seen classes to the labeled classes, initialized those centroids as labeled class means,

YnY_n4

and initialized the remaining YnY_n5 centroids by YnY_n6-means++ on YnY_n7. It then optimized

YnY_n8

with labeled assignments fixed to ground-truth labels and unlabeled assignments updated by nearest centroid (Vaze et al., 2022).

This procedure required no explicit threshold to decide whether an unlabeled sample was seen or unseen: assignments to seen-class-tied centroids corresponded to seen classes, and assignments to the remaining centroids corresponded to novel classes. When YnY_n9 was unknown, the original GCD method estimated it by running DL={(xi,yi)}i=1ND_L = \{(x_i,y_i)\}_{i=1}^N0-means on all features for candidate values of DL={(xi,yi)}i=1ND_L = \{(x_i,y_i)\}_{i=1}^N1, evaluating clustering accuracy on the labeled subset only,

DL={(xi,yi)}i=1ND_L = \{(x_i,y_i)\}_{i=1}^N2

and choosing the maximizer via Brent’s algorithm over DL={(xi,yi)}i=1ND_L = \{(x_i,y_i)\}_{i=1}^N3 (Vaze et al., 2022).

The empirical context matters because NC-GCD was introduced after this prototype-based formulation had already demonstrated that DINO-ViT features and non-parametric clustering were strong ingredients for GCD. Original GCD reported All/Old/New accuracies of 73.0/76.2/66.5 on CIFAR-100, 74.1/89.8/66.3 on ImageNet-100, 51.3/56.6/48.7 on CUB, 39.0/57.6/29.9 on Stanford Cars, and 35.4/51.0/27.0 on Herbarium19, substantially outperforming adapted NCD baselines and showing particular strength on fine-grained and long-tailed settings (Vaze et al., 2022).

A further point of evaluation protocol originates in the original GCD paper. Clustering accuracy is computed with a single global Hungarian assignment over all classes in DL={(xi,yi)}i=1ND_L = \{(x_i,y_i)\}_{i=1}^N4, after which Old and New subset accuracies are computed post hoc. This is stricter than matching subsets separately and can create an apparent tradeoff between Old and New accuracies at reporting time (Vaze et al., 2022).

6. Empirical behavior, implementation profile, and limitations

NC-GCD was evaluated on generic classification datasets CIFAR-100 and ImageNet-100, and on fine-grained datasets CUB-200, Stanford Cars, FGVC Aircraft, and Herbarium19. Fine-grained datasets use the SSB split, while CIFAR-100 and ImageNet-100 use random splits following prior work. Evaluation reports All/Old/New accuracies (Han et al., 7 Jul 2025).

Dataset Ground-truth DL={(xi,yi)}i=1ND_L = \{(x_i,y_i)\}_{i=1}^N5 given (All/Old/New) Without ground-truth DL={(xi,yi)}i=1ND_L = \{(x_i,y_i)\}_{i=1}^N6 (All/Old/New)
CUB-200 74.8 / 76.8 / 73.8 70.3 / 72.1 / 69.4
Stanford Cars 59.9 / 77.8 / 51.2 54.0 / 73.1 / 44.8
FGVC Aircraft 60.0 / 57.6 / 61.2 55.4 / 57.3 / 54.5
Herbarium19 46.4 / 58.4 / 40.7 42.3 / 56.2 / 34.8
CIFAR-100 82.7 / 85.5 / 77.3 80.5 / 83.7 / 74.0
ImageNet-100 88.4 / 94.1 / 85.5 85.7 / 95.9 / 80.6

Averaged over all datasets, NC-GCD reports 68.7/75.0/64.9 with ground-truth DL={(xi,yi)}i=1ND_L = \{(x_i,y_i)\}_{i=1}^N7 given and 64.7/73.0/59.7 without ground-truth DL={(xi,yi)}i=1ND_L = \{(x_i,y_i)\}_{i=1}^N8. The reported improvements over strong state of the art are +3.0 All and +4.2 New on average in the known-DL={(xi,yi)}i=1ND_L = \{(x_i,y_i)\}_{i=1}^N9 regime, and +3.1 All and +4.4 New on average when yi∈YLy_i \in Y_L0 is not given (Han et al., 7 Jul 2025).

The ablations isolate three mechanisms. First, unsupervised ETF alignment alone yields substantial gains in novel-class accuracy by reducing overlap and sharpening novel clusters. Second, supervised ETF alignment stabilizes known classes and prevents forgetting. Third, the combination of both gives the strongest overall performance, with average improvements over the baseline of +5.3 All and +7.4 New. SCM also contributes materially: on CUB-200, All accuracy is 75.7 with SCM versus 70.3 without, and Novel accuracy is 77.8 versus 70.0; on Herbarium19, All is 47.2 versus 42.6 and Novel is 40.3 versus 36.3; on ImageNet-100, All is 87.6 versus 84.3 and Novel is 84.1 versus 82.0 (Han et al., 7 Jul 2025).

The implementation profile reported for NC-GCD uses DINO ViT-B/16 with a projection head MLP of input 768, hidden 2048, and output 768, with GeLU activation. Optimization uses learning rate 0.1, batch size 128, and weight decay yi∈YLy_i \in Y_L1. The contrastive temperature is approximately yi∈YLy_i \in Y_L2, the number of augmentations is 2, and yi∈YLy_i \in Y_L3 is reported as a good balance between old and novel class accuracy. The loss weights yi∈YLy_i \in Y_L4, yi∈YLy_i \in Y_L5, and yi∈YLy_i \in Y_L6 are tuned, and yi∈YLy_i \in Y_L7 is described as crucial for making ETF geometry influential. The clustering period yi∈YLy_i \in Y_L8 is also a tunable hyperparameter (Han et al., 7 Jul 2025).

The main limitations are explicit. NC-GCD depends on knowledge or estimation of yi∈YLy_i \in Y_L9; if DU={xj}j=1MD_U = \{x_j\}_{j=1}^M0 is estimated inaccurately, ETF construction is affected. Periodic clustering and Hungarian matching add computational overhead, especially for large DU={xj}j=1MD_U = \{x_j\}_{j=1}^M1. Very large numbers of classes increase the cost of matching and clustering, and scalable approximations may be needed. The method is reported to excel in fine-grained settings, but those same regimes can make matching and clustering more expensive. Future directions mentioned for the framework include extending ETF- and SCM-based ideas to incremental GCD or streaming settings (Han et al., 7 Jul 2025).

Taken together, NC-GCD represents a geometry-driven stage in the development of GCD. The original GCD framework showed that strong ViT representations and non-parametric clustering could organize mixed seen/unseen unlabeled data effectively (Vaze et al., 2022). NC-GCD recasts that discovery problem through fixed ETF prototypes, consistent supervised–unsupervised alignment, and temporal label matching, thereby making Neural Collapse an explicit training prior rather than a post hoc geometric observation (Han et al., 7 Jul 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Neural Collapse-inspired Generalized Category Discovery (NC-GCD).