Cross-view gait recognition method and system based on decoupling and discrimination joint learning

By adopting the method of decoupling and discriminant joint learning in gait recognition, identity features and style features are extracted and separated, which solves the problem of poor cross-view recognition effect in the existing technology and achieves higher recognition accuracy and features. Purity.

CN118379799BActive Publication Date: 2024-10-22SHANDONG UNIV +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410804149.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-10-22
Estimated Expiration
2044-06-21

AI Technical Summary

Technical Problem

Existing gait recognition methods have poor recognition results across viewing angles, and the extracted identity features lack interpretability and purity, making it difficult to effectively separate identity and viewing angle features, resulting in poor scalability.

Method used

Using a method based on decoupling and discriminant joint learning, identity features and style features are extracted and separated respectively through the identity feature extraction module, style feature extraction module and identity and style decoupling module, and the supervised gait decoupling information bottleneck network is used for Feature extraction and recognition.

Benefits of technology

Effectively extract and separate identity features in gait sequences, improve the accuracy of cross-view gait recognition, and improve the purity and interpretability of features.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118379799B_ABST
    Figure CN118379799B_ABST
Patent Text Reader

Abstract

The present invention relates to a cross-view gait recognition method and system based on decoupling and discrimination joint learning, and belongs to the field of deep learning and pattern recognition technology. The present invention innovatively proposes to decouple pedestrian gait features through the information bottleneck theory. Compared with the previous decoupling method of artificially designed loss functions, the present invention is based on the guidance of the information bottleneck theory and has reasonable interpretability; in addition, the use of density ratio techniques and adversarial training methods allows the model to adaptively learn how to effectively decouple identity features and style features without manually adjusting the weights of the loss function or designing complex decoupling rules. In summary, this decoupling method based on the information bottleneck theory provides a more theoretically complete and adaptive way to deal with the decoupling problem of pedestrian gait features by combining deep learning and information theory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a cross-view gait recognition method and system based on decoupling and identification joint learning, belonging to the technical field of deep learning and pattern recognition. Background Art

[0002] At present, some conventional gait recognition methods have achieved certain accuracy in laboratory datasets. Some of the latest methods focus on separating identity-related features from identity-irrelevant features in gait features, and use the separated identity-related features as the final prediction features, thereby reducing the cross-view sensitivity of gait recognition and improving the interpretability of the method. For example, the existing technology uses a shared attention module to allow identity and covariate parts to pay attention to different spatial regions to achieve spatial disentanglement; the existing technology uses a group-supervised disentanglement representation learning network to explicitly decompose the gait sequence into posture, gait, appearance, and view features.

[0003] However, the above methods usually use artificially designed loss functions to decompose gait sequences into several hypothetical features. These artificially set features cannot fully summarize the complex interaction between identity and perspective, resulting in the lack of interpretability of the extracted identity features and the inability to guarantee the purity of the identity features. In addition, due to their own limitations, these methods are usually poor in scalability. Therefore, designing a method to adaptively separate identity features from perspective features is an effective means to promote the improvement of cross-perspective gait recognition. Summary of the invention

[0004] Based on the above problems, the present invention designs a method for adaptively separating identity features and view features to promote cross-view gait recognition. The technical solution is:

[0005] The cross-view gait recognition method based on decoupling and identification joint learning includes the following steps:

[0006] S1. Use the identity feature extraction module to extract features related only to the identity in the pedestrian gait information X; use the style feature extraction module to extract all other information not related to the identity in the pedestrian gait information;

[0007] S2. Decouple identity features and style features using the identity and style decoupling module;

[0008] S3. Send the gait profile sequence of the query dataset into the trained supervised gait decoupling information bottleneck network to extract identity features, and complete the identity recognition of the query sample by comparing the feature similarity with the registered dataset.

[0009] Preferably, in step S1, according to the information bottleneck theory, the pedestrian gait information X is expressed as the mutual information The form of , that is, the bottleneck representation of gait information about identity; where C represents the identity feature extracted by the encoder, and Y represents the label information; the identity feature extraction module includes two parts: the identity encoder and the decoder. The identity encoder is used to extract discriminative identity features, and the decoder is used to ensure the correctness of the identity features. The triplet loss is used to improve the discriminability of the identity features. The formula is as follows:

[0010] ;

[0011] Is a boundary value used to control the distance between the positive sample identity features and the negative sample identity features; Represents the identity features of anchor samples in the embedding space and positive sample identity features The Euclidean distance between Represents the identity features of anchor samples in the embedding space and negative sample identity features The Euclidean distance between them, N is the sum of positive samples and negative samples, Dimensions that represent identity characteristics;

[0012] Assuming that the distances between features of the same category and different categories come from two different distributions, namely the positive distance distribution and the negative distance distribution, the average distance of these two distributions can be used to adaptively represent the boundary value. , the specific formula is:

[0013] ;

[0014] in, Represents the average distance between the anchor identity feature and the negative sample identity feature, Represents the average distance between the anchor point identity feature and the positive sample identity feature, and are the number of negative and positive pairs, respectively;

[0015] The decoding loss is to maximize the mutual information , the formula is as follows:

[0016] ;

[0017] in Represents the identity encoder Accepts raw gait data input And output its identity features ; Representation decoder Accepting identity traits And output the predicted probability of belonging to each category; is the true category label of the sample, Represents the true category label The predicted probability of It is the dimension of identity characteristics. is the number of categories.

[0018] Preferably, in step S1, the style feature extraction module includes a style encoder and a reconstructor; in a supervised manner, the style features encoded by the style encoder are combined with the label features and input into the reconstructor for reconstruction; a reconstruction loss is used to approximate the output of the reconstructor and the original input data of the gait, and the reconstruction loss is defined as follows:

[0019] ;

[0020] in, Representation Style Encoder Accepts raw gait data input And output its style features , ; Representation Reconstructor Accept style features and the true category label The combined input of The output is , is the approximation result of the original input image, It is the dimension of style characteristics.

[0021] Preferably, in step S2, by minimizing the style feature and identity characteristics Mutual information between , to decouple the identity and style of the original gait data; the steps are as follows:

[0022] Step 1: By introducing a discriminator to estimate the probability that the input is sampled from the joint distribution rather than the marginal distribution, the decoupling loss is expressed in the form of adversarial loss. The specific formula is as follows:

[0023] ;

[0024] ;

[0025] in, Representation Discriminator The input is the union of style features and identity features , the output is a probability estimate of whether the input comes from the joint probability distribution or the marginal probability distribution; represents sampling from a joint distribution, represents sampling of marginal distributions, Indicates batch, It is a dimension of characteristics that is a combination of style characteristics and identity characteristics;

[0026] Step 2: The total loss function of the supervised gait decoupling information bottleneck network is , as shown in the formula,

[0027] ;

[0028] .

[0029] Preferably, in step S3,

[0030] S31. Input the registered data set into the trained supervised gait decoupling information bottleneck network, and use the features output by the network as the overall identity feature representation of each gait profile sequence, and finally obtain the feature database of the registered data set;

[0031] S32. Send the samples in the query data set to be identified into the trained supervised gait decoupling information bottleneck network to obtain the features of the query data set, calculate the Euclidean distance between each gait sample feature in the query data set and all the features in the registration data set obtained in step S31, and finally identify the query sample as the label of the feature with the smallest distance to it in the registration data set, output the identity label of the query sample, and complete the identification.

[0032] Preferably, it includes an identity feature extraction module, a style feature extraction module, an identity and style decoupling module and a cross-view gait module; wherein,

[0033] Identity feature extraction module: extracts features related only to identity from pedestrian gait information X;

[0034] Style feature extraction module: extract all other information from pedestrian gait information that is not related to identity;

[0035] Identity and style decoupling module: used to decouple identity features and style features;

[0036] Cross-view gait module: The gait profile sequence of the query dataset is sent to the trained supervised gait decoupling information bottleneck network to extract identity features, and the identity of the query sample is completed by comparing the feature similarity with the registered dataset.

[0037] Preferably, in the identity feature extraction module, according to the information bottleneck theory, the pedestrian gait information X is expressed as the mutual information The form of is the bottleneck representation of gait information about identity; where C represents the features extracted by the encoder, and Y represents the label information; the identity feature extraction module includes two parts: the identity encoder and the decoder. The identity encoder is used to extract discriminative identity features, and the decoder is used to ensure the correctness of the identity features;

[0038] The identity encoder consists of a fully convolutional network built with five two-dimensional convolutional layers, and a fully connected layer is added after the fifth convolutional layer. The identity feature dimension and style feature dimension are input into the identity encoder as hyperparameters. The triplet loss is used for constrained optimization in the encoding stage.

[0039] The decoder recovers the identity information from the identity features and uses a fully connected layer to map the identity features to the category dimension; cross entropy loss is used for constrained optimization in the decoding stage.

[0040] Preferably, the style feature extraction module includes a style encoder and a reconstructor; in a supervised manner, the style features encoded by the style encoder are combined with the label features and then input into the reconstructor for reconstruction; by minimizing the reconstruction loss, the style encoder can learn all other information except the label information;

[0041] Regarding the combination of style features and label information, the registration model parameters are adopted. The specific steps are as follows:

[0042] 1) Register a size in the model A random tensor of represents the number of categories, Represents the embedding dimension of the label;

[0043] 2) From the random tensor Z, index the corresponding label feature according to the label of this input ,The style features are combined with the indexed tag features by borrowing, so as to fully extract the style features;

[0044] 3) As the model is continuously trained and optimized, the random tensor Z can be regarded as a dictionary containing all label features.

[0045] Preferably, the identity and style decoupling module includes a discriminator that minimizes the mutual information between identity information and style information. To achieve this decoupling goal, the formula is as follows:

[0046] ;

[0047] in, represents the discriminator, ; After receiving the connection As input, the output is the input from the joint distribution ; The specific steps are as follows:

[0048] 1) Randomly select a sample from the entire dataset ;

[0049] 2) By selecting from the conditional distribution Sampling from the joint distribution ;

[0050] The joint distribution Randomly shuffle along the batch axis to obtain the marginal distribution , through adversarial training, when the discriminator cannot distinguish whether the input is from the joint distribution Or marginal distribution , then the mutual information term To reach the minimum value, the discriminator is implemented using a simple MLP multi-layer perceptron.

[0051] Preferably, the cross-view gait module inputs the registration dataset and the query set into the identity encoder of the trained supervised gait decoupling information bottleneck network, and outputs the final identity feature representation of the query registration dataset and the query set. , ;

[0052] The final identity feature representation of each gait sample in the query dataset is compared with all the identity features in the obtained registration dataset. The Euclidean distance calculation is performed, and finally the query sample is identified as the label of the feature with the smallest Euclidean distance in the registered dataset, and the identity label of the query sample is output to complete the cross-view gait recognition.

[0053] Compared with the prior art, the present invention has the following beneficial effects:

[0054] 1. The identity feature extraction module proposed in the present invention can effectively extract the identity features in the pedestrian gait sequence.

[0055] 2. The identity style extraction module proposed in the present invention can effectively extract the style features in the pedestrian gait sequence.

[0056] 3. The identity and style feature decoupling module proposed in the present invention can effectively separate the identity features and style features in the pedestrian gait sequence, obtain a pure pedestrian identity feature representation, and improve the accuracy of cross-view gait recognition under missing conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 Schematic diagram of the network architecture of the motion feature mixing module in the present invention.

[0058] Figure 2Schematic diagram of the network architecture of the fine-grained multi-stage feature extraction module in the present invention.

[0059] Figure 3 Schematic diagram of the overall framework of the cross-view gait recognition method based on motion feature mixing and fine-grained multi-stage feature extraction proposed in the present invention.

[0060] Figure 4 To achieve the decoupling effect, the (a) box part represents the cross-reconstructed energy map of the same person in 11 different styles, which is obtained by combining the identity features of the same person with 11 style features; the (b) box part represents the cross-reconstructed map of 11 different people in the same style, which is obtained by combining the same style features with 11 identity features.

[0061] Figure 5 This is the experimental effect diagram (50 people).

[0062] Figure 6 This is the experimental effect diagram (70 people). DETAILED DESCRIPTION

[0063] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. Embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.

[0064] The cross-view gait recognition system based on decoupling and identification joint learning includes an identity feature extraction module, a style feature extraction module, an identity and style decoupling module and a cross-view gait module; wherein,

[0065] A. Identity feature extraction module construction:

[0066] a. The special feature of gait recognition is that the identity features and style features in the gait sequence are deeply coupled. Ordinary methods cannot guarantee that the extracted identity features are absolutely pure and do not contain redundant information irrelevant to the identity. In addition, as the training progresses, conventional methods will pay more and more attention to the perspectives in the training set, resulting in a decrease in the overall recognition accuracy. Therefore, the network design requires that the model can adaptively learn how to effectively decouple identity features and style features without manually adjusting the weights of the loss function or designing complex decoupling rules. The present invention innovatively proposes to decouple pedestrian gait features through the information bottleneck theory.

[0067] b. Since the original gait images are periodic sequences, one of which contains images of multiple strides of a pedestrian in a gait cycle, there are feature differences and alignment problems between images of different strides. Therefore, this application uses the Gait Energy Image (GEI) as the input of the identity encoder and style encoder. GEI is an image obtained by averaging the pixel points corresponding to all images in a gait cycle sequence. Since its extraction method is simple and contains the information of the entire gait sequence, it has a wide range of applications.

[0068] c. The goal of the identity feature extraction module is to extract features related to only the identity (label) in the pedestrian gait information X. According to the information bottleneck theory, it can be expressed as the mutual information The form of , that is, the bottleneck representation of gait information about identity. Where C represents the identity feature extracted by the encoder, and Y represents the label information. It mainly consists of two parts: the identity encoder and the decoder. The identity encoder is used to extract discriminative identity features, and the decoder is used to ensure the correctness of the identity features.

[0069] For the identity encoder, considering the relatively simple characteristics of the binary images of gait data, a fully convolutional network consisting of 5 layers of two-dimensional convolutional layers is used to reduce the number of model parameters. In addition, in order to enable the style encoder and the identity encoder to share the same structure to reduce the overall complexity of the network, and considering that the dimension of the identity feature may be different from the dimension of the style feature, a fully connected layer is added after the fifth convolution layer, and the identity feature dimension and the style feature dimension are input into the encoder as hyperparameters to improve the flexibility of the model, as shown in Table 1.

[0070] Table 1 Internal network structure and parameters of identity encoder

[0071]

[0072] For the decoder, it mainly recovers identity information from identity features, so a simple fully connected layer is directly used to map the identity features to the category dimension.

[0073] In summary, the triplet loss is used for constrained optimization in the encoding stage to improve the distinguishability of identity features, and the cross entropy loss is used for constrained optimization in the decoding stage to improve the accuracy of identity features. Through this structure and the joint effect of the two losses in the encoding and decoding stages, accurate and discriminative identity features can be extracted.

[0074] B. Construction of style feature extraction module:

[0075] The style feature extraction module aims to extract all other information in the pedestrian gait information that is not related to the identity. In order to completely decouple the pedestrian gait features and ensure that the identity features learned by the model are independent, it is necessary to fully extract the features in the pedestrian gait features that are not related to the identity. To achieve this goal, the present invention designs a style feature extraction module, which consists of a style encoder and a reconstructor.

[0076] d. Use the style feature extraction module to fully extract the information of the identity-independent part of the gait sequence. In order to completely decouple the pedestrian gait features and make the identity features learned by the model independent, it is necessary to fully extract the features of the pedestrian gait features that are not related to the identity. To achieve this goal, a style encoder and a reconstructor are proposed. Specifically, a supervised approach is used to combine the style features encoded by the style encoder with the label features and then input them into the reconstructor for reconstruction. By minimizing the reconstruction loss, the style encoder can learn all other information other than the label information. Among them, the structure and parameters of the style encoder are the same as those of the identity encoder, thereby reducing the complexity of the model.

[0077] The reconstructor is also built on the basis of the convolutional network. In order to make the style features output by the encoder fully contain the information of the label-independent part, the style features are combined with the label information and sent to the reconstructor for restoration. The restored image is constrained by the reconstruction loss to approximate the original input gait image. The corresponding formula is:

[0078] ;

[0079] in, Represents the result of restoring the input. represents the identity feature corresponding to label Y, represents the original gait sequence input, Indicates splicing, (abbreviated as R) represents the reconstructor. Specifically, in order to upsample and restore the original image, a 5-layer transposed convolution layer is used to build the reconstructor. The specific structure and parameters of the reconstructor are shown in Table 2.

[0080] Table 2 Internal network structure and parameters of the reconstructor

[0081]

[0082] Regarding the combination of style features and label information, the method of registering model parameters is adopted. Specifically, a random tensor is initialized ,in represents the number of categories, Indicates the embedding dimension of the label. From it, according to the label label input this time, index to the corresponding label feature , combining the style features with the indexed label features through cat connection. As the model is continuously trained and optimized, the random tensor It can be regarded as a dictionary containing all label information. In this way, the combination of style features and label information can be achieved.

[0083] C. Identity and style decoupling module construction:

[0084] The identity and style decoupling module is used to decouple the identity features obtained in step A and the style features obtained in step B. It mainly consists of a discriminator. Specifically, the mutual information between identity information and style information is minimized. to achieve this decoupling goal.

[0085] e. In order to effectively separate the identity features obtained by the identity feature extraction module and the style features obtained by the style feature extraction module, an identity and style decoupling module is introduced. The present invention adopts the method of minimizing the mutual information between identity information and style information. To achieve this decoupling goal. Specifically, a discriminator is designed and adversarial training is used to complete the mutual information The minimization of is shown in the formula:

[0086] ;

[0087] In the field of deep learning, the base of log is often ignored and defaults to 2 or e, so the above formula can include the following two methods or one of them:

[0088] ;

[0089] ;

[0090] in, represents the discriminator, After receiving the connection As input, the output is a pair of inputs from the joint probability distribution Or marginal probability distribution Specifically, a two-step sampling method is adopted: first, a sample is randomly selected from the entire data set Next, by moving from the conditional distribution Sampling from the joint distribution . Regarding the marginal distribution, the joint distribution Randomly shuffle along the batch axis to obtain the marginal distribution Through adversarial training, when the discriminator cannot distinguish whether the input comes from the joint distribution Or marginal distribution , then the mutual information term Reach the minimum value. The discriminator can be implemented using a simple MLP multi-layer perceptron.

[0091] D. Model training:

[0092] The overall framework of the present invention is shown in the attached Figure 1 The overall network architecture is a supervised gait decoupling information bottleneck network, which includes an identity feature extraction module, a style feature extraction module, and an identity and style feature decoupling module.

[0093] The output of the trained identity encoder is used as the final representation of pedestrian gait features. The entire supervised gait decoupling information bottleneck network is trained using a combination of triplet loss, decoding loss, reconstruction loss and decoupling loss to obtain a feature extraction model with good anti-view interference ability and strong discriminability under the condition of view loss.

[0094] The overall framework of the present invention is shown in the attached Figure 1 As shown. When optimizing the identity feature extraction module, triplet loss and decoding loss are introduced. First, the identity encoder parameters are optimized using triplet loss constraints so that the encoder can extract discriminative identity features. Since the model also uses the Euclidean distance to measure the similarity between the query sample and the registration set sample in the retrieval stage, it is very important to use triplet loss to improve the discriminability of identity features. The general form of gait triplet loss is as follows:

[0095] ;

[0096] Is a boundary value used to control the distance between the positive sample identity features and the negative sample identity features; Represents the identity features of anchor samples in the embedding space and positive sample identity features The Euclidean distance between Represents the identity features of anchor samples in the embedding space and negative sample identity features The Euclidean distance between them, N is the sum of positive samples and negative samples, The dimension representing the identity feature. Since smaller boundary values ​​are used during training, This causes the model to converge slowly and easily fall into a suboptimal solution, making it difficult for the model to distinguish similar samples well during the inference phase, resulting in reduced performance. Too many difficult training samples will be generated during the training phase, leading to overfitting. In order to avoid the oversampling or undersampling problem mentioned above, the present invention assumes that the distance (similarity) between features of the same category (positive pair) and different categories (negative pair) comes from two different distributions, namely the positive pair distance distribution and the negative pair distance distribution. The average distance of these two distributions can be used to adaptively represent the boundary value. , so that the model can obtain a better convergence result. The specific formula is:

[0097] ;

[0098] in, Represents the average distance between the anchor identity feature and the negative sample identity feature, Represents the average distance between the anchor point identity feature and the positive sample identity feature, and are the number of negative and positive pairs, respectively.

[0099] The decoding loss also acts on the identity feature extraction module. The main purpose of the decoding loss is to maximize the mutual information , the intuitive meaning is to maximize the mutual information between identity features and labels. Its formula is as follows:

[0100] ;

[0101] In the field of deep learning, the base of log is often ignored and defaults to 2 or e, so the above formula can include the following two methods or one of them:

[0102] ;

[0103] ;

[0104] in represents the identity encoder, which accepts raw gait data as input And output its identity features , ; Indicates that the decoder accepts identity features And output the predicted probability of belonging to each category. is the true category label of the sample, Represents the true category The predicted probability of . is the dimension of identity characteristics, and is the number of categories.

[0105] When optimizing the identity feature extraction module, reconstruction loss is introduced. This module hopes to restore the input gait original data. Therefore, the present invention uses reconstruction loss to approximate the output of the reconstructor and the original gait input data. Specifically, in order to approximate the similarity of two pictures pixel by pixel, the reconstruction loss is defined as follows:

[0106] ;

[0107] in, represents the style encoder, which also accepts raw gait data as input And output its style features . represents a reconstructor that accepts style features and the true category label The combined input of . Reconstructor The output is , It is the result of approximation of the original input image. is the dimension of the style feature. The purpose of introducing the reconstructor is to make the mutual information Maximize and ensure style characteristics Contains all label-independent information in the original gait data.

[0108] h. When optimizing the identity and style feature decoupling module, by minimizing the style feature and identity characteristics Mutual information between , to achieve the decoupling of the identity and style of the original gait data. Specifically, a discriminator is introduced to estimate the probability that the input is sampled from the joint distribution rather than the marginal distribution. Therefore, in the present invention, the decoupling loss is expressed in the form of adversarial loss, and the specific formula is as follows:

[0109] ;

[0110] ;

[0111] In the field of deep learning, The base is often ignored and is usually assumed to be 2 or e. Therefore, the above formula can include the following two methods or one of them:

[0112] ;

[0113] ;

[0114] ;

[0115] ;

[0116] in, Representation Discriminator The input is a combination of style features and identity features , the output is the estimated probability that the input is sampled from the joint distribution rather than from the marginal distribution; represents sampling from a joint distribution, represents sampling of marginal distributions, , Indicates batch; It is the dimension of the characteristics that are the combination of style characteristics and identity characteristics.

[0117] Finally, the total loss function of the supervised gait decoupling information bottleneck network is obtained by adding the above four losses, as shown in the formula, where Represents the two stages of decoupling loss.

[0118] ;

[0119] .

[0120] (2) Cross-view gait recognition, including: sending the gait profile sequence of the query dataset into the trained supervised gait decoupling information bottleneck network to extract identity features, and completing the identity recognition of the query sample by comparing the feature similarity with the registered dataset.

[0121] h. Send the gait profile sequence of the query data set to the identity encoder of the trained supervised gait decoupling information bottleneck network to extract the identity features, and complete the identity recognition of the query sample by comparing the feature similarity with the registered data set. Including:

[0122] i. Input the registered dataset into the trained supervised gait decoupling information bottleneck network. The features output by the network are used as the overall identity feature representation of each gait profile sequence, and finally the feature database of the registered dataset is obtained.

[0123] j. Send the samples in the query data set to be identified into the trained supervised gait decoupling information bottleneck network to obtain the features of the query data set. Perform Euclidean distance calculation on each gait sample feature in the query data set and all features in the registration data set obtained in step i, and finally identify the query sample as the label of the feature with the smallest distance in the registration data set, output the identity label of the query sample, and complete the identification.

[0124] In this embodiment, the database used only contains the gait energy graphs that have been binarized and uniformly cropped in the data preprocessing stage to have the same size. The implementation follows the commonly used testing protocol in the gait field. Loss function: triplet loss margin The initial value of is set to 0.2. The weight of reconstruction loss is 10.0, the weight of cross entropy loss is 1.0, the weight of triple loss is 1.0, and the weight of decoupling loss is 0.5. Dataset: On the CASIA-B dataset, the batch size is set to gait energy graphs, that is, each Batch Size contains a set of 8 subjects’ viewpoints ( ) in 16 perspectives of gait energy maps. On the OU-MVLP dataset, set the Batch Size to That is, each Batch Size contains a set of 32 subjects’ perspectives ( ) Gait energy graphs from 16 perspectives in the . The number of training cycles (epochs) on the CASIA-B dataset is 50k times, and the number of training cycles (epochs) on the OU-ISIR dataset is 100k times.

[0125] The dataset was created by the Institute of Automation, Chinese Academy of Sciences, and contains gait data of 124 different pedestrians. Each pedestrian includes three types of gait sequences, namely Normal (NM), Bagging (BG), and Clothing (CL). The Normal type includes 6 groups, marked as NM#1-6; the Backpack type includes 2 groups, marked as BG#1-2; the Clothing type includes 2 groups, marked as CL#1-2. Each group of types consists of 11 viewing angles (0°, 18°, 36°, 54°, 72°, 90°, 108°, 126°, 154°, 162°, 180°). Therefore, the CASIA-B gait database has a total of about gait sequence (very few sequences are missing). The experiment of this embodiment uses all samples of the first 74 people when training the network model on the CASIA-B data set, and the test set uses samples of the last 50 people in the data set. In the test set, NM-01, NM-02, NM-03, and NM-04 are taken as registration samples, NM-05 and NM-06 are taken as query samples of normal types, BG-01 and BG-02 are taken as query samples of backpack types, and CL-01 and CL-02 are taken as query samples of clothing types. Set each batch size to 128, that is, select subjects with 8 identities, and each subject selects 16 segments of sequence. In order to verify the advanced effect of the present invention, the decoupling effect of the model is visually verified on the CASIA-B gait data set. In order to obtain intuitive visual experience, this experiment is carried out without missing perspectives in the training set. Specifically, first, 11 people with different identities under 11 perspectives are randomly selected from the CASIA-B data set, and these people are sent to the trained identity encoder and style encoder to extract the corresponding 11 identity features and 11 style features. After that, the identity features and style features are crossed and input into the reconstructor for cross-reconstruction. Finally, the reconstructor can obtain the reconstructed gait energy graphs of these 11 people in all style situations, such as Figure 4 As shown, the horizontal direction represents identity characteristics and the vertical direction represents style characteristics. Figure 4 The middle box in (a) shows the cross-reconstructed energy graph of the same person in 11 different styles, obtained by combining the identity features of the same person with 11 style features. It can be seen that while retaining the identity, the reconstructor outputs the performance of the person in different styles very well, indicating that the style encoder has fully learned the style features. Figure 4 The middle box part of (b) shows the cross-reconstructed image of 11 different people in the same style obtained by combining the same style feature with 11 identity features. It can be seen that people of different identities have obviously different identity characteristics in the same style, indicating that the identity encoder has fully learned the identity features. In summary, the supervised gait decoupling information bottleneck network proposed in the present invention fully separates the identity features and style features of pedestrians, and can obtain pure identity features from the gait sequence.

[0126] In order to further demonstrate the advanced nature of the supervised gait decoupling information bottleneck network proposed in the present invention, this application is compared with the latest decoupling method DecompGait based on gait energy graph under the normal type (NM) of the CASIA-B gait dataset. For fairness, the experimental settings and experimental methods of this application are consistent with those given in the DecompGait paper. The experimental setting is to use the first three groups of normal types of all pedestrians as query sample sets, and the remaining three groups of normal type gaits as registration sample sets. Several pedestrians are randomly selected from the registration sample sets as training sample sets. The experimental method is to use the trained identity encoder to encode the pedestrian gait energy graph, and use the encoded identity features for cross-view identity recognition. The experimental results are shown in the figure. Figure 5-Figure 6 As shown in the figure, it can be seen that when 50 people are selected as training sample sets, the average recognition accuracy of this application is 10.2% higher than that of DecompGait, and when 70 people are selected as training sample sets, the average recognition accuracy of this application's method is 3.5% higher than that of DecompGait. This fully proves that the supervised gait decoupling information bottleneck network proposed in this application has extremely strong robustness and excellent identity feature extraction capabilities.

[0127] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. Cross-view gait recognition method based on decoupling and identification joint learning, It is characterized in that The following steps are involved: S1. Use the identity feature extraction module to extract features related only to the identity in the pedestrian gait information X; use the style feature extraction module to extract all other information not related to the identity in the pedestrian gait information; In step S1, according to the information bottleneck theory, the pedestrian gait information X is expressed in the form of mutual information I(C; Y), that is, the bottleneck representation of the gait information with respect to the identity; where C represents the identity feature extracted by the encoder, and Y represents the label information; The identity feature extraction module consists of two parts: an identity encoder and a decoder. The identity encoder is used to extract discriminative identity features, and the decoder is used to ensure the correctness of the identity features. The identity encoder consists of a fully convolutional network built with five two-dimensional convolutional layers, and a fully connected layer is added after the fifth convolutional layer. The identity feature dimension and style feature dimension are input into the identity encoder as hyperparameters; In the encoding stage, triplet loss is used for constrained optimization; The decoder recovers the identity information from the identity features and uses a fully connected layer to map the identity features to the category dimension; cross entropy loss is used for constrained optimization in the decoding stage; In step S1, the style feature extraction module includes a style encoder and a reconstructor. In a supervised manner, the style features encoded by the style encoder are combined with the label features and input into the reconstructor for reconstruction. The reconstruction loss is used to approximate the output of the reconstructor and the original input data of the gait. The reconstruction loss is defined as follows: in, Representation style encoder E s Accepts the original gait data input x and outputs its style feature representation S, Represents that the reconstructor R accepts the joint input of style feature S and true category label y; the output of the reconstructor R is is the approximation result of the original input image, K 2 It is the dimension of style characteristics; Regarding the combination of style features and label information, the method of registering model parameters is adopted. The specific steps are as follows: 1) Register a size of A random tensor of , where |I| represents the number of categories and dim represents the embedding dimension of the label; 2) According to the label of this input, index the corresponding label feature from the random tensor Z The style features are combined with the indexed label features by means of splicing, so as to complete the extraction of style features; 3) As the model is continuously trained and optimized, the random tensor Z can be regarded as a dictionary containing all label features; S2. Decouple identity features and style features using the identity and style decoupling module; In step S2, the identity and style of the original gait data are decoupled by minimizing the mutual information I(C;Y) between the style feature S and the identity feature C. The steps are as follows: Step 1: By introducing a discriminator to estimate the probability that the input is sampled from the joint distribution rather than the marginal distribution, the decoupling loss is expressed in the form of adversarial loss. The specific formula is as follows: in, It means that the input of the discriminator d is the combination of style features and identity features (s i ,c i ), the output is a probability estimate of whether the input comes from the joint probability distribution or the marginal probability distribution; (s i ,c i ) represents the sampling of the joint distribution, (c π(i) ,s π(i) ) represents the sampling of marginal distribution, Indicates batch; K 3 It is a dimension of characteristics that is a combination of style characteristics and identity characteristics; Step 2: The total loss function of the supervised gait decoupling information bottleneck network is As shown in the formula, S3. Send the gait profile sequence of the query dataset into the trained supervised gait decoupling information bottleneck network to extract identity features, and complete the identity recognition of the query sample by comparing the feature similarity with the registered dataset.

2. The cross-view gait recognition method based on decoupling and identification joint learning according to claim 1, It is characterized in that The identity encoder parameters are optimized using the triplet loss constraint so that the identity encoder can extract discriminative identity features: Margin is a boundary value used to control the distance between the positive sample identity feature and the negative sample identity feature; Represents the identity features of anchor samples in the embedding space and positive sample identity features The Euclidean distance between Represents the identity features of anchor samples in the embedding space and negative sample identity features The Euclidean distance between them, N is the sum of positive samples and negative samples, K 1 Dimensions that represent identity characteristics; Assuming that the distances between features of the same category and different categories come from two different distributions, namely, positive distance distribution and negative distance distribution, the average distance of these two distributions can be used to adaptively represent the boundary value margin. The specific formula is: Among them, μ n Represents the average distance between the anchor point identity feature and the negative sample identity feature, μ p Represents the average distance between the anchor point identity feature and the positive sample identity feature, N u and N p are the number of negative and positive pairs, respectively; The decoding loss is to maximize the mutual information I(C;Y), which is expressed as follows: in Represents the identity encoder E c Accepts the original gait data input x and outputs its identity feature C, Denotes that the decoder accepts the identity feature C and outputs its predicted probability of belonging to each category; y is the true category label of the sample, D(E c (x) y Represents the predicted probability of the true category label y; K 1 is the dimension of the identity feature and |I| is the number of categories.

3. The cross-view gait recognition method based on decoupling and identification joint learning according to claim 1, It is characterized in that In step S3, S31. Input the registered data set into the trained supervised gait decoupling information bottleneck network, and use the features output by the network as the overall identity feature representation of each gait profile sequence, and finally obtain the feature database of the registered data set; S32. Send the samples in the query data set to be identified into the trained supervised gait decoupling information bottleneck network to obtain the features of the query data set, calculate the Euclidean distance between each gait sample feature in the query data set and all the features in the registration data set obtained in step S31, and finally identify the query sample as the label of the feature with the smallest distance to it in the registration data set, output the identity label of the query sample, and complete the identification.

4. A system for cross-view gait recognition method based on decoupling and identification joint learning according to any one of claims 1 to 3, It is characterized in that It includes identity feature extraction module, style feature extraction module, identity and style decoupling module and cross-view gait module; in, Identity feature extraction module: extracts features related only to identity from pedestrian gait information X; Style feature extraction module: extract all other information from pedestrian gait information that is not related to identity; Identity and style decoupling module: used to decouple identity features and style features; Cross-view gait module: The gait profile sequence of the query dataset is sent to the trained supervised gait decoupling information bottleneck network to extract identity features, and the identity of the query sample is completed by comparing the feature similarity with the registered dataset.

5. The system of the cross-view gait recognition method based on decoupling and discrimination joint learning according to claim 4, It is characterized in that In the identity feature extraction module, according to the information bottleneck theory, the pedestrian gait information X is expressed in the form of mutual information I(C; Y), that is, the bottleneck representation of the gait information with respect to the identity; wherein C represents the identity feature extracted by the encoder, and Y represents the label information; The identity feature extraction module consists of two parts: an identity encoder and a decoder. The identity encoder is used to extract discriminative identity features, and the decoder is used to ensure the correctness of the identity features.

6. The cross-view gait recognition system based on decoupling and identification joint learning according to claim 5, It is characterized in that The identity and style decoupling module includes a discriminator, which achieves this decoupling goal by minimizing the mutual information I(S; C) between identity information and style information. The formula is as follows: Among them, d represents the discriminator, s i ∈S,c i ∈C; after receiving the connection (s i ,c i ) as input, and the output is its input from the joint distribution q(S,C); the specific steps are as follows: 1) Randomly select a sample x from the entire data set; 2) Obtain the joint distribution q(S,C) by sampling from the conditional distribution q(S,C|x); The joint distribution q(S,C) is randomly shuffled along the batch axis to obtain the marginal distribution q(S)q(C). Through adversarial training, when the discriminator cannot distinguish whether the input comes from the joint distribution q(S,C) or the marginal distribution q(S)q(C), the mutual information term I(S;C) reaches the minimum value. The discriminator is implemented using a simple MLP multi-layer perceptron.

7. The cross-view gait recognition system based on decoupling and discrimination joint learning according to claim 5, It is characterized in that The cross-view gait module inputs the registration dataset and query set into the identity encoder of the trained supervised gait disentangled information bottleneck network, and outputs the final identity feature representation f of the query registration dataset and query set. g ,f q ; The final identity feature representation of each gait sample in the query dataset is compared with all the identity features f in the registration dataset. g The Euclidean distance calculation is performed, and finally the query sample is identified as the label of the feature with the smallest Euclidean distance in the registered dataset, and the identity label of the query sample is output to complete the cross-view gait recognition.