The efficient management of big spatial data is crucial for location-based services, particularly in smart cities. However, existing systems such as Simba and Sedona, which incorporate distributed spatial indexing, still incur substantial index construction overheads, therefore rendering them far from optimal for real-time analytics. Recent studies demonstrate that learned indices can achieve high efficiency through a well-designed machine learning model, but how to design learned index for distributed spatial analytics remains unaddressed. In this paper, we present LiLIS, a Lightweight Distributed Learned Index for big Spatial data. LiLIS amalgamates machine-learned search strategies with spatial-aware partitioning within a distributed framework, and efficiently implements common spatial queries, including point query, range query, k-nearest neighbors (kNN), and spatial joins. Extensive experimental results over real-world and synthetic datasets show that LiLIS outperforms state-of-the-art big spatial data analytics by 2–3 orders of magnitude for most spatial queries, and the index building achieves 1.5-2x speed-up. The code is available at https://github.com/SWUFE-DB-Group/learned-index-spark.
"The first work to introduce spatial learned index to big data analytics"
"The lightweight learned index enables efficient distributed spatial queries"
"LiLIS achieves 2–3 orders of magnitude speed-up vs state-of-the-art"
"1.5-2.0× faster index building"
LiLIS follows the two-phase filtering solution, and the local index is implemented via a learned model within a given partition. By adopting error-bounded spline interpolation, which learns the two-dimensional distribution of the underlying spatial data, LiLIS achieves efficient index construction with very few parameters while ensuring prediction accuracy.
@misc{chen2025lilis,
title={LiLIS: Enhancing Big Spatial Data Processing with Lightweight Distributed Learned Index},
author={Zhongpu Chen and Wanjun Hao and Ziang Zeng and Long Shi and Yi Wen and Zhi-Jie Wang and Yu Zhao},
year={2025},
eprint={2504.18883},
url={https://arxiv.org/abs/2504.18883},
}