Accelerating Approximate Aggregation Queries with Expensive Predicates
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). First posted on arXiv 13 Aug 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 2; 2024: 2; 2025: 3; 2026: 3.
10 papers.
- 2024Semantic Operators: A Declarative Model for Rich, AI-based Data Processingcited by 34
- 2025Abacus: A Cost-Based Optimizer for Semantic Operator Systemscited by 13
- 2025Cut Costs, Not Accuracy: LLM-Powered Data Processing with Guaranteescited by 9
- 2023Extract-Transform-Load for Video Streamscited by 7
- 2025Deep Research is the New Analytics System: Towards Building the Runtime for AI-Driven Analyticscited by 7
- 2023VQPy: An Object-Oriented Approach to Modern Video Analyticscited by 1
- 2026Beyond Linear LLM Invocation: An Efficient and Effective Semantic Filter Paradigmcited by 1
- 2024Hydro: Adaptive Query Processing of ML Queriescited by 0
- 2026Evergreen: Efficient Claim Verification for Semantic Aggregatescited by 0
- 2026Semantic Views: Certified Reuse of LLM Labels Across Semantic Queriescited by 0
- 2026Semantic Views: Certified Reuse of LLM Labels Across Semantic Queries8 Oct 2026
- 2026Evergreen: Efficient Claim Verification for Semantic Aggregates28 Apr 2026
- 2026Beyond Linear LLM Invocation: An Efficient and Effective Semantic Filter Paradigm5 Mar 2026
- 2025Cut Costs, Not Accuracy: LLM-Powered Data Processing with Guarantees2 Sep 2025
- 2025Deep Research is the New Analytics System: Towards Building the Runtime for AI-Driven Analytics2 Sep 2025
- 2025Abacus: A Cost-Based Optimizer for Semantic Operator Systems20 May 2025
- 2024Semantic Operators: A Declarative Model for Rich, AI-based Data Processing16 Jul 2024
- 2024Hydro: Adaptive Query Processing of ML Queries22 Mar 2024
- 2023VQPy: An Object-Oriented Approach to Modern Video Analytics3 Nov 2023
- 2023Extract-Transform-Load for Video Streams7 Oct 2023