Early-Exit with Class Exclusion for Efficient Inference of Neural Networks

Jingcun Wang, Bing Li, Grace Li Zhang
9/23/2023
cs.LG

No confident code implementation found for this paper.

Abstract

Deep neural networks (DNNs) have been successfully applied in various fields. In DNNs, a large number of multiply-accumulate (MAC) operations are required to be performed, posing critical challenges in applying them in resource-constrained platforms, e.g., edge devices. To address this challenge, in this paper, we propose a class-based early-exit for dynamic inference. Instead of pushing DNNs to make a dynamic decision at intermediate layers, we take advantage of the learned features in these layers to exclude as many irrelevant classes as possible, so that later layers only have to determine the target class among the remaining classes. When only one class remains at a layer, this class is the corresponding classification result. Experimental results demonstrate the computational cost of DNNs in inference can be reduced significantly with the proposed early-exit technique. The codes can be found at https://github.com/HWAI-TUDa/EarlyClassExclusion.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2023earlyexit,
  title  = {Early-Exit with Class Exclusion for Efficient Inference of Neural Networks},
  author = {Jingcun Wang and Bing Li and Grace Li Zhang},
  year   = {2023},
  eprint = {2309.13443},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.13443v2}
}

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

Discussion