{"title":"Loss Function Optimization for CNN-Based Fingerprint Anti-Spoofing","authors":"Yehjune Heo ","volume":174,"journal":"International Journal of Computer and Information Engineering","pagesStart":344,"pagesEnd":349,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/10012065","abstract":"<p>As biometric systems become widely deployed, the security of identification systems can be easily attacked by various spoof materials. This paper contributes to finding a reliable and practical anti-spoofing method using Convolutional Neural Networks (CNNs) based on the types of loss functions and optimizers. The types of CNNs used in this paper include AlexNet, VGGNet, and ResNet. By using various loss functions including Cross-Entropy, Center Loss, Cosine Proximity, and Hinge Loss, and various loss optimizers which include Adam, SGD, RMSProp, Adadelta, Adagrad, and Nadam, we obtained significant performance changes. We realize that choosing the correct loss function for each model is crucial since different loss functions lead to different errors on the same evaluation. By using a subset of the Livdet 2017 database, we validate our approach to compare the generalization power. It is important to note that we use a subset of LiveDet and the database is the same across all training and testing for each model. This way, we can compare the performance, in terms of generalization, for the unseen data across all different models. The best CNN (AlexNet) with the appropriate loss function and optimizers result in more than 3% of performance gain over the other CNN models with the default loss function and optimizer. In addition to the highest generalization performance, this paper also contains the models with high accuracy associated with parameters and mean average error rates to find the model that consumes the least memory and computation time for training and testing. Although AlexNet has less complexity over other CNN models, it is proven to be very efficient. For practical anti-spoofing systems, the deployed version should use a small amount of memory and should run very fast with high anti-spoofing performance. For our deployed version on smartphones, additional processing steps, such as quantization and pruning algorithms, have been applied in our final model.<\/p>\r\n","references":"[1]\tT. van der Putte and J. Keuning, \u201cBiometrical Fingerprint Recognition: Don\u2019t Get Your Fingers Burned\u201d in Smart Card Research and Advanced Applications, pp. 289-306, 2000.\r\n[2]\tA. Hori and I. Fujieda, \u201cStudy on Blood Movement During Fingerprint Input Actions\u201d, International Journal of Optomechatronics, Vol. 2, pp.390-400, 2008.\r\n[3]\tE. Park, X. Cui, W. Kim, and Haki. Kim, \u201cEnd-to-End Fingerprints Liveness Detection using Convolutional Networks with Gram module\u201d, ArXiv, 2018.\r\n[4]\tE. Marasco and A. Ross, \u201cA Survey on Antispoofing Schemes for Fingerprint Recognition Systems\u201d in ACM Comput. Surv., Vol. 27, pp. 28:1-28:36, 2014.\r\n[5]\tArstechnica, \u201cBrazilian docs fool biometrics scanners with bag full of fake fingers\u201d, Available at: https:\/\/arstechnica.com, 2013. Accessed on: 9 June 2020.\r\n[6]\tArstechnica, \u201cAnyone can fingerprint unlock a Galaxy S10--just grab a clear phone case\u201d, Available at: https:\/\/arstechnica.com, 2019. Accessed on: 9 June 2020.\r\n[7]\tT. Matsumoto, H. Matsumoto, K. Tamada, and S. Hoshino, \u201cImpact of artificial \u201cgummy\u201d fingers on fingerprint systems\u201d, in Proceedings of SPIE - The International Society for Optical Engineering, Vol. 4677, 2002.\r\n[8]\tP. Bontrager, A. Roy, J. Togelius, N. Memon and A. Ross, \"DeepMasterPrints: Generating MasterPrints for Dictionary Attacks via Latent Variable Evolution\" in 2018 IEEE 9th International Conference on Biometrics Theory, Applications and Systems (BTAS), pp. 1-9, 2018.\r\n[9]\tA. Jain, Y. Chen, and M. Demirkus,\u201d Pores and Ridges: Fingerprint Matching Using Level 3 Features\u201d in 18th International Conference on Pattern Recognition (ICPR\u201906), pp. 477-480, 2006.\r\n[10]\tK. Fukushima, \u201cNeocognitron A Hierarchical Neural Network Capable of Visual Pattern Recognition\u201d, Neural Networks, Vol. 1, pp. 119-130, 1988.\r\n[11]\tY. Lecun, L. Bottou, Y. Bengio, and P. Haffner, \u201cGradient-Based Learning Applied to Document Recognition\u201d in Proceedings of the IEEE., Vol. 86, pp. 2278-2324, 1998.\r\n[12]\tA. Krizhevsky, I. Sutskever, and G. E. Hinton, \u201cImageNet Classification with Deep Learning Convolutional Neural Networks\u201d in Advances in neural information processing systems 25(2), 2012.\r\n[13]\tImageNet, \u201cImageNet Large Scale Visual Recognition Challenge\u201d, Available at: http:\/\/www.image-net.org\/challenges\/LSVRC\/, 2015. Accessed on: 9 June 2020.\r\n[14]\tK. Simonyan and A. Zisserman, \u201cVery Deep Convolutional Networks for Large-Scale Image Recognition\u201d, ArXiv, 2014.\r\n[15]\tK. He, X. Zhang, S. Ren, and J. Sun, \u201cDeep Residual Learning for Image Recognition\u201d in 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 770-778, 2016.\r\n[16]\tE. Park, W. Kim, Q. Li, J. Lim, and H. Kim, \u201cFingerprint Liveness Detection Using CNN Features of Random Sample Patches\u201d in 2016 International Conference of the Biometrics Special Interest Group (BIOSIG), pp. 1-4, 2016.\r\n[17]\tP-T de Boer, D. P. Kroese, S. Mannor, and R. Y. Rubinstein, \u201cA Tutorial on the Cross-Entropy Method\u201d, Annals of Operations Research, Vol. 134, pp. 19-67, 2005.\r\n[18]\tY. Wen, K. Zhang, Z. Li, and Y. Qiao, \u201cA Discriminative Feature Feature Learning Approach for Deep Face Recognition\u201d in Leibe B., Matas J., Sebe N., Welling M. (eds) Computer Vision \u2013 ECCV 2016, Vol. 9911, pp. 499-515, 2016.\r\n[19]\tL. Rosasco, E. De Vito, A. Caponnetto, M. Piana, and A. Verri, \u201cAre Loss Functions All the Same?\u201d, Neural Computation, Vol. 16, Issue. 5, pp. 1063-1076, 2003.\r\n[20]\tR. Sebastian, \u201cAn overview of gradient descent optimization algorithms\u201d, ArXiv, Vol. arXiv:1609.04747v2 (cs.LG), 2016.\r\n[21]\tD. P. Kingma and J. L. Ba, \u201cAdam: A Method For Stochastic Optimization\u201d, CoRR, Vol. arXiv:1412.6980v9 (cs.LG), 2014.\r\n[22]\tR. M. Gower, N. Loizou, X. Qian, A. Sailanbayev, E. Shulgin and P. Richtarik, \u201cSGD: General Analysis and Improved Rates\u201d, ArXiv, Vol. arXiv:1901.09401v4 (cs.LG), 2019.\r\n[23]\tM. C. Mukkamala and M. Hein, \u201cVariants of RMSProp and Adagrad with Logarithmic Regret Bounds\u201d in 17th International Conference on Machine Learning (ICML), 2017.\r\n[24]\tM. D. Zeiler, \u201cADADELTA: An adaptive learning rate method\u201d, ArXiv, Vol. arXiv:1212.5701v1 (cs.LG), 2012.\r\n[25]\tJ. Duchi, E. Hazan and Y. Singer, \u201cAdaptive Subgradient Methods for Online Learning and Stochastic Optimization\u201d in Journal of Machine Learning Research, Vol. 12, pp. 2121-2159, 2011.\r\n[26]\tT. Dozat, \u201cIncorporating Nesterov Momentum into Adam\u201d in 16th International Conference on Learning Representations (ICLR), 2016.\r\n[27]\tR. F. Nogueira, R. de A. Lotufo, and R. C. Machado, \u201cFingerprint Liveness Detection Using Convolutional Neural Networks\u201d. in IEEE Transactions on Information Forensics and Security, Vol.11, No.6, pp. 1206-1213, 2016.\r\n[28]\tD. Uliyan, S. Sadeghi, and H. A. Jalab, \u201cAnti-spoofing method for fingerprint recognition using patch based deep learning machine\u201d in Engineering Science and Technology, an International Journal, 2019.\r\n[29]\tLivDet, \u201cLivDet Databases\u201d, Available at: livdet.org, Accessed on 2009.\r\n[30]\tD. P. Kroese, R. Y. Rubinstein, S. Porotsky, A. L. D. Ltd, and T. Taimre, \u201cCross-Entropy Method\u201d in Encyclopedia of Operations Research and Management Sciences, 3rd ed, Springer-Verlang, 2012.\r\n[31]\tZ. I. Botev, D. P. Kroese, R. Y. Rubinstein, and P. L\u2019Ecuyer. \u201cChapter 3. The Cross-Entropy Method for Optimization\u201d in Handbook of Statistics, Vol. 31, pp. 35-59, 2013.\r\n[32]\tY. Wen, K. Zhang, Z. Li, and Y. Qiao, \u201cA Comprehensive Study on Center Loss for Deep Face Recognition\u201d in Int J Comput Vis 127, pp. 668-683, 2019.\r\n[33]\tP. Ghosh and L. S. Davis, \u201cUnderstanding Center Loss Based Network for Image Retrieval with Few Training Data\u201d in 2018 European Conference on Computer Vision (ECCV), pp. 717-722, 2019.\r\n[34]\tE. Garcia, \u201cCosine Similarity Tutorial\u201d in ResearchGate, 2015.\r\n[35]\tF. Rahutomo, T. Kitasuka, and M. Aritsugi, \u201cSemantic Cosine Similarity\u201d in 7th Interntaional Student Conference on Advanced Science and Technology (ICAST), 2019.\r\n[36]\tC. Gentile and M. Warmuth, \u201cLinear Hinge Loss and Average Margin\u201d in Advances in Neural Information Processing Systems (NIPS), Vol .11, pp. 225-231, 1998.","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 174, 2021"}