AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Papers / Foundations

    Xavier initialization (2010)

    Understanding the difficulty of training deep feedforward neural networks

    Why deep networks were hard to train, and a way to set the starting weights so signals neither vanish nor explode.

    Why it matters

    In 2010, deep networks were usually pretrained one layer at a time before they would train at all. This paper explained why and showed that a better starting point helps. Xavier (or Glorot) initialization became the default in deep learning frameworks, and its adaptation for ReLU units by Kaiming He in 2015 is what ResNets use.

    First page of “Understanding the difficulty of training deep feedforward neural networks”

    The first page, as published. Read the full paper on proceedings.mlr.press.

    Year
    2010
    Authors
    Xavier Glorot, Yoshua Bengio
    Venue
    AISTATS 2010
    Data
    MNIST, CIFAR-10

    The idea

    Watch the activations and gradients layer by layer during training. With the usual small random weights, their size shrinks or grows from layer to layer, and sigmoid units saturate. Choosing each layer's random weights with a variance based on its number of inputs and outputs keeps that size roughly constant through the network, forward and backward.

    The result

    With this "normalized initialization", networks with five hidden layers trained faster and generally reached lower test error, on MNIST and CIFAR-10 as well as on the synthetic shapes, without any layer-by-layer pretraining.

    The data

    MNIST

    1998

    70,000 handwritten digits, 28×28 grayscale, 10 classes. (12 years earlier)

    CIFAR-10

    2009

    60,000 tiny 32×32 color images in 10 classes. (1 year earlier)

    Also tested on: A synthetic shape dataset (Shapeset-3×2) and a small subset of ImageNet.