Large-Margin Softmax Loss for Convolutional Neural Networks

Weiyang Liu, Yandong Wen, Zhiding Yu, Meng Yang
12/7/2016
stat.MLcs.LG

Official code: wy1iu/LargeMargin_Softmax_Loss (352 stars, last commit 2018-08-27).

Abstract

Cross-entropy loss together with softmax is arguably one of the most common used supervision components in convolutional neural networks (CNNs). Despite its simplicity, popularity and excellent performance, the component does not explicitly encourage discriminative learning of features. In this paper, we propose a generalized large-margin softmax (L-Softmax) loss which explicitly encourages intra-class compactness and inter-class separability between learned features. Moreover, L-Softmax not only can adjust the desired margin but also can avoid overfitting. We also show that the L-Softmax loss can be optimized by typical stochastic gradient descent. Extensive experiments on four benchmark datasets demonstrate that the deeply-learned features with L-softmax loss become more discriminative, hence significantly boosting the performance on a variety of visual classification and verification tasks.

View on arXivView PDF

Code Implementations(1)

Implementation for <Large-Margin Softmax Loss for Convolutional Neural Networks> in ICML'16.

352111C++, CudaNov 26, 20168 years agoNOASSERTION
caffedeep-learningface-recognitionicml-2016image-recognition+2 more

Similar Papers

Cite this paper

@article{liu2016largemargin,
  title  = {Large-Margin Softmax Loss for Convolutional Neural Networks},
  author = {Weiyang Liu and Yandong Wen and Zhiding Yu and Meng Yang},
  year   = {2016},
  eprint = {1612.02295},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1612.02295}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1612.02295.svg)](https://codeofpaper.com/paper/1612.02295)

Discussion