Abstract
Clustering is often a challenging problem because of the inherent ambiguity in what the "correct" clustering should be. Even when the number of clusters $K$ is known, this ambiguity often still exists, particularly when there is variation in density among different clusters, and clusters have multiple relatively separated regions of high density. In this paper we propose an information-theoretic characterization of when a $K$-clustering is ambiguous, and design an algorithm that recovers the clustering whenever it is unambiguous. This characterization formalizes the situation when two high density regions within a cluster are separable enough that they look more like two distinct clusters than two truly distinct clusters in the $K$-clustering. The algorithm first identifies $K$ partial clusters (or "seeds") using a density-based approach, and then adds unclustered points to the initial $K$ partial clusters in a greedy manner to form a complete clustering. We implement and test a version of the algorithm that is modified to effectively handle overlapping clusters, and observe that it requires little parameter selection and displays improved performance on many datasets compared to widely used algorithms for non-convex cluster recovery.
Introduction
Clustering is a fundamental task in unsupervised learning, yet it remains notoriously subjective. The lack of a universal definition for a "correct" clustering often leads to disparate results across different algorithms. This ambiguity is particularly pronounced in datasets featuring non-convex shapes, varying cluster densities, and multiple high-density regions within a single cluster. While popular heuristic methods like DBSCAN and HDBSCAN address some of these challenges, they often lack the theoretical guarantees necessary to predict when they will succeed or fail.
This paper seeks to bridge this gap by introducing a formal, information-theoretic framework to define "unambiguous" clustering. Based on this framework, we present the Minimal Seed Expansion (MSE) algorithm, which is provably guaranteed to recover the correct $K$-clustering whenever the dataset satisfies specific unambiguity criteria.
Defining Unambiguity
The authors propose two primary conditions to characterize an unambiguous clustering:
- Weak Separability: This condition ensures that points within a cluster are more "connected" to each other than they are to points in any other cluster. This provides a foundational structure for identifying cluster boundaries and links the theory to hierarchical dendrogram cuts.
- Local Maximum Separability (LM-Separability): This is the core innovation of the paper. LM-Separability formalizes the notion that internal density variations—such as "valleys" between two high-density "peaks" within the same cluster—should not be so extreme that they appear as boundaries between distinct clusters.
By satisfying these conditions, a dataset is considered to have an unambiguous $K$-clustering, providing a mathematical "contract" for recovery.
The Minimal Seed Expansion (MSE) Algorithm
The MSE algorithm recovers clusters through a two-stage process:
1. Seed Finding
The algorithm employs a greedy, density-based approach to identify $K$ "seeds." These seeds are small subsets of points that represent the high-density cores of each cluster. A parameter $A$ is utilized to manage variations in density across the dataset, ensuring that seeds are correctly placed even in sparse regions. This allows the algorithm to move away from absolute distance thresholds in favor of relative density.
2. Seed Expansion
Once the seeds are established, the algorithm expands them into full clusters using a greedy distance-based metric. Unclustered points are assigned to the "closest" existing cluster based on a specific connectivity metric that respects the underlying manifold structure of the data.
While the theoretical worst-case runtime is $O(|X|^3 \log(|X|))$, the authors provide an optimized implementation suitable for practical applications.
Experimental Evaluation
The MSE algorithm was evaluated against several industry-standard benchmarks, including K-means, Spectral Clustering, DBSCAN, OPTICS, and HDBSCAN. Performance was measured primarily using the Adjusted Rand Index (ARI) and Normalized Mutual Information (NMI).
Datasets
The evaluation spanned both real-world and synthetic datasets chosen for their "pathological" characteristics (e.g., non-convexity and varying density):
- UCI Benchmarks: Iris, Wine, Seeds, Glass, Cancer, Digits, Letter, and MNIST (processed via t-SNE).
- Synthetic Cases: Two Circles, Two Moons, Anisotropic (elongated) clusters, and Varied Variance Blobs.
Key Results
MSE demonstrated superior accuracy and consistency across the testing suite:
- High-Dimensional Recovery: On the "Digits" dataset, MSE significantly outperformed all competitors, highlighting its ability to navigate complex, high-dimensional structures.
- Non-Convex Robustness: MSE achieved perfect or near-perfect ARI scores (1.000) on synthetic datasets like Two Moons and Anisotropic blobs, where K-means and standard DBSCAN frequently struggled.
- Parameter Stability: Despite having parameters such as $N_p$ (density), the algorithm showed consistent performance across diverse datasets without requiring exhaustive, per-dataset fine-tuning.
- The Glass Exception: While OPTICS performed slightly better on the Glass dataset, it failed to output the correct number of clusters, whereas MSE remained constrained to the known $K$.
Conclusion and Future Work
The MSE algorithm provides a robust bridge between heuristic clustering and theoretical guarantees. By formalizing the concept of unambiguity, the authors offer a method that is both mathematically grounded and practically effective for complex data.
However, limitations remain. The algorithm's computational complexity is higher than linear-time heuristics like K-means, and it requires the number of clusters $K$ to be known a priori. Future research may focus on automating parameter selection using internal quality measures like the Calinski-Harabasz score and further optimizing the implementation for extremely large-scale datasets.
Summary updated