Optimizing Machine Learning Inference Queries with Correlative Proxy Models
Not on the map. Why?
Abstract (arXiv)
We consider accelerating machine learning (ML) inference queries on unstructured datasets. Expensive operators such as feature extractors and classifiers are deployed as user-defined functions(UDFs), which are not penetrable with classic query optimization techniques such as predicate push-down. Recent optimization schemes (e.g., Probabilistic Predicates or PP) assume independence among the query predicates, build a proxy model for each predicate offline, and rewrite a new query by injecting these cheap proxy models in the front of the expensive ML UDFs. In such a manner, unlikely inputs that do not satisfy query predicates are filtered early to bypass the ML UDFs. We show that enforcing the independence assumption in this context may result in sub-optimal plans. In this paper, we propose CORE, a query optimizer that better exploits the predicate correlations and accelerates ML inference queries. Our solution builds the proxy models online for a new query and leverages a branch-and-bound search process to reduce the building costs. Results on three real-world text, image and video datasets show that CORE improves the query throughput by up to 63% compared to PP and up to 80% compared to running the queries as it is.
Key facts. Cited by 13 papers in the map (data through 13 Oct 2026). First posted on arXiv 2 Jan 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 2; 2023: 3; 2024: 2; 2025: 5; 2026: 1.
13 papers.
Sort:
By area:
- 2022Serving and Optimizing Machine Learning Workflows on Heterogeneous Infrastructurescited by 12
- 2022On Efficient Approximate Queries over Machine Learning Modelscited by 7
- 2023Extract-Transform-Load for Video Streamscited by 7
- 2025Apt-Serve: Adaptive Request Scheduling on Hybrid Cache for Scalable LLM Inference Servingcited by 6
- 2025Batch Query Processing and Optimization for Agentic Workflowscited by 6
- 2024Powering In-Database Dynamic Model Slicing for Structured Data Analyticscited by 5
- 2023The Duck's Brain: Training and Inference of Neural Networks in Modern Database Enginescited by 2
- 2025ScaleDoc: Scaling LLM-based Predicates over Large Document Collectionscited by 2
- 2023VQPy: An Object-Oriented Approach to Modern Video Analyticscited by 1
- 2025Personalized Top-k Set Queries Over Predicted Scorescited by 1
- 2026Beyond Linear LLM Invocation: An Efficient and Effective Semantic Filter Paradigmcited by 1
- 2024Hydro: Adaptive Query Processing of ML Queriescited by 0
- 2026Beyond Linear LLM Invocation: An Efficient and Effective Semantic Filter Paradigm5 Mar 2026
- 2025ScaleDoc: Scaling LLM-based Predicates over Large Document Collections16 Sep 2025
- 2025Batch Query Processing and Optimization for Agentic Workflows2 Sep 2025
- 2025Artificial Intelligence for Green Hydrogen Yield Prediction and Site Suitability using SHAP-Based Composite Index: Focus on Oman16 Jul 2025
- 2025Apt-Serve: Adaptive Request Scheduling on Hybrid Cache for Scalable LLM Inference Serving10 Apr 2025
- 2025Personalized Top-k Set Queries Over Predicted Scores18 Feb 2025
- 2024Powering In-Database Dynamic Model Slicing for Structured Data Analytics1 May 2024
- 2024Hydro: Adaptive Query Processing of ML Queries22 Mar 2024
- 2023The Duck's Brain: Training and Inference of Neural Networks in Modern Database Engines28 Dec 2023
- 2023VQPy: An Object-Oriented Approach to Modern Video Analytics3 Nov 2023
- 2023Extract-Transform-Load for Video Streams7 Oct 2023
- 2022On Efficient Approximate Queries over Machine Learning Models6 Jun 2022
1 more
- 2022Serving and Optimizing Machine Learning Workflows on Heterogeneous Infrastructurescited by 12
- 2022On Efficient Approximate Queries over Machine Learning Modelscited by 7
- 2023Extract-Transform-Load for Video Streamscited by 7
- 2023The Duck's Brain: Training and Inference of Neural Networks in Modern Database Enginescited by 2
- 2025ScaleDoc: Scaling LLM-based Predicates over Large Document Collectionscited by 2
- 2023VQPy: An Object-Oriented Approach to Modern Video Analyticscited by 1
- 2025Personalized Top-k Set Queries Over Predicted Scorescited by 1
- 2026Beyond Linear LLM Invocation: An Efficient and Effective Semantic Filter Paradigmcited by 1
- 2024Hydro: Adaptive Query Processing of ML Queriescited by 0
- 2025Artificial Intelligence for Green Hydrogen Yield Prediction and Site Suitability using SHAP-Based Composite Index: Focus on Omancited by 0
- 2026Beyond Linear LLM Invocation: An Efficient and Effective Semantic Filter Paradigm5 Mar 2026
- 2025ScaleDoc: Scaling LLM-based Predicates over Large Document Collections16 Sep 2025
- 2025Artificial Intelligence for Green Hydrogen Yield Prediction and Site Suitability using SHAP-Based Composite Index: Focus on Oman16 Jul 2025
- 2025Personalized Top-k Set Queries Over Predicted Scores18 Feb 2025
- 2024Hydro: Adaptive Query Processing of ML Queries22 Mar 2024
- 2023The Duck's Brain: Training and Inference of Neural Networks in Modern Database Engines28 Dec 2023
- 2023VQPy: An Object-Oriented Approach to Modern Video Analytics3 Nov 2023
- 2023Extract-Transform-Load for Video Streams7 Oct 2023
- 2022On Efficient Approximate Queries over Machine Learning Models6 Jun 2022
- 2022Serving and Optimizing Machine Learning Workflows on Heterogeneous Infrastructures10 May 2022