Skip to main content
QUICK REVIEW

[Paper Review] A Methodology for Automatic Selection of Activation Functions to Design Hybrid Deep Neural Networks

Alberto Marchisio, Muhammad Abdullah Hanif|arXiv (Cornell University)|Oct 27, 2018
Neural Networks and ApplicationsComputer Science16 references13 citations
TL;DR

This paper proposes an automated methodology to select optimal activation functions (ReLU, ELU, SELU) and dropout rates layer-by-layer in deep neural networks, using early evaluation points to reduce training time by 4x–7x while achieving 7%–15% relative error reduction in accuracy on MNIST, CIFAR-10, and CIFAR-100 benchmarks, with minimal performance and power overhead.

ABSTRACT

Activation functions influence behavior and performance of DNNs. Nonlinear activation functions, like Rectified Linear Units (ReLU), Exponential Linear Units (ELU) and Scaled Exponential Linear Units (SELU), outperform the linear counterparts. However, selecting an appropriate activation function is a challenging problem, as it affects the accuracy and the complexity of the given DNN. In this paper, we propose a novel methodology to automatically select the best-possible activation function for each layer of a given DNN, such that the overall DNN accuracy, compared to considering only one type of activation function for the whole DNN, is improved. However, an associated scientific challenge in exploring all the different configurations of activation functions would be time and resource-consuming. Towards this, our methodology identifies the Evaluation Points during learning to evaluate the accuracy in an intermediate step of training and to perform early termination by checking the accuracy gradient of the learning curve. This helps in significantly reducing the exploration time during training. Moreover, our methodology selects, for each layer, the dropout rate that optimizes the accuracy. Experiments show that we are able to achieve on average 7% to 15% Relative Error Reduction on MNIST, CIFAR-10 and CIFAR-100 benchmarks, with limited performance and power penalty on GPUs.

Motivation & Objective

  • To address the challenge of selecting optimal activation functions across layers in deep neural networks (DNNs), which significantly impacts accuracy and complexity.
  • To reduce the computational cost of exploring all possible activation function configurations across layers, which is infeasible for large DNNs.
  • To enable hybrid DNN architectures where different layers use different activation functions (ReLU, ELU, SELU) for improved performance.
  • To automatically determine optimal dropout rates per layer, especially using alpha dropout for SELU to maintain self-normalizing properties.
  • To minimize training time during hyperparameter search by identifying early evaluation points (EPs) based on accuracy gradient analysis.

Proposed method

  • The methodology uses a gradient-based analysis of the accuracy curve after each training epoch to identify an optimal Evaluation Point (EP) for early model comparison.
  • At the EP, the accuracy of different activation function configurations across layers is evaluated, enabling early termination of suboptimal configurations.
  • The method supports three activation functions: ReLU (with standard dropout), ELU (with standard dropout), and SELU (with alpha dropout) to preserve self-normalizing properties.
  • For each layer, the method jointly optimizes the activation function and dropout rate to maximize final accuracy while minimizing training time.
  • The EP is selected automatically by monitoring the accuracy gradient; experiments show that comparison at EP yields results comparable to full training.
  • The final output is a hybrid DNN with layer-specific activation functions and dropout rates that maximize accuracy, validated across multiple benchmarks.

Experimental results

Research questions

  • RQ1Can replacing ReLU with ELU or SELU in selected layers improve DNN accuracy without significantly increasing training time?
  • RQ2What is the optimal point in training to evaluate model configurations for early selection, without degrading final accuracy?
  • RQ3How can dropout rates be adapted per layer when using different activation functions, especially SELU with alpha dropout?
  • RQ4Can the exploration of activation function configurations be accelerated by early stopping based on accuracy trends?
  • RQ5What is the trade-off between training time reduction and accuracy improvement when using early evaluation points?

Key findings

  • The methodology achieves 7% to 15% relative error reduction in accuracy on MNIST, CIFAR-10, and CIFAR-100 benchmarks compared to original DNNs.
  • The Training Time Reduction (TTR) factor ranges from 3.75x to 7.22x, depending on the network and dataset, due to early evaluation at the EP.
  • On LeNet-5 (MNIST), the best hybrid model achieved 99.26% accuracy at EP=13, with 17.78% RER and 2.31x TTR.
  • On AlexNet (CIFAR-10), the hybrid model achieved 7.11% RER with 7.22x TTR and only 1.94% power penalty.
  • On VGG-16 (CIFAR-100), the methodology achieved 4.48% TTR with a 15.56% RER, demonstrating scalability across deeper architectures.
  • The EP selected via gradient analysis yields accuracy comparable to full training, validating the early stopping strategy.

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.