arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.07509cs.LG
收藏

随机初始化执行以上的机会,以及如何找到他们

Random initialisations performing above chance and how to find them

ETH Zurich(苏黎世联邦理工学院);University of Bristol(布里斯托大学)

Frederik Benzing, Simon Schug, Robert Meier, Johannes von Oswald, Yassir Akram, Nicolas Zucchet, Laurence Aitchison, Angelika Steger

摘要:

从不同的随机初始化开始,用随机梯度下降(SGD)训练的神经网络通常会找到功能上非常相似的解决方案,这就提出了不同SGD解决方案之间是否存在有意义的差异的问题。Entezari等人最近发现,尽管初始化不同,但在考虑了神经网络的置换不变性后,SGD找到的解位于相同的损失谷。具体地说,他们假设SGD找到的任何两个解都可以置换,使得它们的参数之间的线性插值形成一条路径,而不会显着增加损耗。在这里,我们使用一个简单但强大的算法来找到这样的排列,使我们能够获得直接的经验证据,证明该假设在完全连接的网络中是正确的。引人注目的是,我们发现两个网络在初始化时已经生活在同一个损失谷中,并且平均它们的随机,但适当排列的初始化表现显着高于机会。相比之下,对于卷积架构,我们的证据表明该假设不成立。特别是在一个大的学习率制度,SGD似乎发现不同的模式。

英文摘要:

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. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑