Visible and infrared pedestrian re-identification method based on channel-level feature selection and fusion network

CN118781631APending Publication Date: 2024-10-15CHANGSHA UNIVERSITY OF SCIENCE AND TECHNOLOGY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410922870.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-10-15

Smart Images

  • Figure CN118781631A_ABST
    Figure CN118781631A_ABST
Patent Text Reader

Abstract

The invention discloses a visible and infrared pedestrian re-identification method based on channel-level feature selection and a fusion network. Comprising a data preprocessing module, a feature selection module, a channel-level feature fusion module, a loss calculation optimization module, a similarity calculation module and a query result acquisition module. The method is characterized in that a double-flow feature extractor based on ResNet-50 is used to construct a backbone network, a model pre-trained on ImageNet is used to initialize the backbone network, a feature selection module is provided, and feature selection is realized by using feature importance difference of pedestrian samples on different channels; a proposed channel-level feature fusion module carries out dual-channel mean weighted fusion according to channel masks of selected features under corresponding channels to obtain fusion features, and prevents part of important feature information from being interfered in the fusion process. According to the method, the diversity of pedestrian features is improved, the difference between different modal images is reduced, and the query results on the two data sets have excellent performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The method of the invention relates to artificial intelligence computer vision technology, image recognition and related fields, and specifically to a channel-level feature selection and fusion network for visible and infrared pedestrian re-identification. Background Art

[0002] At present, my country's urbanization process is accelerating, and the tourism industry and other entertainment industries are developing rapidly, which has greatly increased the number and mobility of urban personnel, bringing new challenges to urban management and security monitoring. Video surveillance technology is widely used in indoor and outdoor monitoring scenes. It is an important method in urban security monitoring, which helps the police and security supervisors to monitor the city in real time, so as to better maintain social stability and the safety of people's lives and property.

[0003] Person re-identification (ReID) is a technology that uses computer vision technology to determine whether a specific pedestrian exists in an image or video sequence. It aims to search for the person to be retrieved through multiple non-overlapping cameras, and realize pedestrian retrieval and trajectory tracking across surveillance images and device videos.

[0004] Pedestrian re-identification technology makes up for the visual limitations of surveillance equipment and has great practical value and application prospects. Representative applications include suspect tracking in the field of intelligent security, intelligent search for people in large public places, unmanned supermarkets in smart commerce, and the field of intelligent robots. However, in practical applications, the current research on pedestrian re-identification is still challenging because the same pedestrian image data at different times and locations has large differences in posture, background, light viewing angle, and imaging resolution.

[0005] With the successful application of deep learning to pedestrian re-identification, the development of this field has been greatly promoted. Traditional pedestrian re-identification mainly focuses on recognition under the same modality, and most of it is applied to scenes with sufficient light. In order to overcome the disadvantage that visible light cameras cannot be used all day long, cameras with infrared modes are becoming popular, resulting in RGB images and infrared images being collected in visible light mode and infrared mode respectively. Therefore, the problem of cross-modal visible and infrared pedestrian re-identification has been proposed. The main challenges it faces are: huge intra-modal differences caused by different camera perspectives and human body postures; large differences between different structural data; the information capacity and representation of the three-channel information of RGB images and the single-channel information of infrared images are different; different clarity and lighting conditions can produce very different effects on the two types of images.

[0006] Currently, most models focus on learning shared features in cross-modal images. Ye et al. proposed a classic two-stream convolutional neural network structure, which learns cross-modal shared space by sharing learning parameters in the deep layer of the network, and applies feature alignment methods to bridge the differences between two highly heterogeneous modal images. However, due to the huge difference between visible light images and infrared images, extracting cross-modal information only by sharing feature extractors may limit the expressive power of visible light and infrared images in their respective feature spaces, and ultimately lead to the neglect of important specific feature information, such as color, infrared heat and other highly discriminative feature attributes. Summary of the invention

[0007] Purpose of the invention: As mentioned above, the current mainstream visible and infrared pedestrian re-identification methods focus on shared feature learning, but due to the huge difference between visible light images and infrared images, only focusing on the shared features of modal shared representation will cause some discriminative specific information to be ignored. To solve this problem, the present invention proposes a visible and infrared pedestrian re-identification method based on channel-level feature selection and fusion network. This method uses a dual-stream feature extractor based on ResNet-50 to build a backbone network, initializes the backbone network using the ImageNet pre-trained model, and uses FSM and CFFM to build a channel-level feature selection and fusion network. The FSM module adaptively selects specific features and shared features based on the importance of channel features obtained by normalizing different modal features, and then uses CFFM to realize dual-channel mean weighted fusion to obtain fused features that contain both shared features and specific feature information, thereby improving the model feature diversity without affecting the expressive power of the original features, and further improving the model recognition accuracy.

[0008] The purpose of the present invention can be achieved by the following technical solutions:

[0009] A visible and infrared pedestrian re-identification method based on channel-level feature selection and fusion network includes the following steps:

[0010] (1) SYSU-MM01 and RegBD datasets were selected as experimental datasets, and the datasets were divided into three parts: training set, test set and query set. Random horizontal flipping, random erasing and random cropping were used for data preprocessing;

[0011] (2) Model construction: Use a two-stream feature extractor based on ResNet-50 to build the backbone network, use the ImageNet pre-trained model to initialize the backbone network, use FSM and CFFM to build a channel-level feature selection and fusion network, and use the He Kaiming method to initialize the branch network;

[0012] (3) Model training: Input data in batches into the network model to extract pedestrian feature vectors from pedestrian images in visible light and infrared modes. Obtain the final classification features through channel-level feature selection and fusion network, input the feature vector into the joint loss function to calculate the loss and perform back propagation in the neural network to update the model parameters. By minimizing the loss function value, the model prediction ability is continuously trained;

[0013] (4) Model verification: Use the trained model to initialize the custom neural network, extract the feature vectors of pedestrians in the visible and infrared modes, take the pedestrians in the visible or infrared mode as the pedestrians to be queried, calculate the Euclidean distance between them and the pedestrian feature vectors in the corresponding mode query library, and sort them by similarity to find similar pedestrians in the visible and infrared modes.

[0014] The dataset SYSU-MM01 selected in step (1) is specifically divided as follows:

[0015]

[0016] The data set RegBD selected in step (1) is specifically divided as follows:

[0017]

[0018] Among them, in the data preprocessing in step (1):

[0019] (1-1) The first step of data preprocessing is to resize the input image to 144×288;

[0020] (1-2) Perform batch normalization of data. Data normalization is a commonly used data preprocessing technique that aims to convert data into a standard distribution within a certain range to better meet the training requirements of the model. Data normalization usually includes scaling, translating, and adjusting the data so that the data has specific statistical properties to improve the stability and effect of model training.

[0021] (1-3) Perform a random horizontal flip operation to flip the image left and right with a certain probability to generate new images and increase the diversity of training data;

[0022] (1-4) Perform random erasing, which is a data augmentation technique commonly used in image data processing. Its main idea is to randomly select a portion of pixels in the image during training and replace their values ​​with random pixel values ​​or directly fill them with zeros. The purpose of this is to introduce some noise and randomness to enhance the model's robustness to occlusion or noise, thereby improving the model's generalization ability;

[0023] (1-5) Perform random cropping, which is a data augmentation technique commonly used in image data processing. Its main purpose is to introduce some spatial changes by randomly cropping the image during training to improve the model's ability to recognize objects of different sizes, poses, and positions. This helps the model better generalize to different image conditions;

[0024] Among them, the construction and initialization of the backbone network in step (2) are:

[0025] (2-1) The backbone network of the model adopts a partially shared two-stream ResNet-50 network structure. The visible light image and the infrared image are input together before the Layer 1 structure of the network. Before this structure, the network parameters are not shared, while the Layer 2 to Layer 4 layers in the backbone network are parameter-shared. Each block basic unit in the network consists of a convolution filter, a batch normalization layer (BN) and a linear rectifier (ReLU). The convolution kernel size is divided into 1×1 and 3×3. We set the step size of the last step of ResNet-50 to 1, and we can obtain a feature map with a higher spatial size, which can achieve a higher spatial resolution. This operation will only increase the computational cost very lightly and does not involve additional training parameters. In addition, the last FC layer of ResNet50 will be removed to facilitate the addition of BNNeck at the end. This operation can distribute the features constrained by ID Loss and Triplet Loss in different subspaces. BNNeck reduces the constraints of ID loss on features and makes it easier for Triplet loss to converge at the same time. The FSM module adaptively selects specific features and shared features according to the importance of channel features obtained by normalizing different modal features, and then uses CFFM to realize dual-channel mean weighted fusion to obtain fused features that contain both shared and specific feature information.

[0026] (2-2) The pre-trained model for the backbone network initialization comes from the ImageNet dataset. ResNet was pre-trained on ImageNet, using the pre-trained model on a large-scale dataset as the initial parameters, and then fine-tuned or further trained on specific tasks to extract general features applicable to various tasks, and then fine-tuned these features on specific tasks to improve the performance of the model. The neural network was initialized using the He Kaiming method to ensure that information can be effectively propagated during forward and backward propagation, so that the variance of the input signals in different layers is roughly equal.

[0027] Wherein, in step (3):

[0028] (3-1) The backbone network extracts shared and specific features of pedestrians from visible light and infrared pedestrian images, and achieves feature fusion through channel-level feature selection and fusion network to obtain the final classification features;

[0029] (3-2) The cross entropy loss function is used in the training process, and the difficult sample sampling triplet loss function is used to optimize the model parameters.

[0030] Among them, the cross entropy loss is as follows:

[0031]

[0032] Where N is the number of samples, y i One-hot encoding of the pedestrian with identity i. It is the probability score of a pedestrian i in the feature vector G extracted by the model.

[0033] The formula for the triplet loss function of difficult sample sampling is as follows:

[0034]

[0035] in, represents the distance between positive sample pairs, Represents the distance between negative sample pairs. [·] + is the max(·,0) function, P is the number of pedestrian IDs in the sample space, K is the number of pictures of each pedestrian, is the anchor sample, is a positive sample, is a negative sample. m is a threshold used to set the relaxation margin between positive and negative sample pairs;

[0036] (3-3) In summary, like other research works, we used cross entropy loss and triplet loss to make pedestrian features more distinguishable by identity. Finally, we jointly optimized the overall loss of the model by minimizing the sum of losses as follows:

[0037] L all =λ1L id +λ2L tri

[0038] Among them, λ1 and λ2 are adjustable parameters used to balance the contribution of each loss term.

[0039] The beneficial effect of the present invention is: the present invention constructs a visible and infrared pedestrian re-identification method based on a channel-level feature selection and fusion network. The channel-level feature selection and fusion network incorporates specific features while retaining high-importance shared features through a feature selective fusion method, thereby improving the model feature diversity without affecting the expressive power of the original features, and can more accurately match and identify pedestrians. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 is a flow chart of visible and infrared pedestrian re-identification of the present invention;

[0041] Figure 2 It is a model network structure diagram of the present invention;

[0042] Figure 3 It is a detailed structural diagram of the feature selection module of the present invention;

[0043] Figure 4 It is a detailed structural diagram of the channel-level feature fusion module of the present invention. DETAILED DESCRIPTION

[0044] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0045] The present invention discloses a visible and infrared pedestrian re-identification method based on channel-level feature selection and fusion network, and its identification process is as follows: Figure 1 The detailed structure of the model network for visible and infrared pedestrian re-identification is shown in Figure 2 As shown, the following steps are included:

[0046] (1) Dataset selection: The present invention selects SYSU-MM01 and RegBD datasets from visible and infrared pedestrian re-identification datasets. The SYSU-MM01 dataset includes 491 pedestrians from 4 visible light cameras and 2 infrared cameras. The training set contains 19,659 visible images and 12,792 infrared images of 395 people, and the test set contains 96 people. There are two test modes, namely full search and indoor search mode. For the full search mode, all images will be used. For the indoor search mode, only indoor images from the first, second, third and sixth cameras are used. For both modes, single and multiple settings are adopted, in which images of 1 or 10 people are randomly selected to form a gallery. Both modes use infrared images as queries and visible images as galleries.

[0047] (2) Training data preprocessing: The present invention scales the training data to 144×288, and then randomly flips, randomly crops, and randomly erases the images. Finally, the mean and standard deviation obtained from ImageNet pre-training are used for normalization, where mean = [0.485, 0.456, 0.406], std = [0.229, 0.224, 0.225];

[0048] (3) Model construction:

[0049] (3-1) Constructing the backbone network: ResNet-50 is mainly divided into 5 stages: Layer0, Layer1, Layer2, Layer3 and Layer4. Layer0 includes a 7x7 convolution layer and a maximum pooling layer, which is used to perform preliminary feature extraction and dimensionality reduction on the input image. Layer1, Layer2, Layer3 and Layer4 are four groups of convolution layers containing residual blocks, with 3 residual blocks, 4 residual blocks, 6 residual blocks and 3 residual blocks respectively. Each residual block contains multiple convolution layers and identity mapping, which can help the network better learn the feature representation of the input image. The backbone network of the model adopts a partially shared two-stream ResNet-50 network structure. The network parameters are not shared before the visible light image and the infrared image are input into the Layer1 structure of the network, while the parameters of Layer2 to Layer4 in the backbone network are shared.

[0050] Since there are huge differences in human features under different modalities, we use a two-stream feature extractor to obtain shared features for cross-modal training parameter sharing. At the same time, pedestrian-specific features will also be extracted for feature fusion to improve feature diversity. We denote the original training set as X = {X v ,X t}, where the visible light dataset It represents the I identity tags contained, each identity tag contains N visible light training samples, and the infrared sample data set is represented as X t = like Figure 2 As shown in Figure 1, the index f = {s, c} represents the extracted specific features and shared features, and m = {v, t} represents the visible light modality and the infrared modality. First, the model uses a two-stream feature extractor to extract specific features in the visible light and infrared modalities respectively. For a given pair of visible light and infrared images X v With X t , extract the corresponding specific feature maps in visible light and infrared modes and Separate specific features from shared features.

[0051] (3-2) Constructing a feature selection module: In the cross-modal person re-identification task, the main goal of the model is to learn the features of pedestrians in different modalities to achieve modal shared representation. Obviously, the modal shared representation can be better enriched by adding specific features containing unique information of pedestrians to more robust shared features. However, directly fusing the two types of features as a whole will affect the original important feature information with strong discriminative power and lead to suboptimal final feature representation. Therefore, we designed a feature selection module to selectively supplement specific feature information to shared features.

[0052] Specifically, we use the difference in feature importance of pedestrian samples in different channels to achieve feature selection. First, we need to obtain the importance of each channel feature in the overall feature. The proposed FSM module selects the visible light (infrared) modal feature pairs with the same identity. As input, the input features are batch normalized to obtain standard normal distribution features.

[0053]

[0054] where μ F , σ F Indicates the calculation of the mean and standard deviation of the input features. During the training process, the parameters γ and β can be learned to scale and translate the features to solve the internal covariance shift problem, and ∈ is set to a constant. Through training, γ can adaptively adjust the model to cope with different tasks and input distributions. We regard the weights of specific features and shared features in the same channel as their contribution to the overall features:

[0055]

[0056] Then the classification of feature channel importance is achieved based on their differences:

[0057]

[0058] In the formula, i represents the i-th channel of the feature. Through the proposed FSM module, we can implement feature selection based on the importance of channel features.

[0059] (3-3) Constructing feature fusion module: The feature fusion process is divided into two stages. The first stage is feature information compensation. The high-importance shared features with stronger cross-modal robustness remain unchanged, while the high-importance specific features will be fused with the low-importance shared features to achieve feature information compensation. The second stage is feature information splicing. The high-importance shared features retained in the first stage are complementarily spliced ​​with the fused features in the corresponding channels to obtain the complete pedestrian fusion features, so that the model can learn more pedestrian-specific feature information while maintaining the original feature expression ability.

[0060] Specifically, in the first stage, for the selected specific features and shared features, the attention degree of the two types of features to the pedestrian's area of ​​interest in different channels is used to perform dual-channel mean weighted fusion to obtain fused features that contain both shared features and specific feature information. v For example, for the original feature The channel mask is obtained using an attention operation consisting of a global average pooling layer and two fully connected layers.

[0061]

[0062] where g(·) represents global average pooling, and are the learnable parameters in the two fully connected layers, followed by the ReLU activation function δ(·) and the Sigmoid activation function σ(·). The CFFM module performs a dual-channel mean weighted fusion based on the channel mask of the selected features under each corresponding channel to obtain the fused feature

[0063]

[0064] in, and is the mean channel mask of the selected specific features and shared features with the same identity label in the same modality, and the operator ⊙ represents element-by-element multiplication. After the fusion operation, we get Use similar operations to get the infrared mode

[0065] In the second stage, we Shared features with high importance retained Perform complementary splicing on the channel to obtain the complete pedestrian feature F v (F t ), which is the final classification feature.

[0066]

[0067] Operation Symbols represents the addition operation on the corresponding feature channel i, and GeM is the generalized average pooling operation. Through the CFFM module, we supplement the specific feature information missing in the shared features, improve the feature diversity, and enable the model to better distinguish cross-modal pedestrian features.

[0068] (4) Construction of loss function.

[0069] (4-1) The present invention selects a difficult sample triplet loss function optimization model, as shown in the following formula:

[0070] L tri =[max(d(x a ,x p ))-min(d(x a ,x n ))+m] +

[0071] in,[·] + is the max(·,0) function. a ,x p ) is the Euclidean distance between positive sample pairs, d(x a ,x n ) is the Euclidean distance between negative sample pairs. m is the relaxed margin between positive and negative sample pairs.

[0072] (4-2) At the same time, the cross entropy loss is introduced as shown in the following formula:

[0073]

[0074] Where N is the number of samples, y i One-hot encoding of the pedestrian with identity i. is the probability score of a pedestrian i in the feature vector G.

[0075] (4-3) The constructed loss function is as follows:

[0076] L all =λ1L id +λ2L tri

[0077] Similar to other research works, we used the cross entropy loss L id and triplet loss L triple Make the pedestrian features more distinguishable, and finally jointly optimize the model by minimizing the sum of losses, where λ1 and λ2 are adjustable parameters used to balance the contribution of each loss term.

[0078] (5) Training model

[0079] The data is input into the network model in batches, and the pedestrian feature vectors are extracted from the pedestrian images in the visible light and infrared modes. The final classification features are obtained through channel-level feature selection and fusion network, and the feature vectors are input into the joint loss function to calculate the loss and back propagate in the neural network to update the model parameters. By minimizing the loss function value, the model prediction ability is continuously trained. After 100 iterations in the following environment, the trained model is obtained.

[0080]

[0081] (6) Model Verification

[0082] (6-1) Initialize the custom neural network with the trained model, extract the pedestrian feature vectors in the visible and infrared modes, take the pedestrians in the visible or infrared mode as the pedestrians to be queried, calculate the Euclidean distance between them and the pedestrian feature vectors in the corresponding mode query library, and sort them by similarity. We follow the standard evaluation protocol for cross-modal visible and infrared pedestrian re-identification, and use cumulative matching features (CMC) and mean average precision (mAP) for performance evaluation. SYSU-MM01 has two test modes, full search mode and indoor search mode. In the full search mode, the gallery will use all visible light images, while the indoor search mode gallery only uses indoor visible light images from cameras 1 and 2. The evaluation results are the average performance of 10 random acquisitions of test set images for testing. There are two evaluation modes for RegDB, searching infrared images from visible light images and searching visible light images from infrared images. Ten experiments are conducted in each mode to obtain more realistic results.

[0083] (6-2) Cumulative Matching Characteristic (CMC) is a commonly used indicator for evaluating the performance of identity recognition systems, especially in the fields of video surveillance, face recognition, and biometrics. The CMC curve shows the probability that the recognition system correctly identifies the target within a given retrieval list length (rank). The CMC curve starts from the x-axis, and the value on the y-axis represents the probability that the system correctly identifies the target in the first rank of retrieval results. As the rank increases, the CMC curve will gradually rise and eventually tend to an upper limit, indicating the optimal performance of the system. Ideally, the CMC curve should be as close to the y-axis as possible, that is, the target can be correctly identified in the first few retrieval results.

[0084] (6-3) Mean Average Precision (mAP) is a commonly used metric to evaluate the performance of tasks such as target detection or object recognition. It is the average of Average Precision (AP), where the AP of each category is the average of the precision values ​​of the detection results of the corresponding category under different confidence thresholds. mAP takes into account the detection results of all categories and gives corresponding weights to different categories. Therefore, even if the number of samples in a certain category is small, if the detection performance of this category is good, it can also contribute to the overall mAP.

[0085] Through CMC, we can understand the recognition ability of the model at different confidence levels. mAP comprehensively considers the model recognition accuracy (Precision) and recall rate (Recall) by ranking the detection results and calculating the average value, which can more comprehensively evaluate the performance of the model algorithm.

[0086] We use the above evaluation indicators to test the trained model, and the experiment is conducted on the SYSU-MM01 dataset. The experimental results are shown in the following table:

[0087]

[0088] Base represents the baseline model. Experimental results show that our visible and infrared pedestrian re-identification method based on channel-level feature selection and fusion network further improves the recognition performance of the baseline model. The improved model can extract more discriminative features.

[0089] The above content introduces in detail the specific implementation of the visible and infrared pedestrian re-identification method based on channel-level feature selection and fusion network proposed by the present invention. The introduction of the above embodiments is only used to help understand the proposed method and core ideas of the present invention. According to the ideas of the present invention, there may be some differences in the specific implementation methods. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A visible and infrared pedestrian re-identification method based on channel-level feature selection and fusion network, characterized in that: Includes steps: (1) Select the data set required for the experiment from the visible and infrared data sets, read the data set and perform data preprocessing; (2) Construct the network structure, use the dual-stream feature extractor based on ResNet-50 to build the backbone network, use the ImageNet pre-trained model to initialize the backbone network, use FSM and CFFM to build the channel-level feature selection and fusion network, the FSM module adaptively selects specific features and shared features according to the importance of the channel features obtained by normalizing different modal features, and then uses CFFM to implement dual-channel mean weighted fusion to obtain fused features that contain both shared features and specific feature information, and uses the He Kaiming method to initialize the branch network; (3) Model training: input data in batches into the network model, extract pedestrian feature vectors from pedestrian images in visible light and infrared modes, obtain the final classification features through channel-level feature selection and fusion network, input the feature vectors into the joint loss function to calculate the loss and perform back propagation in the neural network, and continuously train the model prediction ability by minimizing the loss function value; (4) Model verification: Use the trained model to initialize the custom neural network, extract the pedestrian feature vectors in the visible and infrared modes, take the pedestrians in the visible or infrared mode as the pedestrians to be queried, calculate the Euclidean distance between them and the pedestrian feature vectors in the corresponding mode query library, and sort them by similarity to find the same pedestrians in the visible and infrared modes.

2. According to claim 1, a visible and infrared pedestrian re-identification method based on channel-level feature selection and fusion network is characterized in that: Step (1) scales the original image of the dataset to a size of 144×288, and then performs data preprocessing operations such as random horizontal flipping, random erasing, and random cropping.

3. The visible and infrared pedestrian re-identification method based on channel-level feature selection and fusion network according to claim 1 is characterized by: The network structure defined in step (2) uses a dual-stream feature extractor based on ResNet-50 to build a backbone network. ResNet-50 has a layer layer composed of 4 residual blocks. We first obtain pedestrian specific features through two independent specific feature extractors, and then input the specific features of visible and infrared modes output by the specific feature extractor Layer1 layer into the shared feature extractor Layer2 layer to obtain pedestrian shared features. The last step size of ResNet-50 is set to 1, and the final output feature map is globally averaged pooled. The channel-level feature selection and fusion network constructed by FSM and CFFM in step (2) is proposed to simultaneously learn shared and specific feature information through feature fusion, and to prevent some important feature information from being interfered with during the fusion process. FSM is a feature selection module, which uses the difference in feature importance of pedestrian samples in different channels to achieve feature selection; CFFM is a channel-level feature fusion module, which performs dual-channel mean weighted fusion according to the channel mask of the selected feature in each corresponding channel to obtain the fused feature.

4. The visible and infrared pedestrian re-identification method based on channel-level feature selection and fusion network according to claim 1 is characterized by: The joint loss function L constructed in step (3) all as follows: L all =λ1L id +λ2L tri Among them, λ1, λ2 are adjustable parameters used to balance the contribution of each loss term, L id is the cross entropy loss function, L tri It is the triplet loss function of difficult samples. Finally, the model is jointly optimized by minimizing the sum of losses. The joint loss provides a flexible framework for deep learning models, which can optimize multiple tasks or aspects at the same time, thereby guiding the model to learn useful feature representations more comprehensively and effectively during the training process.

Citation Information

Patent Citations

  • Cross-modal pedestrian re-identification method based on local information learning

    CN112434796A

  • Object recognition method and apparatus, network training method and apparatus, device, medium, and product

    WO2023040195A1