How many classes do we need to see for novel class discovery?

Akanksha Sarkar, Been Kim, Jennifer J. SunarXiv 2025

TL;DR

This paper systematically investigates how the number of known (seen) and unknown (novel) classes impacts Novel Class Discovery (NCD) and General Class Discovery (GCD). By evaluating models on both controlled synthetic benchmarks and real-world datasets, the authors reveal a distinct "saturation point" beyond which labeling more known classes yields diminishing returns for discovering new ones.

What Problem Does This Paper Address?

Machine learning models deployed in the wild frequently encounter categories they weren't trained on—whether it's a new species in a biodiversity study or an unclassified animal behavior in neuroscience. NCD and GCD frameworks aim to solve this by leveraging a limited set of labeled, known classes to identify and categorize unknown classes within unlabeled data.

However, real-world datasets contain highly complex, entangled factors of variation (e.g., lighting, camera angles, and subtle feature overlaps), making it difficult to understand the fundamental dynamics of class discovery. Practitioners face a blind spot: How many known classes do we actually need to label to guarantee successful discovery of new ones? This paper introduces a controlled experimental framework to isolate these variables and provide concrete guidance.

Methods

To clearly observe how dataset composition affects performance without algorithmic interference, the authors use a classic, clean baseline pipeline:

  1. Feature Extraction: A standard backbone architecture (ResNet-18 or ResNet-50) is trained via supervised learning on the labeled known classes to serve as a robust feature extractor.
  2. Clustering: The trained model extracts features from the unlabeled dataset, and an unsupervised clustering algorithm (K-means) partitions these features into distinct groups representing the novel classes.

The authors evaluate two primary paradigms: Novel Class Discovery (NCD), which focuses strictly on labeling the unknown classes, and General Class Discovery (GCD), which requires the model to classify both the known and unknown classes simultaneously. They also test two data relationships: Interpolation (where novel classes fall within the feature range of known classes) and Extrapolation (where novel classes extend into entirely unseen feature spaces).

Figure 1. We empirically study factors that influence success and failure of NCD and GCD. In both cases, we take a classical approach by first training a network on a set of known classes and using a clustering-based approach for class discovery. NCD focuses on labelling unknown classes only, while GCD is on both unknown and known classes. We consider factors of variation from dSprites [16] with more than 10 values; we augment the shape factor by creating new shapes between squares and circles. Finally, we evaluate class discovery for both interpolation from known classes and extrapolation.

Datasets

  • dSprites (Synthetic): A procedural dataset of 2D shapes generated from 5 independent ground-truth factors (shape, scale, orientation, x-position, and y-position). The authors extended this by creating a custom continuous shape dataset that interpolates smoothly between squares and circles ("squircles") to test shape variations on a continuous scale.
  • CUB-200 (Real-World): A fine-grained dataset containing 200 bird species organized into taxonomic families and orders. This structure allowed the authors to cleanly design real-world interpolation tasks (sampling known/unknown birds from the same family) and extrapolation tasks (sampling from entirely different families).

Key Insights and Ideas

  • The Saturation Point: Across both synthetic and real-world settings, increasing the number of known training classes dramatically boosts discovery accuracy initially. However, performance quickly hits a plateau or "saturation point." Beyond this limit, the cost of annotating additional known classes provides diminishing returns.
  • Feature Diversity Over Model Capacity: Surprisingly, upgrading from a ResNet-18 to a higher-capacity ResNet-50 does not consistently improve novel class discovery. The bottleneck is not the model's size, but rather the diversity and coverage of the features present in the training data.
  • Intrinsic Feature Difficulty: In synthetic tests, positional factors (x and y coordinates) are clustered much more easily by the model than variations in shape. The intrinsic complexity of the class-defining feature heavily dictates discovery success.

Key Results

  • Synthetic Benchmarks: Accuracy steadily declines as the number of unknown classes increases, but scales up with more known classes until hitting the saturation plateau. Models consistently perform better on interpolation tasks than extrapolation tasks.
  • Real-World Performance (CUB-200): The highest accuracy and precision are achieved when the number of known classes is large and the number of unknown classes is small.
  • Early Stabilization: On CUB-200, accuracy and precision exhibit a clear stabilization effect after the number of unknown classes exceeds approximately four. This suggests that the primary challenge of discovering novel classes arises early on, and adding more unknown classes beyond this point does not substantially degrade performance further.
Figure 5. Results from CUB-200 dataset experiment with row as number of known and column as unknown

Limitations and Future Work

  • Simple Clustering Baseline: The study relies on a basic feature extraction + K-means pipeline. Modern state-of-the-art NCD/GCD methods utilize joint representation learning and contrastive losses, which might shift or alter the behavior of the saturation point.
  • Prior Knowledge of Cluster Count: The K-means step assumes the true number of unknown classes is known a priori, an assumption that rarely holds true in true open-world deployments.
  • Real-World Complexity: While synthetic data showed clear performance gaps between interpolation and extrapolation, the real-world CUB-200 dataset yielded highly context-dependent results, indicating that real-world noise and feature overlap complicate these boundaries.

Summary updated

BibTeX
@misc{sarkar2025how,
  author = {Akanksha Sarkar and Been Kim and Jennifer J. Sun},
  title = {{How many classes do we need to see for novel class discovery?}},
  year = {2025},
  eprint = {2509.15585},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.15585},
}
Figure