Dynamic Category Discovery with Unknown Cluster Cardinality

256 concepts200 papers1 proposal

Traditional machine learning models operate effectively within a "closed world," where all possible semantic categories are predefined and fixed during training. However, when deployed in open-world environments, systems routinely encounter data from entirely new, unseen categories. Whether identifying novel user intentions in a dialogue system, discovering unknown cell types in genomic data, or tracking emerging deepfake generators, models must transition from static classification to autonomous discovery.

The fundamental bottleneck in this transition is the fixed cluster count assumption. Classical clustering algorithms and open-world discovery frameworks typically require the total number of categories ($K$) to be specified a priori. In real-world scenarios, this cardinality is inherently unpredictable. When a model is forced to partition data using an incorrect estimate of $K$, its performance degrades severely: underestimating $K$ forces distinct concepts to collapse into a single cluster, while overestimating it fragments cohesive categories into meaningless sub-groups.

To build truly autonomous open-world systems, researchers are developing methods for dynamic category discovery—frameworks that simultaneously learn data representations and estimate the underlying cluster cardinality on the fly.

The Fallacy of the Fixed K

In conventional unsupervised and semi-supervised learning, knowing the number of clusters provides a critical geometric constraint. It defines the capacity of the optimization landscape, telling the model exactly how many prototypes or decision boundaries to maintain.

As highlighted by Willi Menapace et al. in their work on unsupervised clustering under domain shift (Learning to Cluster Under Domain Shift), relying on a known number of classes severely restricts a model's utility in open environments. This limitation echoes across diverse domains. For instance, Zifeng Wang et al. observe in Open-World Class Discovery with Kernel Networks that assuming a known number of novel classes is highly unrealistic when the variety and quantity of incoming data are unpredictable. Similarly, in few-shot adaptation, Alexander Ilin et al. note in Active one-shot learning with Prototypical Networks that requiring a fixed target class count prevents models from dynamically adapting to the natural structure of an unlabeled pool.

When the assumption of a fixed $K$ is violated, clustering algorithms face a structural dilemma. As analyzed by Juexiao Feng et al. in Debiased Novel Category Discovering and Localization, an inaccurate prior estimate leads to poor discovery performance where unique novel classes are either merged together or excessively subdivided.

The Representation-Cardinality Dilemma

Why is it so difficult to eliminate the fixed $K$ assumption? The challenge lies in a chicken-and-egg problem between representation learning and cluster estimation:

  1. To accurately estimate the number of clusters, the model needs a well-structured embedding space where data points belonging to the same category naturally cluster together.
  2. To train such an embedding space (often using contrastive or prototype-based losses), the model needs to know how many negative anchors or cluster centers to contrast against.

Without an integrated mechanism to estimate cluster numbers, models suffer from representation collapse or severe bias. For example, in open-world semi-supervised learning, models often learn known categories too quickly, causing them to overlook or miscluster novel categories. To address this, Bo Ye et al. propose Bridging the Gap: Learning Pace Synchronization for Open-World Semi-Supervised Learning, which uses adaptive margins to synchronize the learning pace between known and unknown classes, preventing the premature compression of the embedding space before novel clusters can be resolved.

Mechanisms for Dynamic Cluster Estimation

To break this loop, recent literature focuses on mechanisms that allow the cluster cardinality to emerge organically from the data distribution during training. Three primary strategies have emerged:

1. Adaptive Branching and Merging

Instead of fixing the number of allocation slots, models can dynamically spawn or dissolve cluster centers based on local feature density. Guangyao Chen et al. implement this in Adaptive Discovering and Merging for Incremental Novel Class Discovery by decoupling feature learning from category assignment. Their framework uses a "branch-and-merge" strategy that instantiates new category branches when data points fall far from existing prototypes, later merging branches that exhibit high semantic overlap.

2. Optimal Transport and Density-Based Birth

Another approach leverages Optimal Transport (OT) to map unlabeled samples to prototypes without assuming uniform cluster sizes or fixed counts. In RoNID: New Intent Discovery with Generated-Reliable Labels and Cluster-friendly Representations, Shun Zhang et al. frame label assignment as an optimal transport problem, allowing the model to handle noisy open-world distributions. When data distributions are highly imbalanced or long-tailed, standard OT constraints can fail; Chuyu Zhang et al. address this in P$^2$OT: Progressive Partial Optimal Transport for Deep Imbalanced Clustering by relaxing transport constraints and using a curriculum-based mass increase to discover rare, low-density clusters without pre-specifying their exact count.

3. Probabilistic Mixture Modeling and Pruning

Rather than making hard architectural changes, probabilistic frameworks treat cluster assignments as latent variables within an evolving mixture model. In PromptCCD: Learning Gaussian Mixture Prompt Pool for Continual Category Discovery, Bingchen Zhao et al. introduce a Gaussian Mixture Prompting module that models the stream of data as an evolving mixture, estimating the number of new categories on the fly. Similarly, Yunhua Zhou et al. demonstrate in A Probabilistic Framework for Discovering New Intents that optimizing latent intent assignments via an Expectation-Maximization (EM) algorithm allows the model to prune low-density, redundant clusters dynamically, reducing reliance on a precise initial guess of $K$.

Fixed K Approach:
[Data Stream] ---> [Fixed K Prototypes] ---> Forced Over-segmentation or Collapse

Dynamic Discovery Approach:
[Data Stream] ---> [Density/OT Evaluation] ---> Spawns New Prototypes Dynamically
                                           ---> Prunes/Merges Redundant Clusters

Application Across Open-World Domains

The shift toward unknown cluster cardinality is transforming how machine learning models handle open-ended discovery across text, audio, and biological modalities:

By moving away from rigid, pre-specified category counts and allowing cluster cardinality to be driven by data density and probabilistic optimization, these frameworks provide the mathematical flexibility required for true open-world autonomy.

History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_predefined_cluster_cardinality_e125257c,
  title = {predefined cluster cardinality},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/predefined-cluster-cardinality/rdr_e125257cbef744a49faf42120adae094},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_predefined_cluster_cardinality_e125257c_v1,
  title = {predefined cluster cardinality},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/predefined-cluster-cardinality/rdr_e125257cbef744a49faf42120adae094/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake