Abstract: Density-based clustering algorithms often face a trade-off between handling clusters with varying densities and those with complex, non-spherical shapes. This paper introduces DC-HDP (Density-Connected Hierarchical Density Peak), a hierarchical algorithm that bridges the gap between Density Peak (DP) and DBSCAN. By formalizing "$\eta$-density-connected clusters," DC-HDP achieves superior performance across 28 diverse datasets, effectively managing both density variations and geometric complexity.
Introduction
Density-based clustering is a cornerstone of unsupervised learning, valued for its ability to discover clusters of arbitrary shapes without assuming spherical distributions. However, the two primary approaches in this field—DBSCAN and Density Peak (DP)—have distinct limitations. DBSCAN relies on a global density threshold, which often leads to failure in datasets with varying densities; it may merge dense clusters or misidentify sparse ones as noise. Conversely, DP handles varying densities better but struggles with non-convex shapes (like concentric circles) and relies on a ranking scheme that can fail if cluster peaks are not perfectly separated.
Methodology: DC-HDP
The authors identify a fundamental gap: the lack of formal mathematical definitions for the cluster types these algorithms target. They address this by formalizing DP's behavior through the definition of $\eta$-linked clusters. To overcome the limitations of existing methods, they propose DC-HDP, which incorporates several key innovations:
- Hierarchical Framework: DC-HDP reimagines DP as a bottom-up hierarchical process, producing a dendrogram that reveals cluster structures at multiple granularities.
- Density-Connectivity Constraint: Unlike standard DP, which links points to any nearest neighbor of higher density, DC-HDP only merges cluster modes if a "density-connected" path exists between them, incorporating logic similar to DBSCAN.
- Local Contrast (LC): To improve robustness against density variations, the algorithm uses "Local Contrast"—measuring a point's density relative to its immediate neighbors—rather than raw global density.
Experimental Results
The method was evaluated on a massive battery of 28 datasets, including 6 artificial datasets designed to test specific geometric failures (e.g., concentric circles, adjacent squares) and 22 real-world datasets from the UCI repository covering a wide range of dimensions (up to 1024).
The empirical results demonstrate the superiority of DC-HDP:
- Accuracy: DC-HDP achieved the highest average F-measure (0.82) across all 28 datasets, outperforming LC-DP (0.80) and Spectral Clustering (0.78).
- Consistency: It was the top performer on 19 out of 28 datasets.
- Geometric Robustness: On challenging synthetic datasets where DP and DBSCAN typically fail, DC-HDP achieved near-perfect results.
- Efficiency: DC-HDP maintains a time complexity of $O(n^2)$, making it as computationally efficient as the original DP algorithm in practice.
Conclusion
By combining DBSCAN’s connectivity requirement with DP’s peak-seeking logic, DC-HDP gains the ability to "stop" a merge if the path between two peaks dips too low in density. While the algorithm is robust, future work could focus on integrating noise detection more natively into the hierarchical process and optimizing for million-point datasets using approximate nearest-neighbor searches.
Summary updated