Skip to main content
QUICK REVIEW

[Paper Review] HDBSCAN: Density based Clustering over Location Based Services

Farhadur Rahman, Weimo Liu|arXiv (Cornell University)|Feb 11, 2016
Data Management and AlgorithmsComputer Science16 references6 citations
TL;DR

This paper proposes HDBSCAN, a novel algorithm that enables density-based clustering over Location-Based Services (LBS) using only a kNN query interface. By leveraging an adaptive space-filling curve to map 2D points to 1D, it clusters the transformed data and merges clusters to recover spatial structure, achieving high accuracy with minimal kNN queries, even under strict rate limits.

ABSTRACT

Location Based Services (LBS) have become extremely popular and used by millions of users. Popular LBS run the entire gamut from mapping services (such as Google Maps) to restaurants (such as Yelp) and real-estate (such as Redfin). The public query interfaces of LBS can be abstractly modeled as a kNN interface over a database of two dimensional points: given an arbitrary query point, the system returns the k points in the database that are nearest to the query point. Often, k is set to a small value such as 20 or 50. In this paper, we consider the novel problem of enabling density based clustering over an LBS with only a limited, kNN query interface. Due to the query rate limits imposed by LBS, even retrieving every tuple once is infeasible. Hence, we seek to construct a cluster assignment function f(.) by issuing a small number of kNN queries, such that for any given tuple t in the database which may or may not have been accessed, f(.) outputs the cluster assignment of t with high accuracy. We conduct a comprehensive set of experiments over benchmark datasets and popular real-world LBS such as Yahoo! Flickr, Zillow, Redfin and Google Maps.

Motivation & Objective

  • To enable density-based clustering over LBS databases that only expose a kNN query interface, without direct database access.
  • To address the challenge of limited query rates and high costs of full data retrieval in LBS platforms like Google Maps, Redfin, and Zillow.
  • To develop a clustering function f(·) that assigns cluster labels to any tuple with high accuracy using only a small number of kNN queries.
  • To overcome limitations of sampling-based approaches, such as poor handling of irregularly shaped clusters and outliers.
  • To provide a practical, scalable solution for third-party clients and researchers to perform big-picture analytics on LBS data without data provider access.

Proposed method

  • Mapping 2D geographic points to a 1D space using an adaptive space-filling curve (SFC) to preserve local density and spatial proximity.
  • Applying a 1D clustering algorithm on the transformed data to identify initial clusters.
  • Merging adjacent 1D clusters based on density thresholds to form coherent 2D clusters.
  • Using kNN queries to sample key points and infer cluster structure without retrieving all tuples.
  • Constructing a cluster assignment function f(·) that predicts the cluster of any unvisited tuple based on proximity to known cluster centers.
  • Validating cluster quality by comparing f(·) outputs against ground-truth DBSCAN results on full datasets.

Experimental results

Research questions

  • RQ1Can density-based clustering be effectively performed over LBS platforms with only a kNN query interface and no full database access?
  • RQ2How can a clustering function f(·) be constructed with minimal kNN queries to achieve high accuracy in cluster assignment?
  • RQ3Can the adaptive space-filling curve effectively preserve spatial density and cluster structure during 2D-to-1D transformation?
  • RQ4How does HDBSCAN perform on real-world LBS data (e.g., Redfin, Zillow, Google Maps) compared to traditional DBSCAN?
  • RQ5Can HDBSCAN identify meaningful spatial patterns such as urban hotspots, rental trends, or POI groupings without full data access?

Key findings

  • HDBSCAN successfully discovers clusters of varying shapes in real-world LBS data, including urban and rural house clusters in DFW, matching the actual spatial distribution.
  • Clusters near city centers in DFW (e.g., Dallas and Fort Worth) show higher average house prices, confirming the method captures meaningful economic patterns.
  • The algorithm identifies distinct usage patterns in Capital Bikeshare stations, with central stations showing peak rental times in evenings and outer stations showing dual peaks in morning and evening.
  • The price distribution of houses across clusters aligns with expectations, with urban clusters located on the right side of the histogram (higher prices) and rural clusters on the left.
  • HDBSCAN outperforms sampling-based baselines by better handling arbitrarily shaped clusters and identifying outliers more effectively.
  • The method achieves high accuracy in cluster assignment with minimal kNN queries, making it feasible under strict rate limits of LBS APIs like Google Maps.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.