Lune

EuroSys2024Top-tier venue

Model Selection for Latency-Critical Inference Serving

Daniel Mendoza, Francisco Romero, Caroline Trippel

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 interarrival 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 Ima-geNet image classification task given 26 trained models.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving cites Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving cites Microsecond-scale Preemption for Concurrent GPU-accelerated DNN Inferences
  • AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving cites INFaaS: Automated Model-less Inference Serving
  • Microsecond-scale Preemption for Concurrent GPU-accelerated DNN Inferences cites Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • Microsecond-scale Preemption for Concurrent GPU-accelerated DNN Inferences cites INFaaS: Automated Model-less Inference Serving
  • Ken: An Execution Engine for Unstructured Database Systems cites AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving
  • Ken: An Execution Engine for Unstructured Database Systems cites Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • Ken: An Execution Engine for Unstructured Database Systems cites Microsecond-scale Preemption for Concurrent GPU-accelerated DNN Inferences
  • Ken: An Execution Engine for Unstructured Database Systems cites INFaaS: Automated Model-less Inference Serving
  • INFaaS: Automated Model-less Inference Serving cites Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
  • INFaaS: Automated Model-less Inference Serving cites MLPerf Inference Benchmark
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Ken: An Execution Engine for Unstructured Database SystemsFerdinand Kossmann, Ziniu Wu, Alex Turk, Nesime Tatbul et al.VLDB 2026

Builds on9

  1. MLPerf Inference BenchmarkVijay Janapa Reddi, Christine Cheng, David Kanter, Peter Mattson et al.ISCA 2020 · 517 citations
  2. Serving DNNs like Clockwork: Performance Predictability from the Bottom UpArpan Gujarati, Reza Karimi, Safya Alzayat, Wei Hao et al.OSDI 2020 · 392 citations
  3. INFaaS: Automated Model-less Inference ServingFrancisco Romero, Qian Li, Neeraja J. Yadwadkar, Christos KozyrakisUSENIX ATC 2021 · 325 citations
  4. AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning ServingZhuohan Li, Lianmin Zheng, Yinmin Zhong, Vincent Liu et al.OSDI 2023 · 211 citations
  5. Microsecond-scale Preemption for Concurrent GPU-accelerated DNN InferencesMingcong Han, Hanze Zhang, Rong Chen, Haibo ChenOSDI 2022 · 153 citations

Related papers

  1. Efficient Deep Ensemble Inference via Query Difficulty-dependent Task SchedulingZichong Li, Lan Zhang, Mu Yuan, Miaohui Song et al.ICDE 2023 · 4 citations
  2. MOSEL: Inference Serving Using Dynamic Modality SelectionBodun Hu, Le Xu, Jeongyoon Moon, Neeraja J. Yadwadkar et al.EMNLP 2024 · 2 citations
  3. Proteus: A High-Throughput Inference-Serving System with Accuracy ScalingSohaib Ahmad, Hui Guan, Brian D. Friedman, Thomas Williams et al.ASPLOS 2024 · 31 citations
  4. SuperServe: Fine-Grained Inference Serving for Unpredictable WorkloadsAlind Khare, Dhruv Garg, Sukrit Kalra, Snigdha Grandhi et al.NSDI 2025
  5. METIS: Fast Quality-Aware RAG Systems with Configuration AdaptationSiddhant Ray, Rui Pan, Zhuohan Gu, Kuntai Du et al.SOSP 2025 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines