Optimizing Machine Learning Inference Queries for Multiple Objectives

Ziyu Li, Mariette Schönfeld, Rihan Hai, Alessandro Bozzon, Asterios Katsifodimos · 2023

Given a set of pre-trained Machine Learning (ML) models, can we solve complex analytic tasks that make use of those models by formulating ML inference queries? Can we mitigate different tradeoffs, e.g., high accuracy, low execution costs and memory footprint, when optimizing the queries? In this work we present different multi-objective ML inference query optimization strategies, and compare them on their usability, applicability, and complexity. We formulate Mixed-Integer-Programming-based (MIP) optimizers for ML inference queries that makes use of different objectives to find Pareto-optimal inference query plans.

Read the paper · More papers on PaperTik