Random initialisations performing above chance and how to find them

Frederik Benzing, Simon Schug, Robert Meier, Johannes von Oswald, Yassir Akram +3 more
9/15/2022
cs.LG

Official code: freedbee/permuted_initialisations (7 stars, Jupyter Notebook, last commit 2022-09-21).

Abstract

Neural networks trained with stochastic gradient descent (SGD) starting from different random initialisations typically find functionally very similar solutions, raising the question of whether there are meaningful differences between different SGD solutions. Entezari et al.\ recently conjectured that despite different initialisations, the solutions found by SGD lie in the same loss valley after taking into account the permutation invariance of neural networks.

Show full abstract

Concretely, they hypothesise that any two solutions found by SGD can be permuted such that the linear interpolation between their parameters forms a path without significant increases in loss. Here, we use a simple but powerful algorithm to find such permutations that allows us to obtain direct empirical evidence that the hypothesis is true in fully connected networks. Strikingly, we find that two networks already live in the same loss valley at the time of initialisation and averaging their random, but suitably permuted initialisation performs significantly above chance. In contrast, for convolutional architectures, our evidence suggests that the hypothesis does not hold. Especially in a large learning rate regime, SGD seems to discover diverse modes.

View on arXivView PDF

Code Implementations(1)

Code accompanying "Random initialisations performing above chance and how to find them", for paper see https://arxiv.org/abs/2209.07509

71Jupyter Notebook, PythonSep 21, 20224 years ago

Similar Papers

Cite this paper

@article{benzing2022random,
  title  = {Random initialisations performing above chance and how to find them},
  author = {Frederik Benzing and Simon Schug and Robert Meier and Johannes von Oswald and Yassir Akram and Nicolas Zucchet and Laurence Aitchison and Angelika Steger},
  year   = {2022},
  eprint = {2209.07509},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.07509}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.07509.svg)](https://codeofpaper.com/paper/2209.07509)

Discussion