Effectively Learning Spatial Indices
Jianzhong Qi, Guanli Liu, Christian S. Jensen, Lars Kulik
Abstract
Machine learning, especially deep learning, is used increasingly to enable better solutions for data management tasks previously solved by other means, including database indexing. A recent study shows that a neural network can not only learn to predict the disk address of the data value associated with a one-dimensional search key but also outperform B-tree-based indexing, thus promises to speed up a broad range of database queries that rely on B-trees for efficient data access. We consider the problem of learning an index for two-dimensional spatial data. A direct application of a neural network is unattractive because there is no obvious ordering of spatial point data. Instead, we introduce a rank space based ordering technique to establish an ordering of point data and group the points into blocks for index learning. To enable scalability, we propose a recursive strategy that partitions a large point set and learns indices for each partition. Experiments on real and synthetic data sets with more than 100 million points show that our learned indices are highly effective and efficient. Query processing using our indices is more than an order of magnitude faster than the use of R-trees or a recently proposed learned index.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers27
- Learned Index: A Comprehensive Experimental EvaluationZhaoyan Sun, Xuanhe Zhou, Guoliang LiVLDB 2023 · 87 citations
- APEX: A High-Performance Learned Index on Persistent MemoryBaotong Lu, Jialin Ding, Eric Lo, Umar Farooq Minhas et al.VLDB 2022 · 73 citations
- Are Updatable Learned Indexes Ready?Chaichon Wongkham, Baotong Lu, Chris Liu, Zhicong Zhong et al.VLDB 2022 · 66 citations
- The RLR-Tree: A Reinforcement Learning Based R-Tree for Spatial DataTu Gu, Kaiyu Feng, Gao Cong, Cheng Long et al.SIGMOD 2023 · 62 citations
- CARMI: A Cache-Aware Learned Index with a Cost-based Construction AlgorithmJiaoyi Zhang, Yihan GaoVLDB 2022 · 42 citations
Builds on5
- ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang et al.SIGMOD 2020 · 274 citations
- Learning Multi-Dimensional IndexesVikram Nathan, Jialin Ding, Mohammad Alizadeh, Tim KraskaSIGMOD 2020 · 180 citations
- The PGM-index: a fully-dynamic compressed learned index with provable worst-case boundsPaolo Ferragina, Giorgio VinciguerraVLDB 2020 · 178 citations
- LISA: A Learned Index Structure for Spatial DataPengfei Li, Hua Lu, Qian Zheng, Long Yang et al.SIGMOD 2020 · 158 citations
- Qd-tree: Learning Data Layouts for Big Data AnalyticsZongheng Yang, Badrish Chandramouli, Chi Wang, Johannes Gehrke et al.SIGMOD 2020 · 87 citations
Related papers
- Efficiently Learning Spatial IndicesGuanli Liu, Jianzhong Qi, Christian S. Jensen, James Bailey et al.ICDE 2023 · 12 citations
- On Distribution Dependent Sub-Logarithmic Query Time of Learned IndexingSepanta Zeighami, Cyrus ShahabiICML 2023 · 20 citations
- LHist: Towards Learning Multi-dimensional Histogram for Massive Spatial DataQiyu Liu, Yanyan Shen, Lei ChenICDE 2021 · 20 citations
- LMSFC: A Novel Multidimensional Index based on Learned Monotonic Space Filling CurvesJian Gao, Xin Cao, Xin Yao, Gong Zhang et al.VLDB 2023 · 19 citations
- DILI: A Distribution-Driven Learned IndexPengfei Li, Hua Lu, Rong Zhu, Bolin Ding et al.VLDB 2023 · 37 citations
