weight initialization
权重初始化
Weight initialization sets a neural network's weights before training begins. The scale of those initial values helps determine whether signals and gradients can travel through many layers.
When several units in a layer start with identical weights and receive identical inputs and gradients, identical updates keep their weights equal. Random initialization breaks that symmetry. Their initial scale controls the magnitude of the signal passed to later layers. Very small weights can progressively weaken signals through successive layers, while large weights can amplify fluctuations or drive saturating activations into ranges where their derivatives are small.
One family of initialization rules sets the variance using the number of connections entering and leaving a layer. For a convolutional layer in a convolutional network, this also involves the size of the kernel. The activation and architecture affect the choice of scale, and the optimizer subsequently updates the weights using loss gradients computed by backpropagation.
- Glorot X, Bengio Y. Understanding the Difficulty of Training Deep Feedforward Neural Networks. AISTATS, 2010. proceedings.mlr.press/v9/glorot10a.html
Key works · 3
Key2010AISTATS 2010 (PMLR 9)24,556 citations
Understanding the difficulty of training deep feedforward neural networks
The authors tracked activations, gradients, and layer Jacobians in deep feedforward networks to examine why training could stall, including saturation of logistic units. They proposed setting the initial weight variance from the layer's input and output widths and showed faster convergence in their experiments.
SignificanceThe paper made signal scale a practical criterion for choosing initial weights. PyTorch exposes the proposed rule as Xavier initialization, and the later He initialization paper adapts the variance argument to layers with rectified activations.
Full text Xavier GlorotYoshua Bengio neural networkbackpropagationweight initialization
Key2015ICCV 201524,707 citations
Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification
The authors introduced a parametric rectifier with a learnable negative slope and derived an initialization rule that accounts for how rectification changes the variance of propagated signals. They evaluated the resulting training setup with deep convolutional networks and ensembles on ImageNet classification.
SignificanceThe variance calculation for rectifiers became the basis of He initialization, implemented in PyTorch as Kaiming initialization. The original ResNet paper explicitly uses this method to initialize the weights of its convolutional layers. That is a direct reuse of the initialization rule in a deeper architecture.
DOI arXiv Kaiming HeJian Sun convolutional neural networkbackpropagationImageNetweight initialization
Key2023MICCAI 2023 (LNCS 14223)752 citations
MedNeXt: Transformer-Driven Scaling of ConvNets for Medical Image Segmentation
MedNeXt adapts large-kernel ConvNeXt-style blocks to a volumetric encoder-decoder. The authors scale depth, width, and kernel size and propose initializing larger kernels from trained smaller ones. Experiments across several volumetric segmentation datasets compare how changing each dimension affects predictive performance.
SignificanceMedNeXt supplied a large-kernel convolutional comparison for contemporary three-dimensional attention models. The subsequent nnU-Net Revisited study evaluates modern convolutional alternatives, including ConvNeXt-style variants, within a standardized training framework to examine the effects of architecture and scale.
DOI arXiv Saikat RoyKlaus H. Maier-Hein convolutional neural networkimage segmentationencoder–decodervoxelweight initialization