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

QoS-Aware在边缘上部署深度学习服务,实现多种服务

QoS-Aware Placement of Deep Learning Services on the Edge with Multiple Service Implementations

Nathaniel Hudson, Hana Khamfroush, Daniel E. Lucani

摘要:

移动边缘计算将计算密集型服务推到更靠近用户的地方,以减少由于物理邻近而导致的延迟。这导致许多人考虑在边缘部署深度学习模型-通常称为边缘智能(EI)。EI服务可以有许多提供不同QoS的模型实现。例如,一个模型可以比另一个模型更快地执行推理(从而减少延迟),同时在评估时实现较低的准确性。在本文中,我们研究联合服务布局和模型调度EI服务的目标,以最大限度地提高服务质量(QoS)的最终用户,EI服务有多个实现,以满足用户的请求,每个不同的成本和QoS的好处。我们把这个问题转化为一个整数线性规划,并证明了它是NP-困难的。然后,我们证明了目标是等价于最大化一个单调递增,子模集函数,从而可以解决greenerity,同时保持(1-1/e)-近似保证。然后,我们提出了两个贪心算法:一个,理论上保证这种近似和另一个经验匹配其性能与更高的效率。最后,我们根据最佳解决方案和一些基线彻底评估了所提出的算法,以便在合成和真实场景中做出放置和调度决策。在现实世界的情况下,我们考虑使用ImageNet 2012数据集进行请求的真实机器学习模型。我们的数值实验经验表明,我们更有效的贪心算法是能够近似的最优解的平均近似值为0.904,而下一个最接近的基线达到平均0.607近似。

英文摘要:

Mobile edge computing pushes computationally-intensive services closer to the user to provide reduced delay due to physical proximity. This has led many to consider deploying deep learning models on the edge -- commonly known as edge intelligence (EI). EI services can have many model implementations that provide different QoS. For instance, one model can perform inference faster than another (thus reducing latency) while achieving less accuracy when evaluated. In this paper, we study joint service placement and model scheduling of EI services with the goal to maximize Quality-of-Servcice (QoS) for end users where EI services have multiple implementations to serve user requests, each with varying costs and QoS benefits. We cast the problem as an integer linear program and prove that it is NP-hard. We then prove the objective is equivalent to maximizing a monotone increasing, submodular set function and thus can be solved greedily while maintaining a (1-1/e)-approximation guarantee. We then propose two greedy algorithms: one that theoretically guarantees this approximation and another that empirically matches its performance with greater efficiency. Finally, we thoroughly evaluate the proposed algorithm for making placement and scheduling decisions in both synthetic and real-world scenarios against the optimal solution and some baselines. In the real-world case, we consider real machine learning models using the ImageNet 2012 data-set for requests. Our numerical experiments empirically show that our more efficient greedy algorithm is able to approximate the optimal solution with a 0.904 approximation on average, while the next closest baseline achieves a 0.607 approximation on average.

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

↑