skip to main content
10.1145/3469830.3470892acmotherconferencesArticle/Chapter ViewAbstractPublication PagessstdConference Proceedingsconference-collections
research-article

SPRIG: A Learned Spatial Index for Range and kNN Queries

Published:23 August 2021Publication History

ABSTRACT

A corpus of recent work has revealed that the learned index can improve query performance while reducing the storage overhead. It potentially offers an opportunity to address the spatial query processing challenges caused by the surge in location-based services. Although several learned indexes have been proposed to process spatial data, the main idea behind these approaches is to utilize the existing one-dimensional learned models, which requires either converting the spatial data into one-dimensional data or applying the learned model on individual dimensions separately. As a result, these approaches cannot fully utilize or take advantage of the information regarding the spatial distribution of the original spatial data. To this end, in this paper, we exploit it by using the spatial (multi-dimensional) interpolation function as the learned model, which can be directly employed on the spatial data. Specifically, we design an efficient SPatial inteRpolation functIon based Grid index (SPRIG) to process the range and kNN queries. Detailed experiments are conducted on real-world datasets. The results indicate that, compared to the traditional spatial indexes, our proposed learned index can significantly improve the index building and query processing performance with less storage overhead. Moreover, in the best case, our index achieves up to an order of magnitude better performance than ZM-index in range queries and is about 2.7 × , 3 × , and 9 × faster than the multi-dimensional learned index Flood in terms of index building, range queries, and kNN queries, respectively.

References

  1. Abdullah Al-Mamun, Hao Wu, and Walid G Aref. 2020. A Tutorial on Learned Multi-dimensional Indexes. In SIGSPATIAL. 1–4.Google ScholarGoogle Scholar
  2. Francesc Aràndiga. 2016. A nonlinear algorithm for monotone piecewise bicubic interpolation. Appl. Math. Comput. 272(2016), 100–113.Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Paolo Ciaccia, Marco Patella, and Pavel Zezula. 1997. M-tree: An Efficient Access Method for Similarity Search in Metric Spaces. In VLDB. Citeseer, 426–435.Google ScholarGoogle Scholar
  4. Angjela Davitkova, Evica Milchevski, and Sebastian Michel. 2020. The ML-Index: A Multidimensional, Learned Index for Point, Range, and Nearest-Neighbor Queries.. In EDBT. 407–410.Google ScholarGoogle Scholar
  5. Francesco Dell’Accio and Filomena Di Tommaso. 2016. Scattered data interpolation by Shepard’s like methods: classical results and recent advances. Dolomites Research Notes on Approximation 9, Special_Issue (2016).Google ScholarGoogle Scholar
  6. Jialin Ding, Vikram Nathan, Mohammad Alizadeh, and Tim Kraska. 2020. Tsunami: a learned multi-dimensional index for correlated data and skewed workloads. Proceedings of the VLDB Endowment 14, 2 (2020), 74–86.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Paolo Ferragina and Giorgio Vinciguerra. 2020. The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds. VLDB 13, 8 (2020), 1162–1175.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Alex Galakatos, Michael Markovitch, Carsten Binnig, Rodrigo Fonseca, and Tim Kraska. 2019. Fiting-tree: A data-aware index structure. In SIGMOD. 1189–1206.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Tim Kraska, Alex Beutel, Ed H Chi, Jeffrey Dean, and Neoklis Polyzotis. 2018. The case for learned index structures. In SIGMOD. 489–504.Google ScholarGoogle Scholar
  10. Jin Li and Andrew D Heap. 2008. A review of spatial interpolation methods for environmental scientists. (2008).Google ScholarGoogle Scholar
  11. Pengfei Li, Hua Lu, Qian Zheng, Long Yang, and Gang Pan. 2020. LISA: A Learned Index Structure for Spatial Data. In SIGMOD. 2119–2133.Google ScholarGoogle Scholar
  12. Lubos Mitas and Helena Mitasova. 1999. Spatial interpolation. Geographical information systems: principles, techniques, management and applications (1999).Google ScholarGoogle Scholar
  13. Donald E Myers. 1994. Spatial interpolation: an overview. Geoderma (1994).Google ScholarGoogle Scholar
  14. Vikram Nathan, Jialin Ding, Mohammad Alizadeh, and Tim Kraska. 2020. Learning Multi-dimensional Indexes. In SIGMOD. 985–1000.Google ScholarGoogle Scholar
  15. Jianzhong Qi, Guanli Liu, Christian S Jensen, and Lars Kulik. 2020. Effectively learning spatial indices. VLDB 13, 12 (2020), 2341–2354.Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Robert Schaback. 1995. Error estimates and condition numbers for radial basis function interpolation. Advances in Computational Mathematics(1995), 251–264.Google ScholarGoogle Scholar
  17. Chuzhe Tang, Youyun Wang, Zhiyuan Dong, Gansen Hu, Zhaoguo Wang, Minjie Wang, and Haibo Chen. 2020. XIndex: a scalable learned index for multicore data storage. In SIGPLAN. 308–320.Google ScholarGoogle Scholar
  18. Saul A Teukolsky, Brian P Flannery, WH Press, and WT Vetterling. 1992. Numerical recipes in C. SMR 693, 1 (1992), 59–70.Google ScholarGoogle Scholar
  19. [19] Twitter Developer 2018. https://developer.twitter.com/en.Google ScholarGoogle Scholar
  20. Haixin Wang, Xiaoyi Fu, Jianliang Xu, and Hua Lu. 2019. Learned index for spatial queries. In 2019 20th IEEE MDM. IEEE, 569–574.Google ScholarGoogle Scholar

Index Terms

  1. SPRIG: A Learned Spatial Index for Range and kNN Queries
            Index terms have been assigned to the content through auto-classification.

            Recommendations

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in
            • Published in

              cover image ACM Other conferences
              SSTD '21: Proceedings of the 17th International Symposium on Spatial and Temporal Databases
              August 2021
              173 pages
              ISBN:9781450384254
              DOI:10.1145/3469830

              Copyright © 2021 ACM

              Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

              Publisher

              Association for Computing Machinery

              New York, NY, United States

              Publication History

              • Published: 23 August 2021

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • research-article
              • Research
              • Refereed limited

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader

            HTML Format

            View this article in HTML Format .

            View HTML Format