Optimizing Mode Connectivity via Neuron Alignment

N. Joseph Tatro, Pin-Yu Chen, Payel Das, Igor Melnyk, Prasanna Sattigeri +1 more
9/5/2020
cs.LGmath.OCstat.ML

Official code: IBM/NeuronAlignment (16 stars, Python, Apache-2.0, last commit 2020-12-10).

Abstract

The loss landscapes of deep neural networks are not well understood due to their high nonconvexity. Empirically, the local minima of these loss functions can be connected by a learned curve in model space, along which the loss remains nearly constant; a feature known as mode connectivity.

Show full abstract

Yet, current curve finding algorithms do not consider the influence of symmetry in the loss surface created by model weight permutations. We propose a more general framework to investigate the effect of symmetry on landscape connectivity by accounting for the weight permutations of the networks being connected. To approximate the optimal permutation, we introduce an inexpensive heuristic referred to as neuron alignment. Neuron alignment promotes similarity between the distribution of intermediate activations of models along the curve. We provide theoretical analysis establishing the benefit of alignment to mode connectivity based on this simple heuristic. We empirically verify that the permutation given by alignment is locally optimal via a proximal alternating minimization scheme. Empirically, optimizing the weight permutation is critical for efficiently learning a simple, planar, low-loss curve between networks that successfully generalizes. Our alignment method can significantly alleviate the recently identified robust loss barrier on the path connecting two adversarial robust models and find more robust and accurate models on the path.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Codes for the paper "Optimizing Mode Connectivity via Neuron Alignment" from NeurIPS 2020.

161PythonSep 2, 20205 years agoApache-2.0

Similar Papers

Cite this paper

@article{tatro2020optimizing,
  title  = {Optimizing Mode Connectivity via Neuron Alignment},
  author = {N. Joseph Tatro and Pin-Yu Chen and Payel Das and Igor Melnyk and Prasanna Sattigeri and Rongjie Lai},
  year   = {2020},
  eprint = {2009.02439},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.02439}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2009.02439.svg)](https://codeofpaper.com/paper/2009.02439)

Discussion