A performance enhanced distributed computing framework for clustering by local direction centrality upon Apache Spark

Clustering by local direction centrality (CDC) is a newly proposed versatile algorithm adept at identifying clusters with heterogeneous density and weak connectivity. Its advantages in accuracy and robustness have been widely validated in computer science, bioscience, and geoscience. However, it has a quadratic time complexity due to costly K-nearest neighbor search and internal connection operations, which hinder its ability to handle large-scale datasets. To improve its computational efficiency and scalability, we proposed a performance enhanced distributed framework of CDC, named D-CDC, by workflow-level algorithm optimization and distributed computational acceleration. Specifically, KDTree spatial indexing is leveraged to reduce the KNN search complexity to logarithmic time, and KNN constraints and disjoint sets are introduced to decrease the computational cost of internal connection. Besides, to minimize cross-partition communication, we designed an Improved QuadTree (ImprovedQT) spatial partitioning method by considering cluster completeness and shape regularity. We then implemented D-CDC on the Apache Spark framework using Resilient Distributed Dataset (RDD) customization techniques. Experiments on six synthetic datasets demonstrate that D-CDC preserves the clustering accuracy of the original CDC in general and achieves up to 600-fold speedup by reducing the runtime from 142,590 s to 236 s on million-scale datasets. A real-world case study on over 2 million enterprise registration POI data in Chinese mainland further validates that D-CDC can identify fine-grained and weakly connected aggregation patterns of large-scale geospatial data in an efficient manner.

Publication Details

Journal
Figshare
Published
2025-01-01
DOI
https://doi.org/10.6084/m9.figshare.29605360
Primary Topic
Advanced Clustering Algorithms Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A performance enhanced distributed computing framework for clustering by local direction centrality upon Apache Spark

Figshare
Advanced Clustering Algorithms Research
article

A performance enhanced distributed computing framework for clustering by local direction centrality upon Apache Spark

article en

Abstract

Clustering by local direction centrality (CDC) is a newly proposed versatile algorithm adept at identifying clusters with heterogeneous density and weak connectivity. Its advantages in accuracy and robustness have been widely validated in computer science, bioscience, and geoscience. However, it has a quadratic time complexity due to costly K-nearest neighbor search and internal connection operations, which hinder its ability to handle large-scale datasets. To improve its computational efficiency and scalability, we proposed a performance enhanced distributed framework of CDC, named D-CDC, by workflow-level algorithm optimization and distributed computational acceleration. Specifically, KDTree spatial indexing is leveraged to reduce the KNN search complexity to logarithmic time, and KNN constraints and disjoint sets are introduced to decrease the computational cost of internal connection. Besides, to minimize cross-partition communication, we designed an Improved QuadTree (ImprovedQT) spatial partitioning method by considering cluster completeness and shape regularity. We then implemented D-CDC on the Apache Spark framework using Resilient Distributed Dataset (RDD) customization techniques. Experiments on six synthetic datasets demonstrate that D-CDC preserves the clustering accuracy of the original CDC in general and achieves up to 600-fold speedup by reducing the runtime from 142,590 s to 236 s on million-scale datasets. A real-world case study on over 2 million enterprise registration POI data in Chinese mainland further validates that D-CDC can identify fine-grained and weakly connected aggregation patterns of large-scale geospatial data in an efficient manner.

Figshare
Industry, innovation and infrastructure
Openalex Percentile: Top 77%
Advanced Clustering Algorithms Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.