Model Selection for Latency-Critical Inference Serving
Open Access
- 22 April 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1016-1038
Abstract
In an inference service system, model selection and scheduling (MS&S) schemes map inference queries to trained machine learning (ML) models, hosted on a finite set of workers, to solicit accurate predictions within strict latency targets. MS&S is challenged by both varying query load and stochastic query inter-arrival patterns; however, state-of-the-art MS&S approaches conservatively account for load exclusively. In this paper, we first show that explicitly considering inter-arrival patterns creates opportunities to map queries to higher-accuracy (higher-latency) models during intermittent arrival lulls. We then propose RAMSIS, a framework for generating MS&S policies that exploits this finding. RAMSIS leverages a statistical problem model of query load and inter-arrival pattern to produce policies that maximize accuracy given some latency target. We evaluate RAMSIS-generated MS&S policies alongside state-of-the-art approaches. Notably, RAMSIS requires as low as 50.00% (on average 18.77%) fewer resources to achieve the same accuracy for an ImageNet image classification task given 26 trained models.Keywords
Funding Information
- the German Federal Ministry of Education and Research (BMBF) (16KIS1138)
This publication has 30 references indexed in Scilit:
- Machine Learning in Finance2020
- OPTIMAL CONTROL POLICIES FOR AN M/M/1 QUEUE WITH A REMOVABLE SERVER AND DYNAMIC SERVICE RATESProbability in the Engineering and Informational Sciences, 2019
- Benchmark Analysis of Representative Deep Neural Network ArchitecturesIEEE Access, 2018
- Going deeper with convolutions2015
- ImageNet: A large-scale hierarchical image database2009
- Analysis of join-the-shortest-queue routing for web server farmsPerformance Evaluation, 2007
- Optimal replacement of a system according toa semi-Markov decision process in a semi-Markov environmentOptimization Methods and Software, 2003
- Basic Results on Lévy Processes2001
- A Survey of Applications of Markov Decision ProcessesJournal of the Operational Research Society, 1993
- A survey of Markov decision models for control of networks of queuesQueueing Systems, 1993