Skip to main content
QUICK REVIEW

[Paper Review] Adaptive Geospatial Joins for Modern Hardware

Andreas Kipf, Harald Lang|arXiv (Cornell University)|Feb 26, 2018
Data Management and AlgorithmsComputer Science15 references6 citations
TL;DR

This paper presents an adaptive geospatial join optimized for modern hardware, using a hierarchical quadtree-based grid indexed via a specialized radix tree (Adaptive Cell Trie) to enable true hit filtering. By training the index on historical point data and leveraging SIMD vectorization on Intel Knights Landing, it reduces expensive geometric operations and achieves up to 100× speedup over existing systems.

ABSTRACT

Geospatial joins are a core building block of connected mobility applications. An especially challenging problem are joins between streaming points and static polygons. Since points are not known beforehand, they cannot be indexed. Nevertheless, points need to be mapped to polygons with low latencies to enable real-time feedback. We present an adaptive geospatial join that uses true hit filtering to avoid expensive geometric computations in most cases. Our technique uses a quadtree-based hierarchical grid to approximate polygons and stores these approximations in a specialized radix tree. We emphasize on an approximate version of our algorithm that guarantees a user-defined precision. The exact version of our algorithm can adapt to the expected point distribution by refining the index. We optimized our implementation for modern hardware architectures with wide SIMD vector processing units, including Intel's brand new Knights Landing. Overall, our approach can perform up to two orders of magnitude faster than existing techniques.

Motivation & Objective

  • Address the performance bottleneck of real-time geospatial joins between streaming points and static polygons.
  • Transform a compute-intensive geospatial join problem into a memory-intensive one by exploiting large main-memory capacities of modern systems.
  • Enable adaptive indexing that refines to user-defined precision and adapts to expected point distributions.
  • Optimize for modern hardware, including Intel Knights Landing with wide SIMD units and high memory bandwidth.
  • Guarantee user-defined precision in an approximate version while minimizing geometric computations.

Proposed method

  • Use a hierarchical quadtree-based grid to approximate polygons, where each cell is assigned a unique 64-bit cell ID using the S2 library’s Hilbert curve-based enumeration.
  • Index polygon approximations in a specialized radix tree called the Adaptive Cell Trie (ACT), enabling efficient lookup and filtering of candidate join partners.
  • Apply true hit filtering: most or all candidate hits are treated as true hits by leveraging the index, avoiding expensive PIP tests in the majority of cases.
  • Train the index using historical point data to refine the grid adaptively, improving hit rate and reducing false positives.
  • Optimize the implementation for Intel Knights Landing using AVX-512 vector instructions to process multiple points and cells in parallel.
  • Support both an approximate version with user-defined precision and an exact version that refines the index to guarantee correctness.

Experimental results

Research questions

  • RQ1Can a geospatial join between streaming points and static polygons be accelerated by shifting from compute-intensive to memory-intensive operations using modern main-memory architectures?
  • RQ2How can hierarchical grid indexing combined with radix trees improve the efficiency of true hit filtering in geospatial joins?
  • RQ3To what extent can training the index on historical point distributions improve the hit rate and reduce the need for geometric PIP tests?
  • RQ4What performance gains can be achieved by optimizing for modern hardware with wide SIMD units and high memory bandwidth?
  • RQ5Can the approach support both approximate and exact variants with user-defined precision guarantees?

Key findings

  • The proposed adaptive geospatial join achieves up to two orders of magnitude (100×) performance improvement over state-of-the-art standalone libraries and geospatial database systems.
  • The use of true hit filtering via the Adaptive Cell Trie reduces the need for expensive point-in-polygon (PIP) tests to less than 1% of cases in many workloads.
  • The approximate version of the algorithm guarantees user-defined precision by controlling the level of grid refinement in the hierarchical indexing structure.
  • The exact version of the algorithm adapts to the expected distribution of query points by refining the index based on historical data, improving filtering accuracy.
  • Optimization for Intel Knights Landing using AVX-512 vector instructions significantly accelerates processing of large batches of points and cells in parallel.
  • The approach outperforms systems like Magellan, PostGIS, and Spark Magellan by avoiding uniform grids and instead using adaptive, geometry-aware indexing.

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.