GLIN: A (G)eneric (L)earned (In)dexing Mechanism for Complex Geometries

Congying Wang, Jia Yu, Zhuoyue Zhao
7/15/2022
cs.DB

Official code: DataOceanLab/GLIN (14 stars, C++, last commit 2022-09-06).

Abstract

Although spatial indexes shorten the query response time, they rely on complex tree structures to narrow down the search space. Such structures in turn yield additional storage overhead and take a toll on index maintenance.

Show full abstract

Recently, there have been a flurry of efforts attempting to leverage Machine-Learning (ML) models to simplify the index structures. However, existing geospatial indexes can only index point data rather than complex geometries such as polygons and trajectories that are widely available in geospatial data. As a result, they cannot efficiently and correctly answer geometry relationship queries. This paper introduces GLIN, an indexing mechanism for spatial relationship queries on complex geometries. To achieve that, GLIN transforms geometries to Z-address intervals, and then harnesses an existing order-preserving learned index to model the cumulative distribution function between these intervals and the record positions. The lightweight learned index greatly reduces indexing overhead and provides faster or comparable query latency. Most importantly, GLIN augments spatial query windows to support queries exactly for common spatial relationships. Our experiments on real-world and synthetic datasets show that GLIN has 80\%-90\% lower storage overhead than Quad-Tree and 60% - 80% than R-tree and 30% - 70% faster query on medium selectivity. Moreover, GLIN's maintenance throughput is 1.5 times higher on insertion and 3 - 5 times higher on deletion.

View on arXivView PDF

Code Implementations(1)

DataOceanLab/GLINOfficial100%

A lightweight learned index for spatial range queries on complex geometries

141C++, CJul 7, 20224 years ago

Similar Papers

Cite this paper

@article{wang2022glin,
  title  = {GLIN: A (G)eneric (L)earned (In)dexing Mechanism for Complex Geometries},
  author = {Congying Wang and Jia Yu and Zhuoyue Zhao},
  year   = {2022},
  eprint = {2207.07745},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.07745}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.07745.svg)](https://codeofpaper.com/paper/2207.07745)

Discussion