计算机科学 ›› 2019, Vol. 46 ›› Issue (6): 277-281.doi: 10.11896/j.issn.1002-137X.2019.06.041

所属专题: 人脸识别

• 图形图像与模式识别 • 上一篇    下一篇

一种基于权重哈希化的深度人脸识别算法

曾燕1, 陈岳林1, 蔡晓东2   

  1. (桂林电子科技大学机电工程学院 广西 桂林541004)1
    (桂林电子科技大学信息与通信学院 广西 桂林541004)2
  • 收稿日期:2018-05-31 发布日期:2019-06-24
  • 通讯作者: 蔡晓东(1971-),男,教授,硕士生导师,CCF会员,主要研究方向为图像处理、模式识别,E-mail:caixiaodong@guet.edu.cn
  • 作者简介:曾 燕(1992-),女,硕士生,主要研究方向为图像处理、人脸识别;陈岳林(1971-),男,教授,硕士生导师,主要研究方向为图像处理、模式识别;
  • 基金资助:
    2016年广西重点研发计划(桂科AB16380264),2018年新疆重点研发专项(2018B03022)资助。

Deep Face Recognition Algorithm Based on Weighted Hashing

ZENG Yan1, CHEN Yue-lin1, CAI Xiao-dong2   

  1. (School of Mechanical and Electrical Engineering,Guilin University of Electronic Technology,Guilin,Guangxi 541004,China)1
    (School of Information and Communication,Guilin University of Electronic Technology,Guilin,Guangxi 541004,China)2
  • Received:2018-05-31 Published:2019-06-24

摘要: 针对采用融合深度哈希的卷积神经网络进行人脸识别时可能存在准确率下降及内存占用率偏高的问题,提出了基于权重哈希化的深度人脸识别算法。首先,提出一种基于高低维特征维度拼接的全卷积深度哈希网络,用以保证融合深度哈希后网络模型的识别准确率;然后,提出一种基于权重哈希化的模型压缩方法,将浮点型权重量化为哈希编码来进行模型存储,用以减少模型的内存占用率。实验表明,该方法在基于VGG框架进行改进时,可将VGG原网络的识别总效率提高68%,将准确率提高1.67%且使模型尺寸压缩了91.2%;该方法扩展到Sphereface框架时,在准确率略有提升的情况下将识别效率提高了61%,将模型压缩了42.24%。因此所提方法可提高识别准确率和效率,并减少内存占用率,同时还可扩展应用于其他网络。

关键词: 模型压缩, 全卷积网络, 深度哈希, 维度拼接

Abstract: In order to solve the problem that the accuracy rate may decrease and the memory occupancy rate may still be high when the convolution neural network with fused depth hash is used for face recognition,this paper proposed a deep face recognition algorithm based on weighted hashing.Firstly,a fully convolutional neural network of deep hash based on dimension splicing with high and low dimensional features is proposed to improve recognition accuracy.Secondly,a model compression method with floating-point weights quantized into hash coding is proposed to reduce memory occupancy rate of the model.The experimental results show that the proposed method improves efficiency by 68%,improves the Rank-1 accuracy by 1.67%,and the model size is compressed by 91.2% when it is improved based on VGG framework.In addition,it improves efficiency by 61% when the Rank-1 accuracy is slightly improved,and the model size is reduced by 42.24% when it is improved based on Sphereface framework.The results indicate that the proposed method can improve the recognition accuracy and efficiency,and reduce the memory usage.It also can be applied for other frameworks.

Key words: Deep hash, Dimension splicing, Full convolution network (FCN), Model compression

中图分类号: 

  • TP183
[1]TAIGMAN Y,YANG M,RANZATO M,et al.DeepFace:Clo-sing the Gap to Human-Level Performance in Face Verification[C]∥IEEE Conference on Computer Vision and Pattern Recognition.Columbus:IEEE Computer Society,2014:1701-1708.
[2]TAIGMAN Y,YANG M,RANZATO M,et al.Web-scale trai-ning for face identification[C]∥Proceedings of the IEEE Confe-rence on Computer Vision and Pattern Recognition.Boston:IEEE,2015:2746-2754.
[3]PARKHI O M,VEDALDI A,ZISSERMAN A.Deep Face Re-cognition[C]∥British Machine Vision Conference.Swansea:BMVC,2015:41.1-41.12.
[4]WEN Y,ZHANG K,LI Z,et al.A Discriminative Feature Learning Approach for Deep Face Recognition[M]∥Computer Vision-ECCV 2016.Amsterdam:Springer International Publi-shing,2016:499-515.
[5]LIU W,WEN Y,YU Z,et al.SphereFace:Deep Hypersphere Embedding for Face Recognition[C]∥IEEE Conference on Computer Vision and Pattern Recognition.Hawaii:IEEE Computer Society,2017:6738-6746.
[6]DENG J,GUO J,ZAFEIRIOU S.ArcFace:Additive Angular Margin Loss for Deep Face Recognition[OL].http://arxiv.org/abs/1801.07698.
[7]HE K,ZHANG X,REN S,et al.Deep Residual Learning for Image Recognition[C]∥Computer Vision and Pattern Recognition.Las Vegas:IEEE,2016:770-778.
[8]曾燕,陈岳林,蔡晓东.结合全局与局部池化的深度哈希人脸识别算法[OL].http://www.cnki.com.cn/Article/CJFDTotal-XDKD20180320000.htm.
[9]LI F,ZHANG B,LIU B.Ternary Weight Networks[C]∥IEEE Conference on Computer Vision and Pattern Recognition.2016.
[10]YI D,LEI Z,LIAO S,et al.Learning Face Representation from Scratch[C]∥IEEE Conference on Computer Vision and Pattern Recognition.Columbus:IEEE Computer Society,2014.
[11]HUANG G B,RAMESH M,BERG T,et al.Labeled faces in the wild:A database for studying face recognition in unconstrained environments:07-49 [R].Amherst:Technical Report,2007.
[12]BEAT-ROWDEN L,HAN H,KLARE B F,et al.Unconstrained Face Recognition:Identifying a Person of Interest From a Media Collection[J].IEEE Transactions on Information Forensics & Security,2014,9(12):2144-2157.
[13]ZHANG K,ZHANG Z,LI Z,et al.Joint Face Detection and Alignment Using Multi-task Cascaded Convolutional Networks[J].IEEE Signal Processing Letters,2016,23(10):1499-1503.
[1] 朱承璋, 黄嘉儿, 肖亚龙, 王晗, 邹北骥.
基于注意力机制的医学影像深度哈希检索算法
Deep Hash Retrieval Algorithm for Medical Images Based on Attention Mechanism
计算机科学, 2022, 49(8): 113-119. https://doi.org/10.11896/jsjkx.210700153
[2] 楚玉春, 龚航, 王学芳, 刘培顺.
基于YOLOv4的目标检测知识蒸馏算法研究
Study on Knowledge Distillation of Target Detection Algorithm Based on YOLOv4
计算机科学, 2022, 49(6A): 337-344. https://doi.org/10.11896/jsjkx.210600204
[3] 程祥鸣, 邓春华.
基于无标签知识蒸馏的人脸识别模型的压缩算法
Compression Algorithm of Face Recognition Model Based on Unlabeled Knowledge Distillation
计算机科学, 2022, 49(6): 245-253. https://doi.org/10.11896/jsjkx.210400023
[4] 陈志文, 王坤, 周广蕴, 王旭, 张晓丹, 朱虎明.
基于胶囊网络及其权重剪枝的SAR图像变化检测方法
SAR Image Change Detection Method Based on Capsule Network with Weight Pruning
计算机科学, 2021, 48(7): 190-198. https://doi.org/10.11896/jsjkx.200800225
[5] 邹傲, 郝文宁, 靳大尉, 陈刚, 田媛.
基于预训练和深度哈希的大规模文本检索研究
Study on Text Retrieval Based on Pre-training and Deep Hash
计算机科学, 2021, 48(11): 300-306. https://doi.org/10.11896/jsjkx.210300266
[6] 邓一姣, 张凤荔, 陈学勤, 艾擎, 余苏喆.
面向跨模态检索的协同注意力网络模型
Collaborative Attention Network Model for Cross-modal Retrieval
计算机科学, 2020, 47(4): 54-59. https://doi.org/10.11896/jsjkx.190600181
[7] 周志一, 宋冰, 段鹏松, 曹仰杰.
基于WiFi信号的轻量级步态识别模型LWID
LWID:Lightweight Gait Recognition Model Based on WiFi Signals
计算机科学, 2020, 47(11): 25-31. https://doi.org/10.11896/jsjkx.200200044
[8] 李青华, 李翠平, 张静, 陈红, 王绍卿.
深度神经网络压缩综述
Survey of Compressed Deep Neural Network
计算机科学, 2019, 46(9): 1-14. https://doi.org/10.11896/j.issn.1002-137X.2019.09.001
[9] 何霞, 汤一平, 王丽冉, 陈朋, 袁公萍.
基于Faster RCNNH的多任务分层图像检索技术
Multitask Hierarchical Image Retrieval Technology Based on Faster RCNNH
计算机科学, 2019, 46(3): 303-313. https://doi.org/10.11896/j.issn.1002-137X.2019.03.045
[10] 赵振兵, 崔雅萍, 戚银城, 杜丽群, 张珂, 翟永杰.
基于改进的R-FCN航拍巡线图像中的绝缘子检测方法
Detection Method of Insulator in Aerial Inspection Image Based on Modified R-FCN
计算机科学, 2019, 46(3): 159-163. https://doi.org/10.11896/j.issn.1002-137X.2019.03.024
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!