Skip to main content
QUICK REVIEW

[Paper Review] Neural Collapse with Cross-Entropy Loss

Jianfeng Lu, Stefan Steinerberger|arXiv (Cornell University)|Dec 15, 2020
Mathematical Approximation and IntegrationMathematics11 references12 citations
TL;DR

This paper proves that for cross-entropy loss with feature vectors constrained to the unit sphere, the global minimum is achieved when the features form a simplex equiangular tight frame (ETF) if the dimension d satisfies d ≥ n−1. It further shows that as n→∞ with fixed d, the minimizing configuration becomes uniformly distributed on the sphere, connecting the loss to frame potential and spherical designs.

ABSTRACT

We consider the variational problem of cross-entropy loss with $n$ feature vectors on a unit hypersphere in $\mathbb{R}^d$. We prove that when $d \geq n - 1$, the global minimum is given by the simplex equiangular tight frame, which justifies the neural collapse behavior. We also prove that as $n ightarrow \infty$ with fixed $d$, the minimizing points will distribute uniformly on the hypersphere and show a connection with the frame potential of Benedetto & Fickus.

Motivation & Objective

  • To rigorously justify the neural collapse phenomenon observed in deep learning by analyzing a simplified variational problem with cross-entropy loss.
  • To determine the geometric structure of feature vectors that minimize the cross-entropy loss under unit norm constraints.
  • To investigate the asymptotic behavior of the minimizer when the number of classes n grows large while the feature dimension d is fixed.
  • To establish a connection between the loss minimization and frame potential theory, particularly in the high-n regime.
  • To analyze the energy landscape and stability of the minimizers using spherical harmonic expansions and optimal spherical designs.

Proposed method

  • Formulates the cross-entropy loss minimization as a variational problem over unit-norm vectors in R^d.
  • Proves that when d ≥ n−1, the global minimizer corresponds to a simplex equiangular tight frame (ETF), where all pairwise inner products are equal in magnitude.
  • Uses symmetry and convexity arguments to show that the symmetric solution u_i = v_i with ETF structure minimizes the loss.
  • Analyzes the high-n limit (n→∞) with fixed d by relating the loss to the frame potential and using spherical harmonic decomposition.
  • Employs optimal spherical designs to approximate the integral average of the kernel e^{α⟨x,y⟩} and bounds the error using Weyl's asymptotics and Hörmander's L∞ bounds on eigenfunctions.
  • Applies Taylor expansion of the log-loss around α→0 to derive asymptotic behavior and confirm uniform distribution in the limit.

Experimental results

Research questions

  • RQ1What geometric configuration of feature vectors minimizes the cross-entropy loss when constrained to the unit sphere?
  • RQ2Under what conditions on d and n does the minimizer form a simplex equiangular tight frame?
  • RQ3How does the minimizer behave as the number of classes n tends to infinity with fixed dimension d?
  • RQ4What is the connection between the cross-entropy loss and frame potential in the high-n regime?
  • RQ5How flat is the energy landscape of the loss function, and what does this imply for optimization dynamics?

Key findings

  • For d ≥ n−1, the global minimizer of the cross-entropy loss with unit-norm features is a simplex equiangular tight frame (ETF), which justifies the neural collapse behavior.
  • The minimizer achieves the ETF structure when u_i = v_i and all pairwise inner products are equal in magnitude, with inner product value −1/(n−1).
  • In the limit n→∞ with fixed d, the minimizing points distribute uniformly on the unit sphere, as shown via spherical design approximation and frame potential theory.
  • The energy difference between the loss and its average over the sphere decays superexponentially fast when points are chosen as optimal spherical designs.
  • The loss landscape is nearly flat in the high-n regime due to rapid decay of spherical harmonic coefficients, implying weak sensitivity to perturbations.
  • The asymptotic expansion of the loss as α→0 confirms that uniform distribution minimizes the second-order term in α, supporting the uniformity result.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.