Neural Collapse To Multiple Centers For Imbalanced Data

Hongren Yan, Yuhua Qian, Furong Peng, Jiachen Luo, zheqing zhu, Feijiang Li

Introduction: The Pitfalls of Standard Neural Collapse

In the terminal phase of training deep neural networks, a fascinating geometric phenomenon known as Neural Collapse (NC) frequently emerges. During NC, the features of all samples within a given class converge toward a single class mean, and these means arrange themselves into a perfectly symmetric geometric structure (an Equiangular Tight Frame).

While Neural Collapse is an indicator of excellent generalization in balanced datasets, it becomes a significant liability in imbalanced learning scenarios. In "long-tail" datasets—where a few majority classes contain most of the samples and minority classes have very few—standard NC leads to "minority collapse." The feature space for rare classes is effectively crowded out by the majority classes, severely degrading the model's ability to distinguish minority samples. Previous attempts to mitigate this by fixing the classifier to a symmetric structure yielded only marginal improvements and fell short of specialized imbalanced learning algorithms.

The Proposed Solution: Neural Collapse to Multiple Centers (NCMC)

To address minority collapse, this research introduces a paradigm shift: rather than restricting each class to a single center, the model can assign multiple centers to a class.

The core innovation is the Neural Collapse to Multiple Centers (NCMC) strategy. By assigning minority classes more "directions" in the feature space, NCMC increases their visibility and classification accuracy. This approach successfully elevates the performance of fixed classifiers to match that of specialized long-tail learning methods.

Methodology: Redefining the Classification Rule

The authors build their approach on several key theoretical and practical pillars:

  1. Generalized Classification Rule (GCR): The traditional classification rule is expanded so that a sample is classified based on its proximity to any of several "centers" assigned to its class.
  2. Class-Aware Strategy: The researchers allocate a higher number of centers to minority classes and fewer to majority classes. This disproportionate allocation grants rare classes more "real estate" in the high-dimensional feature space, increasing the likelihood that ambiguous or "hard-to-predict" features are correctly classified.
  3. Cosine Regression Loss: To enforce this geometry, the authors propose a novel Class-Aware Loss (CAL) for fixed classifiers. This loss function encourages features to align with the average of their multiple assigned centers while maintaining a strict distance from the centers of competing classes. Furthermore, the weighted loss ensures a linear relationship between the number of centers and the gradient norm, preventing majority classes from dominating the learning process.
  4. Theoretical Validation: Using the Unconstrained Features Model (UFM) framework, the authors mathematically prove that their proposed loss function induces this multi-center collapse at the global optimum.

Experimental Setup and Key Results

The researchers rigorously evaluated NCMC across several standard long-tailed (LT) benchmarks, including CIFAR-10-LT, CIFAR-100-LT, SVHN-LT, STL-10-LT, and ImageNet-LT. The tests spanned multiple architectures such as ResNet-50, DenseNet-150, VGG, and LeNet.

The results demonstrate that a properly designed fixed classifier, utilizing multi-center geometry, can match or exceed the performance of traditional learnable classifiers:

  • CIFAR-100-LT: Under an extreme imbalance ratio of 0.005, the Class-Aware Loss (CAL) achieved 46.5% accuracy, notably outperforming standard Cross-Entropy (42.4%).
  • CIFAR-10-LT: At the same 0.005 imbalance ratio, CAL reached 80.0% accuracy, significantly beating both Cross-Entropy (72.3%) and previous Neural Collapse methods like SETF (74.2%).
  • State-of-the-Art Competitiveness: Overall, CAL achieved results comparable to established heavyweights in the imbalanced learning field, such as LDAM-DRW and KCL.

Limitations and Future Directions

While NCMC offers a robust solution to minority collapse, the authors note a few limitations:

  • Gaussian Assumptions: The theoretical justification assumes that "hard-to-predict" features follow a Gaussian distribution, which may not hold true for all complex, real-world datasets.
  • High-Dimensional Scaling: In massive datasets with thousands of classes, adding multiple centers per class (the "global expansion factor") might hinder the model's ability to learn highly compact representations.
  • Heuristic Center Allocation: Currently, the strategy for determining the exact number of centers per class relies on heuristics. Discovering a mathematically optimal method for this allocation remains a primary objective for future research.

Summary updated

BibTeX
@inproceedings{yan2024neural,
  author = {Hongren Yan and Yuhua Qian and Furong Peng and Jiachen Luo and zheqing zhu and Feijiang Li},
  title = {{Neural Collapse To Multiple Centers For Imbalanced Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=RJEC9fZ9Ma},
}
Figure