← Latest papers
🤖 machine learning

The role of class encoding in neural collapse

This paper investigates how label encoding influences neural collapse, demonstrating that for one-hot encoded labels on balanced data, increasing bias regularization causes uncentered mean features to transition from a simplex equiangular tight frame to an orthogonal frame, while also showing that the classifier's bias generally serves to center arbitrary label encodings.

Original authors: Bastien Massion, Roy Makhlouf, Estelle Massart

Published 2026-06-02
📖 4 min read☕ Coffee break read

Original authors: Bastien Massion, Roy Makhlouf, Estelle Massart

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are training a team of robots (a neural network) to sort a pile of mixed-up toys into different boxes. The robots have a "brain" (the hidden layers) that processes the toys, and a "decision maker" (the final classifier) that points to the correct box.

This paper investigates a strange and beautiful phenomenon called Neural Collapse. When the robots get really good at their job (making zero mistakes), something magical happens in their brains: the internal representations of toys from the same box start to clump together into tight, perfect groups.

Here is the simple breakdown of what the authors discovered, using everyday analogies:

1. The Two Shapes of Organization

The paper looks at how these clumps of toys arrange themselves. They found that the arrangement depends heavily on two things: how the boxes are labeled and how much the decision maker is allowed to "shift" its position.

  • The "Orthonormal" Shape (The Grid): Imagine the robots arrange the toy groups like the corners of a perfect square grid. Every group is at a right angle to the others. This happens when the decision maker is forced to stay exactly at the center (zero bias).
  • The "Simplex" Shape (The Pyramid): Imagine the groups arrange themselves like the corners of a perfect pyramid (or a triangle if there are only three groups). They are all equally spaced from each other, but they are tilted slightly. This happens when the decision maker is allowed to move freely.

The Big Discovery: The authors realized these two shapes aren't actually different worlds. They are just the same shape, just shifted.

  • Think of the "Grid" as a pyramid sitting on a table.
  • If you lift the whole pyramid up (add a "bias"), the center of the pyramid moves, but the relative angles between the corners stay the same.
  • The paper shows that by adjusting a "regularization knob" (which controls how much the decision maker is allowed to move), you can smoothly slide the robots' brain from the Grid shape to the Pyramid shape.

2. The Role of the "Label" (The Box Tags)

The paper asks: Does it matter how we write the names on the boxes?

  • Standard Labels (One-Hot): Usually, we label boxes with a "1" for the right box and "0" for everything else (like a light switch).
  • The Bias's Job: The authors found that the decision maker's "bias" acts like a compensator. Its main job is to make sure the average position of all the labels sits right in the middle of the room.
    • If your labels are naturally centered (balanced), the bias stays at zero.
    • If your labels are off-center (like if you use a weird coding system), the bias shifts to pull the whole system back to the center. It's like a tightrope walker adjusting their pole to stay balanced.

3. What Changes and What Stays the Same?

The paper checks if changing the labels (the encoding) breaks the magic of Neural Collapse.

  • The "Clumping" (NC1): This part is super robust. No matter how you label the boxes or how you tune the bias, the robots will always clump the same toys together. This is like saying, "No matter how you paint the boxes, the red cars will always park in the red zone."
  • The "Perfect Symmetry" (NC2): This is where the labels matter. The perfect pyramid shape only forms if the labels themselves have a certain symmetry. If you scramble the labels in a weird way, the robots might not form that perfect pyramid, though they will still clump.
  • The "Mirror Image" (NC3): Usually, the decision maker's weights look exactly like the clumped toy groups (a property called self-duality). The paper found that if you rotate or flip the labels, this mirror image breaks. However, it's not really broken; it's just rotated. If you rotate the decision maker back, the mirror image returns. So, the connection is still there, just wearing a different hat.

Summary

In short, this paper explains that Neural Collapse is a very stable phenomenon.

  1. The robots always group similar things together.
  2. The specific geometric shape of these groups (Grid vs. Pyramid) is controlled by a "bias knob" and the way the labels are written.
  3. The bias acts as a centering mechanism, ensuring the system stays balanced regardless of how the labels are encoded.
  4. Even if the labels are scrambled, the fundamental "clumping" remains, and the relationship between the groups and the decision maker is just rotated, not destroyed.

The authors didn't propose new medical uses or future applications; they simply mapped out the mathematical "geometry" of how these AI brains organize themselves when they are doing their best work.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →