IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v9y2021i18p2246-d634243.html
   My bibliography  Save this article

Effect of Initial Configuration of Weights on Training and Function of Artificial Neural Networks

Author

Listed:
  • Ricardo J. Jesus

    (Departamento de Eletrónica, Telecomunicações e Informática, Campus Universitario de Santiago, Universidade de Aveiro, 3810-193 Aveiro, Portugal
    EPCC, The University of Edinburgh, Edinburgh EH8 9YL, UK)

  • Mário L. Antunes

    (Departamento de Eletrónica, Telecomunicações e Informática, Campus Universitario de Santiago, Universidade de Aveiro, 3810-193 Aveiro, Portugal
    Instituto de Telecomunicações, Campus Universitario de Santiago, Universidade de Aveiro, 3810-193 Aveiro, Portugal)

  • Rui A. da Costa

    (Departamento de Física & I3N, Campus Universitario de Santiago, Universidade de Aveiro, 3810-193 Aveiro, Portugal)

  • Sergey N. Dorogovtsev

    (Departamento de Física & I3N, Campus Universitario de Santiago, Universidade de Aveiro, 3810-193 Aveiro, Portugal)

  • José F. F. Mendes

    (Departamento de Física & I3N, Campus Universitario de Santiago, Universidade de Aveiro, 3810-193 Aveiro, Portugal)

  • Rui L. Aguiar

    (Departamento de Eletrónica, Telecomunicações e Informática, Campus Universitario de Santiago, Universidade de Aveiro, 3810-193 Aveiro, Portugal
    Instituto de Telecomunicações, Campus Universitario de Santiago, Universidade de Aveiro, 3810-193 Aveiro, Portugal)

Abstract

The function and performance of neural networks are largely determined by the evolution of their weights and biases in the process of training, starting from the initial configuration of these parameters to one of the local minima of the loss function. We perform the quantitative statistical characterization of the deviation of the weights of two-hidden-layer feedforward ReLU networks of various sizes trained via Stochastic Gradient Descent (SGD) from their initial random configuration. We compare the evolution of the distribution function of this deviation with the evolution of the loss during training. We observed that successful training via SGD leaves the network in the close neighborhood of the initial configuration of its weights. For each initial weight of a link we measured the distribution function of the deviation from this value after training and found how the moments of this distribution and its peak depend on the initial weight. We explored the evolution of these deviations during training and observed an abrupt increase within the overfitting region. This jump occurs simultaneously with a similarly abrupt increase recorded in the evolution of the loss function. Our results suggest that SGD’s ability to efficiently find local minima is restricted to the vicinity of the random initial configuration of weights.

Suggested Citation

  • Ricardo J. Jesus & Mário L. Antunes & Rui A. da Costa & Sergey N. Dorogovtsev & José F. F. Mendes & Rui L. Aguiar, 2021. "Effect of Initial Configuration of Weights on Training and Function of Artificial Neural Networks," Mathematics, MDPI, vol. 9(18), pages 1-17, September.
  • Handle: RePEc:gam:jmathe:v:9:y:2021:i:18:p:2246-:d:634243
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/9/18/2246/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/9/18/2246/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:9:y:2021:i:18:p:2246-:d:634243. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.