A Dispersive Degree based Clustering Algorithm Combined with Classification

Xianchao Zhang, Shimin Shan, Zhihang Yu, He Jiang2007

Abstract

The various-density problem has become one of the focuses in density based clustering research. A novel dispersive degree based algorithm combined with classification, called CDDC, is presented in this paper to remove the hurdle. In CDDC, a sequence is established for depicting the data distribution, discriminating cores and classifying edges. Clusters are discovered by utilizing the revealed information. Several experiments are performed and the results suggest that CDDC is effective in handling the various-density problem and is more efficient than the well-known algorithms such as DBSCAN, OPTICS and KNNCLUST.

Introduction

Density-based clustering is a fundamental technique in data mining, prized for its ability to discover clusters of arbitrary shapes and robustly filter noise. However, traditional algorithms like DBSCAN often struggle with the "various-density problem." DBSCAN relies on global parameters—$\epsilon$ (radius) and MinPts (minimum points)—which assume a relatively uniform density across all clusters. In datasets where clusters exhibit significantly different densities, a single parameter set often fails: it may merge dense clusters or incorrectly label sparse clusters as noise.

While algorithms like OPTICS were developed to address varying densities by producing hierarchical reachability plots, they often lack clear, automated "flat" cluster assignments. Other methods, such as KNNCLUST, can struggle with complex geometries or high noise levels. The CDDC (Clustering using Dispersive Degree and Classification) algorithm is proposed as a robust solution that handles density variations effectively while remaining computationally efficient.

The CDDC Framework

The CDDC algorithm operates through a four-stage process designed to identify cluster cores and then intelligently classify edge points.

1. Computing Dispersive Degree (DDegree)

The core innovation of CDDC is the Dispersive Degree (DDegree) metric. Unlike standard density metrics that focus solely on local point counts, DDegree measures the relative "uniformity" of a point's local neighborhood. It compares a point's local density (derived from its $k$-nearest neighbors) to the average density of those neighbors.

A low DDegree indicates that a point resides in a region of uniform density, characteristic of a cluster core. Conversely, a high DDegree suggests the point is an outlier or located on a cluster boundary where density changes rapidly. This shift from "high density" to "uniform density" allows CDDC to identify core points in both dense and sparse clusters with equal efficacy.

Dispersive degree plot showing how clusters of varying densities are represented in the scan order.

2. Data Scanning and Order Generation

Similar to the approach in OPTICS, CDDC generates a ScanOrder. The algorithm begins with the point possessing the lowest DDegree and iteratively adds its neighbors to a priority queue. This ensures that points belonging to the same uniform-density region (cluster) are processed sequentially, creating a predictable structure in the resulting DDegree-plot.

3. Dividing the Scan Order

By visualizing DDegree against the ScanOrder, the data's structure becomes apparent as a series of "valleys" (clusters) separated by "peaks" (boundaries or noise). The algorithm uses two primary parameters to partition this sequence:

  • $dt$ (DDegree threshold): Defines the maximum DDegree for a point to be considered part of a cluster core.
  • $mt$ (minimum points): Specifies the minimum number of consecutive points required to form a valid cluster core.
Identifying cluster boundaries and noise using the DDegree plot with parameters $dt$ and $mt$.

As shown in the DDegree-plot, peaks exceeding $dt$ or gaps larger than $mt$ serve as natural dividers, allowing the algorithm to segment the data into distinct core sets and a set of unassigned "edge" points.

4. Edge Point Classification

Rather than treating all non-core points as noise, CDDC employs a hybrid approach. It uses a KNN-kernel density estimation combined with Bayes’ decision rule to classify these "fuzzy" edge points. Each edge point is assigned to the most probable adjacent cluster core or labeled as noise if its probability of belonging to any cluster is sufficiently low. This prevents the "hard" assignment errors often seen in purely density-based methods.

Experimental Results

The authors evaluated CDDC against synthetic datasets designed to test density handling and shape complexity:

  • DS1: Contained nine clusters of varying shapes and vastly different densities. CDDC achieved near-perfect Precision and Recall (F-measure $\approx$ 1.0), whereas DBSCAN and OPTICS struggled to separate adjacent clusters of differing densities.
  • DS2 (Chameleon dataset): Featured complex, interlocking shapes. CDDC successfully delineated these clusters without merging them or losing significant data to noise.

In terms of efficiency, CDDC maintains a time complexity of $O(n^2)$, which can be optimized to $O(n \log n)$ using spatial indexing structures like R*-trees. This makes it competitive with established algorithms while providing superior accuracy in multi-density scenarios.

Conclusion

CDDC offers a powerful alternative for clustering datasets with heterogeneous densities. By leveraging the DDegree metric to find uniform regions and a classification step to handle boundaries, it overcomes the limitations of global-parameter density methods. While the selection of $dt$ and $mt$ currently benefits from human-in-the-loop visualization, the algorithm's robustness to its primary parameter $k$ (typically stable between 10 and 20) makes it a practical tool for complex spatial data analysis.

Summary updated

BibTeX
@misc{zhang2007dispersive,
  author = {Xianchao Zhang and Shimin Shan and Zhihang Yu and He Jiang},
  title = {{A Dispersive Degree based Clustering Algorithm Combined with Classification}},
  year = {2007},
  doi = {10.2991/iske.2007.180},
}
Figure