Prevalence of Neural Collapse during the terminal phase of deep learning training

Vardan Papyan, X. Y. Han, David L. Donoho
8/18/2020
1,114 citations
cs.LGcs.CVstat.ML

Official code: xyhan-github/neuralcollapse (13 stars, Jupyter Notebook, last commit 2022-02-08).

Abstract

Modern practice for training classification deepnets involves a Terminal Phase of Training (TPT), which begins at the epoch where training error first vanishes; During TPT, the training error stays effectively zero while training loss is pushed towards zero. Direct measurements of TPT, for three prototypical deepnet architectures and across seven canonical classification datasets, expose a pervasive inductive bias we call Neural Collapse, involving four deeply interconnected phenomena: (NC1) Cross-example within-class variability of last-layer training activations collapses to zero, as the individual activations themselves collapse to their class-means; (NC2) The class-means collapse to the vertices of a Simplex Equiangular Tight Frame (ETF); (NC3) Up to rescaling, the last-layer classifiers collapse to the class-means, or in other words to the Simplex ETF, i.e. to a self-dual configuration; (NC4) For a given activation, the classifier's decision collapses to simply choosing whichever class has the closest train class-mean, i.e. the Nearest Class Center (NCC) decision rule. The symmetric and very simple geometry induced by the TPT confers important benefits, including better generalization performance, better robustness, and better interpretability.

View on arXivView PDF

Code Implementations(1)

Code reproducing Neural Collapse phenomenon on MSE and cross-entropy loss

132Jupyter NotebookFeb 5, 20214 years ago

Similar Papers

Cite this paper

@article{papyan2020prevalence,
  title  = {Prevalence of Neural Collapse during the terminal phase of deep learning training},
  author = {Vardan Papyan and X. Y. Han and David L. Donoho},
  year   = {2020},
  eprint = {2008.08186},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.08186}
}

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

Discussion