arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.01519cs.LGcs.DCcs.OS
收藏

BCEdge:边缘平台上具备自适应批处理的SLO感知DNN推理服务

BCEdge: SLO-Aware DNN Inference Services with Adaptive Batching on Edge Platforms

Harbin Institute of Technology(哈尔滨工业大学)

Ziyang Zhang, Huan Li, Yang Zhao, Changyao Lin, Jie Liu

AI总结:

针对边缘平台多DNN模型推理的高吞吐低延迟及SLO保障需求,提出基于最大熵DRL的BCEdge调度框架,通过协同优化批大小与并发模型数提升效用,性能优于现有方案。

摘要:

随着深度神经网络(DNN)被广泛应用于各类边缘智能应用,边缘推理平台同时具备高吞吐量和低延迟特性至关重要。这类承载多个DNN模型的边缘平台给调度器设计带来了新挑战:其一,每个请求可能有不同的服务等级目标(SLOs)以提升服务质量(QoS);其二,边缘平台需能高效调度多个异构DNN模型,从而提升系统利用率。为实现这两大目标,本文提出BCEdge——一种新型的基于学习的调度框架,可在边缘平台上实现DNN推理服务的自适应批处理与并发执行。我们定义了一个效用函数来评估吞吐量与延迟之间的权衡关系。BCEdge中的调度器借助基于最大熵的深度强化学习(DRL),通过自动协同优化批大小和并发模型数量来最大化效用。我们在不同边缘平台上实现的原型系统表明,与现有最优方案相比,所提出的BCEdge在满足SLOs的同时,效用平均提升最高达37.6%。

英文摘要:

As deep neural networks (DNNs) are being applied to a wide range of edge intelligent applications, it is critical for edge inference platforms to have both high-throughput and low-latency at the same time. Such edge platforms with multiple DNN models pose new challenges for scheduler designs. First, each request may have different service level objectives (SLOs) to improve quality of service (QoS). Second, the edge platforms should be able to efficiently schedule multiple heterogeneous DNN models so that system utilization can be improved. To meet these two goals, this paper proposes BCEdge, a novel learning-based scheduling framework that takes adaptive batching and concurrent execution of DNN inference services on edge platforms. We define a utility function to evaluate the trade-off between throughput and latency. The scheduler in BCEdge leverages maximum entropy-based deep reinforcement learning (DRL) to maximize utility by 1) co-optimizing batch size and 2) the number of concurrent models automatically. Our prototype implemented on different edge platforms shows that the proposed BCEdge enhances utility by up to 37.6% on average, compared to state-of-the-art solutions, while satisfying SLOs.

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

↑