BCE vs. CE in Deep Feature Learning
Not on the map. Why?
Abstract (arXiv)
When training classification models, it expects that the learned features are compact within classes, and can well separate different classes. As the dominant loss function for training classification models, minimizing cross-entropy (CE) loss maximizes the compactness and distinctiveness, i.e., reaching neural collapse (NC). The recent works show that binary CE (BCE) performs also well in multi-class tasks. In this paper, we compare BCE and CE in deep feature learning. For the first time, we prove that BCE can also maximize the intra-class compactness and inter-class distinctiveness when reaching its minimum, i.e., leading to NC. We point out that CE measures the relative values of decision scores in the model training, implicitly enhancing the feature properties by classifying samples one-by-one. In contrast, BCE measures the absolute values of decision scores and adjust the positive/negative decision scores across all samples to uniformly high/low levels. Meanwhile, the classifier biases in BCE present a substantial constraint on the decision scores to explicitly enhance the feature properties in the training. The experimental results are aligned with above analysis, and show that BCE could improve the classification and leads to better compactness and distinctiveness among sample features. The codes will be released.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 36 of its 46 references that are in the map. First posted on arXiv 9 May 2025.
Builds on
36 of 46 references.
References · 36
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 713
- 2021TransReID: Transformer-based Object Re-Identificationcited by 432
- 2022DeiT III: Revenge of the ViTcited by 417
- 2021ResNet strikes back: An improved training procedure in timmcited by 365
- 2020Are we done with ImageNet?cited by 329
- 2016Large-Margin Softmax Loss for Convolutional Neural Networkscited by 296
24 more
- 2022SegNeXt: Rethinking Convolutional Attention Design for Semantic Segmentationcited by 252
- 2017NormFace: L2 Hypersphere Embedding for Face Verificationcited by 237
- 2021A Geometric Analysis of Neural Collapse with Unconstrained Featurescited by 226
- 2021Exploring Deep Neural Networks via Layer-Peeled Model: Minority Collapse in Imbalanced Trainingcited by 166
- 2022Separable Self-attention for Mobile Vision Transformerscited by 163
- 2021Neural Collapse Under MSE Loss: Proximity to and Dynamics on the Central Pathcited by 156
- 2022Long-Tailed Recognition via Weight Balancingcited by 107
- 2022Extended Unconstrained Features Model for Exploring Deep Neural Collapsecited by 101
- 2022Inducing Neural Collapse in Imbalanced Learning: Do We Really Need a Learnable Classifier at the End of Deep Neural Network?cited by 100
- 2022On the Optimization Landscape of Neural Collapse under MSE Loss: Global Optimality with Unconstrained Featurescited by 97
- 2022Neural Collapse: A Review on Modelling Principles and Generalizationcited by 95
- 2023Robust Object Modeling for Visual Trackingcited by 80
- 2022Are All Losses Created Equal: A Neural Collapse Perspectivecited by 78
- 2022Corrupted Image Modeling for Self-Supervised Visual Pre-Trainingcited by 68
- 2021Dissecting Supervised Contrastive Learningcited by 64
- 2021SphereFace2: Binary Classification is All You Need for Deep Face Recognitioncited by 42
- 2023NECO: NEural Collapse Based Out-of-distribution detectioncited by 41
- 2023Improved Probabilistic Image-Text Representationscited by 40
- 2023Generalized Neural Collapse for a Large Number of Classescited by 39
- 2022Learning Imbalanced Data with Vision Transformerscited by 34
- 2023Which Features are Learnt by Contrastive Learning? On the Role of Simplicity Bias in Class Collapse and Feature Suppressioncited by 30
- 2023Generalizing and Decoupling Neural Collapse via Hyperspherical Uniformity Gapcited by 14
- 2024Navigate Beyond Shortcuts: Debiased Learning through the Lens of Neural Collapsecited by 13
- 2023Get the Best of Both Worlds: Improving Accuracy and Transferability by Grassmann Class Representationcited by 3
Built on by
Citing papers per year: 2026: 1.
1 paper.