This paper provides a theoretical foundation for choosing the optimal Leaky ReLU parameter in overparameterized neural networks, revealing that the absolute value function ($\alpha = -1$) is the theoretical "sweet spot" for both training speed and generalization. By deriving new upper bounds for convergence and generalization errors, the authors show that negative slope parameters significantly outperform the standard ReLU ($\alpha = 0$) and common small-positive-slope variants.
What Problem Does This Paper Address?
While deep neural networks are incredibly successful, our theoretical understanding of why they work so well—especially in the "overparameterized" regime where the number of parameters far exceeds the number of data points—is still developing. Most existing theory focuses on the standard Rectified Linear Unit (ReLU). However, practitioners often use Leaky ReLUs to avoid the "dying ReLU" problem, where neurons get stuck with zero gradients and stop learning.
Until now, there hasn't been much formal guidance on how to pick the slope parameter $\alpha$ for these leaky variants. This paper fills that gap by analyzing how $\alpha$ affects the training convergence rate and the network's ability to generalize to new data.
Methods
The authors analyze deep neural networks with $L$ hidden layers of width $m$ in the overparameterized setting. They build upon established proof frameworks (like the Neural Tangent Kernel regime) but introduce several key innovations:
- Rescaled Activation: They use a rescaled version of the Leaky ReLU to simplify the math while keeping the variance of activations constant across different $\alpha$ values.
- Improved Convergence Bounds: They refine previous estimates by eliminating the negative dependence of convergence rates on network depth ($L$), showing that deep networks can train just as fast as shallow ones in this regime.
- Generalization Analysis for Regression: They extend generalization error bounds, which were previously mostly studied for classification, to the regression task.
- Optimization Analysis: They provide separate analyses for both standard Gradient Descent (GD) and Stochastic Gradient Descent (SGD).
Datasets
The theoretical predictions were tested against a variety of benchmarks:
- Synthetic Dataset: A simulated dataset with labels generated by a noisy nonlinear function.
- F-MNIST (Fashion-MNIST): A standard grayscale image classification benchmark of clothing items.
- CIFAR-10: A popular dataset of color images across 10 different classes.
- Additional Benchmarks (Appendix): The authors also included results for MNIST, California Housing (regression), and IMDb movie reviews (using LSTMs and Transformers) to show the breadth of their findings.
Key Insights and Ideas
- The Optimality of Absolute Value: The most striking finding is that $\alpha = -1$, which turns the Leaky ReLU into the absolute value function $|x|$, is theoretically optimal. It strikes the best balance between a large gradient (to speed up training) and controlled smoothness.
- Depth is Not a Bottleneck: Contrary to some earlier theories, this work suggests that in the overparameterized regime, increasing depth doesn't necessarily slow down convergence.
- The "Derivative Gap" Matters: The performance gain comes from the gap between the slopes of the activation function at zero. A larger gap (which happens when $\alpha$ is negative) leads to a larger lower bound on the gradient norm, driving faster loss decay.
- Generalization Trade-offs: The paper highlights a critical trade-off: while $\alpha = -1$ is best for generalization at early stages of training, all models eventually overfit if trained too long. This underscores the importance of early stopping.
Key Results
- Faster Training: In experiments, $\alpha = -1$ consistently achieved the fastest convergence. Compared to standard ReLU ($\alpha = 0$), it reduced the final training error by 22% on CIFAR-10 and up to 91% on the synthetic dataset.
- Better Generalization: At early training epochs, the absolute value activation led to lower testing errors. For example, it reduced testing error by at least 4% on F-MNIST and 15% on CIFAR-10 compared to standard ReLU.
- Theoretical Alignment: The empirical convergence rates closely matched the "shape" of the theoretical upper bounds derived by the authors.
Limitations and Future Work
- Width Requirements: The current theory requires the network width $m$ to be extremely large (polynomially dependent on the number of samples and depth), which is often much wider than networks used in practice.
- Upper Bounds Only: The paper focuses on upper bounds. Developing tight lower bounds is necessary to fully "guarantee" the optimality of $\alpha = -1$.
- Architecture Scope: While the theory is developed for fully connected networks, extending it to more complex structures like Convolutional Neural Networks (CNNs) or Transformers is a promising next step.
- Activation Variety: Future research could explore other popular activations like GELU or Swish within this same rigorous framework.
Summary updated