E$^2$CM: Early Exit via Class Means for Efficient Supervised and Unsupervised Learning

Alperen Görmez, Venkat R. Dasari, Erdem Koyuncu
3/1/2021
cs.LGcs.NEstat.ML

Official code: alperengormez/class_means (1 star, Python, last commit 2022-12-19).

Abstract

State-of-the-art neural networks with early exit mechanisms often need considerable amount of training and fine tuning to achieve good performance with low computational cost. We propose a novel early exit technique, Early Exit Class Means (E$^2$CM), based on class means of samples.

Show full abstract

Unlike most existing schemes, E$^2$CM does not require gradient-based training of internal classifiers and it does not modify the base network by any means. This makes it particularly useful for neural network training in low-power devices, as in wireless edge networks. We evaluate the performance and overheads of E$^2$CM over various base neural networks such as MobileNetV3, EfficientNet, ResNet, and datasets such as CIFAR-100, ImageNet, and KMNIST. Our results show that, given a fixed training time budget, E$^2$CM achieves higher accuracy as compared to existing early exit mechanisms. Moreover, if there are no limitations on the training time budget, E$^2$CM can be combined with an existing early exit scheme to boost the latter's performance, achieving a better trade-off between computational cost and network accuracy. We also show that E$^2$CM can be used to decrease the computational cost in unsupervised learning tasks.

View on arXivView PDF

Code Implementations(1)

Class Means Demo

10PythonSep 24, 20213 years ago

Similar Papers

Cite this paper

@article{grmez2021ecm,
  title  = {E$^2$CM: Early Exit via Class Means for Efficient Supervised and Unsupervised Learning},
  author = {Alperen Görmez and Venkat R. Dasari and Erdem Koyuncu},
  year   = {2021},
  eprint = {2103.01148},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.01148}
}

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

Discussion