Skip to main content
QUICK REVIEW

[Paper Review] Loss Surface Simplexes for Mode Connecting Volumes and Fast Ensembling

Gregory W. Benton, Wesley J. Maddox|arXiv (Cornell University)|Feb 25, 2021
Model Reduction and Neural NetworksPhysics and Astronomy26 references5 citations
TL;DR

This paper introduces Simplicial Pointwise Random Optimization (SPRO) to discover multi-dimensional simplicial complexes of low-loss solutions in deep neural network loss landscapes, enabling fast ensembling via Ensembled SPRO (ESPRO). ESPRO outperforms deep ensembles in accuracy, calibration, and robustness to dataset shift by efficiently sampling diverse, low-loss models from geometrically defined simplexes, requiring only a few training epochs from pre-trained models.

ABSTRACT

With a better understanding of the loss surfaces for multilayer networks, we can build more robust and accurate training procedures. Recently it was discovered that independently trained SGD solutions can be connected along one-dimensional paths of near-constant training loss. In this paper, we show that there are mode-connecting simplicial complexes that form multi-dimensional manifolds of low loss, connecting many independently trained models. Inspired by this discovery, we show how to efficiently build simplicial complexes for fast ensembling, outperforming independently trained deep ensembles in accuracy, calibration, and robustness to dataset shift. Notably, our approach only requires a few training epochs to discover a low-loss simplex, starting from a pre-trained solution. Code is available at https://github.com/g-benton/loss-surface-simplexes.

Motivation & Objective

  • To understand the geometric structure of deep neural network loss surfaces beyond isolated minima or 1D connecting paths.
  • To identify large, multi-dimensional manifolds (simplicial complexes) of low-loss solutions that connect many independently trained models.
  • To develop an efficient method for discovering these low-loss simplicial complexes starting from pre-trained models.
  • To leverage the discovered geometric structure to create a faster, more accurate ensembling method with improved uncertainty calibration.
  • To demonstrate that sampling within these simplexes yields state-of-the-art performance compared to deep ensembles and Bayesian baselines.

Proposed method

  • SPRO is proposed as a stochastic optimization method to iteratively construct a simplicial complex by finding low-loss points in parameter space around pre-trained models.
  • The method uses random walks and loss evaluation to identify vertices that form a simplex with uniformly low training loss across all points in the convex hull.
  • The simplicial complex is defined by its bounding vertices, enabling direct computation of the simplex’s dimensionality and volume.
  • ESPRO generates ensembles by sampling model parameters uniformly from within the discovered simplex, ensuring diversity and low loss.
  • The approach is designed as a drop-in replacement for deep ensembles, requiring only a few additional training epochs after pre-training.
  • Uncertainty quantification is performed via the predictive distribution over the simplex, approximating a Bayesian model average with a uniform prior over the complex.

Experimental results

Research questions

  • RQ1Do there exist multi-dimensional manifolds in the loss landscape that connect multiple independently trained models through a single low-loss region?
  • RQ2Can we efficiently discover such high-dimensional, low-loss simplicial complexes in practical training time?
  • RQ3Can sampling from these geometric structures lead to better generalization and uncertainty calibration than standard deep ensembling?
  • RQ4How does the performance of ensembles formed via simplex sampling compare to state-of-the-art Bayesian and ensemble methods under dataset shift?
  • RQ5Can the geometric structure of the loss landscape be leveraged to improve model calibration and robustness without additional training?

Key findings

  • The loss landscape of deep neural networks contains large, multi-dimensional simplicial complexes of low loss that connect arbitrarily many independently trained models, challenging the view of isolated minima or 1D connecting paths.
  • SPRO successfully discovers these low-loss simplicial complexes in just a few training epochs starting from pre-trained models, enabling fast and scalable exploration.
  • ESPRO ensembles, formed by sampling within the discovered simplex, achieve higher accuracy than standard deep ensembles across multiple benchmarks, including CIFAR-10 under Gaussian noise corruption.
  • ESPRO demonstrates superior calibration, with lower expected calibration error (ECE) and negative log likelihood (NLL) after temperature scaling, outperforming MultiSWAG and MultiSWA.
  • In qualitative regression tasks, ESPRO produces better-calibrated uncertainty bands than deep ensembles and the state-of-the-art subspace method of Izmailov et al. (2019), especially in regions with missing data.
  • The method provides robust performance under various dataset shift scenarios, confirming its utility for real-world deployment where distributional shift is common.

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.