Theoretically-Efficient and Practical Parallel DBSCAN
Yiqiu Wang, Yan Gu, Julian Shun
Abstract
The DBSCAN method for spatial clustering has received significant attention due to its applicability in a variety of data analysis tasks. There are fast sequential algorithms for DB-SCAN in Euclidean space that take 𝑂 (𝑛 log 𝑛) work for two dimensions, sub-quadratic work for three or more dimensions, and can be computed approximately in linear work for any constant number of dimensions. However, existing parallel DBSCAN algorithms require quadratic work in the worst case. This paper bridges the gap between theory and practice of parallel DBSCAN by presenting new parallel algorithms for Euclidean exact DBSCAN and approximate DBSCAN that match the work bounds of their sequential counterparts, and are highly parallel (polylogarithmic depth). We present implementations of our algorithms along with optimizations that improve their practical performance. We perform a comprehensive experimental evaluation of our algorithms on a variety of datasets and parameter settings. Our experiments on a 36-core machine with two-way hyper-threading show that our implementations outperform existing parallel implementations by up to several orders of magnitude, and achieve speedups of up to 33x over the best sequential algorithms.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 7de9b17d-e8dd-44b0-8ca2-a0fe1cadb386Cited by top-tier papers8
- ConnectIt: A Framework for Static and Incremental Parallel Graph Connectivity AlgorithmsLaxman Dhulipala, Changwan Hong, Julian ShunVLDB 2021 · 41 citations
- Fast Parallel Algorithms for Euclidean Minimum Spanning Tree and Hierarchical Spatial ClusteringYiqiu Wang, Shangdi Yu, Yan Gu, Julian ShunSIGMOD 2021 · 34 citations
- Fast Density-Peaks Clustering: Multicore-based Parallelization ApproachDaichi Amagata, Takahiro HaraSIGMOD 2021 · 21 citations
- DBSCOUT: A Density-based Method for Scalable Outlier Detection in Very Large DatasetsMatteo Corain, Paolo Garza, Abolfazl AsudehICDE 2021 · 11 citations
- Theoretically and Practically Efficient Parallel Nucleus DecompositionJessica Shi, Laxman Dhulipala, Julian ShunVLDB 2022 · 10 citations
Related papers
- Towards Metric DBSCAN: Exact, Approximate, and Streaming AlgorithmsGuanlin Mo, Shihong Song, Hu DingSIGMOD 2024 · 7 citations
- Fast Density-Based Clustering: Geometric ApproachXiaogang Huang, Tiefeng MaSIGMOD 2023 · 3 citations
- Approximate DBSCAN via Density-Biased Sampling and Kernel Density EstimationJian Lin, Siyue Wu, Dingming Wu, Tsz Nam ChanSIGMOD 2026
- Approximate DBSCAN under Differential PrivacyYuan Qiu, Ke YiSIGMOD 2025 · 1 citation
- Parallel Index-Based Structural Graph Clustering and Its ApproximationTom Tseng, Laxman Dhulipala, Julian ShunSIGMOD 2021 · 29 citations
