ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2006.06743
29
14
v1v2 (latest)

Faster DBSCAN via subsampled similarity queries

11 June 2020
Heinrich Jiang
J. Jang
Jakub Lacki
ArXiv (abs)PDFHTML
Abstract

DBSCAN is a popular density-based clustering algorithm. It computes the ϵ\epsilonϵ-neighborhood graph of a dataset and uses the connected components of the high-degree nodes to decide the clusters. However, the full neighborhood graph may be too costly to compute with a worst-case complexity of O(n2)O(n^2)O(n2). In this paper, we propose a simple variant called SNG-DBSCAN, which clusters based on a subsampled ϵ\epsilonϵ-neighborhood graph, only requires access to similarity queries for pairs of points and in particular avoids any complex data structures which need the embeddings of the data points themselves. The runtime of the procedure is O(sn2)O(sn^2)O(sn2), where sss is the sampling rate. We show under some natural theoretical assumptions that s≈log⁡n/ns \approx \log n/ns≈logn/n is sufficient for statistical cluster recovery guarantees leading to an O(nlog⁡n)O(n\log n)O(nlogn) complexity. We provide an extensive experimental analysis showing that on large datasets, one can subsample as little as 0.1%0.1\%0.1% of the neighborhood graph, leading to as much as over 200x speedup and 250x reduction in RAM consumption compared to scikit-learn's implementation of DBSCAN, while still maintaining competitive clustering performance.

View on arXiv
Comments on this paper