Learning-Based Distributed Spatio-Temporal k Nearest Neighbors Join
The rapid development of positioning technology produces an extremely large volume of spatio-temporal data with various geometry types such as point, line string, polygon, or a mixed combination of them. As one of the most fundamental but time-consuming operations, <inline-formula><tex-math notation="LaTeX">$k$</tex-math></inline-formula> nearest neighbors join (<inline-formula><tex-math notation="LaTeX">$k$</tex-math></inline-formula>NN join) has attracted much attention. However, most existing works for <inline-formula><tex-math notation="LaTeX">$k$</tex-math></inline-formula>NN join either ignore temporal information or consider only point data. Besides, most of them do not automatically adapt to the different features of spatio-temporal data. This paper proposes to address a novel and useful problem, i.e., ST-<inline-formula><tex-math notation="LaTeX">$k$</tex-math></inline-formula>NN join, which considers both <i>spatial closeness</i> and <i>temporal concurrency</i>. To support ST-<inline-formula><tex-math notation="LaTeX">$k$</tex-math></inline-formula>NN join over a large amount of spatio-temporal data with any geometry types efficiently, we propose a novel distributed solution based on Apache Spark. Specifically, our method adopts a two-round join framework. In the first round join, we propose a new spatio-temporal partitioning method that achieves spatio-temporal locality and load balance at the same time. We also propose a lightweight index structure, i.e., Time Range Count Index (TRC-index), to enable efficient ST-<inline-formula><tex-math notation="LaTeX">$k$</tex-math></inline-formula>NN join. In the second round join, to reduce the data transmission among different machines, we remove duplicates based on spatio-temporal reference points before shuffling local results. Furthermore, we design a set of models based on Bayesian optimization to automatically determine the values for the introduced parameters. Extensive experiments are conducted using three real big datasets, showing that our method is much more scalable and achieves 9X faster than baselines, and that the proposed models can always predict appropriate parameters for different datasets.
Authors
- Rubin Wang (ORCID: https://orcid.org/0000-0003-4110-2022)
- Huajun He (ORCID: https://orcid.org/0000-0002-8915-5660)
- Jie Bao (ORCID: https://orcid.org/0000-0002-5642-1993)
- Jiajun Li (ORCID: https://orcid.org/0009-0008-3475-7868)
- Chao Chen (ORCID: https://orcid.org/0000-0003-2094-9734)
- Yu Zheng (ORCID: https://orcid.org/0000-0002-5224-4344)
- Ruiyuan Li (ORCID: https://orcid.org/0000-0002-6481-0657)
- Minxin Zhou
Institutions
- Chongqing University (CN)
- Jingdong (China) (CN)
Publication Details
- Journal
- IEEE Transactions on Big Data
- Published
- 2024-08-13
- DOI
- https://doi.org/10.1109/tbdata.2024.3442539
- Primary Topic
- Data Management and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China