Layer-wise Linear Mode Connectivity

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Adilova, Linara, Andriushchenko, Maksym, Kamp, Michael, Fischer, Asja, Jaggi, Martin
Format: Preprint
Veröffentlicht: 2023
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911802050215936
author Adilova, Linara
Andriushchenko, Maksym
Kamp, Michael
Fischer, Asja
Jaggi, Martin
author_facet Adilova, Linara
Andriushchenko, Maksym
Kamp, Michael
Fischer, Asja
Jaggi, Martin
contents Averaging neural network parameters is an intuitive method for fusing the knowledge of two independent models. It is most prominently used in federated learning. If models are averaged at the end of training, this can only lead to a good performing model if the loss surface of interest is very particular, i.e., the loss in the midpoint between the two models needs to be sufficiently low. This is impossible to guarantee for the non-convex losses of state-of-the-art networks. For averaging models trained on vastly different datasets, it was proposed to average only the parameters of particular layers or combinations of layers, resulting in better performing models. To get a better understanding of the effect of layer-wise averaging, we analyse the performance of the models that result from averaging single layers, or groups of layers. Based on our empirical and theoretical investigation, we introduce a novel notion of the layer-wise linear connectivity, and show that deep networks do not have layer-wise barriers between them.
format Preprint
id arxiv_https___arxiv_org_abs_2307_06966
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Layer-wise Linear Mode Connectivity
Adilova, Linara
Andriushchenko, Maksym
Kamp, Michael
Fischer, Asja
Jaggi, Martin
Machine Learning
Averaging neural network parameters is an intuitive method for fusing the knowledge of two independent models. It is most prominently used in federated learning. If models are averaged at the end of training, this can only lead to a good performing model if the loss surface of interest is very particular, i.e., the loss in the midpoint between the two models needs to be sufficiently low. This is impossible to guarantee for the non-convex losses of state-of-the-art networks. For averaging models trained on vastly different datasets, it was proposed to average only the parameters of particular layers or combinations of layers, resulting in better performing models. To get a better understanding of the effect of layer-wise averaging, we analyse the performance of the models that result from averaging single layers, or groups of layers. Based on our empirical and theoretical investigation, we introduce a novel notion of the layer-wise linear connectivity, and show that deep networks do not have layer-wise barriers between them.
title Layer-wise Linear Mode Connectivity
topic Machine Learning
url https://arxiv.org/abs/2307.06966