Skip to main content
QUICK REVIEW

[Paper Review] Spatial Co-location Pattern Mining - A new perspective using Graph Database

Sanket Vaibhav Mehta, Shagun Sodhani|arXiv (Cornell University)|Oct 21, 2018
Data Mining Algorithms and ApplicationsComputer Science15 references3 citations
TL;DR

This paper proposes a novel graph database-based approach to spatial co-location pattern (SCP) mining by modeling spatial data as a property graph and formulating SCP discovery as clique enumeration. The authors introduce three efficient algorithms—CliqueExtend, CliqueEnumG, and CliqueEnumK—that outperform traditional join-based methods, with CliqueExtend showing the best performance and enabling interactive analysis through fast incremental updates to neighborhood graphs.

ABSTRACT

Spatial co-location pattern mining refers to the task of discovering the group of objects or events that co-occur at many places. Extracting these patterns from spatial data is very difficult due to the complexity of spatial data types, spatial relationships, and spatial auto-correlation. These patterns have applications in domains including public safety, geo-marketing, crime prediction and ecology. Prior work focused on using the spatial join. While these approaches provide state-of-the-art results, they are very expensive to compute due to the multiway spatial join and scaling them to real-world datasets is an open problem. We address these limitations by formulating the co-location pattern discovery as a clique enumeration problem over a neighborhood graph (which is materialized using a distributed graph database). We propose three new traversal based algorithms, namely $CliqueEnum_G$, $CliqueEnum_K$ and $CliqueExtend$. We provide the empirical evidence for the effectiveness of our proposed algorithms by evaluating them for a large real-life dataset. The three algorithms allow for a trade-off between time and memory requirements and support interactive data analysis without having to recompute all the intermediate results. These attributes make our algorithms applicable to a wide range of use cases for different data sizes.

Motivation & Objective

  • To address the computational inefficiency and scalability limitations of traditional multiway spatial join-based SCP mining approaches.
  • To enable interactive data analysis by supporting dynamic updates to neighborhood constraints without full recomputation.
  • To explore the potential of distributed graph databases in accelerating spatial co-location pattern discovery.
  • To provide a memory-time trade-off through multiple algorithmic designs for varying workloads and data sizes.

Proposed method

  • Model spatial data as a property graph, where nodes represent spatial features and edges represent spatial proximity within a user-defined threshold.
  • Construct a neighborhood graph using a distributed graph database (Titan) to materialize spatial relationships and enable efficient traversal.
  • Formulate SCP mining as a clique enumeration problem over the neighborhood graph, where cliques represent co-location patterns.
  • Design three traversal-based algorithms: CliqueExtend (fastest, uses size-k-1 clique instances for validation), CliqueEnumG (validates cliques via O(k²) edge lookups), and CliqueEnumK (uses key-value store for 2 lookups).
  • Implement multi-threaded versions of the algorithms and leverage graph database indexing for efficient edge and vertex access.
  • Support incremental graph updates by reusing existing graph structures when the neighborhood threshold changes, reducing update time significantly.

Experimental results

Research questions

  • RQ1Can spatial co-location pattern mining be effectively reformulated as a clique enumeration problem on a graph database?
  • RQ2How do graph-based traversal algorithms compare to traditional join-based methods in terms of performance and scalability?
  • RQ3Can incremental updates to the neighborhood graph enable interactive exploration of co-location patterns without full recomputation?
  • RQ4What is the trade-off between time efficiency and memory usage across different algorithmic designs?

Key findings

  • CliqueExtend outperforms both CliqueEnumG and CliqueEnumK in runtime, with a 15-20% improvement over CliqueEnumG for larger SCP sizes.
  • For SCP size 7, CliqueExtend takes 80.8 seconds, while CliqueEnumK takes 343.379 seconds, demonstrating a more than fourfold performance gain.
  • Incremental graph updates reduce update time to about 35-40% of the original graph creation time, enabling fast re-analysis with changing thresholds.
  • The time for graph creation at R=0.9 km is 983.707 seconds, while incremental update takes only 160.57 seconds, showing a significant speedup.
  • CliqueExtend’s single-edge validation for clique candidates leads to faster validation than CliqueEnumG’s O(k²) edge lookups, despite higher memory usage.
  • The use of a key-value store for lookups in CliqueEnumK is outperformed by direct graph traversal in CliqueExtend due to better data locality and access patterns.

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.