Enhancing In-Memory Spatial Indexing with Learned Search
Spatial data is generated daily from numerous sources such as GPS-enabled devices, consumer applications (e.g., Uber, Strava), and social media (e.g., location-tagged posts). This exponential growth in spatial data is driving the development of efficient spatial data processing systems. In this study, we enhance spatial indexing with a machine-learned search technique developed for single-dimensional sorted data. Specifically, we partition spatial data using six traditional spatial partitioning techniques and employ machine-learned search within each partition to support point, range, distance, and spatial join queries. By instance-optimizing each partitioning technique, we demonstrate that: (i) grid-based index structures outperform tree-based ones (from 1.23x to 2.47x), (ii) learning-enhanced spatial index structures are faster than their original counterparts (from 1.44x to 53.34x), (iii) machine-learned search within a partition is 11.79% -39.51% faster than binary search when filtering on one dimension, (iv) the benefit of machine-learned search decreases in the presence of other compute-intensive operations (e.g. scan costs in higher selectivity queries, Haversine distance computation, and point-in-polygon tests), and (v) index lookup is the bottleneck for tree-based structures, which could be mitigated by linearizing the indexed partitions.
Authors
- Volker Markl (ORCID: https://orcid.org/0009-0009-0964-026X)
- Andreas Kipf (ORCID: https://orcid.org/0000-0003-3463-0564)
- Eleni Tzirita Zacharatou (ORCID: https://orcid.org/0000-0001-8873-5455)
- Ibrahim Sabek (ORCID: https://orcid.org/0009-0006-2102-5241)
- Alexander van Renen (ORCID: https://orcid.org/0000-0002-6365-4592)
- Varun Pandey (ORCID: https://orcid.org/0000-0002-1314-9061)
- Jialin Ding
- Alfons Kemper (ORCID: https://orcid.org/0009-0003-9066-271X)
Institutions
- IT University of Copenhagen (DK)
Publication Details
- Journal
- IT University Of Copenhagen (IT University of Copenhagen)
- Published
- 2025-01-01
- DOI
- https://doi.org/10.18420/btw2025-14
- Primary Topic
- Data Management and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00