MOSEL:使用动态模态选择的推理服务

Bodun Hu, Le Xu, Jeongyoon Moon, Neeraja J. Yadwadkar, Aditya Akella
{"title":"MOSEL:使用动态模态选择的推理服务","authors":"Bodun Hu, Le Xu, Jeongyoon Moon, Neeraja J. Yadwadkar, Aditya Akella","doi":"arxiv-2310.18481","DOIUrl":null,"url":null,"abstract":"Rapid advancements over the years have helped machine learning models reach\npreviously hard-to-achieve goals, sometimes even exceeding human capabilities.\nHowever, to attain the desired accuracy, the model sizes and in turn their\ncomputational requirements have increased drastically. Thus, serving\npredictions from these models to meet any target latency and cost requirements\nof applications remains a key challenge, despite recent work in building\ninference-serving systems as well as algorithmic approaches that dynamically\nadapt models based on inputs. In this paper, we introduce a form of dynamism,\nmodality selection, where we adaptively choose modalities from inference inputs\nwhile maintaining the model quality. We introduce MOSEL, an automated inference\nserving system for multi-modal ML models that carefully picks input modalities\nper request based on user-defined performance and accuracy requirements. MOSEL\nexploits modality configurations extensively, improving system throughput by\n3.6$\\times$ with an accuracy guarantee and shortening job completion times by\n11$\\times$.","PeriodicalId":501333,"journal":{"name":"arXiv - CS - Operating Systems","volume":"2 3","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2023-10-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"MOSEL: Inference Serving Using Dynamic Modality Selection\",\"authors\":\"Bodun Hu, Le Xu, Jeongyoon Moon, Neeraja J. Yadwadkar, Aditya Akella\",\"doi\":\"arxiv-2310.18481\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Rapid advancements over the years have helped machine learning models reach\\npreviously hard-to-achieve goals, sometimes even exceeding human capabilities.\\nHowever, to attain the desired accuracy, the model sizes and in turn their\\ncomputational requirements have increased drastically. Thus, serving\\npredictions from these models to meet any target latency and cost requirements\\nof applications remains a key challenge, despite recent work in building\\ninference-serving systems as well as algorithmic approaches that dynamically\\nadapt models based on inputs. In this paper, we introduce a form of dynamism,\\nmodality selection, where we adaptively choose modalities from inference inputs\\nwhile maintaining the model quality. We introduce MOSEL, an automated inference\\nserving system for multi-modal ML models that carefully picks input modalities\\nper request based on user-defined performance and accuracy requirements. MOSEL\\nexploits modality configurations extensively, improving system throughput by\\n3.6$\\\\times$ with an accuracy guarantee and shortening job completion times by\\n11$\\\\times$.\",\"PeriodicalId\":501333,\"journal\":{\"name\":\"arXiv - CS - Operating Systems\",\"volume\":\"2 3\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-10-27\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Operating Systems\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2310.18481\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Operating Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2310.18481","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

多年来的快速发展帮助机器学习模型实现了以前难以实现的目标,有时甚至超过了人类的能力。然而,为了达到期望的精度,模型的大小和它们的计算需求急剧增加。因此,尽管最近在构建推理服务系统以及基于输入动态调整模型的算法方法方面的工作,但从这些模型中提供预测以满足应用程序的任何目标延迟和成本要求仍然是一个关键挑战。在本文中,我们引入了一种动态形式,模态选择,在保持模型质量的同时,我们自适应地从推理输入中选择模态。我们介绍了MOSEL,这是一个针对多模态ML模型的自动推理服务系统,它根据用户定义的性能和精度要求仔细选择每个请求的输入模态。mosel广泛利用了模态配置,在保证精度的同时将系统吞吐量提高了3.6倍,并将作业完成时间缩短了11倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
MOSEL: Inference Serving Using Dynamic Modality Selection
Rapid advancements over the years have helped machine learning models reach previously hard-to-achieve goals, sometimes even exceeding human capabilities. However, to attain the desired accuracy, the model sizes and in turn their computational requirements have increased drastically. Thus, serving predictions from these models to meet any target latency and cost requirements of applications remains a key challenge, despite recent work in building inference-serving systems as well as algorithmic approaches that dynamically adapt models based on inputs. In this paper, we introduce a form of dynamism, modality selection, where we adaptively choose modalities from inference inputs while maintaining the model quality. We introduce MOSEL, an automated inference serving system for multi-modal ML models that carefully picks input modalities per request based on user-defined performance and accuracy requirements. MOSEL exploits modality configurations extensively, improving system throughput by 3.6$\times$ with an accuracy guarantee and shortening job completion times by 11$\times$.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Analysis of Synchronization Mechanisms in Operating Systems Skip TLB flushes for reused pages within mmap's eBPF-mm: Userspace-guided memory management in Linux with eBPF BULKHEAD: Secure, Scalable, and Efficient Kernel Compartmentalization with PKS Rethinking Programmed I/O for Fast Devices, Cheap Cores, and Coherent Interconnects
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1