Scalable DBSCAN with Random Projections
Haochuan Xu, Ninh Pham
Abstract
We present sDBSCAN , a scalable density-based clustering algorithm in high dimensions with cosine distance. sDBSCAN leverages recent advancements in random projections given a significantly large number of random vectors to quickly identify core points and their neighborhoods, the primary hurdle of density-based clustering. Theoretically, sDBSCAN preserves the DBSCAN’s clustering structure under mild conditions with high probability. To facilitate sDBSCAN, we present sOPTICS , a scalable visual tool to guide the parameter setting of sDBSCAN. We also extend sDBSCAN and sOPTICS to L2, L1, χ 2 , and Jensen-Shannon distances via random kernel features. Empirically, sDBSCAN is significantly faster and provides higher accuracy than competitive DBSCAN variants on real-world million-point data sets. On these data sets, sDBSCAN and sOPTICS run in a few minutes, while the scikit-learn counterparts and other clustering competitors demand several hours or cannot run on our hardware due to memory constraints. Our code is available at https://github.com/NinhPham/sDbscan .
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.
Cited by top-tier papers3
- Probabilistic Kernel Function for Fast Angle TestingKejing Lu, Chuan Xiao, Yoshiharu IshikawaICLR 2026 · 2 citations
- Approximate Nearest Neighbor Search for Modern AI: A Projection-Augmented Graph ApproachKejing Lu, Zhenpeng Pan, Yoshiharu Ishikawa, Chuan Xiao et al.ICML 2026 · 1 citation
- OmniFC: Rethinking Federated Clustering via Lossless and Secure Distance ReconstructionJie Yan, Jing Liu, Zhong-Yuan ZhangNeurIPS 2025
Builds on6
- Systematic Analysis of Cluster Similarity Indices: How to Validate Validation MeasuresMartijn Gösgens, Alexey Tikhonov, Liudmila ProkhorenkovaICML 2021 · 27 citations
- Almost Linear Time Density Level Set Estimation via DBSCANHossein Esfandiari, Vahab S. Mirrokni, Peilin ZhongAAAI 2021 · 22 citations
- Falconn++: A Locality-sensitive Filtering Approach for Approximate Nearest Neighbor SearchNinh Pham, Tao LiuNeurIPS 2022 · 20 citations
- Faster DBSCAN via subsampled similarity queriesHeinrich Jiang, Jennifer Jang, Jakub LackiNeurIPS 2020 · 18 citations
- Simple Yet Efficient Algorithms for Maximum Inner Product Search via Extreme Order StatisticsNinh PhamKDD 2021 · 8 citations
Related papers
- Towards Metric DBSCAN: Exact, Approximate, and Streaming AlgorithmsGuanlin Mo, Shihong Song, Hu DingSIGMOD 2024 · 7 citations
- Approximate DBSCAN via Density-Biased Sampling and Kernel Density EstimationJian Lin, Siyue Wu, Dingming Wu, Tsz Nam ChanSIGMOD 2026
- Connecting the Dots - Density-Connectivity Distance unifies DBSCAN, k-Center and Spectral ClusteringAnna Beer, Andrew Draganov, Ellen Hohma, Philipp Jahn et al.KDD 2023 · 18 citations
- Fast Density-Based Clustering: Geometric ApproachXiaogang Huang, Tiefeng MaSIGMOD 2023 · 3 citations
- Dynamic Similarity Graph Construction with Kernel Density EstimationSteinar Laenen, Peter Macgregor, He SunICML 2025
