arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2204.05223cs.ITeess.SPmath.IT
收藏

具有批处理和提前退出的多用户边缘推理的资源分配(扩展版)

Resource Allocation for Multiuser Edge Inference with Batching and Early Exiting (Extended Version)

Zhiyan Liu, Qiao Lan, Kaibin Huang

摘要:

在网络边缘部署推理服务,称为边缘推理,将计算密集型推理任务从移动设备卸载到边缘服务器,从而增强前者的功能和电池寿命。在多用户系统中,通信和计算($\text{C}^\text{2}$)资源的联合分配(即,调度和带宽分配)通过采用有效的推理技术、中断和提前退出而变得具有挑战性,并且由于用户对准确性和等待时间的要求的异质性而进一步复杂化。批处理将多个任务分组到一个批中用于并行处理以减少耗时的存储器访问并由此提高吞吐量(即,每秒完成的任务)。另一方面,提前退出允许任务从深度神经网络退出,而无需遍历整个网络以支持准确性和延迟之间的权衡。在这项工作中,我们研究了最优$\text{C}^\text{2}$资源分配与提前退出,这是一个NP完全整数规划问题。针对这一挑战,在最大吞吐量准则下设计了一套有效的算法。实验结果表明,最优和次优的$\text{C}^\text{2}$资源分配算法都可以利用集成的资源分配和提前退出机制,使推理吞吐量比传统方案提高一倍.

英文摘要:

The deployment of inference services at the network edge, called edge inference, offloads computation-intensive inference tasks from mobile devices to edge servers, thereby enhancing the former's capabilities and battery lives. In a multiuser system, the joint allocation of communication-and-computation ($\text{C}^\text{2}$) resources (i.e., scheduling and bandwidth allocation) is made challenging by adopting efficient inference techniques, batching and early exiting, and further complicated by the heterogeneity in users' requirements on accuracy and latency. Batching groups multiple tasks into one batch for parallel processing to reduce time-consuming memory access and thereby boosts the throughput (i.e., completed task per second). On the other hand, early exiting allows a task to exit from a deep-neural network without traversing the whole network to support a tradeoff between accuracy and latency. In this work, we study optimal $\text{C}^\text{2}$ resource allocation with batching and early exiting, which is an NP-complete integer programming problem. A set of efficient algorithms are designed under the criterion of maximum throughput by tackling the challenge. Experimental results demonstrate that both optimal and sub-optimal $\text{C}^\text{2}$ resource allocation algorithms can leverage integrated batching and early exiting to double the inference throughput compared with conventional schemes.

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

↑