Online Resource Allocation for Edge Intelligence with Colocated Model Retraining and Inference

Huaiguang Cai, Zhi Zhou, Qianyi Huang
5/25/2024
cs.LG

No official code found. Best implementation: caihuaiguang/ORRIC (33 stars, MIT, last commit 2024-10-13).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

caihuaiguang/ORRICCommunity100%
MIT

INFOCOM 2024: Online Resource Allocation for Edge Intelligence with Colocated Model Retraining and Inference

336PythonJan 10, 20242 years agoMIT

Similar Papers

Cite this paper

@article{cai2024online,
  title  = {Online Resource Allocation for Edge Intelligence with Colocated Model Retraining and Inference},
  author = {Huaiguang Cai and Zhi Zhou and Qianyi Huang},
  year   = {2024},
  eprint = {2405.16029},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.16029v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.16029.svg)](https://codeofpaper.com/paper/2405.16029)

Discussion