arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2503.22982cs.NIcs.AI
收藏

PartialLoading:用于参数共享边缘推理的用户调度与带宽分配

PartialLoading: User Scheduling and Bandwidth Allocation for Parameter-sharing Edge Inference

Department of Electrical and Electronic Engineering, University of Hong Kong(电子工程系,香港大学);Hong Kong JC STEM Lab of Smart City(智慧城市JC STEM实验室);Department of Computer Science, City University of Hong Kong(计算机科学系,城市大学)

Guanqiao Qu, Qian Chen, Xianhao Chen, Kaibin Huang, Yuguang Fang

AI总结:

针对边缘推理中模型加载延迟高的问题,提出PartialLoading框架,通过联合用户调度与带宽分配重用模型间共享参数,显著提升了截止时间约束下的任务吞吐量。

摘要:

通过提供推理卸载服务,边缘推理推动了AI应用在网络边缘的快速增长。然而,如何降低推理延迟仍是一个重大挑战。为解决这一问题,我们开发了一种用于多用户边缘推理的参数共享AI模型加载(PartialLoading)框架,该框架利用了两个关键洞察:1)大部分延迟源于将AI模型加载到服务器GPU内存中;2)不同的AI模型可以共享大量参数,应避免对这些参数的冗余加载。为此,我们提出了一个联合多用户调度与频谱带宽分配问题,通过利用模型间的共享参数块来最大化任务吞吐量。其直觉是合理调度用户请求,以在连续加载的模型间重用共享参数块,从而大幅减少模型加载时间。为便于求解,我们将该问题解耦为两个子问题,即用户调度和带宽分配,并证明顺序求解它们可得到原问题的解。由于该问题的NP困难性,我们首先研究了一个称为“backbone-sharing”的重要特例,并设计了一种基于动态规划的算法,在多项式时间内获得最优解。对于一般情况,我们提出了一种贪心启发式算法,以高效地获得次优解。仿真结果表明,与不利用参数共享的用户调度相比,所提框架在截止时间约束下显著提高了任务吞吐量。

英文摘要:

By provisioning inference offloading services, edge inference drives the rapid growth of AI applications at network edge. However, how to reduce the inference latency remains a significant challenge. To address this issue, we develop a parameter-sharing AI model loading (PartialLoading) framework for multi-user edge inference, which exploits two key insights: 1) the majority of latency arises from loading AI models into server GPU memory, and 2) different AI models can share a significant number of parameters, for which redundant loading should be avoided. Towards this end, we formulate a joint multi-user scheduling and spectrum bandwidth allocation problem to maximize task throughput by exploiting shared parameter blocks across models. The intuition is to judiciously schedule user requests to reuse the shared parameter blocks between consecutively loaded models, thereby reducing model loading time substantially. To facilitate solution finding, we decouple the problem into two sub-problems, i.e., user scheduling and bandwidth allocation, showing that solving them sequentially leads to the solution to the original problem. Due to the NP-hardness of the problem, we first study an important special case called the "backbone-sharing" case, and design a dynamic programming-based algorithm to obtain the optimal solution in polynomial time. For the general case, we propose a greedy heuristic to obtain the sub-optimal solution efficiently. Simulation results demonstrate that the proposed framework significantly improves task throughput under deadline constraints compared with user scheduling without exploiting parameter sharing.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑