A facial image feature extraction method for identity authentication in encryption systems

By using the feature extraction model of the ranking module, shape adjustment module and view expansion adjustment module in the encryption system, combined with the fusion mechanism of the fully connected layer, the problem of insufficient face recognition accuracy in the encryption system is solved, and high-precision face recognition is achieved. Facial feature extraction and recognition effects.

CN118430037BActive Publication Date: 2024-10-22CHONGQING UNIV
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410385842.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-01
Publication Date
2024-10-22
Estimated Expiration
2044-04-01

AI Technical Summary

Technical Problem

In encryption systems, the fault tolerance rate of face recognition is low, which leads to higher accuracy requirements for face image recognition. However, it is difficult to effectively extract high-precision facial features with existing technology, especially in the application scenarios of encryption systems. .

Method used

A feature extraction model composed of a ranking module, a shape adjustment module and a view expansion adjustment module is used to generate accurate facial features through the fusion of preliminary vectors and control vectors. The algorithm of the view expansion adjustment module and the fully connected layer are used to realize the features. Supplement and adjust information to maintain the continuity and effectiveness of feature information.

Benefits of technology

It improves the accuracy of face image feature extraction, avoids the problem of feature information loss in existing technologies, and significantly improves the face recognition effect in the encryption system through the innovative view expansion adjustment module and fully connected layer fusion mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118430037B_ABST
    Figure CN118430037B_ABST
Patent Text Reader

Abstract

The present invention discloses a facial image feature extraction method suitable for encryption system identity authentication, and belongs to the technical field of encryption system and facial image processing. The feature extraction method includes calling a target facial image, calling a trained feature extraction model, calculating the feature map based on each ranking module and the shape adjustment module in turn, and then the shape adjustment module generates and outputs a preliminary vector; after calculation based on the expanded view adjustment module, the control vector is output; the preliminary vector is merged with the control vector to generate accurate facial features, etc. The present invention proposes for the first time a facial feature extraction model for encryption system application scenarios. Since the information source of the control vector comes from all ranking modules at the same time, the preliminary vector can be well supplemented and adjusted, effectively maintaining the continuity and effectiveness of the feature information transmission process in the entire network, and greatly improving the accuracy of the extracted facial image features.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of encryption system and face image processing, and in particular relates to a face image feature extraction method suitable for encryption system identity authentication. Background Art

[0002] The current booming digital economy is the result of the industrialization and application of digital technologies such as mobile Internet, cloud computing, artificial intelligence, and big data. Correspondingly, data security has become increasingly important. To this end, my country has issued many relevant laws and regulations (such as the "Cryptography Law"), and actively combined cutting-edge topics such as quantum technology with network infrastructure construction and commercial cryptography industry to quickly and effectively improve the country's digital security level. High-value or sensitive information (such as population information data) is often protected by encryption systems. Among them, face image recognition is an important means of identity authentication. In encryption systems, the fault tolerance rate for identity authentication is much lower than in general situations, which puts higher requirements on the accuracy of face image recognition. Accurate and effective face feature extraction is the prerequisite for achieving high-precision face recognition. Therefore, it is necessary to propose a face image feature extraction method that can meet the identity authentication of encryption systems. Summary of the invention

[0003] In view of the above phenomenon, the present invention provides a facial image feature extraction method suitable for identity authentication in an encryption system to meet practical needs.

[0004] In order to achieve the above object, the solution adopted by the present invention is: a face image feature extraction method suitable for encryption system identity authentication, comprising the following steps:

[0005] Call the target face image;

[0006] Calling a trained feature extraction model, wherein the feature extraction model includes a ranking module, a shape adjustment module and a vision expansion adjustment module, and a plurality of the ranking modules and the shape adjustment modules are arranged in series;

[0007] The target face image is input into the feature extraction model, and after the feature map is calculated based on each ranking module and the shape adjustment module in turn, the shape adjustment module generates and outputs a preliminary vector;

[0008] Acquire the feature graphs output by all ranking modules and input them into the vision expansion adjustment module, and output a control vector after calculation based on the vision expansion adjustment module;

[0009] The initial vector is fused with the control vector to generate accurate facial features.

[0010] Furthermore, the operation process inside the vision expansion adjustment module includes the following steps:

[0011] Perform element-wise product operations on the feature graphs output by all ranking modules to generate a first control feature graph;

[0012] After the first control characteristic graph is activated by the first control function, a second control characteristic graph is generated;

[0013] Performing global maximum pooling on the second control feature map to generate an adjoint vector;

[0014] Perform global maximum pooling on the feature maps output by each ranking module to generate multiple control vectors;

[0015] After adding the adjoint vector to all the primary control vectors, a secondary control vector is obtained;

[0016] After the two control vectors are activated by the second control function, three control vectors are generated;

[0017] Perform global average pooling on the feature maps output by each ranking module to generate multiple four-control vectors;

[0018] After adding all four control vectors, we get five control vectors;

[0019] After the five control vectors are activated by the third control function, six control vectors are generated;

[0020] The control vector is generated by subtracting the six control vectors from the three control vectors.

[0021] Furthermore, the fusion process of the preliminary vector and the control vector includes the following steps:

[0022] Add the initial vector to the control vector to generate a first-order vector;

[0023] Inputting the first-order vector into a fused fully connected layer, and then the fused fully connected layer generates a second-order vector;

[0024] After the second-order vector is activated by a fusion activation function, the precise facial feature is generated.

[0025] Furthermore, the reshape module includes a dimensionality reduction convolution block, a reshape pooling layer, a reshape fully connected layer and a reshape activation function arranged in series; the dimensionality reduction convolution block includes a strided convolution layer and a ReLU activation function connected in sequence, and the reshape pooling layer is used to perform global average pooling operations on each channel of the feature map.

[0026] Furthermore, the calculation process inside the ranking module is expressed as the following mathematical model:

[0027] HS1=ru1(pc1(IA))

[0028] HS2=ru2(pc2(IA))

[0029]

[0030] HS4=CT(ru4(pd1(HS1)),ru5(pd2(HS2)),HS3)

[0031] VA=lc(pc4(HS4))

[0032] Among them, IA represents the feature map of the input ranking module, pc1, pc2, pc3 and pc4 all represent convolutional layers, ru1, ru2, ru3, ru4 and ru5 all represent the first ranking function, HS1 and HS2 represent the feature maps generated after ru1 and ru2 are activated, respectively. Represents element-wise multiplication operation, ta represents the second rank function, HS3 represents the feature map obtained by element-wise multiplication of the feature map output by ta and the feature map output by ru3, pd1 and pd2 both represent dilated convolutional layers, CT represents the concatenation operation, HS4 represents the feature map generated after concatenation, lc represents the third rank function, and VA represents the feature map output by the rank module.

[0033] Furthermore, the receptive fields of pc1 and pc4 are 3*3, the receptive field of pc2 is 5*5, and the receptive field of pc3 is 1*1.

[0034] Furthermore, the convolution kernel sizes of pd1 and pd2 are both 3*3, and the expansion rates are both 2.

[0035] Furthermore, the first rank function is a ReLU function, the second rank function is a tanh function, and the third rank function is a logistics function.

[0036] The beneficial effects of the present invention are:

[0037] (1) It is known that in the existing facial feature extraction model, the height and width of the feature map need to be gradually reduced in dimension to generate a feature vector. In this process, the amount of facial information is easily lost. Different researchers have designed the structure of artificial neural networks from different angles to solve this problem, but there is currently no model specifically optimized for encryption systems. The present invention proposes a facial feature extraction model for encryption system application scenarios for the first time. On the one hand, the initial vector is generated by the ranking module and the shape adjustment module, and on the other hand, the control vector is generated by the expansion adjustment module. Since the information source of the control vector comes from all the ranking modules at the same time, the initial vector can be well supplemented and adjusted. The feature extraction model of the present invention adopts a simple structural design, which effectively maintains the continuity and effectiveness of the feature information transmission process in the entire network, and greatly improves the accuracy of the extracted facial image features.

[0038] (2) In the existing technology, the attention mechanism is usually used to adjust or calibrate the information in the feature map. However, for the facial feature extraction task, the test shows that the existing attention mechanism has a very limited effect on the feature extraction effect. Different from the attention mechanism, the present invention creatively designs the internal algorithm of the vision expansion adjustment module, and uses addition with a fully connected layer to achieve an effective fusion of the control vector and the initial vector, achieving good results. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A visual schematic diagram of the internal calculation process of the feature extraction model of the present invention;

[0040] Figure 2 A visual schematic diagram of the internal calculation process of the shape adjustment module of the present invention;

[0041] In the attached figure:

[0042] 1-rank matching module, 2-shape adjustment module, 21-dimensionality reduction convolution block, 22-shape adjustment pooling layer, 23-shape adjustment fully connected layer, 24-shape adjustment activation function, 3-viewing expansion adjustment module. DETAILED DESCRIPTION

[0043] The present invention will be further described below in conjunction with the accompanying drawings:

[0044] Example:

[0045] This embodiment provides a facial image feature extraction method suitable for encryption system identity authentication, and its visualization calculation process is as follows: Figure 1 As shown, the specific steps include:

[0046] Call the target face image;

[0047] The trained feature extraction model is called, wherein the feature extraction model includes a ranking module 1, a shape adjustment module 2 and a vision expansion adjustment module 3, and the three ranking modules 1 and the shape adjustment modules 2 are sequentially connected in series.

[0048] The target facial image is input into the feature extraction model, and the feature map generated during the calculation process is transmitted along the depth direction of the model. After the feature map is calculated based on each ranking module 1 and the shaping module 2 in turn, the shaping module 2 generates and outputs the initial vector; wherein, the size of the feature map output by all ranking modules 1 is the same, the height of the feature map output by the ranking module 1 is the same as the height of the target facial image, and the width of the feature map output by the ranking module 1 is the same as the width of the target facial image. Exemplarily, the number of channels of the feature maps output by all ranking modules 1 can be 192. In some implementation scenarios, the target facial image is stored using spatial domain image encryption technology, and its spatial domain image encryption technology can use discrete chaotic encryption technology, and enhance its key security and compliance by using a commercial cryptographic resource pool that integrates quantum technology and network infrastructure.

[0049] The feature maps output by all three ranking modules 1 are obtained and input into the vision expansion adjustment module 3. After calculation by the vision expansion adjustment module 3, the control vector is output. The length of the initial vector is equal to the length of the control vector. For example, in this embodiment, the length of the initial vector and the control vector can both be 192.

[0050] The initial vector is fused with the control vector to generate an output precise facial feature (the precise facial feature is a vector) to complete the facial image feature extraction.

[0051] Specifically, the operation process inside the vision expansion adjustment module 3 includes the following steps:

[0052] Perform element-wise product operations on the feature graphs output by all ranking modules 1 to generate a first control feature graph;

[0053] After the first control feature map is activated by the first control function (ReLU), a second control feature map is generated;

[0054] Performing global maximum pooling on the second control feature map (the maximum pooling is to calculate the maximum value of the eigenvalues ​​in each channel of the feature map) to generate an adjoint vector;

[0055] Performing global maximum pooling on the feature maps output by each ranking module 1 (the maximum pooling is to calculate the maximum value of the feature value in each channel of the feature map) to generate multiple control vectors;

[0056] After adding the adjoint vector to all the one-control vectors, we get the two-control vectors;

[0057] After the second control function (sigmoid) activates the second control vector, a three-control vector is generated;

[0058] Perform global average pooling on the feature maps output by each ranking module 1 (the average pooling is to calculate the average value of the feature values ​​in each channel of the feature map) to generate multiple four-control vectors;

[0059] After adding all four control vectors, we get five control vectors;

[0060] After the five control vectors are activated by the third control function (sigmoid), six control vectors are generated;

[0061] Subtract the six control vectors from the three control vectors to generate the control vector.

[0062] The initial vector and the control vector can be fused by many existing methods. Preferably, in this embodiment, the fusion process of the initial vector and the control vector includes the following steps:

[0063] Add the initial vector to the control vector to generate a first-order vector;

[0064] Input the first-order vector into the fused fully connected layer (the number of input nodes of the fused fully connected layer is equal to the length of the first-order vector) to generate a second-order vector;

[0065] After the second-order vector is activated by the fusion activation function (tanh function), accurate facial features are generated.

[0066] Among them, the fused fully connected layer is a conventional fully connected layer, and the number of its output nodes can be set according to the actual situation, so as to obtain accurate facial features of different lengths. By fusing the initial vector with the control vector using the above method, the repeated feature information in the two vectors can be better reduced, thereby highlighting some refined features in the face image.

[0067] like Figure 2As shown, the reshaping module 2 includes a dimensionality reduction convolution block 21, a reshaping pooling layer 22, a reshaping fully connected layer 23 and a reshaping activation function 24 (sigmoid) arranged in series. Among them, the dimensionality reduction convolution block 21 is 5 and arranged in series. The dimensionality reduction convolution block 21 includes a strided convolution layer (convolution kernel size is 3*3, step length is 2) and a ReLU activation function connected in sequence. Exemplarily, in this embodiment, the number of channels of the output feature map of the first dimensionality reduction convolution block can be 12. After each dimensionality reduction convolution block calculation operation of the subsequent feature map, the channel size is doubled, and the height and width are reduced by half. The number of channels of the output feature map of the last dimensionality reduction convolution block can be 192, so as to achieve the purpose of reshaping the feature map. The reshaping pooling layer 22 is used to perform global average pooling operations on each channel of the feature map, compress the height and width of the feature map to 1, and generate a pre-vector. The length of the pre-vector is the same as the input dimension of the reshaping fully connected layer 23. The reshaped fully connected layer 23 is a conventional fully connected layer, and the output dimension of the reshaped fully connected layer is equal to the length of the initial vector.

[0068] In this embodiment, the calculation process inside the ranking module 1 can be expressed as the following mathematical model:

[0069] HS1=ru1(pc1(IA))

[0070] HS2=ru2(pc2(IA))

[0071]

[0072] HS4=CT(ru4(pd1(HS1)),ru5(pd2(HS2)),HS3)

[0073] VA=lc(pc4(HS4))

[0074] Among them, IA represents the feature map of the input ranking module, pc1, pc2, pc3 and pc4 all represent ordinary convolutional layers (the step size is 1), the receptive field (i.e., the convolution kernel size) of pc1 and pc4 is 3*3, the receptive field of pc2 is 5*5, and the receptive field of pc3 is 1*1, ru1, ru2, ru3, ru4 and ru5 all represent ReLU activation functions, HS1 and HS2 represent the feature maps generated after ru1 and ru2 are activated, respectively. Represents element-wise multiplication operation, ta represents the tanh activation function, HS3 represents the feature map obtained by element-wise multiplication of the feature map output by ta and the feature map output by ru3, pd1 and pd2 both represent dilated convolution layers, the convolution kernel sizes of pd1 and pd2 are both 3*3, and the expansion rates are both 2, CT represents the splicing operation, HS4 represents the feature map generated after splicing, lc represents the logistics activation function, and VA represents the feature map output by the rank matching module.

[0075] The ranking module 1 creatively uses matrix addition and tanh function to fuse the feature information obtained under different receptive fields (pc1 and pc2), and combines the feature map output by ru3 with the fused feature map by element-by-element product to generate the HS3 feature map. Tests show that after the HS3 feature map is fused with the feature information extracted by the two dilated convolutions pd1 and pd2, the facial detail feature information in the VA feature map (such as eyebrow contours, subtle lines of facial wrinkles, etc.) has better granularity, which fully proves the effectiveness of this ranking mechanism within the ranking module.

[0076] The above-mentioned embodiments only express the specific implementation of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.

Claims

1. A facial image feature extraction method suitable for encryption system identity authentication, characterized by: The following steps are involved: Call the target face image; Calling a trained feature extraction model, wherein the feature extraction model includes a ranking module, a shape adjustment module and a vision expansion adjustment module; wherein a plurality of the ranking modules and the shape adjustment modules are arranged in series; The target face image is input into the feature extraction model, and after the feature map is calculated based on each ranking module and the shape adjustment module in turn, the shape adjustment module generates and outputs a preliminary vector; The feature maps output by all the ranking modules are obtained and input into the vision expansion adjustment module, and the control vector is output after calculation based on the vision expansion adjustment module; wherein the sizes of the feature maps output by the multiple ranking modules are the same, the heights of the feature maps output by the ranking modules are the same as the heights of the target face images, and the widths of the feature maps output by the ranking modules are the same as the widths of the target face images; and the length of the initial vector is equal to the length of the control vector; The initial vector is merged with the control vector to generate accurate facial features; The operation process inside the vision expansion adjustment module includes the following steps: Perform element-wise product operations on the feature graphs output by all ranking modules to generate a first control feature graph; After the first control characteristic graph is activated by the first control function, a second control characteristic graph is generated; Performing global maximum pooling on the second control feature map to generate an adjoint vector, wherein the maximum pooling is to calculate the maximum value of the feature values ​​in each channel of the feature map; Perform global maximum pooling on the feature maps output by each ranking module to generate multiple control vectors; After adding the adjoint vector to all the primary control vectors, a secondary control vector is obtained; After the two control vectors are activated by the second control function, three control vectors are generated; Perform global average pooling on the feature maps output by each ranking module to generate multiple four-control vectors, where the average pooling is to calculate the average value of the feature values ​​in each channel of the feature map; After adding all four control vectors, we get five control vectors; After the five control vectors are activated by the third control function, six control vectors are generated; Subtracting the six control vectors from the three control vectors to generate the control vector; The reshaping module includes a dimensionality reduction convolution block, a reshaping pooling layer, a reshaping fully connected layer and a reshaping activation function arranged in series; the dimensionality reduction convolution block includes a strided convolution layer and a ReLU activation function connected in sequence, and after each dimensionality reduction convolution block calculation operation of the feature map, the channel size is doubled, and the height and width are reduced by half; the reshaping pooling layer is used to perform a global average pooling operation on each channel of the feature map, compress the height and width of the feature map to 1, and generate a pre-vector, the length of which is the same as the input dimension of the reshaping fully connected layer; the output dimension of the reshaping fully connected layer is equal to the length of the initial vector; The calculation process inside the ranking module is expressed as the following mathematical model: HS1=ru1(pc1(IA)) HS2=ru2(pc2(IA)) HS4=CT(ru4(pd1(HS1)),ru5(pd2(HS2)),HS3) VA=lc(pc4(HS4)) Among them, IA represents the feature map of the input ranking module, pc1, pc2, pc3 and pc4 all represent convolutional layers, ru1, ru2, ru3, ru4 and ru5 all represent the first ranking function, HS1 and HS2 represent the feature maps generated after ru1 and ru2 are activated, respectively. represents the element-wise product operation, ta represents the second ranking function, HS3 represents the feature map obtained by element-wise product of the feature map output by ta and the feature map output by ru3, pd1 and pd2 both represent dilated convolutional layers, CT represents the concatenation operation, HS4 represents the feature map generated after concatenation, lc represents the third ranking function, and VA represents the feature map output by the ranking module; Wherein, the first rank function is a ReLU function, the second rank function is a tanh function, and the third rank function is a logistic function; The fusion process of the initial vector and the control vector includes the following steps: Add the initial vector to the control vector to generate a first-order vector; The first-order vector is input into a fused fully connected layer, and then the fused fully connected layer generates a second-order vector; after the second-order vector is activated by a fused activation function, the precise facial feature is generated.

2. The method according to claim 1, characterized in that: The receptive fields of pc1 and pc4 are 3*3, the receptive field of pc2 is 5*5, and the receptive field of pc3 is 1*1.

3. The method according to claim 1, characterized in that: The convolution kernel size of pd1 and pd2 is 3*3, and the expansion rate is 2.

Citation Information

Patent Citations

  • Portrait biological characteristic privacy protection and decryption method

    CN111723395A

  • Self-adjusting text image generation method based on generative adversarial network

    CN114581334A

  • Multi-modal face recognition method and device based on comparative learning, equipment and medium

    CN114821736A

  • Face feature extraction method and device and storage medium

    CN115661911A

  • Encrypted image watermarking method based on DCT and DarkNet53 feature fusion

    CN115964747A