AutoLoss-GMS: Searching Generalized Margin-Based SoftMax Loss Function for Person Re-Identification

Abstract

Person re-identification is a hot topic in computer vision, and the loss function plays a vital role in improving the discrimination of the learned features. However, most existing models utilize the hand-crafted loss functions, which are usually sub-optimal and challenging to be designed. In this paper, we propose a novel method, AutoLoss-GMS, to search the better loss function in the space of generalized margin-based softmax loss function for person re-identification automatically. Specifically, the generalized margin-based softmax loss function is first decomposed into two computational graphs and a constant. Then a general searching framework built upon the evolutionary algorithm is proposed to search for the loss function efficiently. The computational graph is constructed with a forward method, which can construct much richer loss function forms than the backward method used in existing works. In addition to the basic in-graph mutation operations, the cross-graph mutation operation is designed to further improve the offspring's diversity. The loss-rejection protocol, equivalence-check strategy and the predictor-based promising-loss chooser are developed to improve the search efficiency. Finally, experimental results demonstrate that the searched loss functions can achieve state-of-the-art performance and be transferable across different models and datasets in person re-identification.

Cite

Text

Gu et al. "AutoLoss-GMS: Searching Generalized Margin-Based SoftMax Loss Function for Person Re-Identification." Conference on Computer Vision and Pattern Recognition, 2022. doi:10.1109/CVPR52688.2022.00470

Markdown

[Gu et al. "AutoLoss-GMS: Searching Generalized Margin-Based SoftMax Loss Function for Person Re-Identification." Conference on Computer Vision and Pattern Recognition, 2022.](https://mlanthology.org/cvpr/2022/gu2022cvpr-autolossgms/) doi:10.1109/CVPR52688.2022.00470

BibTeX

@inproceedings{gu2022cvpr-autolossgms,
  title     = {{AutoLoss-GMS: Searching Generalized Margin-Based SoftMax Loss Function for Person Re-Identification}},
  author    = {Gu, Hongyang and Li, Jianmin and Fu, Guangyuan and Wong, Chifong and Chen, Xinghao and Zhu, Jun},
  booktitle = {Conference on Computer Vision and Pattern Recognition},
  year      = {2022},
  pages     = {4744-4753},
  doi       = {10.1109/CVPR52688.2022.00470},
  url       = {https://mlanthology.org/cvpr/2022/gu2022cvpr-autolossgms/}
}