[Paper Review] The effect of Target Normalization and Momentum on Dying ReLU
This paper investigates why ReLU units die during training in deep neural networks, particularly under target normalization and momentum optimization. It shows that low target variance combined with momentum increases dying ReLU risk by destabilizing optimization trajectories, and empirically confirms this problem worsens in deeper architectures like residual networks.
Optimizing parameters with momentum, normalizing data values, and using rectified linear units (ReLUs) are popular choices in neural network (NN) regression. Although ReLUs are popular, they can collapse to a constant function and "die", effectively removing their contribution from the model. While some mitigations are known, the underlying reasons of ReLUs dying during optimization are currently poorly understood. In this paper, we consider the effects of target normalization and momentum on dying ReLUs. We find empirically that unit variance targets are well motivated and that ReLUs die more easily, when target variance approaches zero. To further investigate this matter, we analyze a discrete-time linear autonomous system, and show theoretically how this relates to a model with a single ReLU and how common properties can result in dying ReLU. We also analyze the gradients of a single-ReLU model to identify saddle points and regions corresponding to dying ReLU and how parameters evolve into these regions when momentum is used. Finally, we show empirically that this problem persist, and is aggravated, for deeper models including residual networks.
Motivation & Objective
- To understand why ReLU units die during optimization, especially under momentum and target normalization.
- To analyze the interplay between target variance, momentum, and parameter dynamics in a single-ReLU model.
- To investigate whether dying ReLU is a persistent issue in deeper architectures, including residual networks with batch normalization.
- To determine if parameter rescaling can mitigate the dying ReLU problem across different target scales.
- To provide a geometric and analytical framework for identifying dead ReLU regions in parameter space.
Proposed method
- Modeling gradient descent with momentum as a discrete-time linear autonomous system to analyze parameter dynamics.
- Deriving analytic gradients for a single-ReLU affine model to identify critical points, including global optima and saddle points.
- Using geometric analysis to define two cones in parameter space: one corresponding to active ReLU and one to dead ReLU.
- Conducting numerical simulations to visualize parameter trajectories and convergence behavior under varying target variance and momentum.
- Empirically evaluating deeper architectures (MLP and residual networks) with varying target variances to assess dying ReLU frequency.
- Testing parameter rescaling strategies to determine invariance under target scaling and their limitations in deep networks.
Experimental results
Research questions
- RQ1How does target variance influence the likelihood of ReLU units dying during optimization with momentum?
- RQ2What role does momentum play in destabilizing parameter trajectories and promoting convergence to dead ReLU states?
- RQ3Can the dynamics of a single ReLU be modeled as a linear system, and how does this relate to the emergence of dead ReLU?
- RQ4Does the dying ReLU problem persist and intensify in deeper architectures, including residual networks with batch normalization?
- RQ5Is it possible to achieve scale-invariant training by rescaling weights and biases to compensate for target variance?
Key findings
- Unit variance targets are well-motivated; as target variance decreases, ReLU units die more easily, especially when momentum is used.
- With momentum, parameter trajectories oscillate due to complex eigenvalues in the linear system, increasing the risk of converging to the dead ReLU cone.
- Empirical results show that for small target variance (γ = 0.001), momentum significantly increases the proportion of dying ReLU units compared to standard gradient descent.
- In deeper models, including residual networks with batch normalization, dying ReLU remains a problem and is exacerbated with increasing depth.
- Parameter rescaling cannot fully eliminate the dying ReLU problem in deeper networks, as the functional equivalence breaks across multiple layers.
- The region of parameter space leading to dead ReLU expands with decreasing target variance and increasing momentum, especially when β > 0.7.
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.