On the Selection of Initialization and Activation Function for Deep Neural Networks

By Soufiane Hayou, Arnaud Doucet, Judith Rousseau. 2018

77 citations recorded by the source corpus.

The weight initialization and the activation function of deep neural networks have a crucial impact on the performance of the training procedure. An inappropriate selection can lead to the loss of information of the input during forward propagation and the exponential vanishing/exploding of gradients during back-propagation. Understanding the theoretical properties of untrained random networks is key to identifying which deep networks may be trained successfully as recently demonstrated by Schoenholz et al. (2017) who showed that for deep feedforward neural networks only a specific choice of hyperparameters known as the `edge of chaos' can lead to good performance. We complete this analysis by providing quantitative results showing that, for a class of ReLU-like activation functions, the information propagates indeed deeper for an initialization at the edge of chaos. By further extending this analysis, we identify a class of activation functions that improve the information propagation over ReLU-like functions. This class includes the Swish activation, $\phi_{swish}(x) = x \cdot \text{sigmoid}(x)$, used in Hendrycks & Gimpel (2016), Elfwing et al. (2017) and Ramachandran et al. (2017). This provides a theoretical grounding for the excellent empirical performance of $\phi_{swish}$ observed in these contributions. We complement those previous results by illustrating the benefit of using a random initialization on the edge of chaos in this context.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Model Architectures, Optimization & Training

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Greg Yang
  2. Sam Schoenholz
  3. Jaehoon Lee
  4. Lechao Xiao
  5. Jeffrey Pennington
  6. Jascha Narain Sohl-Dickstein
  7. Roman Novak
  8. Yasaman Bahri

In Computer Vision and Pattern Recognition

  1. Greg Yang
  2. Sam Schoenholz
  3. Jaehoon Lee
  4. Lechao Xiao
  5. Jeffrey Pennington
  6. Roman Novak
  7. Jascha Narain Sohl-Dickstein
  8. Yasaman Bahri

In Model Architectures

  1. Greg Yang
  2. Sam Schoenholz
  3. Jaehoon Lee
  4. Lechao Xiao
  5. Jeffrey Pennington
  6. Jascha Narain Sohl-Dickstein
  7. Roman Novak
  8. Yasaman Bahri

In Optimization & Training

  1. Greg Yang
  2. Sam Schoenholz
  3. Jeffrey Pennington
  4. Lechao Xiao
  5. Jascha Narain Sohl-Dickstein
  6. Jaehoon Lee
  7. Roman Novak
  8. Minmin Chen

Citations in the corpus