Neural Collapse on Imbalanced Datasets and Open-Set Scenario
Abstract
Neural collapse (NC) describes the elegant geometric structure that sample features and classifier vectors exhibit when a classification model's loss reaches its minimum. Class imbalance, however, generally distorts standard NC. In this paper, we theoretically reformulate NC on imbalanced datasets and in open-set settings. Our analysis is based on an optimization problem over class-wise averaged losses, rather than the global averaged losses used in prior NC studies. We prove that when class-wise averaged losses attain their minima, standard NC is achieved on balanced or imbalanced datasets, for both cross-entropy (CE) and binary cross-entropy (BCE) losses. We further extend the analysis to an open-set-inspired scenario, where some classes contain no training samples yet are still assigned classifier vectors in the losses. We find that in this scenario, when class-wise averaged losses reach their minima, standard NC still emerges on the known classes with training samples, while the classifier vectors of unknown classes without training samples overlap with each other and become orthogonal to those of the known classes. Finally, we analyze Softmax- and Sigmoid-based contrastive losses re-balanced by inverse sample frequency, proving that at their minima on balanced or imbalanced datasets, sample features of different classes likewise form standard NC.
Create a lesson
Related papers
Compute-Aware Submodular Online Learning in Open Multi-Agent Systems
Shared title terminologycs.LGJing Liu, Luca Ballotta, Fangfei Li et al.
SOC-Net: Second-Order-Cone-Constrained Neural Networks
Shared title terminologycs.LGSeungseok Oh, Youngjae Min, Navid Azizan et al.
Understanding Mode Collapse in Diffusion Models under Classifier-Free Guidance
Shared title terminologycs.LGDaniel Pfrommer, Chenyang Yuan, Frank Permenter et al.
FlowersBench: A FluidFlower-Inspired Dataset for Benchmarking Carbon Storage Surrogates Across Geological Structures
Shared title terminologycs.LGFarah Rabie, Hannah Menke, Florian Doster et al.
Fast and Scalable Abstract Interpretation for Deep Neural Networks
Shared title terminologycs.LGAvaljot Singh, Dushyant Bharadwaj, Yasmin Chandini Sarita et al.
File Size as a Potential Dataset Bias in Audio-Visual Deepfake Data
Shared title terminologycs.LGMarcella Astrid, Niki Maria Foteinopoulou