在边缘视频分析中实现高效内存推理

Arthi Padmanabhan, A. Iyer, G. Ananthanarayanan, Yuanchao Shu, Nikolaos Karianakis, G. Xu, R. Netravali
{"title":"在边缘视频分析中实现高效内存推理","authors":"Arthi Padmanabhan, A. Iyer, G. Ananthanarayanan, Yuanchao Shu, Nikolaos Karianakis, G. Xu, R. Netravali","doi":"10.1145/3477083.3480150","DOIUrl":null,"url":null,"abstract":"Video analytics pipelines incorporate on-premise edge servers to lower analysis latency, ensure privacy, and reduce bandwidth requirements. However, compared to the cloud, edge servers typically have lower processing power and GPU memory, limiting the number of video streams that they can manage and analyze. Existing solutions for memory management, such as swapping models in and out of GPU, having a common model stem, or compression and quantization to reduce the model size incur high overheads and often provide limited benefits. In this paper, we propose model merging as an approach towards memory management at the edge. This proposal is based on our observation that models at the edge share common layers, and that merging these common layers across models can result in significant memory savings. Our preliminary evaluation indicates that such an approach could result in up to 75% savings in the memory requirements. We conclude by discussing several challenges involved with realizing the model merging vision.","PeriodicalId":206784,"journal":{"name":"Proceedings of the 3rd ACM Workshop on Hot Topics in Video Analytics and Intelligent Edges","volume":"66 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-10-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":"{\"title\":\"Towards memory-efficient inference in edge video analytics\",\"authors\":\"Arthi Padmanabhan, A. Iyer, G. Ananthanarayanan, Yuanchao Shu, Nikolaos Karianakis, G. Xu, R. Netravali\",\"doi\":\"10.1145/3477083.3480150\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Video analytics pipelines incorporate on-premise edge servers to lower analysis latency, ensure privacy, and reduce bandwidth requirements. However, compared to the cloud, edge servers typically have lower processing power and GPU memory, limiting the number of video streams that they can manage and analyze. Existing solutions for memory management, such as swapping models in and out of GPU, having a common model stem, or compression and quantization to reduce the model size incur high overheads and often provide limited benefits. In this paper, we propose model merging as an approach towards memory management at the edge. This proposal is based on our observation that models at the edge share common layers, and that merging these common layers across models can result in significant memory savings. Our preliminary evaluation indicates that such an approach could result in up to 75% savings in the memory requirements. We conclude by discussing several challenges involved with realizing the model merging vision.\",\"PeriodicalId\":206784,\"journal\":{\"name\":\"Proceedings of the 3rd ACM Workshop on Hot Topics in Video Analytics and Intelligent Edges\",\"volume\":\"66 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-10-25\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"5\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 3rd ACM Workshop on Hot Topics in Video Analytics and Intelligent Edges\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3477083.3480150\",\"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 ACM Workshop on Hot Topics in Video Analytics and Intelligent Edges","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3477083.3480150","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

摘要

视频分析管道包含内部部署的边缘服务器,以降低分析延迟、确保隐私并降低带宽需求。然而,与云相比,边缘服务器通常具有较低的处理能力和GPU内存,限制了它们可以管理和分析的视频流的数量。现有的内存管理解决方案,例如在GPU内外交换模型,使用公共模型系统,或压缩和量化以减少模型大小,会导致高昂的开销,并且通常提供有限的好处。在本文中,我们提出模型合并作为边缘内存管理的一种方法。这个建议是基于我们的观察,即边缘上的模型共享公共层,并且跨模型合并这些公共层可以显著节省内存。我们的初步评估表明,这种方法可以节省高达75%的内存需求。最后,我们讨论了实现模型合并愿景所涉及的几个挑战。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Towards memory-efficient inference in edge video analytics
Video analytics pipelines incorporate on-premise edge servers to lower analysis latency, ensure privacy, and reduce bandwidth requirements. However, compared to the cloud, edge servers typically have lower processing power and GPU memory, limiting the number of video streams that they can manage and analyze. Existing solutions for memory management, such as swapping models in and out of GPU, having a common model stem, or compression and quantization to reduce the model size incur high overheads and often provide limited benefits. In this paper, we propose model merging as an approach towards memory management at the edge. This proposal is based on our observation that models at the edge share common layers, and that merging these common layers across models can result in significant memory savings. Our preliminary evaluation indicates that such an approach could result in up to 75% savings in the memory requirements. We conclude by discussing several challenges involved with realizing the model merging vision.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信