Affiliation:
1. Department of Computer Science University of Verona, Verona, Italy
2. Computer Science and Engineering University of California Riverside, Riverside, USA
Abstract
Machine learning (ML) and deep learning (DL) techniques are increasingly applied to produce efficient query optimizers, in particular in regards to big data systems. The optimization of spatial operations is even more challenging due to the inherent complexity of such kind of operations, like spatial join or range query, and the peculiarities of spatial data. Although a few ML-based spatial query optimizers have been proposed in literature, their design limits their use, since each one is tailored for a specific collection of datasets, a specific operation, or a specific hardware setting. Changes to any of these will require building and training a completely new model which entails collecting a new very large training dataset to obtain a good model.
This paper proposes a different approach which exploits the use of the novel notion of
spatial embedding
to overcome these limitations. In particular, a preliminary model is defined which captures the relevant features of spatial datasets, independently from the operation to be optimized and in an unsupervised manner. This model is trained with a large amount of both synthetic and real-world data, with the aim to produce meaningful spatial embeddings. The construction of an embedding model could be intended as a preliminary step for the optimization of many different spatial operations, so the cost of its building can be compensated during the subsequent construction of specific models. Indeed, for each considered spatial operation, a specific tailored model will be trained but by using spatial embeddings as input, so a very little amount of training data points is required for them. Three peculiar operations are considered as proof of concept in this paper: range query, self-join, and binary spatial join. Finally, a comparison with an alternative technique, known as transfer learning, is provided and the advantages of the proposed technique over it are highlighted.
Publisher
Association for Computing Machinery (ACM)
Reference40 articles.
1. Ildar Absalyamov, Michael J. Carey, and Vassilis J. Tsotras. 2018. Lightweight Cardinality Estimation in LSM-Based Systems. In Proceedings of the 2018 International Conference on Management of Data (SIGMOD ’18). Association for Computing Machinery, 841–855. https://doi.org/10.1145/3183713.3183761
2. AQWA
3. W. Aref and H. Samet. 1994. A Cost Model for Query Optimization Using R-Trees. In Proceedings of the Second ACM Workshop on Advances in Geographic Information Systems, ACM-GIS. ACM, 60–67.
4. Walid G. Aref and Hanan Samet. 1993. Estimating Selectivity Factors of Spatial Operations. In Fifth Workshop on Foundations of Models and Languages for Data and Object(Informatik-Berichte des IfI, Vol. 93/9), Andreas Heuer and Marc H. Scholl (Eds.). 31–43.
5. Self-spacial join selectivity estimation using fractal concepts