IPA: Inference Pipeline Adaptation to Achieve High Accuracy and Cost-Efficiency
Not on the map. Why?
Abstract (arXiv)
Efficiently optimizing multi-model inference pipelines for fast, accurate, and cost-effective inference is a crucial challenge in machine learning production systems, given their tight end-to-end latency requirements. To simplify the exploration of the vast and intricate trade-off space of latency, accuracy, and cost in inference pipelines, providers frequently opt to consider one of them. However, the challenge lies in reconciling latency, accuracy, and cost trade-offs. To address this challenge and propose a solution to efficiently manage model variants in inference pipelines, we present IPA, an online deep learning Inference Pipeline Adaptation system that efficiently leverages model variants for each deep learning task. Model variants are different versions of pre-trained models for the same deep learning task with variations in resource requirements, latency, and accuracy. IPA dynamically configures batch size, replication, and model variants to optimize accuracy, minimize costs, and meet user-defined latency Service Level Agreements (SLAs) using Integer Programming. It supports multi-objective settings for achieving different trade-offs between accuracy and cost objectives while remaining adaptable to varying workloads and dynamic traffic patterns. Navigating a wider variety of configurations allows namex to achieve better trade-offs between cost and accuracy objectives compared to existing methods. Extensive experiments in a Kubernetes implementation with five real-world inference pipelines demonstrate that IPA improves end-to-end accuracy by up to 21% with a minimal cost increase. The code and data for replications are available at https://github.com/reconfigurable-ml-pipeline/ipa.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 19 of its 70 references that are in the map. First posted on arXiv 24 Aug 2023.
Builds on
19 of 70 references.
References · 19
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Convex optimizationcited by 2,479
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
- 2019Once-for-All: Train One Network and Specialize it for Efficient Deploymentcited by 778
- 2019Deep Learning Recommendation Model for Personalization and Recommendation Systemscited by 327
- 2021AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Promptscited by 265
- 2016Clipper: A Low-Latency Online Prediction Serving Systemcited by 191
- 2022PromptChainer: Chaining Large Language Model Prompts through Visual Programmingcited by 134
- 2020Serving DNNs like Clockwork: Performance Predictability from the Bottom Upcited by 119
- 2018Rafiki: Machine Learning as an Analytics Service Systemcited by 33
- 2018PRETZEL: Opening the Black Box of Machine Learning Prediction Serving Systemscited by 22
7 more
- 2021Llama: A Heterogeneous & Serverless Framework for Auto-Tuning Video Analytics Pipelinescited by 16
- 2022XRBench: An Extended Reality (XR) Machine Learning Benchmark Suite for the Metaversecited by 14
- 2022Unicorn: Reasoning about Configurable System Performance through the lens of Causalitycited by 12
- 2018Overload Control for Scaling WeChat Microservicescited by 6
- 2022Desiderata for next generation of ML model servingcited by 5
- 2023Reconciling High Accuracy, Cost-Efficiency, and Low Latency of Inference Serving Systemscited by 5
- 2020Optimizing Prediction Serving on Low-Latency Serverless Dataflowcited by 3
Built on by
Citing papers per year: 2024: 1; 2025: 1.
2 papers.