基于混合模型并行性的资源高效协同边缘变压器推理

IF 9.2 2区 计算机科学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS
Shengyuan Ye;Bei Ouyang;Jiangsu Du;Liekang Zeng;Tianyi Qian;Wenzhong Ou;Xiaowen Chu;Deke Guo;Yutong Lu;Xu Chen
{"title":"基于混合模型并行性的资源高效协同边缘变压器推理","authors":"Shengyuan Ye;Bei Ouyang;Jiangsu Du;Liekang Zeng;Tianyi Qian;Wenzhong Ou;Xiaowen Chu;Deke Guo;Yutong Lu;Xu Chen","doi":"10.1109/TMC.2025.3574695","DOIUrl":null,"url":null,"abstract":"Transformer-based models have unlocked a plethora of powerful intelligent applications at the edge, such as voice assistant in smart home. Traditional deployment approaches offload the inference workloads to the remote cloud server, which would induce substantial pressure on the backbone network as well as raise users’ privacy concerns. To address that, in-situ inference has been recently recognized for edge intelligence, but it still confronts significant challenges stemming from the conflict between intensive workloads and limited on-device computing resources. In this paper, we leverage our observation that many edge environments usually comprise a rich set of accompanying trusted edge devices with idle resources and propose <monospace>Galaxy+</monospace>, a collaborative edge AI system that breaks the resource walls across heterogeneous edge devices for efficient Transformer inference acceleration. <monospace>Galaxy+</monospace> introduces a novel hybrid model parallelism to orchestrate collaborative inference, along with a heterogeneity and memory-aware parallelism planning for fully exploiting the resource potential. To mitigate the impact of tensor synchronizations on inference latency under bandwidth-constrained edge environments, <monospace>Galaxy+</monospace> devises a tile-based fine-grained overlapping of communication and computation. Furthermore, a fault-tolerant re-scheduling mechanism is developed to address device-level resource dynamics, ensuring stable and low-latency inference. Extensive evaluation based on prototype implementation demonstrates that <monospace>Galaxy+</monospace> remarkably outperforms state-of-the-art approaches under various edge environment setups, achieving a <inline-formula><tex-math>$1.2\\times$</tex-math></inline-formula> to <inline-formula><tex-math>$4.24\\times$</tex-math></inline-formula> end-to-end latency reduction. Besides, <monospace>Galaxy+</monospace> can adapt to device-level resource dynamics, swiftly rescheduling and restoring inference in the presence of unexpected straggler devices.","PeriodicalId":50389,"journal":{"name":"IEEE Transactions on Mobile Computing","volume":"24 10","pages":"10945-10962"},"PeriodicalIF":9.2000,"publicationDate":"2025-03-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Resource-Efficient Collaborative Edge Transformer Inference With Hybrid Model Parallelism\",\"authors\":\"Shengyuan Ye;Bei Ouyang;Jiangsu Du;Liekang Zeng;Tianyi Qian;Wenzhong Ou;Xiaowen Chu;Deke Guo;Yutong Lu;Xu Chen\",\"doi\":\"10.1109/TMC.2025.3574695\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Transformer-based models have unlocked a plethora of powerful intelligent applications at the edge, such as voice assistant in smart home. Traditional deployment approaches offload the inference workloads to the remote cloud server, which would induce substantial pressure on the backbone network as well as raise users’ privacy concerns. To address that, in-situ inference has been recently recognized for edge intelligence, but it still confronts significant challenges stemming from the conflict between intensive workloads and limited on-device computing resources. In this paper, we leverage our observation that many edge environments usually comprise a rich set of accompanying trusted edge devices with idle resources and propose <monospace>Galaxy+</monospace>, a collaborative edge AI system that breaks the resource walls across heterogeneous edge devices for efficient Transformer inference acceleration. <monospace>Galaxy+</monospace> introduces a novel hybrid model parallelism to orchestrate collaborative inference, along with a heterogeneity and memory-aware parallelism planning for fully exploiting the resource potential. To mitigate the impact of tensor synchronizations on inference latency under bandwidth-constrained edge environments, <monospace>Galaxy+</monospace> devises a tile-based fine-grained overlapping of communication and computation. Furthermore, a fault-tolerant re-scheduling mechanism is developed to address device-level resource dynamics, ensuring stable and low-latency inference. Extensive evaluation based on prototype implementation demonstrates that <monospace>Galaxy+</monospace> remarkably outperforms state-of-the-art approaches under various edge environment setups, achieving a <inline-formula><tex-math>$1.2\\\\times$</tex-math></inline-formula> to <inline-formula><tex-math>$4.24\\\\times$</tex-math></inline-formula> end-to-end latency reduction. Besides, <monospace>Galaxy+</monospace> can adapt to device-level resource dynamics, swiftly rescheduling and restoring inference in the presence of unexpected straggler devices.\",\"PeriodicalId\":50389,\"journal\":{\"name\":\"IEEE Transactions on Mobile Computing\",\"volume\":\"24 10\",\"pages\":\"10945-10962\"},\"PeriodicalIF\":9.2000,\"publicationDate\":\"2025-03-29\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IEEE Transactions on Mobile Computing\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://ieeexplore.ieee.org/document/11017462/\",\"RegionNum\":2,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, INFORMATION SYSTEMS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Mobile Computing","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/11017462/","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0

摘要

基于变压器的模型已经在边缘解锁了大量强大的智能应用程序,例如智能家居中的语音助手。传统的部署方法将推理工作负载卸载到远程云服务器上,这将对骨干网络造成巨大压力,并引起用户的隐私问题。为了解决这个问题,原位推理最近已经被认可为边缘智能,但它仍然面临着来自密集工作负载和有限设备上计算资源之间冲突的重大挑战。在本文中,我们利用我们的观察,即许多边缘环境通常包含一组丰富的具有空闲资源的伴随可信边缘设备,并提出了Galaxy+,这是一种协作边缘人工智能系统,它打破了跨异构边缘设备的资源墙,以实现高效的变压器推理加速。Galaxy+引入了一种新的混合并行模型来协调协同推理,以及异构和内存感知并行规划,以充分利用资源潜力。为了减轻张量同步对带宽受限边缘环境下推理延迟的影响,Galaxy+设计了一种基于tile的通信和计算的细粒度重叠。此外,开发了一种容错重调度机制来解决设备级资源动态问题,确保了稳定和低延迟的推理。基于原型实现的广泛评估表明,Galaxy+在各种边缘环境设置下的性能明显优于最先进的方法,实现了端到端延迟降低1.2倍至4.24倍。此外,Galaxy+可以适应设备级资源动态,在出现意外掉队设备时快速重新调度和恢复推理。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Resource-Efficient Collaborative Edge Transformer Inference With Hybrid Model Parallelism
Transformer-based models have unlocked a plethora of powerful intelligent applications at the edge, such as voice assistant in smart home. Traditional deployment approaches offload the inference workloads to the remote cloud server, which would induce substantial pressure on the backbone network as well as raise users’ privacy concerns. To address that, in-situ inference has been recently recognized for edge intelligence, but it still confronts significant challenges stemming from the conflict between intensive workloads and limited on-device computing resources. In this paper, we leverage our observation that many edge environments usually comprise a rich set of accompanying trusted edge devices with idle resources and propose Galaxy+, a collaborative edge AI system that breaks the resource walls across heterogeneous edge devices for efficient Transformer inference acceleration. Galaxy+ introduces a novel hybrid model parallelism to orchestrate collaborative inference, along with a heterogeneity and memory-aware parallelism planning for fully exploiting the resource potential. To mitigate the impact of tensor synchronizations on inference latency under bandwidth-constrained edge environments, Galaxy+ devises a tile-based fine-grained overlapping of communication and computation. Furthermore, a fault-tolerant re-scheduling mechanism is developed to address device-level resource dynamics, ensuring stable and low-latency inference. Extensive evaluation based on prototype implementation demonstrates that Galaxy+ remarkably outperforms state-of-the-art approaches under various edge environment setups, achieving a $1.2\times$ to $4.24\times$ end-to-end latency reduction. Besides, Galaxy+ can adapt to device-level resource dynamics, swiftly rescheduling and restoring inference in the presence of unexpected straggler devices.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
IEEE Transactions on Mobile Computing
IEEE Transactions on Mobile Computing 工程技术-电信学
CiteScore
12.90
自引率
2.50%
发文量
403
审稿时长
6.6 months
期刊介绍: IEEE Transactions on Mobile Computing addresses key technical issues related to various aspects of mobile computing. This includes (a) architectures, (b) support services, (c) algorithm/protocol design and analysis, (d) mobile environments, (e) mobile communication systems, (f) applications, and (g) emerging technologies. Topics of interest span a wide range, covering aspects like mobile networks and hosts, mobility management, multimedia, operating system support, power management, online and mobile environments, security, scalability, reliability, and emerging technologies such as wearable computers, body area networks, and wireless sensor networks. The journal serves as a comprehensive platform for advancements in mobile computing research.
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信