Proceedings of the 2022 International Conference on Management of Data · 2022 · 10 citations · 20 references
ComputingComputer ScienceAlgorithmsDatabasesMachine LearningDimensionality ReductionNearest Neighbor SearchQuery ProcessingRange SearchingRepresentation LearningDatabase Management SystemsOrthogonal Range QueriesOrthogonal Range SearchRange QueriesSelectivitySelectivity EstimationVc Dimension
This paper explores the use of machine learning for estimating the selectivity of range queries in database systems. Using classic learning theory for real-valued functions based on shattering dimension, we show that the selectivity function of a range space with bounded VC-dimension is learnable. As many popular classes of queries (e.g., orthogonal range search, inequalities involving linear combination of attributes, distance-based search, etc.) represent range spaces with finite VC-dimension, our result immediately implies that their selectivity functions are also learnable. To the best of our knowledge, this is the first attempt at formally explaining the role of machine learning techniques in selectivity estimation, and complements the growing literature in empirical studies in this direction. Supplementing these theoretical results, our experimental results demonstrate that, empirically, even a basic learning algorithm with generic models is able to produce accurate predictions across settings, matching state-of-art methods designed for specific queries, and using training sample sizes commensurate with our theory.
20
Leslie G. Valiant · Communications of the ACM · 1984 · 3.3K citations · Full text
ɛ-nets and simplex range queries
David Haussler, Emo Welzl · Discrete & Computational Geometry · 1987 · 731 citations · Full text
Scale-sensitive dimensions, uniform convergence, and learnability
Noga Alon, Shai Ben-David, Nicolò Cesa‐Bianchi et al. · Journal of the ACM · 1997 · 346 citations · Full text