48
0

Dynamic DBSCAN with Euler Tour Sequences

Abstract

We propose a fast and dynamic algorithm for Density-Based Spatial Clustering of Applications with Noise (DBSCAN) that efficiently supports online updates. Traditional DBSCAN algorithms, designed for batch processing, become computationally expensive when applied to dynamic datasets, particularly in large-scale applications where data continuously evolves. To address this challenge, our algorithm leverages the Euler Tour Trees data structure, enabling dynamic clustering updates without the need to reprocess the entire dataset. This approach preserves a near-optimal accuracy in density estimation, as achieved by the state-of-the-art static DBSCAN method (Esfandiari et al., 2021) Our method achieves an improved time complexity of O(dlog3(n)+log4(n))O(d \log^3(n) + \log^4(n)) for every data point insertion and deletion, where nn and dd denote the total number of updates and the data dimension, respectively. Empirical studies also demonstrate significant speedups over conventional DBSCANs in real-time clustering of dynamic datasets, while maintaining comparable or superior clustering quality.

View on arXiv
@article{shin2025_2503.08246,
  title={ Dynamic DBSCAN with Euler Tour Sequences },
  author={ Seiyun Shin and Ilan Shomorony and Peter Macgregor },
  journal={arXiv preprint arXiv:2503.08246},
  year={ 2025 }
}
Comments on this paper