On Efficient Approximate Queries over Machine Learning Models
Not on the map. Why?
Abstract (arXiv)
The question of answering queries over ML predictions has been gaining attention in the database community. This question is challenging because the cost of finding high quality answers corresponds to invoking an oracle such as a human expert or an expensive deep neural network model on every single item in the DB and then applying the query. We develop a novel unified framework for approximate query answering by leveraging a proxy to minimize the oracle usage of finding high quality answers for both Precision-Target (PT) and Recall-Target (RT) queries. Our framework uses a judicious combination of invoking the expensive oracle on data samples and applying the cheap proxy on the objects in the DB. It relies on two assumptions. Under the Proxy Quality assumption, proxy quality can be quantified in a probabilistic manner w.r.t. the oracle. This allows us to develop two algorithms: PQA that efficiently finds high quality answers with high probability and no oracle calls, and PQE, a heuristic extension that achieves empirically good performance with a small number of oracle calls. Alternatively, under the Core Set Closure assumption, we develop two algorithms: CSC that efficiently returns high quality answers with high probability and minimal oracle usage, and CSE, which extends it to more general settings. Our extensive experiments on five real-world datasets on both query types, PT and RT, demonstrate that our algorithms outperform the state-of-the-art and achieve high result quality with provable statistical guarantees.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 22 of its 61 references that are in the map. First posted on arXiv 6 Jun 2022.
Builds on
22 of 61 references.
References · 22
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,829
- 2016YOLO9000: Better, Faster, Strongercited by 1,429
- 2019Multi-Label Image Recognition with Graph Convolutional Networkscited by 320
- 2019BEHRT: Transformer for Electronic Health Recordscited by 258
- 2015Doctor AI: Predicting Clinical Events via Recurrent Neural Networkscited by 205
- 2016Clipper: A Low-Latency Online Prediction Serving Systemcited by 191
- 2017Adaptive Neural Networks for Efficient Inferencecited by 161
- 2016SIFT Meets CNN: A Decade Survey of Instance Retrievalcited by 66
- 2018TVM: An Automated End-to-End Optimizing Compiler for Deep Learningcited by 62
- 2018Focus: Querying Large Video Datasets with Low Latency and Low Costcited by 46
10 more
- 2017NoScope: Optimizing Neural Network Queries over Video at Scalecited by 37
- 2019Scaling Video Analytics on Constrained Edge Nodescited by 36
- 2020Amazon SageMaker Autopilot: a white box AutoML solution at scalecited by 20
- 2018Physical Representation-based Predicate Optimization for a Visual Analytics Databasecited by 19
- 2019Extending Relational Query Processing with ML Inferencecited by 15
- 2020Approximate Selection with Guarantees using Proxiescited by 13
- 2022Optimizing Machine Learning Inference Queries with Correlative Proxy Modelscited by 13
- 2019Machine Learning at Microsoft with ML .NETcited by 11
- 201926ms Inference Time for ResNet-50: Towards Real-Time Execution of all DNNs on Smartphonecited by 6
- 2021Efficiently Answering Durability Prediction Queriescited by 2
Built on by
Citing papers per year: 2024: 3; 2025: 4.
7 papers.
- 2024Hybrid LLM: Cost-Efficient and Quality-Aware Query Routingcited by 354
- 2025BEST-Route: Adaptive LLM Routing with Test-Time Optimal Computecited by 63
- 2024Optimal Query Allocation in Extractive QA with LLMs: A Learning-to-Defer Framework with Theoretical Guaranteescited by 15
- 2025Cut Costs, Not Accuracy: LLM-Powered Data Processing with Guaranteescited by 8
- 2024OCCAM: Towards Cost-Efficient and Accuracy-Aware Classification Inferencecited by 3
- 2025Exploration of Summarization by Generative Language Models for Automated Scoring of Long Essayscited by 2
- 2025HERA: Hybrid Edge-cloud Resource Allocation for Cost-Efficient AI Agentscited by 1
- 2025Exploration of Summarization by Generative Language Models for Automated Scoring of Long Essays26 Oct 2025
- 2025Cut Costs, Not Accuracy: LLM-Powered Data Processing with Guarantees2 Sep 2025
- 2025BEST-Route: Adaptive LLM Routing with Test-Time Optimal Compute28 Jun 2025
- 2025HERA: Hybrid Edge-cloud Resource Allocation for Cost-Efficient AI Agents1 Apr 2025
- 2024Optimal Query Allocation in Extractive QA with LLMs: A Learning-to-Defer Framework with Theoretical Guarantees21 Oct 2024
- 2024OCCAM: Towards Cost-Efficient and Accuracy-Aware Classification Inference6 Jun 2024
- 2024Hybrid LLM: Cost-Efficient and Quality-Aware Query Routing22 Apr 2024