Real-time Neural Network Inference on Extremely Weak Devices: Agile Offloading with Explainable AI

Kai Huang, Wei Gao
12/21/2023
cs.LGcs.AI

No official code found. Best implementation: pittisl/AgileNN (18 stars, TensorFlow, last commit 2023-04-13).

Abstract

With the wide adoption of AI applications, there is a pressing need of enabling real-time neural network (NN) inference on small embedded devices, but deploying NNs and achieving high performance of NN inference on these small devices is challenging due to their extremely weak capabilities. Although NN partitioning and offloading can contribute to such deployment, they are incapable of minimizing the local costs at embedded devices. Instead, we suggest to address this challenge via agile NN offloading, which migrates the required computations in NN offloading from online inference to offline learning. In this paper, we present AgileNN, a new NN offloading technique that achieves real-time NN inference on weak embedded devices by leveraging eXplainable AI techniques, so as to explicitly enforce feature sparsity during the training phase and minimize the online computation and communication costs. Experiment results show that AgileNN's inference latency is >6x lower than the existing schemes, ensuring that sensory data on embedded devices can be timely consumed. It also reduces the local device's resource consumption by >8x, without impairing the inference accuracy.

View on arXivView PDF

Code Implementations(1)

pittisl/AgileNNCommunity70%
TensorFlow

Code for paper "Real-time Neural Network Inference on Extremely Weak Devices: Agile Offloading with Explainable AI" (MobiCom'22)

181PythonJan 30, 20233 years ago
neural-networksoffloadingtensorflow

Cite this paper

@article{huang2023realtime,
  title  = {Real-time Neural Network Inference on Extremely Weak Devices: Agile Offloading with Explainable AI},
  author = {Kai Huang and Wei Gao},
  year   = {2023},
  eprint = {2312.14229},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.14229v1}
}

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

Discussion