Lune

NeurIPS2020Top-tier venue

Faster DBSCAN via subsampled similarity queries

Heinrich Jiang, Jennifer Jang, Jakub Lacki

2020Year
18Citations
2Top-tier citations

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). 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), where ss is the sampling rate. We show under some natural theoretical assumptions that s≈log⁡n/ns \approx \log n/n is sufficient for statistical cluster recovery guarantees leading to an O(nlog⁡n)O(n\log n) complexity. We provide an extensive experimental analysis showing that on large datasets, one can subsample as little as 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.

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.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

Cited by top-tier papers2

Ask how each one uses it

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines