Adaptive Clustering Using Kernel Density Estimators

Ingo Steinwart, Bharath K. Sriperumbudur, Philipp ThomannarXiv 2017 · DOI

Abstract

We present a generic, recursive framework for estimating the complete hierarchical structure of density-based clusters, known as the finite cluster tree. By utilizing Kernel Density Estimators (KDE), we derive a clustering algorithm that provides finite sample guarantees, consistency, and near-optimal convergence rates. Unlike traditional methods that require strict continuity assumptions (such as Hölder continuity), our approach relies on intuitive geometric properties. Furthermore, we introduce a fully data-driven strategy for adaptive bandwidth selection, ensuring robust performance across diverse density shapes and noise levels.

Introduction

Density-based clustering identifies clusters as the connected components of a density's level sets. While this paradigm is conceptually robust, its practical application faces two significant challenges: the difficulty of selecting an appropriate density level $\rho$ and the necessity of estimating the underlying density from finite samples. A single density level often fails to capture the hierarchical nature of data, where clusters may contain sub-clusters at higher densities.

Previous research into estimating the "cluster tree"—the hierarchy of all splits across all possible levels—has often relied on simplistic histogram estimators or required the underlying density to be highly smooth. Moreover, many existing algorithms are prone to over-segmentation, frequently hallucinating splits in single-cluster distributions due to finite sample noise. This paper addresses these issues by proposing a recursive framework that is both theoretically grounded and practically adaptive.

Methodology

The Recursive Framework

The proposed method consists of two primary algorithmic components:

  1. The Split Finder (Algorithm 1): This algorithm scans candidate density levels to identify the initial split in the cluster tree. A critical innovation is its ability to recognize when no split exists, thereby identifying the current set as a single cluster and preventing artificial partitioning.
  2. The Tree Builder (Algorithm 2): This component recursively applies the Split Finder to the identified components. By "walking up" the density peaks, it maps the entire hierarchical structure of the data.

Kernel Density Estimation and Adaptive Bandwidth

To implement this framework on finite data, we employ Kernel Density Estimators (KDE). We establish "uncertainty control" by demonstrating that the level sets of the KDE remain close to the true population level sets. A central contribution of this work is the adaptive bandwidth selection strategy. This data-driven mechanism selects the kernel's width ($\delta$) to achieve near-optimal convergence rates without requiring prior knowledge of the density's specific functional form.

Theoretical Insights

Geometric Assumptions

Traditional statistical proofs for clustering often require the density to possess multiple derivatives. In contrast, our analysis relies on non-parametric geometric properties:

  • Thickness: Ensuring level sets are not overly "stringy" or "cuspy."
  • Separation: Measuring how quickly components diverge as the density level increases.

These assumptions allow the theory to remain valid even for discontinuous densities, such as step functions, which are typically problematic for smoothness-based estimators.

Robustness and Convergence

We leverage Vapnik-Chervonenkis (VC) theory to provide uniform convergence bounds for the KDE. We prove that the algorithm is "self-correcting"; even if a split level estimate is slightly inaccurate at one stage, the recursive process tends to identify the correct persistent components at higher density levels.

Our derived convergence rates for estimated split levels and cluster measures are shown to be $n^{-\frac{\theta}{2\theta+d}}$. This represents a significant improvement over previous state-of-the-art methods (e.g., Chaudhuri et al., 2014), which achieved rates of $n^{-\frac{\theta}{3\theta+d}}$.

Empirical Evaluation

The algorithm was tested on several synthetic 2D datasets designed to challenge different aspects of clustering:

  • Gaussian Mixture with Noise: 15 well-separated Gaussians embedded in background noise. The algorithm successfully recovered all 15 clusters.
  • Close-by Gaussians: Testing sensitivity to splits between proximal distributions.
  • Fuzzy Bananas: A noisy version of the two-moons dataset, testing the recovery of non-spherical clusters.
  • Merging Gaussians: Nested structures where clusters share the same mean but differ in variance.

In these simulations, the KDE-based approach correctly identified complex shapes and hierarchical structures that are often visually ambiguous or invisible to traditional flat clustering methods.

Limitations and Future Work

While the algorithm offers strong theoretical and empirical performance, certain challenges remain. The computational cost of determining connected components on neighborhood graphs can be high for massive datasets. Additionally, while the algorithm is robust, the specific ordering of splits in the hierarchy can remain sensitive to noise at very low density levels. Finally, like all non-parametric methods, the convergence rates are subject to the "curse of dimensionality," where the required sample size grows exponentially with the number of features. Future research will explore the behavior of this framework on data with low intrinsic dimensionality or manifold structures.

Summary updated

Abstract

We derive and analyze a generic, recursive algorithm for estimating all splits in a finite cluster tree as well as the corresponding clusters. We further investigate statistical properties of this generic clustering algorithm when it receives level set estimates from a kernel density estimator. In particular, we derive finite sample guarantees, consistency, rates of convergence, and an adaptive data-driven strategy for choosing the kernel bandwidth. For these results we do not need continuity assumptions on the density such as Hölder continuity, but only require intuitive geometric assumptions of non-parametric nature.
BibTeX
@misc{steinwart2017adaptive,
  author = {Ingo Steinwart and Bharath K. Sriperumbudur and Philipp Thomann},
  title = {{Adaptive Clustering Using Kernel Density Estimators}},
  year = {2017},
  eprint = {1708.05254},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1708.05254},
}
Figure