Abstract
The clusters of a distribution are often defined by the connected components of a density level set. However, this definition depends on the user-specified level. We address this issue by proposing a simple, generic algorithm, which uses an almost arbitrary level set estimator to estimate the smallest level at which there are more than one connected components. In the case where this algorithm is fed with histogram-based level set estimates, we provide a finite sample analysis, which is then used to show that the algorithm consistently estimates both the smallest level and the corresponding connected components. We further establish rates of convergence for the two estimation problems, and last but not least, we present a simple, yet adaptive strategy for determining the width-parameter of the involved density estimator in a data-depending way.
Introduction: The "Goldilocks" Problem in Clustering
In density-based clustering, clusters are traditionally defined as the connected components of regions where the data density exceeds a threshold $\rho$—a concept known as Hartigan’s definition. However, practitioners face a significant challenge: the results are hypersensitive to the choice of $\rho$. A threshold that is too low may merge distinct clusters via thin "bridges" of noise, while a threshold that is too high might isolate only the peaks, missing the broader structure. Furthermore, the underlying density estimator (e.g., histograms or kernels) requires its own "width" or "bandwidth" parameter, adding another layer of manual tuning.
This paper introduces a fully adaptive framework that automates the selection of both the density threshold and the estimator parameters, identifying the optimal "split" level directly from the data.
Methods: A Generic and Adaptive Approach
The proposed methodology consists of three integrated components:
1. The Generic Splitting Algorithm
Instead of requiring a fixed $\rho$, the algorithm scans density levels from low to high. It identifies the "infimum" (the lowest level) where the estimated density set splits into multiple components. To distinguish true clusters from random fluctuations, the algorithm employs a "persistence" check: a split is only recognized if the resulting components remain distinct across a range of higher density levels.
2. Histogram-Based Estimation
While the algorithm is estimator-agnostic, the paper provides a rigorous analysis using histograms. By utilizing geometrically well-behaved partitions, such as hyper-cubes, the method estimates the density level sets effectively within a theoretical framework.
3. Data-Driven Parameter Selection
A key innovation is the strategy for choosing the histogram bin width ($\delta$) and the level step size ($\epsilon$). The algorithm searches for parameters that yield the most stable and minimal split level, allowing it to adapt to the unknown smoothness of the underlying distribution without prior user knowledge.
Key Insights: Thickness and Persistence
The theoretical success of the algorithm hinges on two geometric concepts:
- Thickness Assumption: For a cluster to be detectable, it must be "thick" enough. This is formalized by requiring that the distance from any point within the cluster to its boundary does not vanish too rapidly as the cluster is slightly "eroded."
- Separation and Persistence: The algorithm relies on the fact that true clusters are separated by a region of lower density. The "persistence" of a split is quantified by the spatial separation $\tau_A^*$ between components.
By focusing on the first persistent split, the method bypasses the need for a user-defined threshold, relying instead on the uniform convergence of the density estimator.
Key Results
The paper establishes several landmark theoretical results:
- Consistency: As the sample size $n \to \infty$, the algorithm is guaranteed to recover the correct number of clusters and the true split level $\rho^*$.
- Convergence Rates: Mathematical bounds are provided for the estimation error. In typical 2D scenarios, the error in the estimated clusters shrinks at a rate of approximately $n^{-1/3}$.
- Full Adaptivity: The parameter selection strategy achieves nearly optimal convergence rates without requiring knowledge of the density's "flatness" or the specific separation properties of the clusters.
Limitations and Future Directions
While the histogram-based approach is theoretically robust, it faces the "curse of dimensionality" in very high-dimensional spaces. Additionally, the current work focuses on identifying the primary split (two clusters). Future extensions could iteratively apply this logic to recover a full hierarchical cluster tree. Finally, applying this adaptive framework to kernel density estimators (KDE) may offer improved practical performance in empirical settings.
Summary updated