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

SneakPeek:面向边缘推理服务的数据感知模型选择与调度

SneakPeek: Data-Aware Model Selection and Scheduling for Inference Serving on the Edge

Joel Wolfrath, Daniel Frink, Abhishek Chandra

AI总结:

针对边缘资源受限场景,本文提出 SneakPeek 数据感知模型选择与调度算法,动态估计模型精度并结合批处理与请求优先级,在截止期限内提升调度效用和推理精度。

摘要:

现代应用越来越依赖推理服务系统,以借助多样化的机器学习模型提供低延迟洞察。现有系统通常利用资源弹性来随需求扩展。然而,许多应用在部署于边缘或其他资源受限环境时,无法依赖硬件扩展。在本工作中,我们提出一种模型选择与调度算法,通过实现精度缩放来提高这些更受限部署的效率。我们表明,使用已剖析模型精度进行决策的现有调度器会偏向测试数据集中存在的标签分布。为解决这一问题,我们提出使用机器学习模型——我们称之为 SneakPeek 模型——根据底层数据动态调整对模型精度的估计。此外,我们贪婪地将推理批处理纳入调度决策,以提高吞吐量并避免在 GPU 内存中换入换出模型的开销。我们的方法采用一种新的请求优先级概念,在获得高精度与满足截止期限之间的权衡中进行协调。利用来自三个真实世界应用的数据和模型,我们表明,所提出的方法在这些硬件受限环境中产生了更高效用的调度和更高精度的推理。

英文摘要:

Modern applications increasingly rely on inference serving systems to provide low-latency insights with a diverse set of machine learning models. Existing systems often utilize resource elasticity to scale with demand. However, many applications cannot rely on hardware scaling when deployed at the edge or other resource-constrained environments. In this work, we propose a model selection and scheduling algorithm that implements accuracy scaling to increase efficiency for these more constrained deployments. We show that existing schedulers that make decisions using profiled model accuracy are biased toward the label distribution present in the test dataset. To address this problem, we propose using ML models -- which we call SneakPeek models -- to dynamically adjust estimates of model accuracy, based on the underlying data. Furthermore, we greedily incorporate inference batching into scheduling decisions to improve throughput and avoid the overhead of swapping models in and out of GPU memory. Our approach employs a new notion of request priority, which navigates the trade-off between attaining high accuracy and satisfying deadlines. Using data and models from three real-world applications, we show that our proposed approaches result in higher-utility schedules and higher accuracy inferences in these hardware-constrained environments.

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

↑