RESPECT: Reinforcement Learning based Edge Scheduling on Pipelined Coral Edge TPUs

Jiaqi Yin, Yingjie Li, Daniel Robinson, Cunxi Yu
4/10/2023
cs.ARcs.AIcs.LG

No official code found. Best implementation: Yu-Maryland/RESPECT (11 stars, last commit 2023-04-13).

Abstract

Deep neural networks (DNNs) have substantial computational and memory requirements, and the compilation of its computational graphs has a great impact on the performance of resource-constrained (e.g., computation, I/O, and memory-bound) edge computing systems. While efficient execution of their computational graph requires an effective scheduling algorithm, generating the optimal scheduling solution is a challenging NP-hard problem. Furthermore, the complexity of scheduling DNN computational graphs will further increase on pipelined multi-core systems considering memory communication cost, as well as the increasing size of DNNs. Using the synthetic graph for the training dataset, this work presents a reinforcement learning (RL) based scheduling framework RESPECT, which learns the behaviors of optimal optimization algorithms and generates near-optimal scheduling results with short solving runtime overhead. Our framework has demonstrated up to $\sim2.5\times$ real-world on-chip inference runtime speedups over the commercial compiler with ten popular ImageNet models deployed on the physical Coral Edge TPUs system. Moreover, compared to the exact optimization methods, the proposed RL scheduling improves the scheduling optimization runtime by up to 683$\times$ speedups compared to the commercial compiler and matches the exact optimal solutions with up to 930$\times$ speedups. Finally, we perform a comprehensive generalizability test, which demonstrates RESPECT successfully imitates optimal solving behaviors from small synthetic graphs to large real-world DNNs computational graphs.

View on arXivView PDF

Code Implementations(1)

Yu-Maryland/RESPECTCommunity100%

RESPECT: Reinforcement Learning based Edge Scheduling on Pipelined Coral Edge TPUs (DAC'23)

110C++, ShellApr 4, 20233 years ago

Similar Papers

Cite this paper

@article{yin2023respect,
  title  = {RESPECT: Reinforcement Learning based Edge Scheduling on Pipelined Coral Edge TPUs},
  author = {Jiaqi Yin and Yingjie Li and Daniel Robinson and Cunxi Yu},
  year   = {2023},
  eprint = {2304.04716},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.04716v1}
}

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

Discussion