Proving Linear Mode Connectivity of Neural Networks via Optimal Transport - PaRis AI Research InstitutE Access content directly
Conference Papers Year : 2024

Proving Linear Mode Connectivity of Neural Networks via Optimal Transport

Abstract

The energy landscape of high-dimensional non-convex optimization problems is crucial to understanding the effectiveness of modern deep neural network architectures. Recent works have experimentally shown that two different solutions found after two runs of a stochastic training are often connected by very simple continuous paths (eg, linear) modulo a permutation of the weights. In this paper, we provide a framework theoretically explaining this empirical observation. Based on convergence rates in Wasserstein distance of empirical measures, we show that, with high probability, two wide enough two-layer neural networks trained with stochastic gradient descent are linearly connected. Additionally, we express upper and lower bounds on the width of each layer of two deep neural networks with independent neuron weights to be linearly connected. Finally, we empirically demonstrate the validity of our approach by showing how the dimension of the support of the weight distribution of neurons, which dictates Wasserstein convergence rates is correlated with linear mode connectivity.
Fichier principal
Vignette du fichier
ferbach24a.pdf (2.45 Mo) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-04554453 , version 1 (22-04-2024)

Identifiers

  • HAL Id : hal-04554453 , version 1

Cite

Damien Ferbach, Baptiste Goujaud, Gauthier Gidel, Aymeric Dieuleveut. Proving Linear Mode Connectivity of Neural Networks via Optimal Transport. 27th International Conference on Artificial Intelligence and Statistics (AISTATS 2024), May 2024, Valence, Spain. pp.3853-3861. ⟨hal-04554453⟩
0 View
2 Download

Share

Gmail Facebook X LinkedIn More