Proof: Accelerating Approximate Aggregation Queries with Expensive Predicates
Abstract
Given a dataset , we are interested in computing the mean of a subset of which matches a predicate. ABae leverages stratified sampling and proxy models to efficiently compute this statistic given a sampling budget . In this document, we theoretically analyze ABae and show that the MSE of the estimate decays at rate , where for some integer constant and and represent the number of samples used in Stage 1 and Stage 2 of ABae respectively. Hence, if a constant fraction of the total sample budget is allocated to each stage, we will achieve a mean squared error of which matches the rate of mean squared error of the optimal stratified sampling algorithm given a priori knowledge of the predicate positive rate and standard deviation per stratum.
Cite
@article{arxiv.2107.12525,
title = {Proof: Accelerating Approximate Aggregation Queries with Expensive Predicates},
author = {Daniel Kang and John Guibas and Peter Bailis and Tatsunori Hashimoto and Yi Sun and Matei Zaharia},
journal= {arXiv preprint arXiv:2107.12525},
year = {2021}
}