Skip to main content

Joint Discriminative and Metric Embedding Learning for Person Re-identification

  • Conference paper
  • First Online:
Advances in Visual Computing (ISVC 2022)

Abstract

Person re-identification is a challenging task because of the high intra-class variance induced by the unrestricted nuisance factors of variations such as pose, illumination, viewpoint, background, and sensor noise. Recent approaches postulate that powerful architectures have the capacity to learn feature representations invariant to nuisance factors, by training them with losses that minimize intra-class variance and maximize inter-class separation, without modeling nuisance factors explicitly. The dominant approaches use either a discriminative loss with margin, like the softmax loss with the additive angular margin, or a metric learning loss, like the triplet loss with batch hard mining of triplets. Since the softmax imposes feature normalization, it limits the gradient flow supervising the feature embedding. We address this by joining the losses and leveraging the triplet loss as a proxy for the missing gradients. We further improve invariance to nuisance factors by adding the discriminative task of predicting attributes. Our extensive evaluation highlights that when only a holistic representation is learned, we consistently outperform the state-of-the-art on the three most challenging datasets. Such representations are easier to deploy in practical systems. Finally, we found that joining the losses removes the requirement for having a margin in the softmax loss while increasing performance.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Ahmed, E., Jones, M., Marks, T.K.: An improved deep learning architecture for person re-identification. In: IEEE CVPR, pp. 3908–3916 (2015)

    Google Scholar 

  2. Bak, S., Carr, P.: One-shot metric learning for person re-identification. In: IEEE CVPR, pp. 2990–2999 (2017)

    Google Scholar 

  3. Chen, D., Xu, D., Li, H., Sebe, N., Wang, X.: Group consistent similarity learning via deep CRF for person re-identification. In: IEEE CVPR, pp. 8649–8658 (2018)

    Google Scholar 

  4. Chikontwe, P., Lee, H.J.: Deep multi-task network for learning person identity and attributes. IEEE Access 6, 60801–60811 (2018)

    Article  Google Scholar 

  5. Deng, J., Dong, W., Socher, R., Li, L.J., Li, K., Fei-Fei, L.: ImageNet: a large-scale hierarchical image database. In: IEEE CVPR, pp. 248–255. IEEE (2009)

    Google Scholar 

  6. Deng, J., Guo, J., Xue, N., Zafeiriou, S.: ArcFace: additive angular margin loss for deep face recognition. arXiv:1801.07698 (2018)

  7. Fan, X., Jiang, W., Luo, H., Fei, M.: SphereReID: deep hypersphere manifold embedding for person re-identification. J. Vis. Commun. Image Representation 60, 51–58 (2019)

    Article  Google Scholar 

  8. Farenzena, M., Bazzani, L., Perina, A., Murino, V., Cristani, M.: Person re-identification by symmetry-driven accumulation of local features. In: IEEE CVPR, pp. 2360–2367. IEEE (2010)

    Google Scholar 

  9. Ge, Y., et al.: FD-GAN: pose-guided feature distilling GAN for robust person re-identification. In: NeurIPS, pp. 1222–1233 (2018)

    Google Scholar 

  10. Goodfellow, I., et al.: Generative adversarial nets. In: NIPS, pp. 2672–2680 (2014)

    Google Scholar 

  11. He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: IEEE CVPR, pp. 770–778. IEEE (2016)

    Google Scholar 

  12. He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: IEEE CVPR, pp. 770–778 (2016)

    Google Scholar 

  13. Hermans, A., Beyer, L., Leibe, B.: In defense of the triplet loss for person re-identification. arXiv:1703.07737 (2017)

  14. Hirzer, M., Roth, P.M., Köstinger, M., Bischof, H.: Relaxed pairwise learned metric for person re-identification. In: Fitzgibbon, A., Lazebnik, S., Perona, P., Sato, Y., Schmid, C. (eds.) ECCV 2012. LNCS, vol. 7577, pp. 780–793. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-33783-3_56

    Chapter  Google Scholar 

  15. Hou, R., Ma, B., Chang, H., Gu, X., Shan, S., Chen, X.: Interaction-and-aggregation network for person re-identification. In: IEEE CVPR, pp. 9317–9326 (2019)

    Google Scholar 

  16. Li, D., Chen, X., Zhang, Z., Huang, K.: Learning deep context-aware features over body and latent parts for person re-identification. In: IEEE CVPR, pp. 384–393 (2017)

    Google Scholar 

  17. Li, S., Yu, H., Hu, R.: Attributes-aided part detection and refinement for person re-identification. Pattern Rec. 97, 107016 (2020)

    Google Scholar 

  18. Li, W., Zhu, X., Gong, S.: Person re-identification by deep joint learning of multi-loss classification. In: IJCAI, IJCAI 2017, pp. 2194–2200. AAAI Press (2017)

    Google Scholar 

  19. Liao, S., Hu, Y., Zhu, X., Li, S.Z.: Person re-identification by local maximal occurrence representation and metric learning. In: IEEE CVPR, pp. 2197–2206 (2015)

    Google Scholar 

  20. Lin, Y., et al.: Improving person re-identification by attribute and identity learning. Pattern Rec. 95, 151–161 (2019)

    Article  Google Scholar 

  21. Liu, C., Gong, S., Loy, C.C., Lin, X.: Person re-identification: what features are important? In: Fusiello, A., Murino, V., Cucchiara, R. (eds.) ECCV 2012. LNCS, vol. 7583, pp. 391–401. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-33863-2_39

    Chapter  Google Scholar 

  22. Liu, J., Zha, Z.J., Xie, H., Xiong, Z., Zhang, Y.: CA3Net: contextual-attentional attribute-appearance network for person re-identification. In: ACM Multimedia, pp. 737–745 (2018)

    Google Scholar 

  23. Liu, W., Wen, Y., Yu, Z., Li, M., Raj, B., Song, L.: SphereFace: deep hypersphere embedding for face recognition. arXiv (2017)

    Google Scholar 

  24. Ma, B., Su, Y., Jurie, F.: BiCov: a novel image representation for person re-identification and face verification (2012)

    Google Scholar 

  25. Paszke, A., et al.: Automatic differentiation in PyTorch (2017)

    Google Scholar 

  26. Pedagadi, S., Orwell, J., Velastin, S., Boghossian, B.: Local fisher discriminant analysis for pedestrian re-identification. In: IEEE CVPR, pp. 3318–3325 (2013)

    Google Scholar 

  27. Qian, X., et al.: Pose-normalized image generation for person re-identification. In: ECCV, pp. 650–667 (2018)

    Google Scholar 

  28. Schroff, F., Kalenichenko, D., Philbin, J.: FaceNet: a unified embedding for face recognition and clustering. In: IEEE CVPR, pp. 815–823 (2015)

    Google Scholar 

  29. Shen, Y., Li, H., Yi, S., Chen, D., Wang, X.: Person re-identification with deep similarity-guided graph neural network. In: ECCV, pp. 486–504 (2018)

    Google Scholar 

  30. Song, H.O., Xiang, Y., Jegelka, S., Savarese, S.: Deep metric learning via lifted structured feature embedding. In: IEEE CVPR, pp. 4004–4012 (2016)

    Google Scholar 

  31. Suh, Y., Wang, J., Tang, S., Mei, T., Mu Lee, K.: Part-aligned bilinear representations for person re-identification. In: ECCV, pp. 402–419 (2018)

    Google Scholar 

  32. Sun, Y., Zheng, L., Yang, Y., Tian, Q., Wang, S.: Beyond part models: person retrieval with refined part pooling (and a strong convolutional baseline). In: ECCV, pp. 480–496 (2018)

    Google Scholar 

  33. Tay, C.P., Roy, S., Yap, K.H.: AANet: attribute attention network for person re-identifications. In: IEEE CVPR, pp. 7134–7143 (2019)

    Google Scholar 

  34. Wang, C., Zhang, Q., Huang, C., Liu, W., Wang, X.: Mancs: a multi-task attentional network with curriculum sampling for person re-identification. In: ECCV, pp. 365–381 (2018)

    Google Scholar 

  35. Wang, F., Xiang, X., Cheng, J., Yuille, A.L.: NormFace: L2 hypersphere embedding for face verification. arXiv:1704.06369 (2017)

  36. Wang, H., et al.: CosFace: large margin cosine loss for deep face recognition. arXiv (2018)

    Google Scholar 

  37. Wei, L., Zhang, S., Gao, W., Tian, Q.: Person transfer GAN to bridge domain gap for person re-identification. In: IEEE CVPR, pp. 79–88 (2018)

    Google Scholar 

  38. Zheng, W.-S., Gong, S., Xiang, T.: Person re-identification by probabilistic relative distance comparison. In: IEEE CVPR, pp. 649–656 (2011)

    Google Scholar 

  39. Weinberger, K.Q., Saul, L.K.: Distance metric learning for large margin nearest neighbor classification. JMLR 10(2), 207–244 (2009)

    MATH  Google Scholar 

  40. Xiao, T., Li, H., Ouyang, W., Wang, X.: Learning deep feature representations with domain guided dropout for person re-identification. In: IEEE CVPR, pp. 1249–1258 (2016)

    Google Scholar 

  41. Yang, W., Huang, H., Zhang, Z., Chen, X., Huang, K., Zhang, S.: Towards rich feature discovery with class activation maps augmentation for person re-identification. In: IEEE CVPR, pp. 1389–1398 (2019)

    Google Scholar 

  42. Ye, M., Shen, J., Lin, G., Xiang, T., Shao, L., Hoi, S.C.H.: Deep learning for person Re-Identification: a survey and outlook. IEEE TPAMI 44(6), 2872–2893 (2022). Jun

    Article  Google Scholar 

  43. Zhang, G., Xu, J.: Person re-identification by mid-level attribute and part-based identity learning. In: ACCV, pp. 220–231. PMLR (2018)

    Google Scholar 

  44. Zhang, L., Xiang, T., Gong, S.: Learning a discriminative null space for person re-identification. In: IEEE CVPR, pp. 1239–1248 (2016)

    Google Scholar 

  45. Zhao, L., Li, X., Zhuang, Y., Wang, J.: Deeply-learned part-aligned representations for person re-identification. In: IEEE ICCV, pp. 3219–3228 (2017)

    Google Scholar 

  46. Zheng, L., Shen, L., Tian, L., Wang, S., Wang, J., Tian, Q.: Scalable person re-identification: a benchmark. In: IEEE ICCV, pp. 1116–1124 (2015)

    Google Scholar 

  47. Zheng, Z., Yang, X., Yu, Z., Zheng, L., Yang, Y., Kautz, J.: Joint discriminative and generative learning for person re-identification. In: IEEE CVPR, pp. 2138–2147 (2019)

    Google Scholar 

  48. Zheng, Z., Zheng, L., Yang, Y.: A discriminatively learned CNN embedding for person re-identification. arXiv:1611.05666 (2016)

  49. Zheng, Z., Zheng, L., Yang, Y.: Unlabeled samples generated by GAN improve the person re-identification baseline in vitro. In: IEEE ICCV, pp. 3754–3762 (2017)

    Google Scholar 

Download references

Acknowledgements

This material is based upon work supported in part by the National Science Foundation under Grant No. 1920920.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Gianfranco Doretto .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Sabri, S.I., Randhawa, Z.A., Doretto, G. (2022). Joint Discriminative and Metric Embedding Learning for Person Re-identification. In: Bebis, G., et al. Advances in Visual Computing. ISVC 2022. Lecture Notes in Computer Science, vol 13599. Springer, Cham. https://doi.org/10.1007/978-3-031-20716-7_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-20716-7_13

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-20715-0

  • Online ISBN: 978-3-031-20716-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics