Skip to main content
QUICK REVIEW

[Paper Review] Class Means as an Early Exit Decision Mechanism.

Alperen Görmez, Erdem Koyuncu|arXiv (Cornell University)|Mar 1, 2021
Adversarial Robustness in Machine LearningComputer Science20 references5 citations
TL;DR

This paper proposes a novel early exit mechanism for neural networks that uses class means of features to determine early prediction, eliminating the need for gradient-based training of internal classifiers. It achieves higher accuracy under fixed training budgets and enhances existing methods when combined, offering improved accuracy-computation trade-offs for low-power edge devices.

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 based on the class means of samples. Unlike most existing schemes, our method does not require gradient-based training of internal classifiers. This makes our method particularly useful for neural network training in low-power devices, as in wireless edge networks. In particular, given a fixed training time budget, our scheme achieves higher accuracy as compared to existing early exit mechanisms. Moreover, if there are no limitations on the training time budget, our method can be combined with an existing early exit scheme to boost its performance, achieving a better trade-off between computational cost and network accuracy.

Motivation & Objective

  • To address the high training and fine-tuning cost of existing early exit mechanisms in neural networks.
  • To enable efficient inference in low-power edge devices by eliminating gradient-based training of internal classifiers.
  • To improve accuracy under fixed training time budgets compared to state-of-the-art early exit methods.
  • To provide a plug-in enhancement for existing early exit schemes to improve their accuracy-computation trade-off.

Proposed method

  • The method computes class means of features from the last layer of a neural network during training.
  • During inference, the network compares the current feature activation to the class means to decide whether to exit early.
  • The decision to exit is based on the minimum distance between the input feature and the class means, without requiring additional trainable parameters.
  • The approach is compatible with any pre-trained network and does not require retraining or fine-tuning of internal classifiers.
  • It can be combined with existing early exit schemes by using class means as a confidence proxy to improve their performance.

Experimental results

Research questions

  • RQ1Can class means of features be used effectively as a decision mechanism for early exit in neural networks?
  • RQ2Does eliminating gradient-based training of internal classifiers improve efficiency and performance on low-power devices?
  • RQ3How does the method perform under fixed training time budgets compared to existing early exit techniques?
  • RQ4Can the method be used to enhance existing early exit schemes in terms of accuracy and computational efficiency?

Key findings

  • The proposed method achieves higher accuracy than existing early exit mechanisms under a fixed training time budget.
  • It eliminates the need for gradient-based training of internal classifiers, reducing computational cost and training overhead.
  • The method is particularly effective in low-power edge environments due to its lightweight inference mechanism.
  • When combined with an existing early exit scheme, it improves the accuracy-computation trade-off, offering better performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.