BEEM: Boosting Performance of Early Exit DNNs using Multi-Exit Classifiers as Experts

Divya Jyoti Bajpai, Manjesh Kumar Hanawal
2/2/2025
cs.LGcs.CLcs.CV

Official code: Div290/BEEM1 (5 stars, last commit 2025-02-02).

Abstract

Early Exit (EE) techniques have emerged as a means to reduce inference latency in Deep Neural Networks (DNNs). The latency improvement and accuracy in these techniques crucially depend on the criteria used to make exit decisions. We propose a new decision criterion where exit classifiers are treated as experts BEEM and aggregate their confidence scores. The confidence scores are aggregated only if neighbouring experts are consistent in prediction as the samples pass through them, thus capturing their ensemble effect. A sample exits when the aggregated confidence value exceeds a threshold. The threshold is set using the error rates of the intermediate exits aiming to surpass the performance of conventional DNN inference. Experimental results on the COCO dataset for Image captioning and GLUE datasets for various language tasks demonstrate that our method enhances the performance of state-of-the-art EE methods, achieving improvements in speed-up by a factor 1.5x to 2.1x. When compared to the final layer, its accuracy is comparable in harder Image Captioning and improves in the easier language tasks. The source code for this work is publicly available at https://github.com/Div290/BEEM1/tree/main

View on arXivView PDF

Code Implementations(1)

Div290/BEEM1Official100%
52Shell, PythonFeb 15, 20241 years ago

Similar Papers

Cite this paper

@article{bajpai2025beem,
  title  = {BEEM: Boosting Performance of Early Exit DNNs using Multi-Exit Classifiers as Experts},
  author = {Divya Jyoti Bajpai and Manjesh Kumar Hanawal},
  year   = {2025},
  eprint = {2502.00745},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.00745v1},
  journal = {ICLR 2025 2025}
}

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

Discussion