Skip to main content
QUICK REVIEW

[Paper Review] HCA-DBSCAN: HyperCube Accelerated Density Based Spatial Clustering for Applications with Noise

Vinayak Mathur, J.P. Mehta|arXiv (Cornell University)|Dec 1, 2019
Data Management and AlgorithmsComputer Science8 references5 citations
TL;DR

HCA-DBSCAN proposes a grid-based acceleration of DBSCAN using virtual hypercubes and representative points to reduce pairwise distance comparisons, achieving up to 58.27% runtime speedup over FastDBSCAN while preserving 100% clustering accuracy and arbitrary shape detection. The method uses layered depth-first traversal across hypercube grids to efficiently identify neighboring clusters with minimal computation.

ABSTRACT

Density-based clustering has found numerous applications across various domains. The Density-Based Spatial Clustering of Applications with Noise (DBSCAN) algorithm is capable of finding clusters of varied shapes that are not linearly separable, at the same time it is not sensitive to outliers in the data. Combined with the fact that the number of clusters in the data are not required apriori makes DBSCAN really powerfully. Slower performance (O(n2)) limits its applications. In this work, we present a new clustering algorithm, the HyperCube Accelerated DBSCAN(HCA-DBSCAN) which uses a combination of distance-based aggregation by overlaying the data with customized grids. We use representative points to reduce the number of comparisons that need to be computed. Experimental results show that the proposed algorithm achieves a significant run time speedup of up to 58.27% when compared to other improvements that try to reduce the time complexity of theDBSCAN algorithm

Motivation & Objective

  • To address the high time complexity of DBSCAN, especially in high-dimensional data, where performance degrades to O(n²).
  • To reduce the number of pairwise distance computations without sacrificing clustering accuracy.
  • To maintain DBSCAN’s strengths—detecting arbitrary-shaped clusters, handling noise, and not requiring prior knowledge of cluster count.
  • To develop a scalable, grid-based acceleration method that performs well across varying data dimensions and sizes.
  • To achieve significant runtime improvements over existing DBSCAN optimizations like FastDBSCAN.

Proposed method

  • The algorithm overlays a virtual hypercube grid on the data such that the space diagonal of each hypercube equals the DBSCAN epsilon parameter (ε), ensuring all points within a hypercube are within ε distance of each other.
  • Each hypercube is assigned representative points (3ⁿ − 1 for n-dimensional data) to minimize full-point comparisons; if a representative point satisfies the ε condition, all points in the hypercube are merged into the same cluster.
  • A depth-first traversal strategy is used to explore neighboring hypercubes, with a novel layering mechanism that checks (j+1)-th layer hypercubes in the same direction when j-layer traversal fails, limited to non-diagonal neighbors.
  • The layering mechanism ensures no valid cluster connections are missed, leveraging the geometric property that diagonal hypercube points cannot be within ε unless in adjacent layers.
  • The algorithm maintains cluster IDs and propagates them across hypercubes, avoiding redundant distance checks between all point pairs.
  • Preprocessing includes sorting data along the leading dimension to accelerate hypercube assignment and grid indexing.

Experimental results

Research questions

  • RQ1Can a grid-based indexing scheme significantly reduce the number of pairwise distance computations in DBSCAN without compromising accuracy?
  • RQ2How does the proposed hypercube-based method scale in performance across low- and high-dimensional datasets compared to existing DBSCAN variants?
  • RQ3To what extent can representative points and layered traversal reduce computational overhead while preserving cluster connectivity?
  • RQ4Does the method maintain 100% accuracy of DBSCAN while achieving substantial runtime improvements?
  • RQ5Can the algorithm retain DBSCAN’s ability to detect clusters of arbitrary shape under accelerated computation?

Key findings

  • HCA-DBSCAN achieves a maximum runtime speedup of 58.27% over FastDBSCAN on the Leaf dataset, with a 50.4% improvement on the Vicon Action (Case 2) dataset.
  • The algorithm runs in O(n log n) time for low-dimensional data and scales to O(n^{3/2}) in high-dimensional settings, outperforming traditional DBSCAN’s O(n²) complexity.
  • On the PAMAP2 dataset (over 3.8 million points), HCA-DBSCAN reduced runtime from 17,364.89 minutes (DBSCAN) to 11,704.01 minutes, a 32.6% improvement.
  • The method preserves 100% clustering accuracy across all datasets, matching the original DBSCAN output in cluster identification.
  • The layering mechanism successfully prevents missed cluster connections, ensuring correctness despite reduced neighbor checks.
  • Performance degradation in higher dimensions is observed due to increased neighbor hypercube counts, but the algorithm remains robust and scalable.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.