Fingerprint activity detection method for improving Mobilevit network

By improving the Mobilevit network and introducing multi-modal feature extraction and diffusion analysis modules, the fingerprint feature extraction capability is enhanced, the problem of insufficient feature extraction in the existing technology is solved, and the classification performance and generalization ability of fingerprint activity detection are improved.

CN118644879AActive Publication Date: 2024-09-13CHINA THREE GORGES UNIV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410848400.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-13
Estimated Expiration
2044-06-27

AI Technical Summary

Technical Problem

Existing neural network models have insufficient feature extraction capabilities between live fingerprints and fake fingerprints, especially for fake fingerprints made from untrained materials. The detection performance is limited, resulting in a high classification error rate and the inability to effectively adapt to detection in different scenarios.

Method used

The Mobilevit network is improved by introducing the multi-modal feature extraction module MFE and the diffusion analysis module DA, combining five attention modules and dual-channel feature extraction models to enhance feature extraction capabilities, fuse shallow and deep features, and improve the network's ability to detect fingerprint image information. Capturing ability.

Benefits of technology

It significantly improves the classification performance of fingerprint activity detection, reduces the error rate, enhances the detection ability of fake fingerprints made from untrained materials, improves generalization performance, and adapts to detection in different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118644879A
    Figure CN118644879A
Patent Text Reader

Abstract

A fingerprint activity detection method for improving a Mobilevit network comprises the following steps: step 1, acquiring a fingerprint image data set, dividing the fingerprint image data set into a training set and a test set, and preprocessing a fingerprint image; 2, building a multi-modal feature extraction module MFE, and building a diffusion analysis DA module; step 3, a Mobilevit network model is built; step 4, the new DA module and the Mobilevit network are fused, and an improved Mobilevit network is obtained; and 5, inputting the fingerprint image into the network, and obtaining a classification result. The fingerprint activity detection method based on the improved Mobilevit network aims at solving the technical problems that in the prior art, for difference features existing between living fingerprints and forged fingerprints, feature extraction is single, extraction is not sufficient, shallow features are ignored due to the fact that the number of deep features is large, and the classification error rate is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, in particular to a fingerprint activity detection technology based on a neural network, and specifically to a fingerprint activity detection method for improving a Mobilevit network. Background Art

[0002] Systems that identify people based on their physical or behavioral characteristics are known as biometric systems. Biometric systems are widely used based on personal characteristics such as fingerprints, face, iris, retina, hand geometry, signature, and voice. In case of a crime, hair, rash, saliva, blood traces, fingerprints, or security cameras are used as evidence at the scene. Sometimes, there may not be security cameras at the location where the crime occurred or it is not possible to get a clear image from the camera. Fingerprints are the most preferred features over DNA mapping, which has a higher time requirement and is more expensive than fingerprint identification systems. Fingerprint data has been frequently used in criminal identification systems since the 19th century and has been produced using different materials as technology has evolved. Data similar to fingerprints can be easily produced using different items such as gelatin, wood glue, etc. Distinguishing whether fingerprint data is real or fake can prevent fraud caused by using fake fingerprints.

[0003] As fingerprint authentication systems have become a popular target for attackers, security attacks using fake fingerprints made of various materials have received widespread attention. To reduce the threat, researchers have proposed some CNN-based fingerprint liveness detection (FLD) methods, which can automatically extract the key features of fake fingerprints and train a model to distinguish live fingerprints from fake fingerprints. However, their detection performance on fingerprints made of "untrained" materials is still limited. In order to obtain generalization performance for various materials in FLD, multiple methods supporting cross-materials have been proposed. Existing methods mainly focus on generating fake fingerprints in new material styles using style information of well-known materials. However, these methods support data augmentation at training time instead of improving runtime detection on untrained materials. Therefore, it is necessary to develop a detection method that accurately infers fake fingerprints made of untrained materials and improves the classification accuracy of trained fingerprints and reduces the error rate.

[0004] Defects and shortcomings of existing technology:

[0005] 1) The existing neural network model does not have the ability to extract multimodal fingerprint features, cannot extract fingerprint feature information from a multi-dimensional perspective, and has a weak ability to express fingerprint features.

[0006] 2) In the real world, fingerprints are vulnerable to different types of attacks, including unseen materials and sensors. Therefore, the classification results in different scenarios can better detect the performance of fingerprint activity detection methods. Most existing algorithms cannot achieve high classification results in new scenarios.

[0007] Therefore, the applicant proposes a fingerprint activity detection method for improving the Mobilevit network. Summary of the invention

[0008] The purpose of the present invention is to solve the technical problems that the prior art has the difference features between live fingerprints and forged fingerprints, the feature extraction is single and insufficient, there are too many deep features and shallow features are ignored, resulting in a high classification error rate, and to provide a fingerprint activity detection method for an improved Mobilevit network.

[0009] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0010] A fingerprint activity detection method for improving the Mobilevit network includes the following steps:

[0011] Step 1: Obtain the fingerprint image dataset and divide it into a training set and a test set, and preprocess the fingerprint image;

[0012] Step 2: Build the multimodal feature extraction module MFE and the diffusion analysis DA module;

[0013] Step 3: Build the Mobilevit network model;

[0014] Step 4: Fuse the new DA module with the Mobilevit network to obtain the improved Mobilevit network.

[0015] Step 5: Input the fingerprint image into the network and get the classification result.

[0016] In step 1, the fingerprint image needs to be preprocessed. First, the fingerprint ROI area is extracted. The present invention adopts the method of manually annotating the data set to extract the ROI area, manually selects the fingerprint area of ​​each picture, selects the area with the fingerprint image and removes the remaining white edge part, and then crops the fingerprint image. The input image is cropped into a uniform size, and then the image is normalized to obtain the preprocessed fingerprint image.

[0017] In step 2, the multimodal feature extraction module MFE is specifically:

[0018] The input features enter the dual channel, which includes the left channel and the right channel. The features of the left channel first enter the first convolution layer for convolution operation. The output of the first convolution layer enters the second convolution layer for convolution operation. The output of the second convolution layer enters the third convolution layer for convolution operation. The output of the third convolution layer enters the fourth convolution layer for convolution operation. The output of the fourth convolution layer performs a dimensionality reduction operation, that is, converting the three-dimensional features into two-dimensional features to reduce the network computing overhead. The two-dimensional features are transformed to extract the semantic information of the image and enhance the inherent expression form and expressiveness of the features. The obtained output performs a dimensionality increase operation, that is, converting the two-dimensional features into three-dimensional features. The three-dimensional features enter the fifth convolution layer for convolution operation. The obtained output is the output of the left channel.

[0019] The input features enter the right channel at the same time. The features of the right channel first enter the SGE module to strengthen the module's preprocessing of the image and distinguish different fingerprint image areas. The output obtained after the SGE module is processed enters the SK module to extract the global information of the fingerprint image. The design of double convolution with different sizes of receptive fields is used to enhance the feature sensitivity. The features obtained after the SK module is processed enter the EMA module to enhance the network grouping capability, thereby improving the ability to extract local features. The features obtained after the EMA module is processed enter the Shuffle module to further extract the information of local features and analyze the features from the perspectives of spatial attention and channel attention. The output obtained after the Shuffle module is processed enters the Triplet module to rotate the feature group and analyze its information from three dimensions. The output after the Triplet module is the output of the right channel.

[0020] The output of the left channel is merged with the output of the right channel, and the merged features are convolved again to obtain the output of the MFE module.

[0021] In step 2, the diffusion analysis module DA is specifically:

[0022] The features input into the DA module enter channel a and are first subjected to a convolution process. The features obtained after the processing enter channels a-1, a-2, and a-3 to extract image features in more detail. The features entering channel a-3 undergo a feature reorganization in the channel direction to disrupt feature continuity and improve network robustness. After reorganization, the output of channel a-3 is obtained. The features entering channel a-2 are first reorganized in the channel direction and then enter the depthwise separable convolution layer. This convolution can effectively reduce the amount of computation. A convolution is performed, and the result obtained after the convolution is multiplied with the result of the output of channel a-3. The result obtained after the product undergoes a Tanh operation to obtain the output of channel a-2.

[0023] The features entering channel a-1 are first transformed to extract image semantic information, and the output is transformed for the second time. The output obtained by the second transformation enters a convolution layer for convolution operation. The result after convolution is added to the output of channel a-2 to obtain the output of channel a-1.

[0024] The features entering the DA module enter channel b at the same time. The features entering channel b first undergo a convolution operation. The features obtained after the convolution process enter channels b-1, channel b-2, and channel b-3 to extract the image features in more detail. The features entering channel b-3 undergo a reorganization in the channel direction to disrupt the original feature order. After the reorganization, the output of channel b-3 is obtained; the features entering channel b-2 first undergo a reorganization in the channel direction to shuffle the features. The features obtained after the shuffling undergo a partial convolution. The features obtained after the partial convolution process are multiplied with the features of the output of channel b-3. The output obtained after the product undergoes a sigmoid operation, and a different activation function is used with channel a to prevent the feature extraction from having a high similarity and to complement the shortcomings. The features after sigmoid are the output of channel b-2.

[0025] The features entering channel b-1 first enter a convolution layer for convolution processing. The processed features enter the second convolution layer for convolution processing. The processed features enter the third convolution layer for convolution processing. The processed features are added to the output of channel b-2 to obtain the output of channel b-1; the output of channel a-1, the output of channel b-1, the output of channel a after the first convolution, and the output of channel b after the first convolution are fused to obtain the output of the DA module.

[0026] In step 3, the constructed Mobilevit network model is as follows:

[0027] The features entering the network first enter a convolution layer for convolution processing. The features obtained after processing enter the first Block1, the output of the first Block1 enters the second Block1, the output of the second Block1 enters the third Block1, the output of the third Block1 enters the first MFE, the output of the first MFE enters the fourth Block1, the output of the fourth Block1 enters the second MFE, the output of the second MFE enters the fifth Block1, the output of the fifth Block1 enters a convolution layer for convolution operation, and the output of the convolution layer enters a fully connected layer to obtain the classification result.

[0028] In step 4, the diffusion analysis module DA in step 2 is integrated into the Mobilevit network in step 3 to obtain an improved Mobilevit network; the improved Mobilevit network is:

[0029] The features entering the network first enter a convolution layer for convolution processing. The features obtained after convolution processing enter the first Block1. The output of the first Block1 enters the second Block1. The output of the second Block1 enters the third Block1. The output of the third Block1 enters the MFE. The output of the MFE enters the DA module. The output of the DA module enters the second DA module. The output of the second DA module enters the fourth Block1. The output of the fourth Block1 enters the second MFE. The output of the second MFE enters the fifth Block1. The output of the fifth Block1 enters a convolution layer for convolution operation. The output of the convolution layer enters a fully connected layer to finally obtain the classification result.

[0030] Compared with the prior art, the present invention has the following technical effects:

[0031] 1) The present invention introduces the MFE (Multi-modal feature extraction) module into the original Mobilevit network. The module combines five attention modules and designs a dual-channel feature extraction model. Its advantage is to enhance the feature extraction capability. The left channel extracts the semantic feature information of the image in a transform manner, and improves the problem of insufficient extraction of three-dimensional spatial feature information through dimension increase and dimension decrease operations. After the semantic feature extraction results, the three-dimensional spatial features after dimension increase are extracted by convolution to combine two-dimensional information with three-dimensional information. The right channel uses multiple attention mechanisms to process the global and local information of the image in a multi-modal manner from the spatial semantic features of three-dimensional features, channel features, and rotation feature factors, so as to process the three-dimensional information more fully, thereby improving the network's ability to capture information, and finally fuses them to form new processed features.

[0032] 2) The present invention improves the Mobilevit block module in the original Mobilevit network structure and designs a DA module based on the idea of ​​diffusion feature analysis. The features are processed in six small channels, and the information extracted from different channels is fused. Different levels of channels use information extraction and analysis methods with different depth strategies. The outer channels (channel a-3, channel b-3) use shallow feature extraction schemes, and the inner channels (channel a-1, channel b-1) use deep feature extraction schemes. More processing is used for the features, including convolution and transform. Finally, the idea of ​​residual connection is used to fuse with the features before entering the small channel to avoid the situation where the extracted deep features are noise. In addition to the traditional channel feature extraction and spatial feature extraction of the image, this module also analyzes the different expressive features of the image, uses the convolution structure for feature extraction based on the image, and uses the transform structure for feature analysis based on the semantics. Finally, the semantic features and convolution features are fused to analyze the intrinsic features of the fingerprint image more comprehensively.

[0033] 3) In the experimental part, the experimental results of the network model proposed in the present invention are the best results, proving that the method has good classification performance (see the embodiment part for details). BRIEF DESCRIPTION OF THE DRAWINGS

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

[0035] Figure 1 is a flow chart of the present invention;

[0036] Figure 2 A schematic diagram of the improved Mobilevit network structure provided by the present invention;

[0037] Figure 3 This is a schematic diagram of the MFE module structure used in the present invention;

[0038] Figure 4 This is a schematic diagram of the improved DA module of the present invention. DETAILED DESCRIPTION

[0039] A fingerprint activity detection method for improving the Mobilevit network includes the following steps:

[0040] Step 1: Obtain the fingerprint image dataset and divide it into a training set and a test set, and preprocess the fingerprint image;

[0041] Step 2: Build the multimodal feature extraction module MFE and the diffusion analysis DA module;

[0042] Step 3: Build the Mobilevit network model;

[0043] Step 4: Fuse the new DA module with the Mobilevit network to obtain the improved Mobilevit network.

[0044] Step 5: Input the fingerprint image into the network and get the classification result.

[0045] In step 1, the fingerprint image needs to be preprocessed. First, the fingerprint ROI area is extracted. The present invention adopts the method of manually annotating the data set to extract the ROI area, manually selects the fingerprint area of ​​each picture, selects the area with the fingerprint image and removes the remaining white edge part, and then crops the fingerprint image. The input image is cropped into a uniform size, and then the image is normalized to obtain the preprocessed fingerprint image.

[0046] In step 2, the multimodal feature extraction module MFE is specifically:

[0047] The input features enter the dual channel, which includes the left channel and the right channel. The features of the left channel first enter the first convolution layer for convolution operation. The output of the first convolution layer enters the second convolution layer for convolution operation. The output of the second convolution layer enters the third convolution layer for convolution operation. The output of the third convolution layer enters the fourth convolution layer for convolution operation. The output of the fourth convolution layer performs a dimensionality reduction operation, that is, converting the three-dimensional features into two-dimensional features to reduce the network computing overhead. The two-dimensional features are transformed to extract the semantic information of the image and enhance the inherent expression form and expressiveness of the features. The obtained output performs a dimensionality increase operation, that is, converting the two-dimensional features into three-dimensional features. The three-dimensional features enter the fifth convolution layer for convolution operation. The obtained output is the output of the left channel.

[0048] The input features enter the right channel at the same time. The features of the right channel first enter the SGE module to strengthen the module's preprocessing of the image and distinguish different fingerprint image areas. The output obtained after the SGE module is processed enters the SK module to extract the global information of the fingerprint image. The design of double convolution with different sizes of receptive fields is used to enhance the feature sensitivity. The features obtained after the SK module is processed enter the EMA module to enhance the network grouping capability, thereby improving the ability to extract local features. The features obtained after the EMA module is processed enter the Shuffle module to further extract the information of local features and analyze the features from the perspectives of spatial attention and channel attention. The output obtained after the Shuffle module is processed enters the Triplet module to rotate the feature group and analyze its information from three dimensions. The output after the Triplet module is the output of the right channel.

[0049] The output of the left channel is merged with the output of the right channel, and the merged features are convolved again to obtain the output of the MFE module.

[0050] In step 2, the diffusion analysis module DA is specifically:

[0051] The features input into the DA module enter channel a and are first subjected to a convolution process. The features obtained after the processing enter channels a-1, a-2, and a-3 to extract image features in more detail. The features entering channel a-3 undergo a feature reorganization in the channel direction to disrupt feature continuity and improve network robustness. After reorganization, the output of channel a-3 is obtained. The features entering channel a-2 are first reorganized in the channel direction and then enter the depthwise separable convolution layer. This convolution can effectively reduce the amount of computation. A convolution is performed, and the result obtained after the convolution is multiplied with the result of the output of channel a-3. The result obtained after the product undergoes a Tanh operation to obtain the output of channel a-2.

[0052] The features entering channel a-1 are first transformed to extract image semantic information, and the output is transformed for the second time. The output obtained by the second transformation enters a convolution layer for convolution operation. The result after convolution is added to the output of channel a-2 to obtain the output of channel a-1.

[0053] The features entering the DA module enter channel b at the same time. The features entering channel b first undergo a convolution operation. The features obtained after the convolution process enter channels b-1, channel b-2, and channel b-3 to extract the image features in more detail. The features entering channel b-3 undergo a reorganization in the channel direction to disrupt the original feature order. After the reorganization, the output of channel b-3 is obtained; the features entering channel b-2 first undergo a reorganization in the channel direction to shuffle the features. The features obtained after the shuffling undergo a partial convolution. The features obtained after the partial convolution process are multiplied with the features of the output of channel b-3. The output obtained after the product undergoes a sigmoid operation, and a different activation function is used with channel a to prevent the feature extraction from having a high similarity and to complement the shortcomings. The features after sigmoid are the output of channel b-2.

[0054] The features entering channel b-1 first enter a convolution layer for convolution processing. The processed features enter the second convolution layer for convolution processing. The processed features enter the third convolution layer for convolution processing. The processed features are added to the output of channel b-2 to obtain the output of channel b-1; the output of channel a-1, the output of channel b-1, the output of channel a after the first convolution, and the output of channel b after the first convolution are fused to obtain the output of the DA module.

[0055] 5. The method according to claim 1, characterized in that, in step 3, the constructed Mobilevit network model is specifically:

[0056] The features entering the network first enter a convolution layer for convolution processing. The features obtained after processing enter the first Block1, the output of the first Block1 enters the second Block1, the output of the second Block1 enters the third Block1, the output of the third Block1 enters the first MFE, the output of the first MFE enters the fourth Block1, the output of the fourth Block1 enters the second MFE, the output of the second MFE enters the fifth Block1, the output of the fifth Block1 enters a convolution layer for convolution operation, and the output of the convolution layer enters a fully connected layer to obtain the classification result.

[0057] In step 4, the diffusion analysis module DA in step 2 is integrated into the Mobilevit network in step 3 to obtain an improved Mobilevit network; the improved Mobilevit network is:

[0058] The features entering the network first enter a convolution layer for convolution processing. The features obtained after convolution processing enter the first Block1. The output of the first Block1 enters the second Block1. The output of the second Block1 enters the third Block1. The output of the third Block1 enters the MFE. The output of the MFE enters the DA module. The output of the DA module enters the second DA module. The output of the second DA module enters the fourth Block1. The output of the fourth Block1 enters the second MFE. The output of the second MFE enters the fifth Block1. The output of the fifth Block1 enters a convolution layer for convolution operation. The output of the convolution layer enters a fully connected layer to finally obtain the classification result.

[0059] Example:

[0060] like Figure 1 As shown, a fingerprint activity detection method for improving the Mobilevit network includes the following steps:

[0061] Step 1: Obtain the fingerprint image dataset and divide it into a training set and a test set, and preprocess the fingerprint images.

[0062] Step 2: Build the MFE (Multi-modal feature extraction) module and the DA (Diffusion analysis) module.

[0063] Step 3: Build the improved Mobilevit network model, including Conv3×3, Block1, Block1, Block1, MFE, Block1, MFE, Block1, Conv1×1, Linear.

[0064] Step 4: Fusion the new DA module with the improved Mobilevit network.

[0065] Step 5: Input the fingerprint image into the network and get the classification result.

[0066] The experiment of the network architecture of the present invention was carried out on CentOS7, and the GPU was a dual-card NVIDIAGTX 1060Ti. The training round epoch was 200, and the image data was trained in batches of 36. The learning rate adjuster used by the model was the learning rate decay scheduler ReduceLROnPlateau, the learning rate reduction factor was 0.1, the waiting index round was 15 rounds, and the rest were set by default. The optimizer used the adaptive moment estimation optimizer Adam. When the network was tested using the test set, all network parameters stopped changing, and the parameters obtained in the last round of training were used as the standard.

[0067] like Figure 2 As shown in Figure 2, the improved Mobilevit network consists of Conv3×3, Block1, Block1, Block1, MFE, DA, DA, Block1, MFE, Block1, Conv1×1, Linear. The MFE module is as follows: Figure 3 As shown, the DA module is Figure 4 shown.

[0068] MFE uses operations such as convolution and transform, and utilizes existing modules, SGE, SK, EMA, Shuffle, and Triplet.

[0069] The convolution operation is as follows:

[0070]

[0071] In the above formula, b is the output feature map, a is the input feature map, w is the convolution kernel, i and j are the new feature map pixel positions, and u and v are the convolution kernel feature point positions.

[0072] The Transform operation is as follows:

[0073]

[0074] Q, K, and V stand for query, key, and value respectively.

[0075] d K is the dimension of the key.

[0076] SGE Module:

[0077] The SGE module needs to group the input image according to the channel dimension. Assuming that the input image is a C-channel, H×W feature map, it is first divided into G groups. After grouping, the feature map is X={X1,X2,...,X M}, assuming that in this step, SGE has learned the semantic part of the fingerprint image. In this field, the feature vector at the edge of the ridge can be obtained, while other positions are almost unchanged and approximately zero vector. In order to solve the problem of inevitable approximate noise, the spatial average function is used By counting global features, the features of the entire space will not be disturbed by too much noise, so as to further enhance the semantic feature learning of key areas, as shown in formula (1).

[0078]

[0079] The importance coefficient is obtained by the dot product of global semantic features and local features. i It can represent the similarity between global features and local features, and can also be expressed as ||f||×||X i ||×cos(θ i ), where θ i is the vector f and X i This shows that the characteristics of f are related to the direction θ i The closer the initial coefficient is, the larger the initial coefficient is likely to be. In order to avoid the coefficient between different samples being too large, it is necessary to normalize t in space, as shown in equations (2), (3), and (4).

[0080]

[0081] Here, ε is a constant term. To ensure numerical stability, the value is set to 0.0001 in this paper.

[0082] To ensure that the inserted normalization represents a unit transformation, we need to i A pair of new parameters γ and β are introduced to scale and shift the normalization, as shown in equation (5).

[0083]

[0084] These two parameters γ and β are the only parameters introduced by SGE, and their number is the same as that of group G, which is 8 in this paper. Therefore, the impact of adding these two parameters on the million-level parameters of the network can be ignored and will not increase the computational burden of the network. Finally, the obtained vector needs to be spatially scaled using the Sigmoid function, as shown in formula (6).

[0085]

[0086] Finally, all feature groups are obtained m=H×W.

[0087] EMA Module:

[0088] In traditional network modules, the use of multiple convolutions will lead to stacking more deep convolution objects, which will not only lose some of the original image features, but also consume a lot of memory and computing resources. To solve this problem, this paper optimizes the structure of the EMA module [4] to replace the repeated stacking convolution calculations in the original EfficientNetV2-S network. This module processes the fingerprint feature mapping domain. By using parallel subnets, each subnet can focus on different receptive fields and enhance the network's ability to perceive features.

[0089] Using the parallel subnetwork approach, the features of different subnetworks need to be divided first. For any given input feature map EMA is divided into G sub-features according to the cross-channel dimension X, which is used to learn different semantic features, where X = [X0, X1, X2, ..., X G-1 ], Usually the value of G should be smaller than the number of channels. In this paper, G is set to 8.

[0090] The huge local receptive field allows the module to collect multi-scale information, so EMA uses three parallel routes to extract the attention weight descriptor of the grouped feature map. Two paths are 1×1 paths and one path is 3×3 path. On the 1×1 path, no convolution is used, only 1D global average pooling is used to process the information in the H and W directions. This pooling can better pay attention to local information. On the 3×3 path, a convolution operation with a convolution kernel of 3 is used to capture more features. In the 1×1 and 3×3 convolutions, the C / / G form is used to replace the original number of channels. Similar to CA attention, the results of the two 1D global average pooling processes are spliced ​​together in the height direction, and then decomposed into two vectors using a 1×1 convolution. The sigmoid function is used to fit the two-dimensional binomial distribution after convolution. The information of the two 1×1 channels is aggregated using conventional multiplication, and the 3×3 channel is used to expand the feature space. In this way, the module can encode the information between channels, adjust the importance of the channels, and save the spatial structure information in the channels.

[0091] The cross-spatial information aggregation method enables the module to extract richer local receptive field information. The output of the 1×1 branch is encoded with global spatial information using two-dimensional global average pooling, and then converted into its corresponding dimensional shape, as shown in formula (7).

[0092]

[0093] In the 3×3 branch, two-dimensional global average pooling is also used to encode global spatial information, and its output is fitted with a linear transformation using a two-dimensional Gaussian map of the nonlinear function Softmax. In order to capture the pixel-level relationship of the fingerprint image, the Sigmoid function is used to calculate the output feature map after multiplication, and the final output size is the same as the input.

[0094] SK module:

[0095] The SK module divides image processing into three steps: segmentation, fusion, and selection. When fusion is performed, it is necessary to fuse with the shallow features after segmentation to learn different types of knowledge. Finally, the learned knowledge is selected to obtain the output feature map.

[0096] In the segmentation stage, two convolution kernels are needed to transform the image. Assume that the original feature domain is X∈R H×W×C After two convolutions with kernels of 3 and 5, a new feature domain is obtained Batch normalization and BN layers are added sequentially after convolution.

[0097] The fusion stage needs to obtain the feature reduction value, which is the feature vector obtained from the feature map, and can adaptively adjust the main features in the feature domain. First, the feature domain obtained in the previous step is fused.

[0098] U=U 1 +U 2

[0099] Global average pooling is used to generate a single channel statistic S to obtain the embedded global information. The information reduction of the two dimensions H and W is calculated as follows.

[0100]

[0101] In the above formula, gp stands for global average pooling. In order to achieve more accurate and better adaptation of the feature domain, a more compact feature Z is required. The fully connected layer is used to process S to obtain a more efficient reduction dimension Z.

[0102]

[0103] Where fc represents the fully connected layer. δ is the ReLU function. is batch normalization, W is a The feature domain of the space. The selection stage needs to select the final combined vector. For feature Z, it needs to be differentiated into two sets of different feature values ​​and merged with the original feature domain. This paper uses softmax for segmentation.

[0104]

[0105] A and B belong to domain, a and b are U 1 and U 2 The final feature domain V is the sum of the light attention features of the two branches multiplied by the original feature domain.

[0106] V c =a c ·U 1 +b c ·U 2

[0107] The sum V obtained is all features. V=[V1,V2,...,V c ],

[0108] Shuffle module:

[0109] For a given feature map, the complete feature domain X is divided into G groups according to the channel dimension, that is, X = [X1,...,X G ], The obtained set of features is divided into two branches according to the channel, namely The two branches are used to generate channel attention maps and spatial attention maps respectively.

[0110] The channel attention map needs to perform global average pooling on the feature domain to embed global information.

[0111]

[0112] The channel statistics S obtained belong to Then, through a gating mechanism and sigmoid activation function, compact features are generated. The formula is defined as:

[0113]

[0114] in Used to scale and move parameters.

[0115] The spatial attention map of the Shuffle module and the channel attention map complement each other in information extraction. In spatial information processing, group normalization is used to obtain spatial statistical information, and linear calculation is used to enhance X k2 The final output is as follows.

[0116] X' k2 =σ(W2·GN(X k2 )+b2)·X k2

[0117] Among them, σ represents the sigmoid activation function operation, Finally, the two branches are connected, and the number of channels of the spliced ​​output is equal to the number of inputs, that is,

[0118] After each channel group is processed in both the spatial and channel dimensions, it flows along the channel dimension and aggregates into a new feature domain of the same size as the initial feature domain.

[0119] Triplet Module:

[0120] The Triplet module uses three branches to process the image, two of which are used to capture the cross-dimensional interactive feature information between channel C and space H and W. The last channel is used to build a spatial attention mechanism to strengthen the spatial feature information.

[0121] The pool layer is used to reduce the channel dimension, reducing the original dimension to 2 dimensions, connecting the average pooled features and the maximum pooled features on this dimension, retaining rich tensor information while reducing the amount of calculation.

[0122] Z-pool(x)=[Max 0d (x),Avg 0d (x)]

[0123] In the first branch, the H dimension and the C dimension establish an interactive relationship.

[0124] The input tensor x is rotated 90° counterclockwise along the H axis. The shape of the rotated tensor x1 is W×H×C. After Z-pool processing, the shape of the x2 tensor is 2×H×C. After convolution and batch normalization layers, an intermediate output with a dimension of 1×H×C is obtained. The corresponding attention weight is generated by Sigmoid and multiplied with the original feature domain. Finally, it is rotated 90° clockwise along the H axis to be consistent with the size of the input feature domain.

[0125] In the second branch, an interaction is established between the W dimension and the C dimension. The calculation process is the same as the previous branch, except that the input tensor y is rotated 90° counterclockwise along the W axis. The rotated tensor y1 has a shape of H×C×W. After Z-pool processing, the shape of the y2 tensor is 2×C×H. After convolution and batch normalization layers, an intermediate output with a dimension of 1×C×W is obtained. The corresponding attention weight is generated by Sigmoid and multiplied with the original feature domain. Finally, it is rotated 90° clockwise along the W axis to be consistent with the size of the input feature domain.

[0126] In the third branch, the spatial dimensions interact with each other. The input tensor z passes through Z-pool to obtain the z1 tensor with a feature shape of 2×H×W. After convolution, batch normalization layer and Sigmoid, the output feature shape is 1×H×W. Multiplying with the original feature domain gives the third feature domain with unchanged size.

[0127] The present invention proposes a channel diffusion DA module, which expands the dual-channel feature processing to six-channel processing and finally outputs its features. The DA module uses the following operations:

[0128] Reshape: reorganize the feature vector order of the module and randomly change the order of three-dimensional feature representation. H represents height, W represents width, and C represents channel. The feature H×W×C before processing will be randomly reorganized into feature representation forms such as W×H×C.

[0129] Pconv:

[0130] PConv is a new type of convolution that applies regular Conv to a portion of the input channels for spatial extraction and keeps the remaining channels unchanged. For continuous or regular memory access, the first or last continuous channel is considered as the representative of the entire feature map for calculation. Without loss of generality, the input and output feature maps are considered to have the same number of channels. Therefore, the FLOPs of PConv is 1 / 16 of that of regular convolution, and the calculation formula is as follows:

[0131] h×w×(k 2×c p ×c+c×(cc p ))

[0132] In addition, PConv has a smaller memory access volume, which is 1 / 4 of the conventional convolution. This structure can well reduce computational redundancy and memory access. The calculation formula is as follows:

[0133]

[0134] Among them, h represents the height of the image, w represents the width of the image, k is the size of the convolution kernel, and c is the total number of channels of the entire image.

[0135] c p It is the number of channels for convolution operation. Reducing the amount of convolution calculation can save computing resources, improve system operation speed, and reduce the computing burden of hardware.

[0136] DSConv:

[0137] Depthwise separable convolution consists of depthwise convolution and pointwise convolution. Depthwise convolution is used to extract spatial features, and pointwise convolution is used to extract channel features. Depthwise separable convolution groups convolutions in the feature dimension, performs independent depthwise convolution on each channel, and uses a 1x1 convolution (pointwise convolution) to aggregate all channels before output. The convolution kernel of depthwise convolution is a single-channel mode, and it is necessary to convolve each input channel, so that an output feature map with the same number of channels as the input feature map will be obtained. That is, the number of input feature map channels = the number of convolution kernels = the number of output feature maps. Pointwise convolution (PWConv) is essentially a dimensionality increase using a 1x1 convolution kernel.

[0138] Tanh:

[0139] In the present invention, the left channel uses the Tanh activation function, and the function calculation formula is as follows:

[0140]

[0141] Where X represents the input feature.

[0142] Sigmoid:

[0143] In the present invention, the right channel uses the Tanh activation function, and the function calculation formula is as follows:

[0144]

[0145] Where X represents the input feature.

[0146] The improved Mobilevit network was experimented on LivDet2011, LivDet2013 and LivDet2015. The comparison with the existing convolutional neural network is shown in the following table, where Table 1 shows the experimental results of LivDet2011, Table 2 shows the experimental results of LivDet2013, Table 3 shows the experimental results of LivDet2015, Table 4 shows the cross-material experimental results, and Table 5 shows the cross-dataset experimental results. Bio stands for Biometrika, Dig stands for Digital, Ita stands for Itaklata, Sag stands for Sagem, Cro stands for Crossmatch, Gre stands for Greenbit, and His stands for Biometrika. All of the above are the names of sensors. The experimental evaluation index uses ACE, that is, the average classification error rate. The smaller the result, the better the experimental result.

[0147] Table 1

[0148]

[0149] Table 2

[0150]

[0151] Table 3

[0152]

[0153] Table 4

[0154]

[0155] Table 5

[0156]

[0157] It can be seen from the above table that the improved Mobilevit network proposed in the present invention performs well in the fingerprint activity detection task, outperforming the traditional deep learning network, and achieves better results in cross-material and cross-dataset scenarios, proving that the present invention improves the generalization of the FLD system;

[0158] The fingerprint activity detection task is a crucial part of the fingerprint recognition system, responsible for protecting the system security. The present invention proposes an improved Mobilevit network for completing this task, and proposes the problem of insufficient extraction of image feature dimension information in fingerprint activity detection. The residual connection is used to combine deep information with shallow information, and the dual-channel model is diffused to form a six-channel for multi-dimensional extraction of image information. The idea of ​​the fingerprint activity detection method proposed in the present invention can effectively classify fingerprint images and propose a corresponding network design idea foundation for future fingerprint activity detection methods.

Claims

1. A fingerprint activity detection method for improving Mobilevit network, characterized in that: The following steps are involved: Step 1: Obtain the fingerprint image dataset and divide it into a training set and a test set, and preprocess the fingerprint image; Step 2: Build the multimodal feature extraction module MFE and the diffusion analysis module DA; Step 3: Build the Mobilevit network model; Step 4: Fuse the diffusion analysis module DA with the Mobilevit network to obtain the improved Mobilevit network; Step 5: Input the fingerprint image into the network and get the classification result.

2. The method according to claim 1, characterized in that In step 1, the fingerprint image needs to be preprocessed. First, the fingerprint ROI area is extracted. The present invention adopts the method of manually annotating the data set to extract the ROI area, manually selects the fingerprint area of ​​each picture, selects the area with the fingerprint image and removes the remaining white edge part, and then crops the fingerprint image. The input image is cropped into a uniform size, and then the image is normalized to obtain the preprocessed fingerprint image.

3. The method according to claim 1, characterized in that In step 2, the multimodal feature extraction module MFE is specifically: The input features enter the dual channel, which includes the left channel and the right channel. The features of the left channel first enter the first convolution layer for convolution operation. The output of the first convolution layer enters the second convolution layer for convolution operation. The output of the second convolution layer enters the third convolution layer for convolution operation. The output of the third convolution layer enters the fourth convolution layer for convolution operation. The output of the fourth convolution layer performs a dimensionality reduction operation, that is, converting the three-dimensional features into two-dimensional features to reduce the network computing overhead. The two-dimensional features are transformed to extract the semantic information of the image and enhance the inherent expression form and expressiveness of the features. The obtained output performs a dimensionality increase operation, that is, converting the two-dimensional features into three-dimensional features. The three-dimensional features enter the fifth convolution layer for convolution operation. The obtained output is the output of the left channel. The input features enter the right channel at the same time. The features of the right channel first enter the SGE module to strengthen the module's preprocessing of the image and distinguish different fingerprint image areas. The output obtained after the SGE module is processed enters the SK module to extract the global information of the fingerprint image. The design of double convolution with different sizes of receptive fields is used to enhance the feature sensitivity. The features obtained after the SK module is processed enter the EMA module to enhance the network grouping capability, thereby improving the ability to extract local features. The features obtained after the EMA module is processed enter the Shuffle module to further extract the information of local features and analyze the features from the perspectives of spatial attention and channel attention. The output obtained after the Shuffle module is processed enters the Triplet module to rotate the feature group and analyze its information from three dimensions. The output after the Triplet module is the output of the right channel. The output of the left channel is merged with the output of the right channel, and the merged features are convolved again to obtain the output of the multimodal feature extraction module MFE.

4. The method according to claim 1, characterized in that: In step 2, the diffusion analysis module DA is specifically: The features input into the diffusion analysis module DA enter channel a and are first subjected to a convolution process. The features obtained after the process enter channels a-1, a-2, and a-3 to extract the image features in more detail. The features entering channel a-3 undergo a feature reorganization in the channel direction to disrupt the feature continuity and improve the network robustness. After the reorganization, the output of channel a-3 is obtained. The features entering channel a-2 are first subjected to feature reorganization in the channel direction and then enter the depthwise separable convolution layer. This convolution can effectively reduce the amount of computation. A convolution is performed, and the result obtained after the convolution is multiplied with the result of the output of channel a-3. The result obtained after the product undergoes a Tanh operation to obtain the output of channel a-2. The features entering channel a-1 are first transformed to extract image semantic information, and the output is transformed for the second time. The output obtained by the second transformation enters a convolution layer for convolution operation. The result after convolution is added to the output of channel a-2 to obtain the output of channel a-1. The features entering the diffusion analysis module DA enter channel b at the same time. The features entering channel b are first subjected to a convolution operation. The features obtained after the convolution process enter channels b-1, channel b-2, and channel b-3 to extract the image features in more detail. The features entering channel b-3 are reorganized in the channel direction to disrupt the original feature order. The output of channel b-3 is obtained after the reorganization. The features entering channel b-2 are first reorganized in the channel direction to shuffle the features. The features obtained after the shuffling are subjected to a partial convolution. The features obtained after the partial convolution process are multiplied with the features of the output of channel b-3. The output obtained after the product is subjected to a sigmoid operation, and a different activation function is used with channel a to prevent the feature extraction from having a high similarity and to complement the shortcomings. The features after sigmoid operation are the output of channel b-2. The features entering channel b-1 first enter a convolution layer for convolution processing. The processed features enter the second convolution layer for convolution processing. The processed features enter the third convolution layer for convolution processing. The processed features are added to the output of channel b-2 to obtain the output of channel b-1; the output of channel a-1, the output of channel b-1, the output of channel a after the first convolution, and the output of channel b after the first convolution are fused to obtain the output of the diffusion analysis module DA.

5. The method according to claim 1, characterized in that In step 3, the constructed Mobilevit network model is as follows: The features entering the network first enter a convolution layer for convolution processing. The features obtained after processing enter the first Block1, the output of the first Block1 enters the second Block1, the output of the second Block1 enters the third Block1, the output of the third Block1 enters the first MFE, the output of the first MFE enters the fourth Block1, the output of the fourth Block1 enters the second MFE, the output of the second MFE enters the fifth Block1, the output of the fifth Block1 enters a convolution layer for convolution operation, and the output of the convolution layer enters a fully connected layer to obtain the classification result.

6. The method according to claim 1 or 5, characterized in that: In step 4, the diffusion analysis module DA in step 2 is integrated into the Mobilevit network in step 3 to obtain an improved Mobilevit network; the improved Mobilevit network is: The features entering the network first enter a convolution layer for convolution processing. The features obtained after convolution processing enter the first Block1. The output of the first Block1 enters the second Block1. The output of the second Block1 enters the third Block1. The output of the third Block1 enters the MFE. The output of the MFE enters the DA module. The output of the DA module enters the second DA module. The output of the second DA module enters the fourth Block1. The output of the fourth Block1 enters the second MFE. The output of the second MFE enters the fifth Block1. The output of the fifth Block1 enters a convolution layer for convolution operation. The output of the convolution layer enters a fully connected layer to finally obtain the classification result.

Citation Information

Patent Citations

  • Occluded pedestrian detection method based on attention mechanism

    CN114359972A

  • Transform-based lightweight semantic segmentation method and system

    CN116843896A

  • Fingerprint activity detection method of improved ShufflenetV2 network

    CN117789270A

  • Deep learning-based fingerprint activity detection method

    CN117975508A

  • Adjustable stand hanger for column post

    KR1020220161072A