Print Email Facebook Twitter Optimizing ML Inference Queries Under Constraints Title Optimizing ML Inference Queries Under Constraints Author Li, Z. (TU Delft Web Information Systems) Sun, W. (TU Delft Web Information Systems) Hai, R. (TU Delft Web Information Systems) Bozzon, A. (TU Delft Human-Centred Artificial Intelligence) Katsifodimos, A (TU Delft Web Information Systems) Date 2023 Abstract The proliferation of pre-trained ML models in public Web-based model zoos facilitates the engineering of ML pipelines to address complex inference queries over datasets and streams of unstructured content. Constructing optimal plan for a query is hard, especially when constraints (e.g. accuracy or execution time) must be taken into consideration, and the complexity of the inference query increases. To address this issue, we propose a method for optimizing ML inference queries that selects the most suitable ML models to use, as well as the order in which those models are executed. We formally define the constraint-based ML inference query optimization problem, formulate it as a Mixed Integer Programming (MIP) problem, and develop an optimizer that maximizes accuracy given constraints. This optimizer is capable of navigating a large search space to identify optimal query plans on various model zoos. To reference this document use: http://resolver.tudelft.nl/uuid:284b17af-71ee-4e79-b75e-0cc3b9ce6079 DOI https://doi.org/10.1007/978-3-031-34444-2_4 Embargo date 2023-12-25 Source International Conference on Web Engineering Bibliographical note Green Open Access added to TU Delft Institutional Repository ‘You share, we take care!’ – Taverne project https://www.openaccess.nl/en/you-share-we-take-care Otherwise as indicated in the copyright section: the publisher is the copyright holder of this work and the author uses the Dutch legislation to make this work public. Part of collection Institutional Repository Document type conference paper Rights © 2023 Z. Li, W. Sun, R. Hai, A. Bozzon, A Katsifodimos Files PDF 978_3_031_34444_2_4.pdf 880.47 KB Close viewer /islandora/object/uuid:284b17af-71ee-4e79-b75e-0cc3b9ce6079/datastream/OBJ/view