Towards Understanding Neural Collapse: The Effects of Batch Normalization and Weight Decay

Leyan Pan, Xinyuan Cao
9/9/2023
cs.LG

No confident code implementation found for this paper.

Abstract

Neural Collapse (NC) is a geometric structure recently observed at the terminal phase of training deep neural networks, which states that last-layer feature vectors for the same class would "collapse" to a single point, while features of different classes become equally separated. We demonstrate that batch normalization (BN) and weight decay (WD) critically influence the emergence of NC. In the near-optimal loss regime, we establish an asymptotic lower bound on the emergence of NC that depends only on the WD value, training loss, and the presence of last-layer BN. Our experiments substantiate theoretical insights by showing that models demonstrate a stronger presence of NC with BN, appropriate WD values, lower loss, and lower last-layer feature norm. Our findings offer a novel perspective in studying the role of BN and WD in shaping neural network features.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{pan2023towards,
  title  = {Towards Understanding Neural Collapse: The Effects of Batch Normalization and Weight Decay},
  author = {Leyan Pan and Xinyuan Cao},
  year   = {2023},
  eprint = {2309.04644},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.04644v3}
}

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

Discussion