arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.06304cs.DCcs.ITcs.LGmath.IT
收藏

具有批处理能力的边缘服务器的多用户协同推理

Multi-user Co-inference with Batch Processing Capable Edge Server

Tsinghua University(清华大学);Hitachi (China) Research & Development Cooperation(日立(中国)研发有限公司)

Wenqi Shi, Sheng Zhou, Zhisheng Niu, Miao Jiang, Lu Geng

摘要:

图形处理单元(GPU)可以通过批处理提高深度神经网络推理吞吐量,其中多个任务被并发处理。我们专注于新的场景,能源受限的移动设备卸载推理任务的边缘服务器与GPU。将推理任务划分为多个子任务,以实现更细粒度的卸载和调度,并研究了推理延迟约束下的用户能耗最小化问题.为了处理并发批处理引入的耦合卸载和调度,我们首先考虑具有恒定边缘推理延迟和相同延迟约束的离线问题。证明了独立优化每个用户的卸载策略和将所有相同的子任务聚合在一批中是最优的,从而启发了独立划分和相同子任务聚合(IP-SSA)算法。此外,最优分组(OG)算法提出了最优分组任务时的延迟约束是不同的。最后,当未来的任务到达无法精确预测,一个深度确定性策略梯度(DDPG)代理被训练调用OG。实验结果表明,在离线环境下,IP-SSA协议最多可降低94.9%的用户能耗,而在在线环境下,DDPG-OG协议的能耗最多可降低8.92%.

英文摘要:

Graphics processing units (GPUs) can improve deep neural network inference throughput via batch processing, where multiple tasks are concurrently processed. We focus on novel scenarios that the energy-constrained mobile devices offload inference tasks to an edge server with GPU. The inference task is partitioned into sub-tasks for a finer granularity of offloading and scheduling, and the user energy consumption minimization problem under inference latency constraints is investigated. To deal with the coupled offloading and scheduling introduced by concurrent batch processing, we first consider an offline problem with a constant edge inference latency and the same latency constraint. It is proven that optimizing the offloading policy of each user independently and aggregating all the same sub-tasks in one batch is optimal, and thus the independent partitioning and same sub-task aggregating (IP-SSA) algorithm is inspired. Further, the optimal grouping (OG) algorithm is proposed to optimally group tasks when the latency constraints are different. Finally, when future task arrivals cannot be precisely predicted, a deep deterministic policy gradient (DDPG) agent is trained to call OG. Experiments show that IP-SSA reduces up to 94.9\% user energy consumption in the offline setting, while DDPG-OG outperforms DDPG-IP-SSA by up to 8.92\% in the online setting.

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

↑