Learning Neural Network Subspaces

Mitchell Wortsman, Maxwell Horton, Carlos Guestrin, Ali Farhadi, Mohammad Rastegari
2/20/2021
cs.LGcs.CV

Official code: apple-aiml-research/learning-subspaces (132 stars, Python, last commit 2026-09-11).

Abstract

Recent observations have advanced our understanding of the neural network optimization landscape, revealing the existence of (1) paths of high accuracy containing diverse solutions and (2) wider minima offering improved performance. Previous methods observing diverse paths require multiple training runs.

Show full abstract

In contrast we aim to leverage both property (1) and (2) with a single method and in a single training run. With a similar computational cost as training one model, we learn lines, curves, and simplexes of high-accuracy neural networks. These neural network subspaces contain diverse solutions that can be ensembled, approaching the ensemble performance of independently trained networks without the training cost. Moreover, using the subspace midpoint boosts accuracy, calibration, and robustness to label noise, outperforming Stochastic Weight Averaging.

View on arXivView PDF

Code Implementations(1)

13215PythonMar 2, 20212 months agoNOASSERTION

Similar Papers

Cite this paper

@article{wortsman2021learning,
  title  = {Learning Neural Network Subspaces},
  author = {Mitchell Wortsman and Maxwell Horton and Carlos Guestrin and Ali Farhadi and Mohammad Rastegari},
  year   = {2021},
  eprint = {2102.10472},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.10472}
}

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

Discussion