Skip to main content
QUICK REVIEW

[Paper Review] Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNs

Timur Garipov, Pavel Izmailov|arXiv (Cornell University)|Feb 27, 2018
Advanced Neural Network ApplicationsComputer Science21 references212 citations
TL;DR

The paper shows that deep neural network optima are connected by simple low-loss curves and introduces Fast Geometric Ensembling (FGE) to build diverse, high-accuracy ensembles with training time comparable to a single model.

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.

Motivation & Objective

  • Understand the geometric structure of DNN loss landscapes and whether distinct optima are connected by low-loss paths.
  • Develop a practical method to find high-accuracy paths between model optima.
  • Leverage connectivity insights to propose an efficient ensembling approach that improves predictive performance.

Proposed method

  • Propose a curve-finding procedure that minimizes the average loss along a parametric curve between two independently trained networks.
  • Use polygonal chains and Bezier curves as curve parametrizations to connect two weight vectors.
  • Optimize an objective that approximates the curve-averaged loss via sampling along the curve (ell and l are two variants).
  • Demonstrate that endpoints of curves can be connected with near-constant train loss and test error along the path.

Experimental results

Research questions

  • RQ1Do modern DNN optima lie on low-loss curves that connect modes in weight space?
  • RQ2Can we reliably discover high-accuracy paths between independently trained networks across architectures and datasets?
  • RQ3Can geometric insights be harnessed to build better, faster ensembling methods?
  • RQ4How does the proposed ensembling method compare to Snapshot Ensembles on standard benchmarks?

Key findings

  • There exist simple curves (e.g., polygonal chains with one bend or Bezier curves) connecting optima with near-constant accuracy.
  • Train loss and test error remain low along the discovered paths between modes across CIFAR-10/100 and several architectures.
  • Points along the connectivity curves yield meaningfully different representations suitable for ensembling.
  • Fast Geometric Ensembling (FGE) outperforms Snapshot Ensembles and independent training on CIFAR-10, CIFAR-100, and ImageNet under comparable budgets.
  • On ImageNet with ResNet-50, FGE improved top-1 error by 0.56% with only 5 epochs.
  • FGE achieves strong ensemble performance while using relatively small weight-space steps between models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.