Loss Surface Simplexes for Mode Connecting Volumes and Fast Ensembling

Gregory W. Benton, Wesley J. Maddox, Sanae Lotfi, Andrew Gordon Wilson

Abstract

Traditional views of neural network loss landscapes often characterize local minima as isolated points or narrow valleys connected by thin paths. This paper challenges that perspective by demonstrating that loss landscapes contain large, high-dimensional volumes (simplexes) of low loss that connect disparate training solutions. We introduce Simplicial Pointwise Random Optimization (SPRO) to identify these volumes and Ensembled SPRO (ESPRO), an efficient ensembling technique. Our results show that ESPRO is faster to train and more robust to data corruption than standard deep ensembles, revealing that functional diversity can be found within close parameter proximity.

Introduction

In deep learning, the "loss landscape" is frequently visualized as a rugged mountain range where standard training via Stochastic Gradient Descent (SGD) seeks the lowest valley. For years, these valleys were thought to be isolated basins. Subsequent research revealed they were often connected by narrow, winding paths of low loss. This work reveals a more expansive structure: these valleys are actually part of massive, high-dimensional "plains" of low loss.

Conceptual progression from isolated modes to connected paths and finally to high-dimensional low-loss volumes.

Problem Statement

When training the same neural network architecture multiple times with different random initializations, the resulting weight sets (modes) typically perform similarly well. Historically, these were viewed as isolated islands in parameter space. While recent work demonstrated 1D paths of low loss connecting these modes, this connectivity still felt restrictive. This paper addresses two primary questions:

  1. Structural: Is the connectivity between models merely a thin line, or is it a broader, higher-dimensional manifold?
  2. Practical: Can we exploit the structure of the loss surface to achieve the benefits of deep ensembles—the gold standard for accuracy and uncertainty—more efficiently?

Methodology: SPRO and ESPRO

The authors introduce Simplicial Pointwise Random Optimization (SPRO). A simplex is the simplest possible shape in any given dimension (e.g., a line in 1D, a triangle in 2D, a tetrahedron in 3D).

  • The SPRO Objective: Instead of optimizing a single point, SPRO optimizes the vertices of a simplex. The goal is to minimize the expected loss of any point sampled randomly from within that simplex while simultaneously maximizing the simplex's volume using Cayley-Menger determinants.
  • ESPRO (Ensembled SPRO): To generate predictions, multiple models are sampled from within the discovered low-loss simplex and their outputs are averaged. This provides "functional diversity"—even if the models share similar training loss, they provide complementary perspectives on unseen data.

Empirical Evaluation

The researchers evaluated their methods across several benchmarks, including image classification on CIFAR-10 and CIFAR-100, dimensionality experiments on MNIST, and synthetic Two-Spirals data for decision boundary visualization. To test robustness under dataset shift, they utilized CIFAR-10-C, which features various data corruptions like noise and blur.

Key Insights: The Volume Revelation

A central finding is that the loss landscape isn't just connected by paths; it contains "valleys" that are at least 10-dimensional for standard networks like VGG-16. These high-dimensional plains allow for significant functional diversity without needing to find entirely different "islands" in the landscape. Models in close parameter proximity within the same simplex can still make diverse, helpful predictions.

Loss landscape visualizations showing low-loss simplexes (triangles) connecting different weight modes.

Furthermore, this connectivity appears universal; any number of independently trained models can be connected into a single, shared multi-dimensional manifold of low loss. Efficiency is a major benefit: a high-performing simplex can often be found starting from a pre-trained model in less than 10% of the original training time.

Results and Discussion

ESPRO consistently outperformed standard deep ensembles. For VGG-16 on CIFAR-10, a 3-component deep ensemble achieved a ~6.2% error rate, whereas a 3-component ESPRO ensemble dropped the error to 5.7%.

Under heavy Gaussian noise or blur in CIFAR-10-C, ESPRO maintained significantly higher accuracy and better calibration (matching confidence to actual accuracy) compared to state-of-the-art methods like MultiSWAG. For a fixed accuracy budget, ESPRO proves much faster by efficiently exploring existing volumes rather than training new models from scratch.

Conclusion

This work suggests that high-dimensional low-loss volumes are a fundamental property of neural networks and a key reason for their strong generalization capabilities. While some architectures like Vision Transformers (ViTs) showed more "inflexible" landscapes with smaller volumes, the general principle of simplicial connectivity offers a powerful new tool for both understanding and optimizing deep learning models. Future work may involve more sophisticated navigational tools, such as MCMC, to explore these high-dimensional plains even more effectively.

Summary updated

BibTeX
@inproceedings{benton2021loss,
  author = {Gregory W. Benton and Wesley J. Maddox and Sanae Lotfi and Andrew Gordon Wilson},
  title = {{Loss Surface Simplexes for Mode Connecting Volumes and Fast Ensembling}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=ztmGlhIVmsd},
}
Figure