P2SGrad: Refined Gradients for Optimizing Deep Face Models

Abstract

Cosine-based softmax losses significantly improve the performance of deep face recognition networks. However, these losses always include sensitive hyper-parameters which can make training process unstable, and it is very tricky to set suitable hyper parameters for a specific dataset. This paper addresses this challenge by directly designing the gradients for training in an adaptive manner. We first investigate and unify previous cosine softmax losses from the perspective of gradients. This unified view inspires us to propose a novel gradient called P2SGrad (Probability-to-Similarity Gradient), which leverages a cosine similarity instead of classification probability to control the gradients for updating neural network parameters. P2SGrad is adaptive and hyper-parameter free, which makes training process more efficient and faster. We evaluate our P2SGrad on three face recognition benchmarks, LFW, MegaFace, and IJB-C. The results show that P2SGrad is stable in training, robust to noise, and achieves state-of-the-art performance on all the three benchmarks.

Cite

Text

Zhang et al. "P2SGrad: Refined Gradients for Optimizing Deep Face Models." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2019. doi:10.1109/CVPR.2019.01014

Markdown

[Zhang et al. "P2SGrad: Refined Gradients for Optimizing Deep Face Models." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2019.](https://mlanthology.org/cvpr/2019/zhang2019cvpr-p2sgrad/) doi:10.1109/CVPR.2019.01014

BibTeX

@inproceedings{zhang2019cvpr-p2sgrad,
  title     = {{P2SGrad: Refined Gradients for Optimizing Deep Face Models}},
  author    = {Zhang, Xiao and Zhao, Rui and Yan, Junjie and Gao, Mengya and Qiao, Yu and Wang, Xiaogang and Li, Hongsheng},
  booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year      = {2019},
  doi       = {10.1109/CVPR.2019.01014},
  url       = {https://mlanthology.org/cvpr/2019/zhang2019cvpr-p2sgrad/}
}