A feature graph aggregation method for unconstrained video face recognition
Through the combination of deep convolutional neural network and feature map quality perception module, multi-channel feature maps of video faces are adaptively aggregated, which solves the problem of insufficient utilization of multi-view and time information in video face recognition, and achieves more accurate facial recognition. Face representation and recognition effects.
Patent Information
- Application Number
- CN202010835985.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-19
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-08-19
AI Technical Summary
It is difficult for the existing technology to effectively utilize the multi-view and time information of the video sequence in video face recognition, which complicates the problem of image and video matching, and the aggregation of feature vector levels ignores the differences in feature channels of different images, affecting the recognition effect. .
A deep convolutional neural network is used to obtain the multi-channel feature map of the video face, and the quality score of each channel is obtained through the feature map quality perception module, and the feature map is adaptively aggregated to reduce the dimension to a compact feature vector to form a more accurate Face representation.
Obtain a more accurate face representation through the aggregation of feature map levels, reduce the amount of calculation, avoid the impact of different feature channels on aggregation, and improve the accuracy of video face recognition.
Smart Images

Figure CN112116547B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of video face recognition, and in particular to a feature graph aggregation method for unconstrained video face recognition. Background Art
[0002] With the development of deep learning, face recognition technology has been widely used in the fields of transportation, security and criminal investigation, especially in the recognition of static images. However, with the widespread use of cameras in surveillance and mobile devices, in practical applications, the objects of face recognition are more continuously changing video faces rather than single static face images. Compared with static face images, unconstrained moving faces in videos lead to huge posture changes and motion blur, and video frames in different time periods only have partial face information. For the entire video sequence, the video face has multiple views and time information. Therefore, using the multi-view and time information of the video face sequence to represent the video face can reflect more comprehensive face information. The scenes of video face recognition generally have three settings: V2S (Video-to-Still), S2V (Still-to-Video) and V2V (Video-to-Video). Specifically, in the V2S mode, the face base library used for search consists of static images, and the target face is a set of video sequences. In these scenarios, whether it is 1:1 face verification or 1:N face recognition, the problem of image matching evolves into the more challenging image-video matching and video-video matching. For such problems, the best solution is to map the video face and the image face into the same form of face representation.
[0003] For video face recognition, there are currently methods that represent faces by integrating information from each video frame. These methods mainly aggregate faces from each video frame at the original image level or the highly compact feature vector level to achieve video face representation. These methods have achieved certain results, but aggregation at the image level or feature vector level has certain limitations. For example, although image-level aggregation can fully utilize the original data information, it will also affect the aggregation effect due to excessive noise. As for feature vector-level aggregation, although directly aggregating feature vectors can utilize the superior feature mapping capabilities of the increasingly mature image-based face recognition network, the highly compact feature vector is a fusion representation of all facial features, and directly aggregating them ignores the differences between different images in each feature channel.
[0004] Therefore, a new technical solution is needed to solve this problem. Summary of the invention
[0005] Purpose of the invention: In order to overcome the deficiencies in the prior art, a feature graph aggregation method for unconstrained video face recognition is provided. The method uses an advanced image-based face recognition network for feature mapping, aggregates at the feature graph level, and obtains a more accurate face representation.
[0006] Technical solution: To achieve the above-mentioned purpose, the present invention provides a feature graph aggregation method for unconstrained video face recognition, comprising the following steps:
[0007] S1: Use a deep convolutional neural network to obtain a multi-channel feature map corresponding to each face frame in the video face;
[0008] S2: reconstruct all multi-channel feature maps corresponding to the face in the video in units of channels, so that each channel contains the feature maps of all face frames in that channel;
[0009] S3: Use the feature map quality perception module to obtain the corresponding quality score of the feature map in each channel reconstructed in step S2;
[0010] S4: Adaptively aggregate multiple feature maps in each channel into one feature map according to the corresponding quality scores obtained;
[0011] S5: Reduce the dimension of the aggregated multi-channel feature map into a feature vector, and use the feature vector as the aggregated video face representation.
[0012] Furthermore, the deep convolutional neural network in step S1 is specifically:
[0013] The ResNet101 network is used as the main network architecture of the basic DCNN. The five parts of the ResNet101 network, namely conv1, conv2_x, conv3_x, conv4_x, and conv5_x, are retained. The average pool, 1000-d fc, and softmax layer after conv5_x are discarded. The feature atlas composed of the channel feature maps output by the conv5_x part is used as the input of the aggregation module for the aggregation task.
[0014] Furthermore, the process of obtaining the corresponding quality score in step S3 is specifically as follows:
[0015] The feature map quality perception module uses a shallow neural network to obtain the mapping of the feature map in the quality space, and then obtains the corresponding quality scores through the Softmax operation on all mapping values.
[0016] Furthermore, the Softmax formula is as follows:
[0017]
[0018] In the formula, S k Indicates the quality score corresponding to the kth feature map in the channel, q i represents the i-th eigenvalue. Since the quality score {S k}Existence∑ k S k =1, therefore, {S k} can be used as weights for subsequent aggregation.
[0019] Furthermore, the shallow neural network includes 3 convolutional layers, 3 densely connected layers and a softmax layer.
[0020] Furthermore, the step S4 is specifically as follows:
[0021] Let A(·) be the feature map quality perception module, and the aggregation method in k channels is as follows:
[0022]
[0023] Among them, C k is the feature map obtained by aggregation in k channels, f k ′ is the feature map of all k channels, f k ' i is the i-th feature map of the k-channel; the aggregated multi-channel feature map is represented by F″={C1,C2,…,C D}.
[0024] Furthermore, the dimension reduction process in step S5 is specifically as follows:
[0025] S5-1: The aggregated feature map has the same meaning and similar shape as the feature map of a single face image. Two convolutional layers are added to the aggregated feature map to enhance the representation of the aggregated features, and ReLU is used as the activation function to increase the nonlinear expression.
[0026] S5-2: In the final output part of the network, the traditional method of directly using the fully connected layer to obtain the output of the specified dimension is abandoned. Instead, the full convolution method is used to obtain a compact feature vector representation, and then the fully connected layer is used to obtain the output of the specified dimension.
[0027] The present invention relates to a feature graph aggregation network for unconstrained video face recognition. The present invention uses a feature graph aggregation network to complete feature graph aggregation. First, a basic end-to-end DCNN model is used to map a group of input face images into a corresponding number of multi-channel feature graphs, and the mapped multi-channel feature graphs are used as input for the aggregation network. In the network aggregation part, the multi-channel feature graphs corresponding to multiple faces are reconstructed, and each channel contains the feature graphs of each image in this channel after reconstruction, wherein the positions of the corresponding feature graphs of each channel are consistent. Through a feature graph quality perception module, each reconstructed feature graph obtains its corresponding quality score. With this quality score as a weight, the multi-channel feature graph extracted by the basic DCNN is weightedly aggregated for the feature graphs of different images in each channel, and the aggregated multi-channel feature graph has the same form and meaning as a single image. Similar to the processing of the image, the multi-channel feature graph obtained by aggregation is subjected to two-layer convolution operation and then dimensionality reduction is performed through global convolution, thereby obtaining a more compact vector representation.
[0028] Beneficial effects: Compared with the prior art, the present invention has the following advantages:
[0029] 1. Feature maps have more parameters available for learning, and aggregation at the feature map level can obtain more accurate quality scores.
[0030] 2. Aggregating video faces in different feature channels separately can avoid the influence of different feature channels on aggregation.
[0031] 3. After the video face passes through the feature map aggregation network, it has a single video face representation, which is conducive to obtaining a more accurate face representation while reducing the computational complexity of subsequent tasks. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is the overall framework diagram of the feature graph aggregation network in the present invention;
[0033] Figure 2 Schematic diagram of the feature map quality perception module in the present invention. DETAILED DESCRIPTION
[0034] The present invention is further explained below in conjunction with the accompanying drawings and specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention. After reading the present invention, various equivalent forms of modifications to the present invention by those skilled in the art all fall within the scope defined by the claims attached to this application.
[0035] The present invention provides a feature graph aggregation network for realizing unconstrained video face recognition, such as Figure 1As shown, in this embodiment, the feature graph aggregation network is used to aggregate unconstrained video faces or image sets to achieve face recognition. The feature graph aggregation process specifically includes the following steps:
[0036] S1: Use a deep convolutional neural network as the basic feature map extraction module to obtain a multi-channel feature map corresponding to each frame of the face in the video.
[0037] The basic feature map extraction module in this embodiment is a deep convolutional neural network with a similar structure to the conventional image-based face recognition model. Unlike the general DCNN model that maps the image to be recognized into a compact feature vector, the basic feature map extraction module used in this embodiment maps the face image into a feature map set that represents different high-level features.
[0038] The basic feature map extraction module uses the ResNet101 network, which currently performs well in the field of image recognition, as the main network architecture of the basic DCNN, and retains the five parts of ResNet101, conv1, conv2_x, conv3_x, conv4_x, and conv5_x, and discards the average pool, 1000-d fc, and softmax layer after conv5_x. Therefore, the basic feature map extraction module is an end-to-end mapping model composed of the five parts retained by ResNet101. Among them, the feature map set composed of the channel feature maps output by the conv5_x part is used as the input of the aggregation module for aggregation tasks.
[0039] S2: Reconstruct all multi-channel feature maps corresponding to the video face in units of channels, so that each channel contains the feature maps of all face frames in the channel.
[0040] In this embodiment, let T = {I1, I2,, I N} is a group of face images to be aggregated, and H() is the basic feature map extraction module in step S1 of FMAN. Therefore, the feature map of a single face image f i =H(I i ), let F be the feature map group corresponding to the image group T, then F = {f1,f2,…f N}. Among them, f i is a three-dimensional data with D channels and size w×h. i Each channel of represents the partial features extracted by the basic DCNN module to distinguish different faces. In order to aggregate the features of each channel, the feature map group is first reconstructed according to the number of channels.
[0041] Let F′ be the reconstructed feature map group, then F′={f′1,f′2,…f′ D}. Among them, f′i It is a three-dimensional data with a depth of N and a size of w×h, representing the feature atlas of the N aggregated images in the i-th channel.
[0042] S3: Using the feature map quality perception module to obtain the quality score of the feature map in each channel;
[0043] The feature map quality perception module reads a set of feature maps in a single channel reconstructed in step S1 as perception objects, and generates a corresponding quality score for each feature map.
[0044] The feature map quality perception module is a shallow neural network, such as Figure 2 As shown in the figure, the neural network has 7 layers, including 3 convolutional layers, 3 densely connected layers and a softmax layer. Each feature map in a set of feature maps first passes through 2 convolutional layers in parallel, then a global convolutional layer is used to reduce the dimension of each channel feature map generated by the convolution operation into a set of eigenvalues, and finally 3 fully connected layers are used to reduce the dimension of a set of eigenvalues corresponding to the feature map into one eigenvalue. In this way, a set of input feature maps is mapped to a corresponding set of eigenvalues containing quality information.
[0045] In this embodiment, in order to obtain the relative quality score of the feature map quality, so as to facilitate weighted aggregation within the channel, this set of feature values is converted into a quality score through a Somtmax operation. The specific formula is as follows:
[0046]
[0047] In the formula, S k Indicates the quality score corresponding to the kth feature map in the channel, q i represents the i-th eigenvalue. Since the quality score {S k}Existence∑ k S k =1, therefore, {S k} can be used as weights for subsequent aggregation.
[0048] S4: Adaptively aggregate multiple feature maps in each channel into one feature map based on the quality score.
[0049] The quality perception module is based on f i ′ is used as the perception input and the output is f i The quality scores of the N feature maps in ′ are given by A(·) and A(·) is the feature map quality perception module. Therefore, the aggregation method in the k channel is as follows:
[0050]
[0051] Among them, C kis the feature map obtained by aggregation in k channels, f′ k is the feature map of all k channels, f′ ki is the i-th feature map of the k-channel. Therefore, the aggregated multi-channel feature map can be expressed as F″={C1,C2,…,C D}.
[0052] S5: Reduce the dimension of the aggregated multi-channel feature map into a feature vector, which is the aggregated video face representation.
[0053] Since the aggregated F″ is different from the single face image feature map f i have the same meaning and similar shape, so this embodiment uses some methods for single image recognition to further process the feature representation of F″ to obtain a more compact feature representation.
[0054] In this embodiment, two convolutional layers are added after the aggregation layer to enhance the representation of the aggregated features, and Relu is used as the activation function at the appropriate position to increase the nonlinear expression. In the final output part of the network, the traditional direct use of the fully connected layer to obtain the output of the specified dimension is abandoned, and the full convolution method is used to obtain a compact feature vector representation, and then the fully connected layer is used to obtain the vector representation of the specified dimension. This vector representation of the specified dimension is the final aggregate representation of the feature map aggregation network, and the obtained vector can be used for subsequent face recognition tasks.
Claims
1. A feature graph aggregation method for unconstrained video face recognition, characterized by: The steps include: S1: Use a deep convolutional neural network to obtain a multi-channel feature map corresponding to each face frame in the video face; S2: reconstruct all multi-channel feature maps corresponding to the face in the video in units of channels, so that each channel contains the feature maps of all face frames in that channel; S3: Use the feature map quality perception module to obtain the corresponding quality score of the feature map in each channel reconstructed in step S2; S4: Adaptively aggregate multiple feature maps in each channel into one feature map according to the corresponding quality scores obtained; S5: reducing the dimension of the aggregated multi-channel feature map into a feature vector, and using the feature vector as the aggregated video face representation; The deep convolutional neural network in step S1 is specifically: Use the ResNet101 network as the main network architecture of the basic DCNN, retain the five parts of the ResNet101 network, conv1, conv2_x, conv3_x, conv4_x, and conv5_x, discard the averagepool, 1000-dfc, and softmax layers after conv5_x, and use the feature map set composed of the channel feature maps output by the conv5_x part as the input of the aggregation module for the aggregation task; The step S2 is specifically as follows: let T = {I1, I2, ..., I N } is a group of face images to be aggregated, H(·) is the basic feature map extraction module in step S1 of FMAN; therefore, the feature map of a single face image f i =H(I i ), let F be the feature map group corresponding to the image group T, then F = {f1,f2,…f N }; where f i is three-dimensional data with D channels and size w×h; f i Each channel of represents the partial features extracted by the basic DCNN module to distinguish different faces. In order to aggregate the features of each channel, the feature map group is first reconstructed according to the number of channels; let F′ be the reconstructed feature map group, then F′={f1′,f2′,…f D ′}, where f i ′ is a three-dimensional data with a depth of N and a size of w×h, which represents the feature atlas of the N aggregated images in the i-th channel; The process of obtaining the corresponding quality score in step S3 is specifically as follows: The feature map quality perception module uses a shallow neural network to obtain the mapping of the feature map in the quality space, and then obtains the corresponding quality score through the Softmax operation on all mapping values; The Softmax formula is as follows: In the formula, S k Indicates the quality score corresponding to the kth feature map in the channel, q i represents the i-th eigenvalue; The shallow neural network includes 3 convolutional layers, 3 densely connected layers and a softmax layer; each feature map in a set of feature maps first passes through 2 convolutional layers in parallel, and then reduces the dimension of each channel feature map generated by the convolution operation to a set of eigenvalues through a global convolutional layer, and finally reduces the dimension of a set of eigenvalues corresponding to the feature map to one eigenvalue through 3 fully connected layers; in this way, a set of input feature maps is mapped to a corresponding set of eigenvalues containing quality information; The step S4 is specifically as follows: Let A(·) be the feature map quality perception module, and the aggregation method in k channels is as follows: Among them, C k is the feature map obtained by aggregation in k channels, f k ′ is the feature map of all k channels, f k ' i is the i-th feature map of the k-channel; the aggregated multi-channel feature map is represented by F″={C1,C2,…,C D }; The dimensionality reduction process in step S5 is specifically as follows: S5-1: Add two convolutional layers to the aggregated feature map to enhance the representation of aggregated features, and use ReLU as the activation function to increase nonlinear expression; S5-2: Use full convolution to obtain a compact feature vector representation, and then use a fully connected layer to obtain the output of the specified dimension.
