Fractional moment-preserving initialization schemes for training deep neural networks

Mert Gürbüzbalaban, Yuanhan Hu

Introduction

In deep learning, initialization is paramount for stable training. Traditional techniques like Xavier and Kaiming (He) initialization are designed to preserve the variance (the second moment) of signals as they propagate through network layers. However, these methods assume that the second moment is the most appropriate statistical property to track. Recent research into Stochastic Gradient Descent (SGD) suggests that network weights often develop heavy-tailed distributions during training, where variance can become unstable. This paper introduces a generalized framework to preserve "fractional moments" of order $s \in (0, 2]$, providing a more robust starting point for deep architectures.

Theoretical Framework

The core innovation lies in the derivation of analytical formulas for the "critical variance" ($\sigma^2$) required to keep the $s$-th moment invariant across layers for various activation functions. This approach generalizes classic methods; as $s$ approaches 2, the formulas recover standard Lecun and Kaiming initializations.

A significant theoretical finding is that the logarithm of the network output norm converges to a Gaussian distribution. This "log-normality" explains why outputs often appear heavy-tailed. By selecting a moment order $s < 2$, the resulting initialization produces a distribution of output norms that stochastically dominates Kaiming initialization, making it less prone to the "dying neuron" problem.

Distribution of output norms showing log-normality and stochastic dominance of the fractional scheme.

Impact of Moment Order on Initialization

By targeting a lower moment (e.g., $s=0.8$), the framework allows for a larger initial weight variance than traditional methods. This "boost" is crucial for signal propagation in very deep networks, where signal attenuation is a common failure mode.

Critical variance $\sigma$ as a function of depth $d$ and moment order $s$. Note that lower $s$ values correspond to higher initial variances.

Experimental Performance

The researchers evaluated these schemes on MNIST and CIFAR-10 benchmarks using both fully connected and convolutional neural networks. Key findings include:

  • Faster Convergence: On a 20-layer ReLU network (MNIST), the $s=0.8$ scheme significantly outperformed Kaiming and Xavier in the early stages of training.
  • Higher Early Accuracy: The fractional initialization achieved 85.02% training accuracy in early epochs on MNIST, compared to 80.08% for Kaiming initialization.
  • Computational Efficiency: The scheme requires no additional computational overhead during training, as it only modifies the initial weight distribution.

Conclusion

Fractional moment-preserving initialization bridges the gap between the theoretical heavy-tailed behavior of trained networks and the practical need for robust starting points. By allowing for larger initial variances through lower-order moment preservation, it effectively mitigates vanishing signals and accelerates the initial phases of training. Future research will focus on automated methods for selecting the optimal $s$ for specific architectures like Transformers.

Summary updated

BibTeX
@inproceedings{gurbuzbalaban2021fractional,
  author = {Mert Gürbüzbalaban and Yuanhan Hu},
  title = {{Fractional moment-preserving initialization schemes for training deep neural networks}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2021},
}
Figure