面向边缘智能的协同模型重训练与推理的在线资源分配
Online Resource Allocation for Edge Intelligence with Colocated Model Retraining and Inference
AI总结:
针对边缘服务器上模型重训练与推理共置时的资源分配难题,提出轻量级在线近似算法ORRIC,平衡训练与推理精度,其竞争比优于仅推理范式,并经真实场景实验验证有效性。
摘要:
随着边缘智能的发展,AI模型越来越多地被推送到边缘以服务无处不在的用户。然而,由于模型、数据和任务的漂移,部署在边缘的AI模型在推理服务阶段会遭受精度下降的问题。模型重训练通过定期使用新到达的数据重新训练模型来处理此类漂移。当在同一资源受限的边缘服务器上同时进行模型重训练和模型推理服务时,一个基本挑战出现在平衡模型重训练和推理的资源分配上,旨在最大化长期推理精度。由于底层数学公式是时间耦合、非凸且NP难的,这个问题尤其困难。为了解决这些挑战,我们引入了一种轻量级且可解释的在线近似算法,命名为ORRIC,旨在优化资源分配以自适应地平衡模型训练和推理的精度。ORRIC的竞争比优于传统的仅推理范式,特别是在数据漂移持续足够长时间的情况下。这凸显了协同模型重训练和推理的优势及适用场景。值得注意的是,ORRIC可以被转化为针对不同资源环境的几种启发式算法。在真实场景中进行的实验验证了ORRIC的有效性。
英文摘要:
With edge intelligence, AI models are increasingly pushed to the edge to serve ubiquitous users. However, due to the drift of model, data, and task, AI model deployed at the edge suffers from degraded accuracy in the inference serving phase. Model retraining handles such drifts by periodically retraining the model with newly arrived data. When colocating model retraining and model inference serving for the same model on resource-limited edge servers, a fundamental challenge arises in balancing the resource allocation for model retraining and inference, aiming to maximize long-term inference accuracy. This problem is particularly difficult due to the underlying mathematical formulation being time-coupled, non-convex, and NP-hard. To address these challenges, we introduce a lightweight and explainable online approximation algorithm, named ORRIC, designed to optimize resource allocation for adaptively balancing the accuracy of model training and inference. The competitive ratio of ORRIC outperforms that of the traditional Inference-Only paradigm, especially when data drift persists for a sufficiently lengthy time. This highlights the advantages and applicable scenarios of colocating model retraining and inference. Notably, ORRIC can be translated into several heuristic algorithms for different resource environments. Experiments conducted in real scenarios validate the effectiveness of ORRIC.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。