Accelerating approximate aggregation queries with expensive predicates
Authors:
Open Access
- 1 July 2021
- journal article
- conference paper
- Published by Association for Computing Machinery (ACM) in Proceedings of the VLDB Endowment
- Vol. 14 (11) , 2341-2354
Abstract
Researchers and industry analysts are increasingly interested in computing aggregation queries over large, unstructured datasets with selective predicates that are computed using expensive deep neural networks (DNNs). As these DNNs are expensive and because many applications can tolerate approximate answers, analysts are interested in accelerating these queries via approximations. Unfortunately, standard approximate query processing techniques to accelerate such queries are not applicable because they assume the result of the predicates are available ahead of time. Furthermore, recent work using cheap approximations (i.e., proxies) do not support aggregation queries with predicates. To accelerate aggregation queries with expensive predicates, we develop and analyze a query processing algorithm that leverages proxies (ABAE). ABAE must account for the key challenge that it may sample records that do not satisfy the predicate. To address this challenge, we first use the proxy to group records into strata so that records satisfying the predicate are ideally grouped into few strata. Given these strata, ABAE uses pilot sampling and plugin estimates to sample according to the optimal allocation. We show that ABAE converges at an optimal rate in a novel analysis of stratified sampling with draws that may not satisfy the predicate. We further show that ABAE outperforms on baselines on six real-world datasets, reducing labeling costs by up to 2.3X.Keywords
This publication has 40 references indexed in Scilit:
- An optimum multivariate stratified double sampling design in presence of non-responseOptimization Letters, 2011
- Optimized stratified sampling for approximate query processingACM Transactions on Database Systems, 2007
- Adaptative Monte Carlo Method, A Variance Reduction TechniqueMonte Carlo Methods and Applications, 2004
- Connected Components in Random Graphs with Given Expected Degree SequencesAnnals of Combinatorics, 2002
- Online aggregationACM SIGMOD Record, 1997
- Improved histograms for selectivity estimation of range predicatesACM SIGMOD Record, 1996
- Accurate estimation of the number of tuples satisfying a conditionACM SIGMOD Record, 1984
- Newton’s Method with a Model Trust Region ModificationSIAM Journal on Numerical Analysis, 1982
- Estimating Bias Due to Nonresponse in Mail SurveysPublic Opinion Quarterly, 1975
- The Problem of Non-Response in Sample SurveysJournal of the American Statistical Association, 1946