Computer Engineering and Applications ›› 2020, Vol. 56 ›› Issue (24): 144-150.DOI: 10.3778/j.issn.1002-8331.1909-0229

Previous Articles     Next Articles

Face Recognition with Improved Loss Function and Multiple-Norm

ZHANG Feixiang, YU Xueru, HE Weifeng, LI Chen   

  1. 1.School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University, Shanghai 200240, China
    2.Department of Artificial Intelligence, Shanghai Integrated Circuit Research and Development Center Co., Ltd., Shanghai 201203, China
  • Online:2020-12-15 Published:2020-12-15



  1. 1.上海交通大学 电子信息与电气工程学院 微纳电子学系,上海 200240
    2.上海集成电路研发中心有限公司 AI部,上海 201203


To solve the problem of slow convergence after defining loss function as Cosine Margin Loss Function(Cosineface) in convolutional neural network and the defect of measuring feature similarity with L2 norm in practical use, a variable slope Cosine Margin Loss Function (Kcosine) and a multiple-norm method calculating feature similarity are proposed. By adding the cosine slope factor on the basis of cosine margin loss function, intra-class constraints increase with the increase of cosine value, and the intra-class distance is reduced explicitly. At the same time, the face feature similarity vector is constructed by using L2 norm and L∞ norm, and the classification is realized by Support Vector Machine(SVM) so that modifying instability of L2 norm space measurement. The 1∶1 validation experiments on LFW and Agedb databases show that the improved loss function not only accelerates the convergence speed of training, but also reduces the intra-class distance by more than 15%. At the same time, by using multiple-norm features instead of L2 norm, the average recognition rate can be increased by about 0.1%, and the standard deviation of recognition rate can also be reduced.

Key words: loss function, L2-norm, multiple-norm, face recognition



关键词: 损失函数, L2范数, 多重范数, 人脸识别