Finger vein image feature extraction and encoding method based on deep reinforcement learning
Through a finger vein image feature extraction method based on deep reinforcement learning, a supervised encoder is used to generate a threshold code with optimal performance history, which solves the problems of insufficient feature combination exploration and threshold mismatch in the existing technology, and improves the accuracy of finger vein texture features. Extraction accuracy and performance.
Patent Information
- Application Number
- CN202410108555.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-25
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-01-25
AI Technical Summary
Existing deep learning-based vein texture extraction methods neglect to explore multiple different feature combinations, resulting in poor verification performance, and use fixed thresholds that lead to mismatch in encoded images and increase verification errors.
A finger vein image feature extraction method based on deep reinforcement learning is used to obtain the original vein image and input it into the feature extractor trained by reinforcement learning and deep learning to output the enhanced vein image, and use a supervised encoder to generate a threshold with the best performance history Encoding, encoding of vein feature images.
The performance of the feature extractor is improved, the exploration of a variety of different feature combinations is realized, the accuracy of extraction of finger vein texture features is improved, and verification errors are reduced.
Smart Images

Figure CN118116036B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vein recognition technology, and in particular to a finger vein image feature extraction and encoding method based on deep reinforcement learning. Background Art
[0002] Finger vein recognition is a biometric recognition technology that uses the vein distribution inside the finger to authenticate identity. It has the advantages of liveness detection, concealment, stability, and non-contact, and is suitable for high-security occasions. Finger vein image feature extraction is a key step in finger vein recognition, which determines the performance and accuracy of the recognition system. The finger vein image feature extraction algorithm is a method of extracting vein features that can characterize the finger vein pattern from the finger vein image.
[0003] Existing deep learning-based vein texture extraction methods have the following two problems: First, deep learning-based methods reveal hierarchical features through iterative training to minimize decision errors on predefined objects. This method that focuses on feature learning ignores the importance of exploring and extracting various different feature combinations, resulting in poor verification performance. Second, deep learning-based methods usually use fixed thresholds for feature encoding, which increases the mismatch of the encoded image. However, this threshold determination scheme, such as global and local thresholds, will have mismatch problems. The threshold determined by human experience or manual design has no direct correlation with the encoding goal (such as reduction in verification errors and increase in recognition accuracy). Therefore, it is possible that high-quality encoded images containing more connected or smooth vein patterns do not match the corresponding templates, but instead lead to increased verification errors, which reduces the overall feature extraction performance.
[0004] Therefore, there is an urgent need for a finger vein image feature extraction method that can explore a variety of different feature combinations and improve the performance of the feature extractor. Summary of the invention
[0005] Based on this, it is necessary to provide a finger vein image feature extraction and encoding method based on deep reinforcement learning to address the above technical problems.
[0006] A finger vein image feature extraction and encoding method based on deep reinforcement learning comprises the following steps: obtaining an original vein image, and inputting the original vein image into a feature extractor trained based on reinforcement learning and deep learning, and outputting an enhanced vein image; using a supervised encoder to generate a threshold encoding with the best performance history as an encoding threshold; encoding the enhanced vein image by the encoding threshold to obtain a vein feature image.
[0007] In one embodiment, the method of obtaining an original vein image and inputting the original vein image into a feature extractor trained based on reinforcement learning and deep learning, and outputting an enhanced vein image, further includes: obtaining a sample vein image and preprocessing the sample vein image; using three marking methods, namely, maximum curvature point, Gabor filter and wide line detector, to mark the vein area and background area of the sample vein image respectively, and obtaining the corresponding feature map f after marking. k (k=1,2,3), each feature map f k represents the marking result of the vein area by the marking method; all feature maps of the sample vein image are integrated to generate the vein label of each pixel, and the formula is:
[0008]
[0009] Where L(i,j) represents the classification result of the pixel with coordinates (i,j) in the sample vein image f, and takes the value of 0 or 1, representing the background area and vein area respectively. K represents the number of benchmark methods. The vein dataset is constructed based on the preprocessed sample vein images and the corresponding vein labels.
[0010] In one embodiment, the method of obtaining an original vein image and inputting the original vein image into a feature extractor based on reinforcement learning and deep learning to output an enhanced vein image includes: training the feature extractor using the vein data set based on a reinforcement learning algorithm and a deep learning algorithm to obtain a trained feature extractor; obtaining an original vein image, inputting the original vein image into the trained feature extractor to generate an enhanced vein image, and the formula is:
[0011] y′=π θ (x)
[0012] Where θ is the network parameter of the feature extractor, x is the input original vein image, and π θ represents the feature extractor, π θ (x) represents the strategy of feature extractor output for x, and y′ is the enhanced vein image.
[0013] In one embodiment, the method further includes: using the similarity of each pixel in a preset neighborhood between the enhanced vein image and the vein label as a reward to optimize the network parameters, and the formula is:
[0014]
[0015] In the formula, Represents the gradient of the point with x coordinate (i, j) in the input image relative to the network parameter θ, In the strategy π θ The classification action of the pixel with the lower coordinate (i, j) is a i,j The logarithm of the probability, r i,j is the reward obtained by taking the action, where r is calculated i,j The formula is:
[0016]
[0017] in,
[0018]
[0019] Where B and C are the neighborhoods centered at pixel point (i, j) with a size of B×C, and l i,j (b,c) represents the classification of the pixel corresponding to (i,j) in the label l corresponding to the input image x after shifting to (b,c), y′ i,j (b,c) represents the classification of the corresponding pixel point after (i,j) is offset from (b,c) in y′.
[0020] In one of the embodiments, the network structure of the feature extractor includes three first convolutional neural network blocks, three residual structure neural network blocks, four second convolutional neural network blocks and a softmax layer; the first convolutional neural network block and the second convolutional neural network block both include a convolutional neural network layer, a Relu activation function layer and a batch normalization layer; the residual structure neural network block includes two convolutional neural network layers, two Relu activation function layers, two batch normalization layers and a short-circuit jump structure.
[0021] In one embodiment, the enhanced vein image is encoded by encoding the threshold value to obtain the vein feature image, and the formula is:
[0022]
[0023] T=10 -1 ×a1+10 -2 ×a2+…+10 -N ×a N
[0024]
[0025] In the formula, θ l represents the network parameters of the supervisory encoder, represents the supervised encoder, It means that the supervised encoder obtains a set of action sequences a by sampling 1..N , T is composed of action sequence a 1..N The calculated encoding threshold, y″, is a vein feature image obtained by encoding the enhanced vein image y′ using the threshold T.
[0026] In one embodiment, the method further includes: supervising the network parameters θ of the encoder l Perform optimization update, the formula is:
[0027]
[0028] In the formula, η is the learning rate, which is set to 0.001, M is the cumulative threshold generated M times, and the gradient is summarized and averaged to train the parameters. Indicates that the nth action of the supervisory encoder is a n The logarithm of the probability, 1-EER m Indicates the reward value corresponding to the threshold generated for the mth time, EER m is the equal error rate value of the vein feature image obtained for the mth time.
[0029] Compared with the prior art, the advantages and beneficial effects of the present invention are: by obtaining the original vein image and inputting it into a feature extractor trained based on reinforcement learning and deep learning, an enhanced vein image is output, a supervised encoder is used to generate a threshold encoding with the best performance in history, a coding threshold that is more suitable for the feature extractor is obtained, the performance of the feature extractor is improved, the enhanced vein image is encoded by the coding threshold, and a vein feature image is obtained, thereby enabling the exploration of a variety of different feature combinations, improving the performance of the feature extractor, and being able to extract more accurate finger vein texture features. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A schematic diagram of a flow chart of a finger vein image feature extraction and encoding method based on deep reinforcement learning in one embodiment;
[0031] Figure 2 is a block diagram of a finger vein image feature extraction and encoding method based on deep reinforcement learning in one embodiment;
[0032] Figure 3 FIG. 4 is a schematic diagram of a network structure of a supervisory encoder in an embodiment. DETAILED DESCRIPTION
[0033] Before describing the specific embodiments of the present invention, the overall concept of the present invention is described as follows:
[0034] The present invention is mainly developed based on the finger vein texture feature extraction process. The current extraction method cannot realize the exploration of multiple different feature combinations, and the encoding threshold is a fixed value, resulting in low overall feature extraction performance.
[0035] Therefore, the present invention proposes a finger vein image feature extraction and encoding method based on deep reinforcement learning. The original vein image is obtained and input into a feature extractor trained based on reinforcement learning and deep learning, and an enhanced vein image is output. A supervised encoder is used to generate a threshold encoding with the best performance history, and a coding threshold that is more suitable for the feature extractor is obtained to improve the performance of the feature extractor. The enhanced vein image is encoded by the coding threshold to obtain a vein feature image. The method can realize the exploration of a variety of different feature combinations, improve the performance of the feature extractor, and thus extract more accurate finger vein texture features.
[0036] After introducing the overall concept of the present invention, in order to make the purpose, technical solution and advantages of the present invention more clear, the present invention is further described in detail by specific implementation methods in combination with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0037] In one embodiment, Figure 1-2 As shown, a finger vein image feature extraction and encoding method based on deep reinforcement learning is provided, comprising the following steps:
[0038] Step S101, obtaining an original vein image, and inputting the original vein image into a feature extractor trained based on reinforcement learning and deep learning, and outputting an enhanced vein image.
[0039] Specifically, the original vein image is acquired by the finger vein image acquisition device. Since the image quality is easily affected by external factors such as light intensity, angle and ambient temperature during the acquisition process, it is necessary to pre-process the original vein image, such as denoising, to reduce the adverse effects of external factors on the image. The pre-processed original vein image is input into the feature extractor trained by the deep learning algorithm based on reinforcement learning. The feature extractor extracts the features of the original vein image to obtain enhanced vein images with different feature combinations. Using deep reinforcement learning, a variety of different feature combinations can be obtained to improve the accuracy of the finger vein feature extraction results.
[0040] Before step S101, the method further includes: obtaining a sample vein image and preprocessing the sample vein image; using three marking methods, namely, maximum curvature point, Gabor filter and wide line filter, to mark the vein area and background area of the sample vein image respectively, and obtaining the corresponding feature map f after marking. k (k=1,2,3), each feature map f k Represents the labeling result of the vein area by the labeling method; all feature maps of the sample vein image are integrated to generate the vein label of each pixel, and the formula is:
[0041]
[0042] Where L(i,j) represents the classification result of the pixel with coordinates (i,j) in the sample vein image f, and takes the value of 0 or 1, representing the background area and vein area respectively. K represents the number of benchmark methods. The vein dataset is constructed based on the preprocessed sample vein images and the corresponding vein labels.
[0043] Specifically, before using the feature extractor, it is necessary to obtain the sample vein image that has been collected or generated, and pre-process the sample vein image to eliminate the influence of external factors. The three marking methods of maximum curvature point, Gabor filter and wide line detector are used to mark the vein area and background area of the sample vein image respectively. For a sample vein image, three marking methods are used respectively to obtain the corresponding feature map, that is, the marking result of the vein area by the corresponding marking method. By integrating all the feature maps, the final vein label is generated, and the vein label and the sample vein image are combined to construct a vein data set for feature extraction training. The three marking methods are used to mark and integrate the vein area, which can further improve the accuracy of vein feature extraction.
[0044] Wherein, step S101 includes: based on the reinforcement learning algorithm and the deep learning algorithm, the feature extractor is trained using the vein data set to obtain a trained feature extractor; the original vein image is obtained, and the original vein image is input into the trained feature extractor to generate an enhanced vein image, and the formula is:
[0045] y′=π θ (x)
[0046] Where θ is the network parameter of the feature extractor, x is the input original vein image, and π θ represents the feature extractor, π θ (x) represents the strategy of feature extractor output for x, and y′ is the enhanced vein image.
[0047] Specifically, based on the reinforcement learning algorithm and the deep learning algorithm, the constructed vein data set is used to train the feature extractor to obtain a trained feature extractor. The deep learning algorithm uses the maximum value in the strategy as the final classification scheme, and the reinforcement learning regards the strategy as a probability, and obtains the final classification scheme according to the probability sampling. The combination of the two algorithms can increase the various feature combinations extracted. After obtaining and inputting the original vein image into the trained feature extractor, the feature extractor calculates the input image, obtains the classification strategy of each pixel in the input image, and obtains an enhanced vein image with multiple feature combinations.
[0048] It also includes: taking the similarity of each pixel in the preset neighborhood between the enhanced vein image and the vein label as a reward to optimize the network parameters, the formula is:
[0049]
[0050] In the formula, Represents the gradient of the point with x coordinate (i, j) in the input image relative to the network parameter θ, In the strategy π θ The classification action of the pixel with the lower coordinate (i, j) is a i,j The logarithm of the probability, r i,j is the reward obtained by taking this action, where r is calculated i,j The formula is:
[0051]
[0052] in,
[0053]
[0054] Where B and C are the neighborhoods centered at pixel point (i, j) with a size of B×C, and l i,j (b,c) represents the classification of the pixel corresponding to (i,j) in the label l corresponding to the input image x after shifting to (b,c), y′ i,j (b,c) represents the classification of the corresponding pixel point after (i,j) is offset from (b,c) in y′.
[0055] Specifically, in order to further improve the performance of feature extraction, the similarity within a preset neighborhood range of each pixel between the enhanced vein image and the vein label is used as a reward to optimize the network parameters of the feature extractor.
[0056] Among them, the network structure of the feature extractor includes three first convolutional neural network blocks, three residual structure neural network blocks, four second convolutional neural network blocks and a softmax layer; the first convolutional neural network block and the second convolutional neural network block both include a convolutional neural network layer, a Relu activation function layer and a batch normalization layer; the residual structure neural network block includes two convolutional neural network layers, two Relu activation function layers, two batch normalization layers and a short-circuit jump structure.
[0057] Specifically, the network structure of the feature extractor is shown in Table 1. The input layer is the input image. The first convolutional neural network block and the second convolutional neural network block are composed of a convolutional neural network layer, a Relu activation function layer and a batch normalization layer. The residual structure neural network block is composed of two convolutional neural network layers, two Relu activation function layers, two batch normalization layers and a short-circuit jump structure. The parameters of each layer are shown in the other columns of the corresponding row.
[0058] Table 1 Network structure of feature extractor
[0059] structure Output Number of channels Convolution Kernel Step Length Input Layer 1×49×181 - - - First Convolutional Neural Network Block 32×49×181 32 3 1 First Convolutional Neural Network Block 64×49×181 64 3 1 First Convolutional Neural Network Block 128×49×181 128 3 1 Residual structure neural network block 128×49×181 128 3 1 Residual structure neural network block 128×49×181 128 3 1 Residual structure neural network block 128×49×181 128 3 1 Second Convolutional Neural Network Block 64×49×181 64 3 1 Second Convolutional Neural Network Block 32×49×181 32 3 1 Second Convolutional Neural Network Block 16×49×181 16 3 1 Second Convolutional Neural Network Block 2×49×181 2 3 1 Softmax layer 2×49×181 - - -
[0060] Step S102: using a supervisory encoder to generate a threshold encoding with the best performance in history as the encoding threshold.
[0061] Specifically, traditional deep learning-based methods all use the default 0.5 threshold for encoding, while this embodiment uses a supervised encoder to generate a threshold encoding with the best performance history as the encoding threshold to improve the performance of the feature extractor. The network structure of the supervised encoder is as follows: Figure 3 As shown, the input seed vector is N random vectors, which are determined before starting training and updated as the parameters of the supervised encoder are updated during the training of the supervised encoder.
[0062] Step S103, encoding the enhanced vein image through the encoding threshold to obtain a vein feature image.
[0063] Specifically, the enhanced vein image is encoded through the encoding threshold obtained by the supervised encoder to generate the final vein feature image, and the feature extraction performance is improved by using the encoding threshold instead of the default threshold.
[0064] Wherein, step S103 includes:
[0065]
[0066] T=10 -1 ×a1+10 -2 ×a2+…+10 -N ×a N
[0067]
[0068] In the formula, θ l represents the network parameters of the supervisory encoder, represents the supervised encoder, It means that the supervised encoder obtains a set of action sequences a by sampling 1..N , T is composed of action sequence a 1..NThe calculated encoding threshold, y″, is a vein feature image obtained by encoding the enhanced vein image y′ using the threshold T.
[0069] Specifically, based on sampling of the action sequence, a threshold encoding with the best performance is obtained and used as the encoding threshold for encoding the enhanced vein image, so as to improve the performance of the feature encoder and extract more accurate vein features.
[0070] Among them, it also includes: the network parameters θ of the supervisory encoder l Perform optimization update, the formula is:
[0071]
[0072] In the formula, η is the learning rate, which is set to 0.001, M is the cumulative threshold generated M times, and the gradient is summarized and averaged to train the parameters. Indicates that the nth action of the supervisory encoder is a n The logarithm of the probability, 1-EER m Indicates the reward value corresponding to the threshold generated for the mth time, EER m is the equal error rate value of the vein feature image obtained for the mth time.
[0073] Specifically, in order to improve the performance of supervised coding, the equal error rate of the vein feature image is used as a reward to train the parameters of the supervised encoder network so that the supervised encoder can generate the threshold encoding with the best performance history. Among them, the equal error rate is the value of the false rejection rate when the false rejection rate is equal to the false acceptance rate. The false rejection rate is the probability that the sample of the target category is mistakenly identified as other categories, and the false acceptance rate is the probability that the sample of other categories is mistakenly identified as the target category.
[0074] In this embodiment, the original vein image is obtained and input into a feature extractor trained based on reinforcement learning and deep learning, and an enhanced vein image is output. A supervised encoder is used to generate a threshold encoding with the best performance in history, and a coding threshold that is more suitable for the feature extractor is obtained to improve the performance of the feature extractor. The enhanced vein image is encoded by the coding threshold to obtain a vein feature image, which can realize the exploration of a variety of different feature combinations and improve the performance of the feature extractor, so that more accurate finger vein texture features can be extracted.
[0075] Obviously, those skilled in the art should understand that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a computer storage medium (ROM / RAM, magnetic disk, optical disk) and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than that here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Therefore, the present invention is not limited to any specific combination of hardware and software.
[0076] The above contents are further detailed descriptions of the present invention in combination with specific implementation methods, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the scope of protection of the present invention.
Claims
1. A finger vein image feature extraction and encoding method based on deep reinforcement learning, It is characterized in that The following steps are involved: Acquire a sample vein image, and preprocess the sample vein image; The sample vein image is marked with the maximum curvature point, Gabor filter and broad line detector respectively to mark the vein area and the background area, and the corresponding feature map f is obtained after marking. k (k=1,2,3), each feature map f k Indicates the marking result of the vein area by the marking method; All feature maps of the sample vein image are integrated to generate the vein label of each pixel, and the formula is: Where L(i,j) represents the classification result of the pixel with coordinates (i,j) in the sample vein image f, and takes the value of 0 or 1, representing the background area and vein area respectively, and K represents the number of benchmark methods; According to the preprocessed sample vein images and the corresponding vein labels, a vein dataset is constructed; Using the vein data set, a feature extractor is trained based on reinforcement learning and deep learning to obtain an original vein image, and the original vein image is input into the trained feature extractor to output an enhanced vein image; A supervised encoder is used to generate a threshold encoding with the best performance in history as the encoding threshold; The enhanced vein image is encoded using the encoding threshold to obtain a vein feature image.
2. According to the method for extracting and encoding finger vein images based on deep reinforcement learning according to claim 1, It is characterized in that The method of training a feature extractor based on reinforcement learning and deep learning through the vein dataset to obtain an original vein image, and inputting the original vein image into the trained feature extractor to output an enhanced vein image includes: Based on a reinforcement learning algorithm and a deep learning algorithm, the feature extractor is trained using the vein data set to obtain a trained feature extractor; The original vein image is obtained and input into the trained feature extractor to generate an enhanced vein image. The formula is: y′=π θ (x) Where θ is the network parameter of the feature extractor, x is the input original vein image, and π θ represents the feature extractor, π θ (x) represents the strategy of feature extractor output for x, and y′ is the enhanced vein image.
3. According to claim 2, the finger vein image feature extraction and encoding method based on deep reinforcement learning, It is characterized in that Also includes: The similarity between the enhanced vein image and the vein label within the preset neighborhood of each pixel is used as a reward to optimize the network parameters. The formula is: In the formula, Represents the gradient of the point with x coordinate (i, j) in the input image relative to the network parameter θ, In the strategy π θ The classification action of the pixel with the lower coordinate (i, j) is a i,j The logarithm of the probability, r i,j The reward for taking an action.
4. The finger vein image feature extraction and encoding method based on deep reinforcement learning according to any one of claims 1 to 3, It is characterized in that The network structure of the feature extractor includes three first convolutional neural network blocks, three residual structure neural network blocks, four second convolutional neural network blocks and a softmax layer; The first convolutional neural network block and the second convolutional neural network block each include a convolutional neural network layer, a Relu activation function layer and a batch normalization layer; The residual structure neural network block includes two convolutional neural network layers, two Relu activation function layers, two batch normalization layers and a short-circuit jump structure.
5. According to claim 3, the finger vein image feature extraction and encoding method based on deep reinforcement learning, It is characterized in that The enhanced vein image is encoded by the encoding threshold to obtain a vein feature image, and the formula is: T=10 -1 ×a 1 +10 -2 ×a 2 +…+10 -N ×a N In the formula, θ l represents the network parameters of the supervisory encoder, represents the supervised encoder, It means that the supervised encoder obtains a set of action sequences a by sampling 1..N , T is composed of action sequence a 1..N The calculated encoding threshold.
6. According to claim 5, the finger vein image feature extraction and encoding method based on deep reinforcement learning, It is characterized in that Also includes: The network parameters θ of the supervised encoder l Perform optimization update, the formula is: In the formula, η is the learning rate, which is set to 0.001, M is the cumulative threshold generated M times, and the gradient is summarized and averaged to train the parameters. Indicates that the nth action of the supervisory encoder is a n The logarithm of the probability, 1-EER m Indicates the reward value corresponding to the threshold generated for the mth time, EER m is the equal error rate value of the vein feature image obtained for the mth time.
Citation Information
Cited By
Authentication and identification of physical objects using microstructural features
US12469316B1
