Adaptive Edge Offloading for Image Classification Under Rate Limit

Jiaming Qiu, Ruiqi Wang, Ayan Chakrabarti, Roch Guerin, Chenyang Lu
7/31/2022
20 citations
cs.DCcs.LGcs.NI

Official code: qiujiaming315/edgeml-dqn (15 stars, Jupyter Notebook, MIT, last commit 2023-07-17).

Abstract

This paper considers a setting where embedded devices are used to acquire and classify images. Because of limited computing capacity, embedded devices rely on a parsimonious classification model with uneven accuracy.

Show full abstract

When local classification is deemed inaccurate, devices can decide to offload the image to an edge server with a more accurate but resource-intensive model. Resource constraints, e.g., network bandwidth, however, require regulating such transmissions to avoid congestion and high latency. The paper investigates this offloading problem when transmissions regulation is through a token bucket, a mechanism commonly used for such purposes. The goal is to devise a lightweight, online offloading policy that optimizes an application-specific metric (e.g., classification accuracy) under the constraints of the token bucket. The paper develops a policy based on a Deep Q-Network (DQN), and demonstrates both its efficacy and the feasibility of its deployment on embedded devices. Of note is the fact that the policy can handle complex input patterns, including correlation in image arrivals and classification accuracy. The evaluation is carried out by performing image classification over a local testbed using synthetic traces generated from the ImageNet image classification benchmark. Implementation of this work is available at https://github.com/qiujiaming315/edgeml-dqn.

View on arXivView PDF

Code Implementations(1)

MIT

[EMSOFT 2022] Adaptive Edge Offloading for Image Classification Under Rate Limit

151Jupyter Notebook, PythonJul 31, 20223 years agoMIT
deep-reinforcement-learningedge-computingembedded-machine-learningimage-classificationtoken-bucket

Similar Papers

Cite this paper

@article{qiu2022adaptive,
  title  = {Adaptive Edge Offloading for Image Classification Under Rate Limit},
  author = {Jiaming Qiu and Ruiqi Wang and Ayan Chakrabarti and Roch Guerin and Chenyang Lu},
  year   = {2022},
  eprint = {2208.00485},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2208.00485v1}
}

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/2208.00485.svg)](https://codeofpaper.com/paper/2208.00485)

Discussion