Adaptive Deep Neural Network Inference Optimization with EENet

Fatih Ilhan, Ka-Ho Chow, Sihao Hu, Tiansheng Huang, Selim Tekin +7 more
1/15/2023
cs.LGcs.AI

No official code found. Best implementation: git-disl/EENet (13 stars, last commit 2024-03-28).

Abstract

Well-trained deep neural networks (DNNs) treat all test samples equally during prediction. Adaptive DNN inference with early exiting leverages the observation that some test examples can be easier to predict than others. This paper presents EENet, a novel early-exiting scheduling framework for multi-exit DNN models. Instead of having every sample go through all DNN layers during prediction, EENet learns an early exit scheduler, which can intelligently terminate the inference earlier for certain predictions, which the model has high confidence of early exit. As opposed to previous early-exiting solutions with heuristics-based methods, our EENet framework optimizes an early-exiting policy to maximize model accuracy while satisfying the given per-sample average inference budget. Extensive experiments are conducted on four computer vision datasets (CIFAR-10, CIFAR-100, ImageNet, Cityscapes) and two NLP datasets (SST-2, AgNews). The results demonstrate that the adaptive inference by EENet can outperform the representative existing early exit techniques. We also perform a detailed visualization analysis of the comparison results to interpret the benefits of EENet.

View on arXivView PDF

Code Implementations(1)

git-disl/EENetCommunity100%

Code for Adaptive Deep Neural Network Inference Optimization with EENet

132PythonJan 14, 20232 years ago

Similar Papers

Cite this paper

@article{ilhan2023adaptive,
  title  = {Adaptive Deep Neural Network Inference Optimization with EENet},
  author = {Fatih Ilhan and Ka-Ho Chow and Sihao Hu and Tiansheng Huang and Selim Tekin and Wenqi Wei and Yanzhao Wu and Myungjin Lee and Ramana Kompella and Hugo Latapie and Gaowen Liu and Ling Liu},
  year   = {2023},
  eprint = {2301.07099},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.07099v2}
}

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

Discussion