[Paper Review] On the Selection of Initialization and Activation Function for Deep Neural Networks
The paper analyzes how initialization on the edge of chaos and activation functions influence information and gradient propagation in deep nets, showing Swish and related non-ReLU activations improve information flow over ReLU-like functions.
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, $ϕ_{swish}(x) = x \cdot ext{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 $ϕ_{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.
Motivation & Objective
- Understand how initialization affects forward information propagation in deep nets at infinite width.
- Characterize the edge of chaos and its impact on gradient flow and information retention.
- Identify activation functions that enhance information propagation beyond ReLU-like functions.
- Provide theoretical grounding for Swish and other non-ReLU activations in deep architectures.
Proposed method
- Model deep fully connected nets with Gaussian random weights and biases.
- Use Gaussian process approximations to derive recursive variance and covariance kernels across layers.
- Define domains of convergence for variance and correlation under a given activation.
- Derive and analyze the correlation function f on the edge of chaos through fixed points and derivatives.
- Propose sufficient conditions (Proposition 4) for activation functions to sustain information flow on the edge of chaos.
- Show that Swish satisfies these conditions and compare with ReLU-like activations.
Experimental results
Research questions
- RQ1How does initializing at the edge of chaos affect depthwise information propagation in deep networks?
- RQ2What activation function properties optimize information flow and gradient stability on the edge of chaos?
- RQ3Can Swish-like activations provide better information propagation than ReLU across deep networks?
- RQ4What are the sufficient conditions under which an activation function ensures near-identity correlation dynamics on the edge of chaos?
Key findings
- On the edge of chaos, correlations converge to 1 more slowly for ReLU-like activations, yielding polynomial depth scales instead of exponential.
- A class of activation functions satisfying Proposition 4 improves information flow, including Swish.
- Swish activation satisfies the proposed conditions, providing improved information propagation and non-vanishing gradients.
- Swish can lead to more variable network outputs at depth, indicating richer prior function behavior.
- Activation choices beyond ReLU, such as Tanh and ELU-like functions, can satisfy the identified propagation conditions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.