journal article·2023-02-11Open access

UnifiedFace: A Uniform Margin Loss Function for Face Recognition

Feng Zhao, Peng Zhang, Ran Zhang, Mengwei Li

Applied Sciences· Volume 13· Issue 4

Abstract

Face recognition has achieved great success due to the development of deep convolutional neural networks (DCNNs) and loss functions based on margin. However, complex DCNNs bring a large number of parameters as well as computational effort, which pose a significant challenge to resource-constrained embedded devices. Meanwhile, the popular margin-based loss functions all introduce only one type of margin and cannot further introduce a larger margin to achieve tighter classification boundary. In contrast to the common approach, we believe that additive and multiplicative margins should be used jointly to introduce larger margins from the margin perspective. Therefore, we propose a new margin-based loss function called UnifiedFace. First, we introduce an additive margin in the target angle activation function. Second, we add a multiplicative margin in the non-target angle. UnifiedFace introduces both additive and multiplicative margins, allowing for the introduction of large margins to achieve more compact intra-class variance and closer separated inter-class variance. In addition, we specifically design efficient face recognition models called GhostFaceNet for resource-constrained embedded devices. Experimental results demonstrate that UnifiedFace achieves state-of-the-art performance or performance competed with popular methods in training datasets of different sizes. UnifiedFace achieves optimal performance in models of varying complexity. Moreover, competitive results are achieved in the large-scale test set IJBB/C, especially the state-of-the-art performance achieved in TAR (FAR=1e−6). GhostFaceNet can significantly improve operational efficiency without significantly degrading recognition performance, making it ideal for embedded devices with limited resources.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Face recognition and analysis · Face and Expression Recognition · Biometric Identification and Security

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Instrument and Electronics, North University of China, Taiyun 030051, China

School of Computer Science and Technology, North University of China, Taiyun 030051, China

Funding

Technology Area Fund

References (56)

Show source-provided references
1. LS-CNN: Characterizing local patches at multiple scales for face recognition10.1109/TIFS.2019.2946938 ↗
2. Efficient Lightweight Attention Network for Face Recognition10.1109/ACCESS.2022.3150862 ↗
3. Wen, Y., Zhang, K., Li, Z., and Qiao, Y. (2016). European Conference on Computer Vision, Springer.
4. Liu, W., Wen, Y., Yu, Z., and Yang, M. (2016). Large-margin softmax loss for convolutional neural networks. arXiv.
5. Liu, W., Wen, Y., Yu, Z., Li, M., Raj, B., and Song, L. (2017, January 21–26). Sphereface: Deep hypersphere embedding for face recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.713 ↗
6. Wang, H., Wang, Y., Zhou, Z., Ji, X., Gong, D., Zhou, J., Li, Z., and Liu, W. (2018, January 18–23). Cosface: Large margin cosine loss for deep face recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00552 ↗
7. SphereFace Revived: Unifying Hyperspherical Face Recognition10.1109/TPAMI.2022.3159732 ↗
8. Additive margin softmax for face verification10.1109/LSP.2018.2822810 ↗
9. Deng, J., Guo, J., Xue, N., and Zafeiriou, S. (2019, January 15–20). Arcface: Additive angular margin loss for deep face recognition. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.10.1109/CVPR.2019.00482 ↗
10. Analysis of RGB-D camera technologies for supporting different facial usage scenarios10.1007/s11042-020-09479-0 ↗
11. Woźniak, M., Siłka, J., and Wieczorek, M. (2021, January 29). Deep learning based crowd counting model for drone assisted systems. Proceedings of the 4th ACM MobiCom Workshop on Drone Assisted Wireless Communications for 5G and Beyond, Virtual.10.1145/3477090.3481054 ↗
12. PocketNet: Extreme lightweight face recognition network using neural architecture search and multistep knowledge distillation10.1109/ACCESS.2022.3170561 ↗
13. Feng, Y., Wang, H., Hu, H.R., Yu, L., Wang, W., and Wang, S. (2020, January 25–28). Triplet distillation for deep face recognition. Proceedings of the 2020 IEEE International Conference on Image Processing (ICIP), Abu Dhabi, United Arab Emirates.10.1109/ICIP40778.2020.9190651 ↗
14. Luo, J.H., Wu, J., and Lin, W. (2017, January 22–29). Thinet: A filter level pruning method for deep neural network compression. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.10.1109/ICCV.2017.541 ↗
15. Discrimination-aware network pruning for deep model compression
16. Choukroun, Y., Kravchik, E., Yang, F., and Kisilev, P. (2019, January 27–28). Low-bit quantization of neural networks for efficient inference. Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision Workshop (ICCVW), Seoul, Republic of Korea.10.1109/ICCVW.2019.00363 ↗
17. Sandler, M., Howard, A., Zhu, M., Zhmoginov, A., and Chen, L.C. (2018, January 18–23). Mobilenetv2: Inverted residuals and linear bottlenecks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00474 ↗
18. Ma, N., Zhang, X., Zheng, H.T., and Sun, J. (2018, January 8–14). Shufflenet v2: Practical guidelines for efficient cnn architecture design. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.10.1007/978-3-030-01264-9_8 ↗
19. Han, K., Wang, Y., Tian, Q., Guo, J., Xu, C., and Xu, C. (2020, January 13–19). Ghostnet: More features from cheap operations. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.00165 ↗
20. Howard, A.G., Zhu, M., Chen, B., Kalenichenko, D., Wang, W., Weyand, T., Andreetto, M., and Adam, H. (2017). Mobilenets: Efficient convolutional neural networks for mobile vision applications. arXiv.
21. Howard, A., Sandler, M., Chu, G., Chen, L.C., Chen, B., Tan, M., Wang, W., Zhu, Y., Pang, R., and Vasudevan, V. (November, January 27). Searching for mobilenetv3. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea.
22. Zhang, X., Zhou, X., Lin, M., and Sun, J. (2018, January 18–23). Shufflenet: An extremely efficient convolutional neural network for mobile devices. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00716 ↗
23. Lightweight Convolutional Neural Network Model for Human Face Detection in Risk Situations10.1109/TII.2021.3129629 ↗
24. Chen, S., Liu, Y., Gao, X., and Han, Z. (2018). Chinese Conference on Biometric Recognition, Springer.
25. Martindez-Diaz, Y., Luevano, L.S., Mendez-Vazquez, H., Nicolas-Diaz, M., Chang, L., and Gonzalez-Mendoza, M. (2019, January 27–28). Shufflefacenet: A lightweight face architecture for efficient and highly-accurate face recognition. Proceedings of the IEEE/CVF International Conference on Computer Vision Workshops, Seoul, Republic of Korea.10.1109/ICCVW.2019.00333 ↗
26. Yan, M., Zhao, M., Xu, Z., Zhang, Q., Wang, G., and Su, Z. (2019, January 27–28). Vargfacenet: An efficient variable group convolutional neural network for lightweight face recognition. Proceedings of the IEEE/CVF International Conference on Computer Vision Workshops, Seoul, Republic of Korea.10.1109/ICCVW.2019.00323 ↗
27. Duong, C.N., Quach, K.G., Jalata, I., Le, N., and Luu, K. (2019, January 23–26). Mobiface: A lightweight deep learning face recognition on mobile devices. Proceedings of the 2019 IEEE 10th International Conference on Biometrics Theory, Applications and Systems (BTAS), Tampa, FL, USA.10.1109/BTAS46853.2019.9185981 ↗
28. Taigman, Y., Yang, M., Ranzato, M., and Wolf, L. (2014, January 23–28). Deepface: Closing the gap to human-level performance in face verification. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA.10.1109/CVPR.2014.220 ↗
29. Sun, Y., Wang, X., and Tang, X. (2014, January 23–28). Deep learning face representation from predicting 10,000 classes. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA.10.1109/CVPR.2014.244 ↗
30. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
31. Sun, Y., Chen, Y., Wang, X., and Tang, X. (2014). Deep learning face representation by joint identification-verification. Adv. Neural Inf. Process. Syst., 27.
32. Schroff, F., Kalenichenko, D., and Philbin, J. (2015, January 7–12). Facenet: A unified embedding for face recognition and clustering. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Boston, MA, USA.10.1109/CVPR.2015.7298682 ↗
33. Liu, J., Deng, Y., Bai, T., Wei, Z., and Huang, C. (2015). Targeting ultimate accuracy: Face recognition via deep embedding. arXiv.
34. Sun, Y., Wang, X., and Tang, X. (2016, January 27–30). Sparsifying neural network connections for face recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.525 ↗
35. Wang, F., Xiang, X., Cheng, J., and Yuille, A.L. (2017, January 23–27). Normface: L2 hypersphere embedding for face verification. Proceedings of the 25th ACM international conference on Multimedia, Mountain View, CA, USA.10.1145/3123266.3123359 ↗
36. Ranjan, R., Castillo, C.D., and Chellappa, R. (2017). L2-constrained softmax loss for discriminative face verification. arXiv.
37. Liu, Y., Li, H., and Wang, X. (2017). Rethinking feature discrimination and polymerization for large-scale recognition. arXiv.
38. Sun, Y., Cheng, C., Zhang, Y., Zhang, C., Zheng, L., Wang, Z., and Wei, Y. (2020, January 13–19). Circle loss: A unified perspective of pair similarity optimization. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.00643 ↗
39. Zhang, X., Zhao, R., Qiao, Y., Wang, X., and Li, H. (2019, January 15–20). Adacos: Adaptively scaling cosine logits for effectively learning deep face representations. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.10.1109/CVPR.2019.01108 ↗
40. Liu, H., Zhu, X., Lei, Z., and Li, S.Z. (2019, January 16–17). Adaptiveface: Adaptive margin and sampling for face recognition. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.10.1109/CVPR.2019.01222 ↗
41. Huang, Y., Wang, Y., Tai, Y., Liu, X., Shen, P., Li, S., Li, J., and Huang, F. (2020, January 13–19). Curricularface: Adaptive curriculum learning loss for deep face recognition. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.00594 ↗
42. Kim, I., Han, S., Park, S.J., Baek, J.W., Shin, J., Han, J.J., and Choi, C. (December, January 30). Discface: Minimum discrepancy learning for deep face recognition. Proceedings of the Asian Conference on Computer Vision, Kyoto, Japan.
43. A light CNN for deep face representation with noisy labels10.1109/TIFS.2018.2833032 ↗
44. He, K., Zhang, X., Ren, S., and Sun, J. (2015, January 7–15). Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile.10.1109/ICCV.2015.123 ↗
45. Nair, V., and Hinton, G.E. (2010, January 21–24). Rectified linear units improve restricted boltzmann machines. Proceedings of the Icml, Haifa, Israel.
46. Cao, Q., Shen, L., Xie, W., Parkhi, O.M., and Zisserman, A. (2018, January 15–19). Vggface2: A dataset for recognising faces across pose and age. Proceedings of the 2018 13th IEEE International Conference on Automatic Face & Gesture Recognition (FG 2018), Xi’an, China.10.1109/FG.2018.00020 ↗
47. Guo, Y., Zhang, L., Hu, Y., He, X., and Gao, J. (2016). European Conference on Computer Vision, Springer.
48. Huang, G.B., Mattar, M., Berg, T., and Learned-Miller, E. (2008). Workshop on Faces in’Real-Life’Images: Detection, Alignment, And Recognition, HAL Inria.
49. Cross-pose lfw: A database for studying cross-pose face recognition in unconstrained environments
50. Zheng, T., Deng, W., and Hu, J. (2017). Cross-age lfw: A database for studying cross-age face recognition in unconstrained environments. arXiv.
51. Sengupta, S., Chen, J.C., Castillo, C., Patel, V.M., Chellappa, R., and Jacobs, D.W. (2016, January 7–10). Frontal to profile face verification in the wild. Proceedings of the 2016 IEEE Winter Conference on Applications of Computer Vision (WACV), Lake Placid, NY, USA.10.1109/WACV.2016.7477558 ↗
52. Whitelam, C., Taborsky, E., Blanton, A., Maze, B., Adams, J., Miller, T., Kalka, N., Jain, A.K., Duncan, J.A., and Allen, K. (2017, January 21–26). Iarpa janus benchmark-b face dataset. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, Honolulu, HI, USA.10.1109/CVPRW.2017.87 ↗
53. Maze, B., Adams, J., Duncan, J.A., Kalka, N., Miller, T., Otto, C., Jain, A.K., Niggel, W.T., Anderson, J., and Cheney, J. (2018, January 20–23). Iarpa janus benchmark-c: Face dataset and protocol. Proceedings of the 2018 International Conference on Biometrics (ICB), Gold Coast, Australia.10.1109/ICB2018.2018.00033 ↗
54. Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., and Antiga, L. (2019). Pytorch: An imperative style, high-performance deep learning library. Adv. Neural Inf. Process. Syst., 32.
55. Li, X., Wang, F., Hu, Q., and Leng, C. (, January October). Airface: Lightweight and efficient model for face recognition. Proceedings of the IEEE/CVF International Conference on Computer Vision Workshops, Seoul, Republic of Korea.
56. Joint face detection and alignment using multitask cascaded convolutional networks10.1109/LSP.2016.2603342 ↗