Activation Functions and Initialization
Activation Functions and Initialization
Increasing model complexity can exacerbate issues such as overfitting without directly addressing saturation. Instead of alleviating saturation, it may further complicate the model, making it harder to train without additional data or adjustments, leading to increased computational cost and model intractability .
The Dead ReLU problem occurs when a large number of neurons consistently output zero, preventing gradients from flowing through the network. It can be identified by observing many neurons producing zero outputs during training, especially when improper weight or bias initialization leads to negative inputs that deactivate ReLU neurons .
The Tanh activation function is distinguished by its zero-centered output, meaning its values range from -1 to 1, with outputs centered around 0. This property is useful as it helps to ensure that the signal received by the next layer is balanced, facilitating better learning dynamics by avoiding biases towards positive or negative inputs .
The choice of activation function significantly affects saturation; functions like Sigmoid can lead to saturation as outputs approach 0 or 1, diminishing gradients and hindering learning. A common solution is using activation functions like ReLU that avoid saturation by producing outputs that aren't constrained between 0 and 1 .
Challenges with exponential ReLU activation include non-differentiability at x=0 when a ≠ 1, which can complicate optimization during backpropagation. Additionally, unlike the standard ReLU, exponential ReLU can produce negative values for x ≤ 0, which could impact gradient flow and learning .
In batch normalization, learnable parameters like variance and mean allow the network to adjust these values during training. This adaptability enables the network to normalize activations more effectively, leading to improved convergence rates and increased stability in learning .
Unsupervised pre-training is primarily used to initialize weights in deep neural networks optimally before fine-tuning with labeled data. It helps to improve convergence and learning efficiency, especially when labeled data is scarce or expensive to obtain .
Possible causes for all weights being equal in a single neuron include initializing weights to equal values or initializing them to zero. This induces the symmetry-breaking problem, where neurons gradually learn the same features, preventing the network from learning useful patterns .
With ReLU activation, a high negative bias can deactivate neurons by pushing inputs into the negative range, resulting in zero outputs—a key characteristic of the Dead ReLU problem. This deactivation prevents weight updates and stymies learning by effectively 'killing' neurons .
Random weight initialization is crucial as it prevents the symmetry-breaking problem, where neurons with identical weights learn the same features, thereby failing to capture diverse patterns within data. Randomness ensures each neuron's weights differ, promoting varied and distributed learning .