Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNs

Timur Garipov, Pavel Izmailov, Dmitrii Podoprikhin, Dmitry Vetrov, Andrew Gordon Wilson
2/27/2018
stat.MLcs.AIcs.LG

Official code: timgaripov/dnn-mode-connectivity (286 stars, BSD-2-Clause, last commit 2022-10-24).

Abstract

The loss functions of deep neural networks are complex and their geometric properties are not well understood. We show that the optima of these complex loss functions are in fact connected by simple curves over which training and test accuracy are nearly constant. We introduce a training procedure to discover these high-accuracy pathways between modes. Inspired by this new geometric insight, we also propose a new ensembling method entitled Fast Geometric Ensembling (FGE). Using FGE we can train high-performing ensembles in the time required to train a single model. We achieve improved performance compared to the recent state-of-the-art Snapshot Ensembles, on CIFAR-10, CIFAR-100, and ImageNet.

View on arXivView PDF

Code Implementations(1)

BSD-2-Clause

Mode Connectivity and Fast Geometric Ensembles in PyTorch

28647PythonOct 25, 20183 years agoBSD-2-Clause

Cite this paper

@article{garipov2018loss,
  title  = {Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNs},
  author = {Timur Garipov and Pavel Izmailov and Dmitrii Podoprikhin and Dmitry Vetrov and Andrew Gordon Wilson},
  year   = {2018},
  eprint = {1802.10026},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1802.10026}
}

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

Discussion