Skip to main content
QUICK REVIEW

[Paper Review] Activation Ensembles for Deep Neural Networks

Mark E. Harmon, Diego Klabjan|arXiv (Cornell University)|Feb 24, 2017
Machine Learning and Data ClassificationComputer Science18 references14 citations
TL;DR

This paper introduces activation ensembles, a novel method that dynamically combines multiple activation functions at each neuron via learnable weights (α) and adaptive offsets (η, δ), enabling deep networks to select optimal activation combinations per layer. The approach improves performance across MNIST, ISOLET, CIFAR-100, and STL-10, with superior accuracy and deeper insight into activation function dynamics through learned α values.

ABSTRACT

Many activation functions have been proposed in the past, but selecting an adequate one requires trial and error. We propose a new methodology of designing activation functions within a neural network at each layer. We call this technique an "activation ensemble" because it allows the use of multiple activation functions at each layer. This is done by introducing additional variables, $α$, at each activation layer of a network to allow for multiple activation functions to be active at each neuron. By design, activations with larger $α$ values at a neuron is equivalent to having the largest magnitude. Hence, those higher magnitude activations are "chosen" by the network. We implement the activation ensembles on a variety of datasets using an array of Feed Forward and Convolutional Neural Networks. By using the activation ensemble, we achieve superior results compared to traditional techniques. In addition, because of the flexibility of this methodology, we more deeply explore activation functions and the features that they capture.

Motivation & Objective

  • To address the challenge of selecting optimal activation functions in deep neural networks, which traditionally requires trial-and-error.
  • To enable dynamic, data-driven selection of activation functions at each neuron, rather than fixed choices across layers.
  • To improve model accuracy and feature learning by combining the strengths of multiple proven activation functions through convex combinations.
  • To explore how activation function choices vary across network depth, architecture, and datasets using learned α parameters.
  • To demonstrate the effectiveness of activation ensembles on diverse architectures, including feedforward, convolutional, residual, and autoencoder networks.

Proposed method

  • Introduces learnable parameters α for each activation function at each neuron, forming a convex combination of multiple activation functions.
  • Employs offset parameters η and δ to dynamically adjust normalization ranges for each activation function, preserving their functional properties.
  • Optimizes α, η, and δ via standard backpropagation during training, allowing the network to learn the best activation mixture.
  • Projects α values into a valid convex combination space using a novel projection algorithm to maintain stability and interpretability.
  • Applies the activation ensemble to feedforward networks, CNNs, residual networks, and autoencoders, with weight tying in autoencoders to enforce symmetry.
  • Uses mean-squared error and classification accuracy as evaluation metrics across MNIST, ISOLET, CIFAR-100, and STL-10 datasets.

Experimental results

Research questions

  • RQ1How does dynamically combining multiple activation functions per neuron affect deep learning performance across different datasets and architectures?
  • RQ2Can a network learn to select optimal activation function combinations at each layer and neuron, rather than relying on fixed activation functions?
  • RQ3How do the learned α values vary across network depth, architecture type, and dataset, revealing insights into activation function preferences?
  • RQ4Does the activation ensemble method improve performance on challenging benchmarks like CIFAR-100, especially in residual networks?
  • RQ5To what extent do different activation function sets (e.g., ReLU variants, sigmoid, tanh) contribute to performance, and how does this vary by dataset?

Key findings

  • The activation ensemble method achieves superior classification accuracy on MNIST, ISOLET, and CIFAR-100 compared to standard activation functions.
  • On CIFAR-100, the activation ensemble improved performance in a residual network, with the best results achieved when placing the ensemble in the middle of residual blocks.
  • The learned α values revealed that different activation functions are optimal at different layers: ReLU dominated top layers, while tanh and inverse absolute value functions were preferred in bottom layers for MNIST.
  • On ISOLET, no single activation function was favored in early layers, but the network selected tanh in the final layer, indicating dataset-specific adaptation.
  • The second class of ReLU variants (with different intercepts) performed best in the residual network, aligning with ReLU’s role in residual connections.
  • In autoencoders for STL-10, the ensemble with absolute-value-like functions and tied weights achieved effective reconstruction, demonstrating generalization beyond classification tasks.

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.