A multimodal target detection method based on knowledge completion balanced network
By using knowledge completion and dynamic balance networks in multi-modal target detection, the problem of local and global modal information imbalance is solved, the detection performance of the model in complex scenes is improved, and the effective fusion and utilization of multi-modal information is achieved. .
Patent Information
- Application Number
- CN202410310009.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-19
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-03-19
AI Technical Summary
There are problems of local modal information imbalance and global modal information imbalance in multi-modal learning, which leads to uneven detection performance of the model in different scenarios. Especially in daytime scenarios, the performance is limited, and it is difficult to achieve multi-modal complementary information. Dig in fully.
A method based on the knowledge completion balancing network is adopted to alleviate the imbalance of local modal information through the class knowledge completion and spatial knowledge completion mechanisms, and monitor and adjust the importance of modal data through the dynamic balance mechanism to ensure the success of multi-modal feature learning. Synchronicity, achieving the balance of local and global modal information.
It improves the model's adaptability in low light and complex scenarios, ensures full utilization of multi-modal complementary information, improves detection performance, and achieves the situation of 1+1>2.
Smart Images

Figure CN118212398B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of target detection, and mainly to a multimodal target detection method based on a knowledge completion balanced network. Background Art
[0002] The overall performance of multimodal learning exceeds that of unimodal learning. Due to the challenge of modal information imbalance caused by modal heterogeneity, the overall performance of multimodal learning is often far from its upper limit, which can be decomposed into two sub-problems: local modal information imbalance and global modal information imbalance.
[0003] The imbalance of local modal information comes from the significant difference in the amount of task-related information provided by different modalities. The visible light wavelength of visible light images is more sensitive to scattering and absorption phenomena, so it is difficult to provide sufficient task-related information in the above complex scenarios, and may even provide a large amount of environmental noise information. If the two modalities are directly fused without considering the above differences, the highly discriminative task-related information in the infrared image will be diluted by the environmental noise in the visible light image, making the integration of multimodal information impair the detectability of the target.
[0004] Global modal information imbalance means that when processing multimodal data, the model shows a preference for a certain modality and ignores the potential contributions of other modalities. This phenomenon usually occurs when there is a significant difference in the amount of task-related information provided by different modalities. On the one hand, this preference for a single modality will cause the model to overfit infrared images and underfit visible light images. As a result, the model performs well in night scenarios, but has limited performance in daytime scenarios. On the other hand, this preference will cause the model to have an unbalanced learning rate when learning different modalities, focusing on learning the features of a certain modality while ignoring the key information of other modalities. As a result, it is difficult for the model to fully mine multimodal complementary information, resulting in a situation where 1+1<2. Summary of the invention
[0005] Purpose of the invention: In view of the problems existing in the above-mentioned background technology, the present invention provides a multimodal target detection method based on a knowledge completion and balancing network, which realizes the balance of local and global modal information by constructing a knowledge completion mechanism and a dynamic balancing mechanism.
[0006] Invention content: To achieve the above purpose, the technical solution adopted by the present invention is: a multimodal target detection method based on a knowledge completion balanced network, comprising the following steps:
[0007] Step 1: extract multi-scale features of infrared images and visible light images, and then obtain ROI features of two modalities, visible light ROI features and infrared ROI features, through feature pyramid and ROIAlign;
[0008] Step 2, respectively completing the knowledge of the visible light ROI feature and the infrared ROI feature to obtain the visible light ROI feature and the infrared ROI feature after knowledge completion;
[0009] Step 3: Use the multimodal feature fusion module to fuse the two-modal ROI features after knowledge completion to obtain the multimodal fusion feature x F , then, the multimodal fusion feature x F The input target recognition head and target localization head predict the category and location of the target.
[0010] Furthermore, the knowledge completion in step 2 includes class knowledge completion, that is, class knowledge completion is performed on the visible light ROI features and the infrared ROI features to obtain the visible light class target ROI features and the infrared class target ROI features after class knowledge completion. The specific steps are as follows:
[0011] The amount of information related to the target recognition task contained in the bimodal ROI features is measured by calculating the conditional information entropy (i.e., calculating the bimodal ROI features x and class label y c The conditional information entropy between them can quantify the amount of information related to the target recognition task contained in the ROI feature to determine the benchmark modality ROI feature x bc and target-like modality ROI features x tc ; Based on the class benchmark ROI feature x bc is the class target ROI feature x tc Assign pseudo labels;
[0012] Construct a class ROI feature set corresponding to a specific category based on the pseudo label Among them, C is the number of categories; the class ROI feature set Each ROI feature in is regarded as a neighborhood node, and the target class ROI feature is regarded as the central node, and the class ROI feature set Establish edge connections between the nodes in to construct the class knowledge graph G i =(V i ,E i ), V i Represents the nodes of the graph, E i Represents the edges of the graph;
[0013] Next, the information aggregator is used to aggregate the neighborhood information of the central node, and the central node feature h v The central node features are updated with the aggregated neighborhood information. The updated central node features are expressed as
[0014] Finally, using the updated central node features For the target class ROI feature x tc Perform class knowledge completion to obtain the class target ROI features after class knowledge completion It is expressed as:
[0015]
[0016] Among them, W c Complete parameters for learnable class knowledge.
[0017] Furthermore, the knowledge completion in step 2 also includes spatial knowledge completion, that is, spatial knowledge completion is performed on the visible light ROI features and the infrared ROI features to obtain the visible light spatial ROI features and the infrared spatial ROI features after spatial knowledge completion. The specific steps are as follows:
[0018] The amount of information related to the target recognition task contained in the bimodal ROI features is quantified by calculating the conditional differential information entropy (i.e., calculating the bimodal ROI feature x and the box label y s The conditional differential information entropy between quantifies the amount of task-related information contained in the ROI feature to determine the spatial reference modality ROI feature x bs and spatial target modality ROI features x ts , using the spatial reference modality ROI feature x bs Pseudo labels of similar ROI feature sets are constructed To obtain the class prototype P i ;
[0019] Class Prototype P i It is expressed as:
[0020]
[0021] in, is the spatial reference ROI feature set with pseudo label i, K is the set The number of ROI features in the graph, Mean(·) is the average pooling operation in the spatial dimension;
[0022] Next, the class prototype P i and the reference modality ROI feature x bs Perform splicing and input the spatial soft mask module to obtain the spatial soft mask M s , and use spatial constraints to ensure that the spatial soft mask M s Accurately capture spatial reference modal ROI features x bs Spatial knowledge in
[0023] Finally, the spatial soft mask M s and spatial target modality ROI features x tsPerform element-by-element multiplication to integrate spatial knowledge into the spatial target modality ROI feature x ts In the process, spatial knowledge completion is realized, and the visible light space target ROI features and infrared space target ROI features after spatial knowledge completion are fused.
[0024] Furthermore, in step 2, the amount of information related to the target recognition task contained in the two-modal ROI features is measured by calculating the conditional information entropy, and the ROI feature of the modality with lower conditional information entropy is regarded as the benchmark ROI feature x bc , the ROI features of the modality with high conditional information entropy are regarded as the class target ROI features x tc , expressed as:
[0025]
[0026] Among them, x V and x I Represent the ROI features of the visible light modality and the infrared modality, y c represents the class label, and H(·) represents the conditional information entropy.
[0027] Furthermore, a spatial constraint L based on conditional differential information entropy is designed. sc , expressed as:
[0028]
[0029] Where h(·) represents the conditional differential information entropy.
[0030] Furthermore, the use of the multimodal feature fusion module in step 3 to fuse the two-modal ROI features after knowledge completion refers to fusing the visible light class target ROI features after class knowledge completion and the infrared class target ROI features after class knowledge completion, and fusing the visible light space target ROI features after space knowledge completion and the infrared space target ROI features after class knowledge completion, specifically:
[0031] The two-modal ROI features after knowledge completion are concatenated and input into the multimodal feature fusion module to obtain the multimodal fusion feature x F :
[0032]
[0033] Among them, MFFM(·) is a multimodal feature fusion module, which uses convolution to integrate the ROI features of two modalities.
[0034] Furthermore, in step 3, the multimodal fusion feature x F The input target recognition head and target localization head predict the category and location of the target, which can be expressed as:
[0035]
[0036] u Fs ,σ Fs =OLH(x F )
[0037]
[0038] Among them, u Fs and σ Fs The mean and standard deviation of the prediction box. ORH(·) and OLH(·) represent the target recognition head and target localization head, respectively. RP(·) represents the reparameterization operation, which is used to predict the category and position of the target based on the multimodal fusion features. and Represent category prediction and position prediction respectively.
[0039] Furthermore, step 3 also includes calculating the dynamic balance loss and updating the model of the target detection method, specifically:
[0040] First, define the difference ratio ρ c and ρ s , used to dynamically monitor the difference in the amount of task-related information between each modality:
[0041]
[0042] in, and They represent the amount of information related to target recognition and target localization tasks contained in the visible light images in the same batch, respectively. and They represent the amount of information related to target recognition and target localization tasks contained in infrared images of the same batch;
[0043] Afterwards, dynamic balance loss L is set for target recognition task and target localization task respectively. dc and L ds :
[0044]
[0045] Among them, L c and L s represents the target recognition loss and target positioning loss, and is the target recognition loss corresponding to the visible light and infrared modalities, and is the target localization loss corresponding to the visible light and infrared modalities, δ c and γ cis to adjust the attention level of the two modalities in the target recognition task, δ s and γ s Used to regulate the degree of attention to two modalities in target localization tasks.
[0046] Beneficial effects: The present invention reveals the challenges of local modal information imbalance and global modal information imbalance in multimodal target detection, and proposes a multimodal target detection method based on a knowledge completion balance network. The imbalance of local modal information is alleviated through class knowledge completion and spatial knowledge completion mechanisms, and the model's adaptability to complex scenarios such as low light and smoke is improved. The dynamic balance mechanism can alleviate global modal information imbalance by dynamically monitoring and challenging the importance of different modal data in the model learning process, and improve the model's ability to utilize multimodal complementary information by ensuring the synchronization of multimodal feature learning. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is a principle block diagram of the method of the present invention. DETAILED DESCRIPTION
[0048] The present invention is further described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] The technical solution adopted by the present invention is: a multimodal target detection method based on knowledge completion balanced network, the specific principle is as follows Figure 1 shown.
[0050] Step 1: Use a shared backbone network to extract multi-scale features of infrared images and visible light images, and then use feature pyramid and ROIAlign to obtain ROI (Region of Interest) features of two modalities, visible light ROI features and infrared ROI features; in this specific implementation, the shared backbone network uses Resnet-50.
[0051] Step 2: Evaluate the amount of information related to the target recognition task contained in the two-modal ROI features by calculating the conditional information entropy to determine the benchmark modality ROI feature x bc and target-like modality ROI features x tc Then, using the class benchmark modality ROI feature x bc The pseudo label determines the class target modality ROI feature x tc The category of ROI is then based on the similar ROI feature set X i tcBuild a class knowledge graph. Then, use the information transfer mechanism of the graph neural network to capture the class knowledge that can be shared in the same ROI features and update the central node features. Finally, the updated central node features are The class knowledge contained in is integrated into the class target ROI feature x tc In the implementation, class knowledge completion is realized. Specifically, it includes:
[0052] First, in order to clarify the baseline ROI features and target ROI features, the information amount related to the target recognition task in the visible light ROI features and infrared ROI features is measured by calculating the conditional information entropy. Among them, the ROI features of the modality with lower conditional information entropy are regarded as the baseline ROI features x bc , the ROI features of the modality with high conditional information entropy are regarded as the class target ROI features x tc .
[0053]
[0054] Among them, x V and x I Represent the ROI features of the visible light modality and the infrared modality, y c represents the class label, and H(·) represents the conditional information entropy.
[0055] Then, according to the class-based ROI feature x bc is the class target ROI feature x tc Assign pseudo labels and construct a class ROI feature set corresponding to a specific category based on the pseudo labels Among them, C is the number of categories and N is the number of samples.
[0056] Afterwards, the ROI-like feature set Each ROI feature in is regarded as a neighborhood node, and the target class ROI feature is regarded as the central node, and the class ROI feature set Establish edge connections between the nodes in to construct the class knowledge graph G i =(V i ,E i ), V i Represents the nodes of the graph, E i Represents the edges of the graph.
[0057] Next, the information aggregator is used to aggregate the neighborhood information of the central node, and the central node features are updated by integrating the central node features and the aggregated neighborhood information. v , the updated central node feature can be expressed as
[0058] Finally, using the updated central node features For the target class ROI feature x tc Perform knowledge completion to obtain the class target ROI features after class knowledge completion
[0059]
[0060] Among them, W c Complete parameters for learnable class knowledge.
[0061] Step 3: Evaluate the amount of information related to the target recognition task contained in the two-modal ROI features by calculating the conditional differential information entropy to determine the spatial reference modal ROI feature x bs and spatial target modality ROI features x ts Then, using the spatial reference modality ROI feature x bs Pseudo labels of similar ROI feature sets are constructed To obtain the class prototype P i Next, the class prototype P i and the reference modality ROI feature x bs Perform splicing and input the spatial soft mask module (SSMM) to obtain the spatial soft mask M s , and use spatial constraints to ensure that the spatial soft mask M s Can accurately capture spatial reference modal ROI features x bs Finally, the spatial soft mask M s and spatial target modality ROI features x ts Perform element-wise multiplication to integrate spatial knowledge into the spatial target modality ROI feature x ts In the implementation, spatial knowledge completion is realized. Specifically, it includes:
[0062] First, clarify the spatial reference ROI feature x bs and spatial target ROI features x ts , by calculating the conditional differential information entropy, the spatial reference ROI feature x bs and spatial target ROI features x ts The amount of information related to the target localization task is measured in . The ROI feature of the modality with low conditional differential information entropy is regarded as the spatial reference ROI feature x bs , the ROI feature of the modality with high conditional differential information entropy is regarded as the spatial target ROI feature x ts .
[0063]
[0064] Among them, x V and x IRepresent the ROI features of the visible light modality and the infrared modality, y s represents the box label, and h(·) represents the conditional differential information entropy.
[0065] Then, considering the spatial reference ROI feature x bs and spatial target ROI features x ts The corresponding relationship is presented in the spatial dimension, and the spatial reference ROI feature x bs It can provide accurate spatial information, namely spatial knowledge. Therefore, a spatial soft mask module is designed to learn the spatial soft mask M s Capture spatial reference ROI features x bs The spatial soft mask module calculates the class prototype and compares the similarity between each local feature and the class prototype in the spatial dimension. The local features with high similarity will obtain a higher spatial soft mask weight. i It can be expressed as:
[0066]
[0067] in, is the spatial reference ROI feature set with pseudo label i, K is the set , where is the number of ROI features and Mean(·) is the average pooling operation in the spatial dimension.
[0068] Furthermore, the learning of the spatial soft mask module is not directly guided by the loss function, resulting in its limited ability to capture spatial knowledge. A spatial constraint L based on conditional differential information entropy is designed. sc , by constraining the spatial reference ROI features after masking to have lower conditional differential information entropy, the spatial soft mask is forced to emphasize the foreground area and weaken the background area, thus accurately capturing the spatial knowledge in the reference modality. The spatial constraint can be expressed as:
[0069]
[0070] Where h(·) represents the conditional differential information entropy
[0071] Finally, the spatial soft mask and the target ROI features are multiplied element by element to complete the spatial knowledge.
[0072] Step 4: Use the multimodal feature fusion module to fuse the two-modal ROI features after knowledge completion to obtain the multimodal fusion feature x F Then, the multimodal fusion feature x F The input target recognition head and target positioning head predict the target category and location. Finally, the dynamic balance loss is calculated and the model is updated. Specifically, it includes:
[0073] The ROI features of the two modalities are concatenated and input into the multimodal feature fusion module to obtain the multimodal fusion feature x F :
[0074]
[0075] Among them, MFFM(·) is a multimodal feature fusion module, which uses convolution to integrate the ROI features of two modalities.
[0076] Afterwards, the multimodal fusion features are sent to the detection module to complete the target recognition and target positioning tasks:
[0077]
[0078] u Fs ,σ Fs =OLH(x F )
[0079]
[0080] Among them, u Fs and σ Fs The mean and standard deviation of the prediction box. ORH(·) and OLH(·) represent the target recognition head and target localization head, respectively. RP(·) represents the reparameterization operation, which is used to predict the category and position of the target based on the multimodal fusion features. and Represent category prediction and position prediction respectively.
[0081] At the same time, given the difference in the amount of task-related information between infrared and visible light images, the method of the present invention will tend to prefer a specific modality during the learning stage. Taking into account that the modality containing more task-related information tends to receive more attention from the model, the present invention utilizes an information entropy evaluation mechanism to evaluate the amount of task-related information contained in the two modalities in each batch. The task-related information refers to the relevant information of different tasks obtained through information entropy (the amount of information related to target recognition / positioning tasks). Through the following dynamic balance loss, the modality with a high amount of task-related information still follows the original learning strategy, while the modality with a low amount of task-related information receives more attention, thereby alleviating the problem of modality preference caused by global modality information imbalance.
[0082] Specifically, first, define the difference ratio ρ c and ρ s , used to dynamically monitor the difference in the amount of task-related information between each modality:
[0083]
[0084] Among them, among them, and They represent the amount of information related to target recognition and target localization tasks contained in the visible light images in the same batch, respectively. and They represent the amount of information related to target recognition and target localization tasks contained in infrared images of the same batch;
[0085] Afterwards, dynamic balance loss L is set for target recognition task and target localization task respectively. dc and L ds , which helps the overall model dynamically adjust the loss weight:
[0086]
[0087] Among them, L c and L s represents the target recognition loss and target positioning loss, and is the target recognition loss corresponding to the visible light and infrared modalities, and is the target localization loss corresponding to the visible light and infrared modalities, δ c and γ c To adjust the model's attention to the two modalities in the target recognition task, δ s and γ s It is used to adjust the degree to which the model pays attention to the two modalities in the target localization task.
[0088] The effect of the present invention is further described below in conjunction with simulation experiments:
[0089] Simulation experiment conditions:
[0090] The dataset used is M 3 FD is a dataset widely used in multimodal target detection, containing 4200 pairs of infrared and visible light images with a resolution of 1024×768 pixels. 3 The FD dataset contains 34,407 objects, divided into six main categories: people, cars, buses, motorcycles, trucks, and traffic lights. It covers a variety of environmental conditions, including sunny days, cloudy days, nighttime, and special weather conditions such as rain, fog, and smoke.
[0091] All experiments were conducted on a computer equipped with a 3.80GHz Intel Core i7-10700KF CPU, 32GB RAM and RTX2080Ti GPU, and the experimental environment was PyTorch. In the experiment, Resnet-50 pre-trained on Imagenet was used as the backbone network. To ensure that the model is fully trained, the training epoch is set to 100, the batch size is 8, the learning rate is set to 0.00025, and AdamW is selected as the optimizer. In terms of evaluation indicators, mAP@.5 is used to evaluate the detection performance of the present invention and various comparison algorithms, as shown in Table 1.
[0092] Table 1: The existing technology and the present invention in M 3 Comparison results on FD
[0093] category YOLOv5-V YOLOv5-I CAPTM TarDAL The present invention People 73.99 77.48 74.04 79.35 83.26 Car 84.88 86.96 84.08 88.50 90.86 Bus 82.86 83.58 88.14 86.98 88.36 Motorcycle 77.29 79.03 87.14 81.88 84.08 Lamp 71.01 75.19 71.94 76.36 80.29 Truck 66.80 69.71 70.23 71.77 72.11 mAP@.5 76.14 78.66 79.26 80.81 83.16
[0094] It can be seen from Table 1 that the present invention has achieved the best performance among all the methods. The reasons for achieving such an effect are as follows: the present invention can not only use the detailed texture information of the visible light image to help the model identify the category of the target, but also use the thermal radiation information of the infrared image to achieve accurate positioning of the target in different environments. At the same time, the present invention fuses multimodal information at the feature level, and can fully exploit multimodal complementary information by establishing deep interactions between multimodal features. Furthermore, the present invention uses the knowledge completion mechanism and the dynamic balance mechanism to achieve a balance between local modal information and global modal information, suppress the mutual interference between different modal information, and achieve full utilization of multimodal complementary information.
[0095] In summary, the present invention reveals the challenges of local modal information imbalance and global modal information imbalance in multimodal target detection, and customizes a multimodal target detection method based on knowledge completion balanced network to address the above challenges. Experimental results on the dataset show that the present invention has achieved advanced performance in multimodal target detection tasks.
Claims
1. A multimodal target detection method based on knowledge completion balanced network, characterized in that: The steps include: Step 1: extract multi-scale features of infrared images and visible light images, and then obtain ROI features of two modalities, visible light ROI features and infrared ROI features, through feature pyramid and ROIAlign; Step 2, respectively completing the knowledge of the visible light ROI feature and the infrared ROI feature to obtain the visible light ROI feature and the infrared ROI feature after knowledge completion; The knowledge completion includes class knowledge completion, that is, class knowledge completion is performed on the visible light ROI features and the infrared ROI features to obtain the visible light class target ROI features and the infrared class target ROI features after class knowledge completion; The knowledge completion also includes spatial knowledge completion, that is, performing spatial knowledge completion on the visible light ROI features and the infrared ROI features to obtain the visible light spatial ROI features and the infrared spatial ROI features after spatial knowledge completion; Step 3: Use the multimodal feature fusion module to fuse the two-modal ROI features after knowledge completion to obtain the multimodal fusion feature x F , then, the multimodal fusion feature x F The input target recognition head and target localization head predict the target category and location; The use of the multimodal feature fusion module to fuse the two-modal ROI features after knowledge completion refers to fusing the visible light class target ROI features after class knowledge completion and the infrared class target ROI features after class knowledge completion, and fusing the visible light space target ROI features after space knowledge completion and the infrared space target ROI features after class knowledge completion, specifically: The two-modal ROI features after knowledge completion are concatenated and input into the multimodal feature fusion module to obtain the multimodal fusion feature x F : Among them, MFFM(·) is a multimodal feature fusion module, which uses convolution to integrate the ROI features of two modalities.
2. According to claim 1, a multimodal target detection method based on knowledge completion balanced network is characterized in that: The knowledge completion in step 2 includes class knowledge completion, that is, class knowledge completion is performed on the visible light ROI features and the infrared ROI features to obtain the visible light class target ROI features and the infrared class target ROI features after class knowledge completion. The specific steps are as follows: The amount of information related to the target recognition task contained in the two-modal ROI features is measured by calculating the conditional information entropy to determine the benchmark modality ROI feature x bc and target-like modality ROI features x tc ; Based on the class benchmark ROI feature x bc is the target ROI feature x tc Assign pseudo labels; Construct a class ROI feature set corresponding to a specific category based on the pseudo label Among them, C is the number of categories; the class ROI feature set Each ROI feature in is regarded as a neighborhood node, and the target class ROI feature is regarded as the central node, and the class ROI feature set Establish edge connections between the nodes in to construct the class knowledge graph G i =(V i ,E i ), V i Represents the nodes of the graph, E i Represents the edges of the graph; Next, the information aggregator is used to aggregate the neighborhood information of the central node, and the central node feature h v The central node features are updated with the aggregated neighborhood information. The updated central node features are expressed as Finally, using the updated central node features For the target class ROI feature x tc Perform class knowledge completion to obtain the class target ROI features after class knowledge completion It is expressed as: Among them, W c Complete parameters for learnable class knowledge.
3. A multimodal target detection method based on a knowledge completion balanced network according to claim 1 or 2, characterized in that: The knowledge completion in step 2 also includes spatial knowledge completion, that is, performing spatial knowledge completion on the visible light ROI features and the infrared ROI features to obtain the visible light spatial ROI features and the infrared spatial ROI features after spatial knowledge completion. The specific steps are as follows: The amount of target recognition task-related information contained in the two-modal ROI features is evaluated by calculating the conditional differential information entropy to determine the spatial reference modal ROI feature x bs and spatial target modality ROI features x ts , using the spatial reference modality ROI feature x bs Pseudo labels of similar ROI feature sets are constructed To obtain the class prototype P i ; Next, the class prototype P i and the reference modality ROI feature x bs Perform splicing and input the spatial soft mask module to obtain the spatial soft mask M s , and use spatial constraints to ensure that the spatial soft mask M s Accurately capture spatial reference modal ROI features x bs Spatial knowledge in Finally, the spatial soft mask M s and spatial target modality ROI features x ts Perform element-by-element multiplication to integrate spatial knowledge into the spatial target modality ROI feature x ts In the process, spatial knowledge completion is realized, and the visible light space target ROI features and infrared space target ROI features after spatial knowledge completion are fused.
4. According to claim 2, a multimodal target detection method based on a knowledge completion balanced network is characterized in that: In step 2, the amount of information related to the target recognition task contained in the two-modal ROI features is measured by calculating the conditional information entropy. The ROI feature of the modality with lower conditional information entropy is regarded as the benchmark ROI feature x bc , the ROI features of the modality with high conditional information entropy are regarded as the class target ROI features x tc , expressed as: Among them, x V and x I Represent the ROI features of the visible light modality and the infrared modality, y c represents the class label, and H(·) represents the conditional information entropy.
5. According to claim 3, a multimodal target detection method based on knowledge completion balanced network is characterized in that: Class Prototype P i It is expressed as: in, is the spatial reference ROI feature set with pseudo label i, K is the set , where is the number of ROI features and Mean(·) is the average pooling operation in the spatial dimension.
6. According to claim 3, a multimodal target detection method based on knowledge completion balanced network is characterized in that: A spatial constraint L based on conditional differential information entropy is designed. sc , expressed as: Where h(·) represents the conditional differential information entropy.
7. The multimodal target detection method based on knowledge completion balanced network according to claim 1, characterized in that: As described in step 3, the multimodal fusion feature x F The input target recognition head and target localization head predict the category and location of the target, which can be expressed as: u Fs ,σ Fs =OLH(x F ) Among them, u Fs and σ Fs The mean and standard deviation of the prediction box, ORH(·) and OLH(·) represent the target recognition head and target localization head respectively, RP(·) represents the reparameterization operation, which is used to predict the category and position of the target based on the multimodal fusion features. and Represent category prediction and position prediction respectively.
8. According to claim 1, a multimodal target detection method based on knowledge completion balanced network is characterized in that: Step 3 also includes calculating the dynamic balance loss and updating the model of the target detection method, specifically: First, define the difference ratio ρ c and ρ s , used to dynamically monitor the difference in the amount of task-related information between each modality: in, and They represent the amount of information related to target recognition and target localization tasks contained in the visible light images in the same batch, respectively. and They represent the amount of information related to target recognition and target localization tasks contained in infrared images of the same batch; Afterwards, dynamic balance loss L is set for target recognition task and target localization task respectively. dc and L ds : Among them, L c and L s represents the target recognition loss and target positioning loss, and is the target recognition loss corresponding to the visible light and infrared modalities, and is the target localization loss corresponding to the visible light and infrared modalities, δ c and γ c is to adjust the attention level of the two modalities in the target recognition task, δ s and γ s Used to regulate the degree of attention to two modalities in target localization tasks.
