Learning Towards the Largest Margins
Not on the map. Why?
Abstract (arXiv)
One of the main challenges for feature representation in deep learning-based classification is the design of appropriate loss functions that exhibit strong discriminative power. The classical softmax loss does not explicitly encourage discriminative learning of features. A popular direction of research is to incorporate margins in well-established losses in order to enforce extra intra-class compactness and inter-class separability, which, however, were developed through heuristic means, as opposed to rigorous mathematical principles. In this work, we attempt to address this limitation by formulating the principled optimization objective as learning towards the largest margins. Specifically, we firstly define the class margin as the measure of inter-class separability, and the sample margin as the measure of intra-class compactness. Accordingly, to encourage discriminative representation of features, the loss function should promote the largest possible margins for both classes and samples. Furthermore, we derive a generalized margin softmax loss to draw general conclusions for the existing margin-based losses. Not only does this principled framework offer new perspectives to understand and interpret existing margin-based losses, but it also provides new insights that can guide the design of new tools, including sample margin regularization and largest margin softmax loss for the class-balanced case, and zero-centroid regularization for the class-imbalanced case. Experimental results demonstrate the effectiveness of our strategy on a variety of tasks, including visual classification, imbalanced classification, person re-identification, and face verification.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 35 of its 53 references that are in the map. First posted on arXiv 23 Jun 2022.
Builds on
35 of 53 references.
References · 35
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2014Going Deeper with Convolutionscited by 4,241
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,845
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
- 2019Class-Balanced Loss Based on Effective Number of Samplescited by 1,245
23 more
- 2017Learning Transferable Architectures for Scalable Image Recognitioncited by 1,101
- 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 989
- 2018CosFace: Large Margin Cosine Loss for Deep Face Recognitioncited by 971
- 2019Decoupling Representation and Classifier for Long-Tailed Recognitioncited by 809
- 2017SphereFace: Deep Hypersphere Embedding for Face Recognitioncited by 737
- 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 719
- 2019Large-Scale Long-Tailed Recognition in an Open Worldcited by 705
- 2016Performance Measures and a Data Set for Multi-Target, Multi-Camera Trackingcited by 692
- 2016MS-Celeb-1M: A Dataset and Benchmark for Large-Scale Face Recognitioncited by 624
- 2017A systematic study of the class imbalance problem in convolutional neural networkscited by 513
- 2019Bag of Tricks and A Strong Baseline for Deep Person Re-identificationcited by 430
- 2021High-Performance Large-Scale Image Recognition Without Normalizationcited by 360
- 2020A Metric Learning Reality Checkcited by 321
- 2016Large-Margin Softmax Loss for Convolutional Neural Networkscited by 296
- 2018Additive Margin Softmax for Face Verificationcited by 278
- 2017NormFace: L2 Hypersphere Embedding for Face Verificationcited by 237
- 2021Improving Calibration for Long-Tailed Recognitioncited by 212
- 2019Fixing the train-test resolution discrepancycited by 209
- 2020Partial FC: Training 10 Million Identities on a Single Machinecited by 163
- 2018Large Margin Deep Networks for Classificationcited by 112
- 2017Unsupervised Learning by Predicting Noisecited by 98
- 2019Hyperspherical Prototype Networkscited by 86
- 2018Learning towards Minimum Hyperspherical Energycited by 75
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 1; 2025: 0; 2026: 1.
5 papers.
- 2023Generalized Neural Collapse for a Large Number of Classescited by 39
- 2023Quantifying the Variability Collapse of Neural Networkscited by 9
- 2022Importance Tempering: Group Robustness for Overparameterized Modelscited by 6
- 2024Enhancing Consistency and Mitigating Bias: A Data Replay Approach for Incremental Learningcited by 2
- 2026Reducing Class-Wise Performance Disparity via Margin Regularizationcited by 1
- 2026Reducing Class-Wise Performance Disparity via Margin Regularization30 Jan 2026
- 2024Enhancing Consistency and Mitigating Bias: A Data Replay Approach for Incremental Learning12 Jan 2024
- 2023Generalized Neural Collapse for a Large Number of Classes9 Oct 2023
- 2023Quantifying the Variability Collapse of Neural Networks6 Jun 2023
- 2022Importance Tempering: Group Robustness for Overparameterized Models19 Sep 2022