arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.06498cs.LGstat.ML
收藏

置换意义下神经网络的同时线性连通性

Simultaneous linear connectivity of neural networks modulo permutation

University of Toronto(多伦多大学);Vector Institute(向量研究所);McGill University(麦吉尔大学);Mila Quebec AI Institute(米拉魁北克人工智能研究所);Google Research(谷歌研究院);Google DeepMind(谷歌DeepMind)

Ekansh Sharma, Devin Kwok, Tom Denton, Daniel M. Roy, David Rolnick, Gintare Karolina Dziugaite

AI总结:

该研究将神经网络置换对称性相关的线性连通性论断细化为弱、中、强三个层级,验证了中间论断在迭代训练与剪枝网络序列中成立,并首次为强线性连通性的可能性提供了实验证据。

摘要:

神经网络通常具有置换对称性,这是导致网络损失景观非凸性的原因之一,因为在一个已训练网络的两个置换版本之间进行线性插值往往会遇到高损失屏障。近期研究认为,置换对称性是非凸性的唯一来源,这意味着如果对已训练网络进行恰当置换,它们之间本质上不存在这类屏障。在本研究中,我们将这些观点细化为三个强度递增的不同论断。我们发现,现有证据仅支持“弱线性连通性”——即对于属于一组SGD(随机梯度下降)解的每一对网络,都存在(多个)置换能将其与其他网络线性连通。相比之下,“强线性连通性”论断——即对于每个网络,存在一个置换能同时将其与所有其他网络连通——在直觉和实践上都更具价值。这一更强的论断意味着,在考虑置换因素后,损失景观是凸的,并且能够在三个或更多独立训练的模型之间进行线性插值而不会升高损失。在本研究中,我们提出了一个中间论断——即对于特定的网络序列,存在一个置换能同时对齐这些序列中对应的网络对。具体而言,我们发现单个置换可以对齐迭代训练以及迭代剪枝的网络序列,这意味着两个网络分别在其优化轨迹和稀疏化轨迹的每一步都表现出低损失屏障。最后,我们通过证明在三个网络之间进行插值时,屏障会随着网络宽度的增加而降低,首次提供了强线性连通性在特定条件下可能成立的证据。

英文摘要:

Neural networks typically exhibit permutation symmetries which contribute to the non-convexity of the networks' loss landscapes, since linearly interpolating between two permuted versions of a trained network tends to encounter a high loss barrier. Recent work has argued that permutation symmetries are the only sources of non-convexity, meaning there are essentially no such barriers between trained networks if they are permuted appropriately. In this work, we refine these arguments into three distinct claims of increasing strength. We show that existing evidence only supports "weak linear connectivity"-that for each pair of networks belonging to a set of SGD solutions, there exist (multiple) permutations that linearly connect it with the other networks. In contrast, the claim "strong linear connectivity"-that for each network, there exists one permutation that simultaneously connects it with the other networks-is both intuitively and practically more desirable. This stronger claim would imply that the loss landscape is convex after accounting for permutation, and enable linear interpolation between three or more independently trained models without increased loss. In this work, we introduce an intermediate claim-that for certain sequences of networks, there exists one permutation that simultaneously aligns matching pairs of networks from these sequences. Specifically, we discover that a single permutation aligns sequences of iteratively trained as well as iteratively pruned networks, meaning that two networks exhibit low loss barriers at each step of their optimization and sparsification trajectories respectively. Finally, we provide the first evidence that strong linear connectivity may be possible under certain conditions, by showing that barriers decrease with increasing network width when interpolating among three networks.

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

↑