[Paper Review] PS-DBSCAN: An Efficient Parallel DBSCAN Algorithm Based on Platform Of AI (PAI)
PS-DBSCAN is a communication-efficient parallel DBSCAN algorithm that leverages the Parameter Server framework and a fast global union approach to reduce communication overhead in distributed clustering. By using disjoint-sets and minimizing inter-worker coordination, it achieves 2–10× speedup over MPI-based PDSDBSCAN-D in communication efficiency across diverse dataset scales.
We present PS-DBSCAN, a communication efficient parallel DBSCAN algorithm that combines the disjoint-set data structure and Parameter Server framework in Platform of AI (PAI). Since data points within the same cluster may be distributed over different workers which result in several disjoint-sets, merging them incurs large communication costs. In our algorithm, we employ a fast global union approach to union the disjoint-sets to alleviate the communication burden. Experiments over the datasets of different scales demonstrate that PS-DBSCAN outperforms the PDSDBSCAN with 2-10 times speedup on communication efficiency. We have released our PS-DBSCAN in an algorithm platform called Platform of AI (PAI - https://pai.base.shuju.aliyun.com/) in Alibaba Cloud. We have also demonstrated how to use the method in PAI.
Motivation & Objective
- To address the high communication cost in parallel DBSCAN when core points are distributed across multiple workers.
- To reduce communication overhead in distributed DBSCAN by minimizing inter-worker coordination during cluster merging.
- To improve scalability and performance of density-based clustering on large-scale data using a parameter server architecture.
- To provide a production-ready, scalable implementation of DBSCAN in Alibaba's Platform of AI (PAI).
Proposed method
- The algorithm partitions data points across multiple workers and uses a disjoint-set data structure to manage cluster membership locally.
- Each worker performs local clustering using epsilon-neighborhood and minPoints criteria to identify core points and form local clusters.
- A fast global union mechanism is applied to merge disjoint-sets across workers by pushing local label updates to a central server via the Parameter Server framework.
- Iterative steps—PropagateMaxLabel, MaxReduceToServer, PullFromServer, GlobalUnion, and GetMaxLabel—are used to resolve labeling conflicts and propagate consistent cluster labels.
- The global label vector is maintained on the server, and workers synchronize their local labels to ensure consistency across the system.
- The method avoids expensive peer-to-peer communication by using a centralized coordination model, reducing message volume and frequency.
Experimental results
Research questions
- RQ1How can communication overhead in parallel DBSCAN be minimized when clusters span multiple workers?
- RQ2Can a parameter server-based framework outperform traditional MPI-based implementations in terms of communication efficiency for DBSCAN?
- RQ3How does the performance of PS-DBSCAN scale with increasing dataset size and number of processing cores?
- RQ4What is the impact of using a fast global union approach on cluster merging efficiency in distributed DBSCAN?
Key findings
- PS-DBSCAN achieves 2–10× speedup in communication efficiency compared to the MPI-based PDSDBSCAN-D across both real-world and synthetic datasets.
- The performance gain increases with the number of processor cores and dataset size, indicating strong scalability.
- The algorithm reduces communication cost by replacing peer-to-peer merging with centralized label synchronization via the parameter server.
- The use of a fast global union approach significantly reduces the number of communication rounds required to merge disjoint sets across workers.
- PS-DBSCAN is deployed and demonstrated in Alibaba’s Platform of AI (PAI), with support for vector and linkage-based input formats in MaxCompute.
- The implementation shows that combining multithreading with distributed memory systems can further enhance performance, suggesting a path for future optimization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.