Density propagation based adaptive multi-density clustering algorithm

Yizhang Wang, Wei Pang, You ZhouPLoS 2018

Abstract

The performance of density based clustering algorithms may be greatly influenced by the chosen parameter values, and achieving optimal or near optimal results very much depends on empirical knowledge obtained from previous experiments. To address this limitation, we propose a novel density based clustering algorithm called the Density Propagation based Adaptive Multi-density clustering (DPAM) algorithm. DPAM can adaptively cluster spatial data. In order to avoid manual intervention when choosing parameters of density clustering and still achieve high performance, DPAM performs clustering in three stages: (1) generate the micro-clusters graph, (2) density propagation with redefinition of between-class margin and intra-class cohesion, and (3) calculate regional density. Experimental results demonstrated that DPAM could achieve better performance than several state-of-the-art density clustering algorithms in most of the tested cases, the ability of no parameters needing to be adjusted enables the proposed algorithm to achieve promising performance.

Introduction

Density-based clustering algorithms, such as DBSCAN and Density Peaks (DP), are highly valued for their ability to identify clusters of arbitrary shapes and handle noise. However, their effectiveness is often bottlenecked by a significant "parameter headache." These algorithms are notoriously sensitive to input parameters like the search radius ($\epsilon$) or density thresholds ($d_c$). A slight miscalibration can lead to distinct clusters merging or a single cluster fragmenting. Finding the "Goldilocks" settings typically requires extensive trial-and-error or deep domain expertise, a problem exacerbated in datasets with varying cluster densities.

To overcome these challenges, we introduce the Density Propagation based Adaptive Multi-density clustering (DPAM) algorithm. DPAM is designed to be a parameter-free, adaptive solution that autonomously discovers data structures without human intervention.

Methodology

The DPAM algorithm transitions from raw data points to high-quality clusters through a three-stage process:

1. Micro-cluster Generation

The first stage focuses on "purity." Instead of processing individual points, DPAM groups data into "micro-clusters" using Affinity Propagation (AP). By utilizing a robust default preference parameter ($\theta = 0.1$), the algorithm ensures that points within a micro-cluster belong to the same underlying class, effectively filtering local noise.

2. Density Propagation

In the second stage, the algorithm determines which micro-clusters should merge. This is governed by two novel metrics:

  • Between-Class Margin (BM): Measures the distance between two micro-clusters.
  • Within-Class Cohesion (WC): Represents the internal compactness of a micro-cluster.

Clusters are merged if the gap between them (BM) is smaller than their internal spread (WC), allowing the algorithm to adapt to local density variations.

3. Regional Density (RD) Optimization

The final stage addresses sparse regions and outliers. DPAM calculates a "Regional Density" for each cluster and iteratively merges low-density regions into their nearest high-density neighbors. This process minimizes the variance of regional densities across the dataset, ensuring a globally consistent clustering result.

The algorithm maintains a computational complexity of $O(n^2)$, ensuring it remains competitive with standard density-based implementations.

Experimental Evaluation

DPAM was evaluated against two distinct categories of data:

  • Synthetic Spatial Datasets: Benchmarks like Jain, Spiral, Flame, and Donut were used to test the handling of non-linear shapes and multi-density structures.
  • UCI Machine Learning Repository: Eleven real-world datasets (e.g., Breast Cancer, Iris, Wine, Sonar) tested the algorithm's robustness in high-dimensional spaces.

Key Results

DPAM demonstrated superior performance across the board:

  • Synthetic Data: The algorithm achieved a perfect F-measure (1.000) on the Jain, Spiral, and Donut datasets. Notably, it outperformed DP Clustering on the Donut dataset, which struggled with center identification (FM: 0.5469).
  • Real-World Data: On UCI datasets like Iris and Liver, DPAM consistently surpassed K-means and Affinity Propagation in F-measure scores.
  • Operational Efficiency: While the iterative optimization in Stage 3 adds slight overhead compared to a single DBSCAN pass, DPAM significantly reduces "human-in-the-loop" time by eliminating the need for parameter tuning.

Discussion and Insights

The success of DPAM stems from a "micro-to-macro" shift, treating dense micro-clusters as the fundamental units of analysis. This approach provides a stable foundation for merging and resists noise better than point-level analysis. Furthermore, using variance as a quality metric for regional density allows the algorithm to self-correct and absorb outliers into the correct structures.

Limitations

A known challenge for DPAM is the "Linked Points" problem, observed in the Flame dataset. When two clusters are connected by a thin bridge of high-density points, the density propagation mechanism may fail to "cut" the link, leading to slightly lower performance (FM: 0.9463) compared to manually tuned algorithms.

Conclusion

The DPAM algorithm offers a robust, adaptive alternative to traditional density-based clustering. By automating parameter selection and utilizing a multi-stage refinement process, it achieves state-of-the-art results on both synthetic and high-dimensional real-world data, making it a powerful tool for automated data analysis.

Summary updated

BibTeX
@inproceedings{wang2018density,
  author = {Yizhang Wang and Wei Pang and You Zhou},
  title = {{Density propagation based adaptive multi-density clustering algorithm}},
  booktitle = {PLoS},
  year = {2018},
  doi = {10.1371/journal.pone.0198948},
}
Figure