Damien Ferbach, Baptiste Goujaud, Gauthier Gidel and Aymeric Dieuleveut (2024), Proceedings of the 27th International Conference on Artificial Intelligence and Statistics (AISTATS 2024), PMLR 238 — ARXIV-2310.19103

Key takeaways

  • Alignment is optimal transport. Permuting network B’s neurons at layer ℓ to minimize Σ_i ‖[W_A]_i − [W̃_B]_i‖² is the Monge problem between the empirical distributions of the two layers’ weight vectors. By Birkhoff’s theorem its value is their Wasserstein distance (App. B, Lemma B.3). If each layer’s weights are i.i.d. draws from one distribution, that distance shrinks with width at the known rates for empirical measures, the activations of A, permuted B and every network on the line between them stay close, and with a convex loss the line stays low-loss.
  • Two-layer networks after training (Theorem 3.1). Two wide two-layer nets trained independently by SGD in the mean-field regime (small step size, bounded Lipschitz non-linearity, which excludes ReLU) are, with high probability, linearly connected modulo a permutation of the hidden layer, with an output-level and a squared-loss version.
  • Deep networks at initialization (Lemma 5.1, Theorem 5.2). With Gaussian i.i.d. weights and ReLU allowed, LMC modulo permutation holds once the width of layer ℓ exceeds m̃_ℓ = Õ((T_ℓ/ε)^{m̃_{ℓ−1}}). For two-layer networks that is ε^{−m₀}, against Entezari et al.’s ε^{−(2m₀+4)}. A matching lower bound (Theorem 5.3) shows the recursive exponential growth is tight. An “effective width” device lets every layer have the same width.
  • Lower-dimensional weights need less width (Theorem 5.4). If weight distributions are approximately supported on a subspace of dimension e·m̃_{ℓ−1}, the required width drops until the approximation breaks down. The result extends to independent sub-Gaussian weights.
  • Empirically (§6), across learning rates for a 3×512 MLP on MNIST, a lower approximate dimension of the matrices being matched goes with lower barriers. A weight matching weighted by the activation covariance beats plain weight matching.

Standing in the record

Filed with the batch ADR-027 opened loss-landscapes for. It extends Entezari et al. (LIT-652): it proves their conjecture beyond their single case, from one hidden layer at random initialization to trained two-layer nets in the mean-field regime and to deep nets with independent weights. Its bound is better than theirs in the case they share: ε^{−m₀} against ε^{−(2m₀+4)} for the hidden width.

It is compared against Git Re-Basin (LIT-661) in §6. It takes that paper’s weight-matching and activation-matching objectives as baselines and adds a third, weight matching under the activation covariance, which “constantly and substantially outperforms naive Weight Matching” across learning rates (Fig. 2). It also gives an account of a tension between the two earlier papers. Git Re-Basin found no linear connectivity at initialization, where Entezari et al.’s theorem proves it. The width the bound requires at initialization is “excessive as compared to the typical width of neural networks used in practice”, so both can hold.

Appendix B.14 relates the result to Kuditipudi et al.’s dropout stability (LIT-671) in a simplified one-hidden-layer setting: networks with independent sub-Gaussian neuron weights become dropout stable at the same rate in width as they become linearly connected. It calls this “a first step” towards unifying the two views, so no relation is declared.

It carries mathematics because its method is the theory of optimal transport and the convergence of empirical measures, applied to a question about networks.