Theorem 1: neural collapse for the cross-entropy loss
ProvedNeuralCollapseCE.ce_minimizers_are_simplex_etfLet and . Consider the problem of minimising the cross-entropy loss
over with , . A pair is a global minimiser if and only if is a simplex equiangular tight frame and for all .
This is the neural collapse phenomenon for unconstrained features with cross-entropy loss: at the optimum the class features form a simplex ETF and coincide with the classifier vectors.
Formalization Note "The global minimum corresponds to" is stated as an equivalence. The hypothesis is implicit in the paper and necessary: for the loss is identically , so every pair of unit vectors, including , is a minimiser.
import Mathlib import Definitions.Def_NeuralCollapseCE_Basic open MeasureTheory Filter Topology Asymptotics
namespace NeuralCollapseCE
theorem ce_minimizers_are_simplex_etf {n d : ℕ} (hn : 2 ≤ n) (hd : n ≤ d + 1)
(u v : Fin n → Vec d) :
IsCEMinimizer u v ↔ (IsSimplexETF u ∧ v = u) := by sorry
end NeuralCollapseCERead-back
What the Lean code literally says, in plain math · claude-opus-5-5
For natural numbers and with
let and be arbitrary -tuples of vectors in . Here carries the standard Euclidean inner product and norm . Since , the second hypothesis forces . The theorem asserts that the two conditions (A) and (B) below are equivalent (both directions).
(A) is a constrained global minimiser of the cross-entropy loss. This means all three of the following hold:
- for every ;
- for every ;
- for every pair of -tuples in whose vectors all have norm .
The loss is defined for any -tuples by
The denominator is always positive, so no division by zero occurs. There is no temperature, scaling or bias parameter. The competitors range only over unit-norm configurations.
(B) is a simplex equiangular tight frame and equals . This means all three of the following hold:
- for every ;
- for all indices ,
- for every , so the two tuples coincide entry by entry.
Because , the quantity in the frame condition is at least , so no division by zero occurs there. The frame condition consists solely of unit norms and the stated pairwise inner products. It imposes no separate requirement that the vectors sum to zero, nor any condition on the span of the vectors.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.