On the Robustness of Neural Collapse and the Neural Collapse of Robustness

Jingtong Su, Ya Shi Zhang, Nikolaos Tsilivis, Julia Kempe · DOI

Introduction

In the terminal phase of training, deep neural networks often exhibit a phenomenon known as Neural Collapse (NC). This process involves the high-dimensional features of each class collapsing into their respective class means, which then arrange themselves into a perfectly symmetrical geometric structure called a simplex equiangular tight frame. While NC represents a state of mathematical elegance and maximum separability, its relationship with adversarial robustness—the ability of a model to resist small, malicious input perturbations—has remained largely unexplored. This research investigates whether this geometric simplicity acts as a shield or a point of failure, and how different robust training methodologies influence the emergence of these structures.

Experimental Setup

The authors conducted an empirical study across several standard computer vision benchmarks, including CIFAR-10, CIFAR-100, and ImageNette. They compared three distinct training paradigms:

  1. Standardly-Trained (ST): Models optimized using standard cross-entropy loss.
  2. Adversarially-Trained (AT): Models trained on "worst-case" examples generated via Projected Gradient Descent (PGD).
  3. TRADES: A robust training objective designed to balance the trade-off between clean accuracy and adversarial resilience.

The study utilized four standard metrics (NC1 through NC4) to track intra-class variability, class mean symmetry, and classifier alignment. A layerwise analysis was also performed to observe how these properties evolve from the input layer to the final output.

Geometric Fragility and Resilience

A primary finding of this work is the extreme fragility of Neural Collapse in standard models. While these models achieve geometric simplicity on clean data, a tiny adversarial perturbation causes the internal representations to "leap" across the feature space. The elegant simplex structure does not merely distort; it shatters, as representations are pushed into the angular vicinity of incorrect class vertices.

Comparison of feature representations under attack: Standard models (left) show shattered structures (X̃), while Adversarially Trained models (right) maintain a robust, collapsed simplex even under perturbation.

Conversely, Adversarial Training (AT) acts as a powerful reinforcer of this geometry. In AT models, the representations of both clean and adversarial data collapse into the exact same simplex structure. This suggests that for AT models, geometric simplicity is not a byproduct but a resilient anchor for the model's decision logic.

Empirical Analysis of Neural Collapse

The quantitative results reveal a stark contrast between training methods. AT models demonstrate NC metrics (such as variability collapse) that are significantly more stable than those of standard models. Interestingly, the study found that Neural Collapse is not a prerequisite for robustness. Models trained with the TRADES objective achieve high robustness but exhibit almost no sign of NC, indicating that AT and TRADES arrive at fundamentally different geometric solutions to achieve adversarial resilience.

Training dynamics of ResNet18 and VGG11 under ST and AT regimes. The plots show Loss, Accuracy, and NC metrics (NC1-NC4) over 400 epochs, highlighting the convergence of clean and robust features in AT models.

Furthermore, the research highlights the "wisdom" of early layers. In standard models, while the final layers are easily fooled, the earlier blocks maintain a degree of robust collapse. A simple nearest-neighbor classifier applied to these early features can maintain roughly 40% accuracy under attack, even when the final model output drops to 0%.

Discussion and Future Directions

The study concludes that while Adversarial Training induces a "robust" version of Neural Collapse, other methods like TRADES do not, posing new questions for theoretical frameworks like the "Unconstrained Feature Model" which currently cannot account for input-level perturbation propagation. Future research is required to determine why specific objectives favor geometric collapse and whether the resilient features found in the early layers of standard models can be leveraged to design more efficient defensive mechanisms.

Summary updated

BibTeX
@article{su2024robustness,
  author = {Jingtong Su and Ya Shi Zhang and Nikolaos Tsilivis and Julia Kempe},
  title = {{On the Robustness of Neural Collapse and the Neural Collapse of Robustness}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2024},
  url = {https://openreview.net/forum?id=rDLRfKKh3G},
}
Figure