Neural Collapse with Normalized Features: A Geometric Analysis over the Riemannian Manifold

Can Yaras, Peng Wang, Zhihui Zhu, Laura Balzano, Qing Qu
9/19/2022
cs.LGcs.CVcs.IT

Official code: cjyaras/normalized-neural-collapse (2 stars, Python, MIT, last commit 2022-09-24).

Abstract

When training overparameterized deep networks for classification tasks, it has been widely observed that the learned features exhibit a so-called "neural collapse" phenomenon. More specifically, for the output features of the penultimate layer, for each class the within-class features converge to their means, and the means of different classes exhibit a certain tight frame structure, which is also aligned with the last layer's classifier.

Show full abstract

As feature normalization in the last layer becomes a common practice in modern representation learning, in this work we theoretically justify the neural collapse phenomenon for normalized features. Based on an unconstrained feature model, we simplify the empirical loss function in a multi-class classification task into a nonconvex optimization problem over the Riemannian manifold by constraining all features and classifiers over the sphere. In this context, we analyze the nonconvex landscape of the Riemannian optimization problem over the product of spheres, showing a benign global landscape in the sense that the only global minimizers are the neural collapse solutions while all other critical points are strict saddles with negative curvature. Experimental results on practical deep networks corroborate our theory and demonstrate that better representations can be learned faster via feature normalization.

View on arXivView PDF

Code Implementations(1)

MIT

Experimental code for "Neural Collapse with Normalized Features: A Geometric Analysis over the Riemannian Manifold"

21Python, ShellSep 23, 20224 years agoMIT

Similar Papers

Cite this paper

@article{yaras2022neural,
  title  = {Neural Collapse with Normalized Features: A Geometric Analysis over the Riemannian Manifold},
  author = {Can Yaras and Peng Wang and Zhihui Zhu and Laura Balzano and Qing Qu},
  year   = {2022},
  eprint = {2209.09211},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.09211}
}

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

Discussion