Mehran Salmani, Saeid Ghafouri, Alireza Sanaee, Kamran Razavi, M. Muhlhauser, Joseph Doyle, Pooyan Jamshidi, Mohsen Sharif Iran University of Science, Technology, Queen Mary University London, Technical University of Darmstadt, U. O. N. Carolina
{"title":"协调高准确度、低成本效益与低延迟的推理服务系统","authors":"Mehran Salmani, Saeid Ghafouri, Alireza Sanaee, Kamran Razavi, M. Muhlhauser, Joseph Doyle, Pooyan Jamshidi, Mohsen Sharif Iran University of Science, Technology, Queen Mary University London, Technical University of Darmstadt, U. O. N. Carolina","doi":"10.1145/3578356.3592578","DOIUrl":null,"url":null,"abstract":"The use of machine learning (ML) inference for various applications is growing drastically. ML inference services engage with users directly, requiring fast and accurate responses. Moreover, these services face dynamic workloads of requests, imposing changes in their computing resources. Failing to right-size computing resources results in either latency service level objectives (SLOs) violations or wasted computing resources. Adapting to dynamic workloads considering all the pillars of accuracy, latency, and resource cost is challenging. In response to these challenges, we propose InfAdapter, which proactively selects a set of ML model variants with their resource allocations to meet latency SLO while maximizing an objective function composed of accuracy and cost. InfAdapter decreases SLO violation and costs up to 65% and 33%, respectively, compared to a popular industry autoscaler (Kubernetes Vertical Pod Autoscaler).","PeriodicalId":370204,"journal":{"name":"Proceedings of the 3rd Workshop on Machine Learning and Systems","volume":"183 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-04-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":"{\"title\":\"Reconciling High Accuracy, Cost-Efficiency, and Low Latency of Inference Serving Systems\",\"authors\":\"Mehran Salmani, Saeid Ghafouri, Alireza Sanaee, Kamran Razavi, M. Muhlhauser, Joseph Doyle, Pooyan Jamshidi, Mohsen Sharif Iran University of Science, Technology, Queen Mary University London, Technical University of Darmstadt, U. O. N. Carolina\",\"doi\":\"10.1145/3578356.3592578\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The use of machine learning (ML) inference for various applications is growing drastically. ML inference services engage with users directly, requiring fast and accurate responses. Moreover, these services face dynamic workloads of requests, imposing changes in their computing resources. Failing to right-size computing resources results in either latency service level objectives (SLOs) violations or wasted computing resources. Adapting to dynamic workloads considering all the pillars of accuracy, latency, and resource cost is challenging. In response to these challenges, we propose InfAdapter, which proactively selects a set of ML model variants with their resource allocations to meet latency SLO while maximizing an objective function composed of accuracy and cost. InfAdapter decreases SLO violation and costs up to 65% and 33%, respectively, compared to a popular industry autoscaler (Kubernetes Vertical Pod Autoscaler).\",\"PeriodicalId\":370204,\"journal\":{\"name\":\"Proceedings of the 3rd Workshop on Machine Learning and Systems\",\"volume\":\"183 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-04-21\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 3rd Workshop on Machine Learning and Systems\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3578356.3592578\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 3rd Workshop on Machine Learning and Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3578356.3592578","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3
摘要
机器学习(ML)推理在各种应用中的使用正在急剧增长。机器学习推理服务直接与用户互动,需要快速准确的响应。此外,这些服务面临请求的动态工作负载,对其计算资源施加了更改。如果计算资源的大小不合适,将导致违反延迟服务水平目标(slo)或浪费计算资源。考虑到准确性、延迟和资源成本的所有支柱,适应动态工作负载是具有挑战性的。为了应对这些挑战,我们提出了InfAdapter,它主动选择一组ML模型变体及其资源分配,以满足延迟SLO,同时最大化由准确性和成本组成的目标函数。与流行的行业自动缩放器(Kubernetes Vertical Pod autoscaler)相比,InfAdapter分别减少了65%和33%的SLO违规和成本。
Reconciling High Accuracy, Cost-Efficiency, and Low Latency of Inference Serving Systems
The use of machine learning (ML) inference for various applications is growing drastically. ML inference services engage with users directly, requiring fast and accurate responses. Moreover, these services face dynamic workloads of requests, imposing changes in their computing resources. Failing to right-size computing resources results in either latency service level objectives (SLOs) violations or wasted computing resources. Adapting to dynamic workloads considering all the pillars of accuracy, latency, and resource cost is challenging. In response to these challenges, we propose InfAdapter, which proactively selects a set of ML model variants with their resource allocations to meet latency SLO while maximizing an objective function composed of accuracy and cost. InfAdapter decreases SLO violation and costs up to 65% and 33%, respectively, compared to a popular industry autoscaler (Kubernetes Vertical Pod Autoscaler).