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:
- 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.
- 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:
- Conversational Intent and Slot Discovery: Dialogue systems must constantly adapt to new user behaviors. Lizi Liao et al. apply incremental clustering to discover new slots without predefined categories in Semi-supervised New Slot Discovery with Incremental Clustering. To scale this to open-ended environments, Jinggui Liang et al. combine large language models with smaller specialized models in Synergizing Large Language Models and Pre-Trained Smaller Models for Conversational Intent Discovery to handle fluid, changing topic counts.
- Open Relation Extraction (OpenRE): In information extraction, text corpora contain an evolving web of relationships. Maosong Sun et al. address this in Open Relation Extraction: Relational Knowledge Transfer from Supervised Data to Unsupervised Data by transferring similarity metrics from known relations to cluster unseen ones. Furthering this, Jun Zhao et al. introduce an active learning loop in Actively Supervised Clustering for Open Relation Extraction that alternates between clustering and key-point labeling, allowing the system to discover new relations without needing a fixed parameter model.
- Bioinformatics and Security: In single-cell RNA sequencing, identifying novel cell types is frequently hindered by highly imbalanced data distributions. Yuyao Zhai et al. develop an integrated cluster estimation framework in Distribution-Independent Cell Type Identification for Single-Cell RNA-seq Data to bypass external tool dependencies. In digital forensics, Haiyang Zheng et al. apply confidence-aware asymmetric learning in Open-World Deepfake Attribution via Confidence-Aware Asymmetric Learning to isolate and discover an unpredictable number of new deepfake generation sources.
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.