REPAIR: REnormalizing Permuted Activations for Interpolation Repair

Keller Jordan, Hanie Sedghi, Olga Saukh, Rahim Entezari, Behnam Neyshabur
11/15/2022
cs.LGcs.AIcs.CV

Official code: KellerJordan/REPAIR (53 stars, Jupyter Notebook, last commit 2024-01-29).

Abstract

In this paper we look into the conjecture of Entezari et al. (2021) which states that if the permutation invariance of neural networks is taken into account, then there is likely no loss barrier to the linear interpolation between SGD solutions. First, we observe that neuron alignment methods alone are insufficient to establish low-barrier linear connectivity between SGD solutions due to a phenomenon we call variance collapse: interpolated deep networks suffer a collapse in the variance of their activations, causing poor performance.

Show full abstract

Next, we propose REPAIR (REnormalizing Permuted Activations for Interpolation Repair) which mitigates variance collapse by rescaling the preactivations of such interpolated networks. We explore the interaction between our method and the choice of normalization layer, network width, and depth, and demonstrate that using REPAIR on top of neuron alignment methods leads to 60%-100% relative barrier reduction across a wide variety of architecture families and tasks. In particular, we report a 74% barrier reduction for ResNet50 on ImageNet and 90% barrier reduction for ResNet18 on CIFAR10.

View on arXivView PDF

Code Implementations(1)

Code release for REPAIR: REnormalizing Permuted Activations for Interpolation Repair

538Jupyter Notebook, PythonAug 20, 20222 years ago

Similar Papers

Cite this paper

@article{jordan2022repair,
  title  = {REPAIR: REnormalizing Permuted Activations for Interpolation Repair},
  author = {Keller Jordan and Hanie Sedghi and Olga Saukh and Rahim Entezari and Behnam Neyshabur},
  year   = {2022},
  eprint = {2211.08403},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.08403}
}

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/2211.08403.svg)](https://codeofpaper.com/paper/2211.08403)

Discussion