Information-guided target search method based on cross-modal self-evolving knowledge generalization

By introducing a visual-language pre-training model and a cross-modal guided attention mechanism into cross-modal search technology, the problem of insufficient fine-grained target matching capabilities in the existing technology is solved, and high-performance fine-grained targets for complex scenes are achieved. search.

CN118170938BActive Publication Date: 2024-08-23NORTHWESTERN POLYTECHNICAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410584584.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-12
Publication Date
2024-08-23
Estimated Expiration
2044-05-12

AI Technical Summary

Technical Problem

Existing cross-modal search technology performs poorly in fine-grained target matching. The model's knowledge generalization and self-evolution capabilities are insufficient, and it cannot effectively handle complex and changeable real battlefield scenarios. In particular, its ability to identify unseen targets is poor. .

Method used

Using a visual-language pre-training model combined with a cross-modal guided attention mechanism, the key fine-grained information in the text is extracted through syntax tree rules, dynamic alignment and matching of images and text is performed, and cross-modal projection matching loss is used for training to achieve fine-grained information. Granular target search.

Benefits of technology

It realizes the self-evolution ability of the model when facing unseen targets, avoids the damage to visual information caused by hard segmentation, and improves the performance and accuracy of fine-grained target search.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118170938B
    Figure CN118170938B
Patent Text Reader

Abstract

The present invention provides an information-guided target search method based on cross-modal self-evolving knowledge generalization, which uses syntax tree rules to extract key fine-grained information in information text, and uses the image and text encoder of the visual-language pre-training model to encode the input image and text to obtain the feature vectors of the picture and key text, and uses two modules based on the cross-modal guided attention mechanism to respectively perform text-guided visual fine-grained information positioning and visual-guided semantic information reconstruction, align the feature vectors of the two modalities in a dynamic focusing manner, calculate the concept similarity, and thus perform target search and sorting. The present invention can dynamically obtain key fine-grained information in images and texts, and introduce cross-modal knowledge in the visual language large model to achieve accurate fine-grained target search.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cross-modal visual language reasoning, and specifically proposes a method and system for achieving self-evolving information-guided target search by generalizing the knowledge in a multi-modal large model. The entire system uses an image-text encoder of a visual-language pre-training model to encode images in a target image library, and uses the cross-modal knowledge therein to enable the model to have self-evolving and accurate target search capabilities under the guidance of information. Background Art

[0002] The information-based target search task is a technology that needs to be studied urgently in the future battlefield. This task is similar to the cross-modal search task in the field of multimodal visual language reasoning. It aims to search for matching target images from a large number of candidate target images based on text-based information. Specifically, the input of this task is the information text describing the target morphology and features and all candidate target images. The model will calculate the matching score between the text description and all images, and sort the images in descending order according to the score. The higher the score, the closer the image is to the description of the information text, so as to search for the target. This requires the system to fully understand the complex language semantic information and visual scene information, and to mine the correlation between the information text and various target images. This technology is widely used in the future new generation of battlefield operations. It can be deployed on various reconnaissance or strike equipment to achieve autonomous detection and strike of targets. Due to its great practical, national defense and military significance, it has attracted a lot of research and exploration in academia and industry in recent years. However, most of the existing technologies can only perform well in coarse-grained target matching search, such as screening out some human targets from a collection of images containing various different targets (aircraft, ships, people). However, in real scenarios, it is often necessary to search for key targets with specific features, which places higher demands on the model's knowledge generalization and self-evolution capabilities.

[0003] Most of the current text-based cross-modal search technologies use image and text encoder modules or unified encoder modules to encode the input images and texts to obtain feature vectors. After the calculation of the self-designed neural network, the cosine similarity is calculated to obtain the similarity between the image and the text as an indicator for sorting search results. In order to obtain more fine-grained information, most methods perform hard segmentation on the image. This will inevitably damage many fine-grained visual information, thereby affecting the search effect of fine-grained tasks. In addition, these models are only trained on some public data sets, and the visual text knowledge they obtain is very limited. The model's autonomous evolution and generalization capabilities are poor, and it cannot cope with complex and changeable real battlefield scenes. For example, when there is no data on "camouflage clothes" in the training data, the model cannot search for the correct target. Both of these existing problems have led to the poor performance of the current algorithm. Summary of the invention

[0004] In order to overcome the shortcomings of the prior art, the present invention provides an information-guided target search method based on cross-modal self-evolving knowledge generalization, which can dynamically obtain key fine-grained information in images and texts, and introduce cross-modal knowledge in the visual language big model to achieve accurate fine-grained target search.

[0005] The main modules of the technical solution of the present invention include the following: the system includes three parts, the first part is the feature extraction and encoding process of the input image and text, the second part is the fine-grained information positioning and semantic parsing process based on the cross-modal guided attention mechanism, and the third part is the dynamic focus alignment and matching process between modalities. In the first part, the syntax tree rules are used to extract the key fine-grained information in the information text, and the image and text encoders of the visual-language pre-training model are used to encode the input image and text to obtain the feature vectors of the image and the key text. In the second part, two modules based on the cross-modal guided attention mechanism are used to perform text-guided visual fine-grained information positioning and visual-guided semantic information reconstruction respectively. In the third part, the feature vectors of the two modalities are dynamically focused and aligned, and the concept similarity is calculated to perform target search and sorting.

[0006] The technical solution adopted by the present invention to solve the technical problem includes the following steps:

[0007] Step 1: After a target image passes through the image encoder of the vision-language pre-trained model, an image feature map is obtained and recorded as is a set of real numbers, h is the height of the feature map, w is the width of the feature map, and d is the dimension of the feature in the feature map;

[0008] Step 2: Predefine grammatical rules based on natural language characteristics, use the semantic deconstructor based on NLTK (Natural Language Toolkit) to extract the key fine-grained information in the information text, and then input the key fine-grained information into the text encoder of the vision-language pre-training model to obtain the text feature vector P corresponding to the key fine-grained information:

[0009] P=[p 1 , p 2 , ...p i , ..., p k ] (1)

[0010] Among them, p i The feature vector representation of each key fine-grained information in the text, i∈[1,k], k represents the number of key fine-grained information in the text;

[0011] Step 3: Straighten the obtained image feature map I and send it together with the text feature vector P into the text-guided visual localization module to obtain the text-guided visual area;

[0012] Step 4: Design a vision-guided semantic reconstruction module with the same structure as the text-guided vision localization module;

[0013] First, the image feature map I is input into the self-attention mechanism layer and the LayerNorm layer to obtain the image feature Then, the image features As the query of the cross-modal attention mechanism, the key text features are used as the key and value of the cross-modal attention mechanism for calculation, and finally the visually guided text representation is obtained through the forward propagation layer and the maximum pooling layer (MaxPool), which is denoted as The formula is as follows:

[0014]

[0015]

[0016]

[0017] Among them, T represents the intermediate variable, Q, K and V are the query, key and value in the attention mechanism respectively, LN represents the LayerNorm layer, MHSA represents the self-attention mechanism layer, and MHCA represents the cross-modal attention mechanism layer; P represents the text feature vector, and MaxPool(T) is the maximum value pooling;

[0018] Step 5: Obtain text-guided visual region representation through the text-guided visual localization module and the visual-guided semantic reconstruction module and visually guided text representation Finally, a dynamic focus alignment mechanism is adopted to aggregate the text-guided visual region representation;

[0019] Step 6: To train the network, the widely used Cross-modal Projection Matching Loss is used for cross-modal alignment, which aims to minimize the KL divergence from the true distribution to the predicted distribution in a batch.

[0020] Through deep learning, training is performed to obtain a trained network;

[0021] Step 7: In the target retrieval stage, a large number of images and a query text are input into the network trained in step 6. After steps 1 to 5, the visual feature representation vector of each image is obtained. and query text feature representation The feature representation of each image Textual representation with visual guidance Calculate the similarity and sort them. The image with the greatest similarity is the retrieved target image.

[0022] In step 1, take The image encoder structure is ResNet-50, which avoids the image segmentation operation of ViT.

[0023] In step 3, the text-guided visual localization module includes a self-attention mechanism layer, a cross-modal attention mechanism layer, a forward propagation layer, and a LayerNorm layer; first, the key text features are input into the self-attention mechanism layer and the LayerNorm layer to obtain the key text features. Then, based on the key text features As the query of the cross-modal attention mechanism, the image features are used as the key and value of the cross-modal attention mechanism for calculation, and finally the text-guided visual area representation is obtained through the forward propagation layer and the LayerNorm layer. The text-guided visual area representation is recorded as Each local visual area representation corresponds to a key text information, the formula is as follows:

[0024]

[0025]

[0026] Among them, Q, K and V are the query, key and value in the attention mechanism respectively, LN represents the LayerNorm layer, MHSA represents the self-attention mechanism layer, and MHCA represents the cross-modal attention mechanism layer. The image feature map I is straightened and the dimension shape is Since the number of key fine-grained information in different information texts is different, The final text-guided visual region representation

[0027] In step 5, first, calculate Each local visual feature Textual representation with visual guidance Then, the cosine similarity in the cosine similarity table is used to compare each local visual feature. The Hadamard product is weighted. Finally, the feature vector obtained by the Hadamard product weighting is concatenated and max pooled before being combined with the visually guided text representation. Sum and get the final visual feature representation vector The entire calculation process is as follows:

[0028]

[0029]

[0030]

[0031] in, Representing Hadamard, Represents the Concat vector concatenation operation, s i Represents local visual features The weights of , MaxPool represents the maximum pooling operation, LN represents the LayerNorm layer, FFN represents the forward propagation layer, represents the weighted local visual features, and v represents the weighted aggregated visual features.

[0032] In step 6, the specific formula for cross-modal alignment using cross-modal projection matching loss is as follows:

[0033]

[0034]

[0035] Where n is the batch size, p i,j Indicates that in all image-text pairs Image-text pairs Similarity of q i,j is an image-text pair The true label, ε is a very small value, less than 1×10 -12 , to prevent division by 0, represents the loss function of a pair of samples in a batch of data, Represents the loss function of projecting a batch of data from images to text;

[0036] The entire loss function is a bidirectional cross-modal projection matching loss, the formula is:

[0037]

[0038] in is the loss function for projecting a batch of data from text to image, is the overall loss function of the model.

[0039] The beneficial effect of the present invention is that by cleverly introducing and generalizing the cross-modal knowledge in the visual language pre-training model, it is possible to apply the coarse-grained knowledge in the original pre-training model to fine-grained visual language tasks, so that the model has the ability to self-evolve when facing unseen targets. At the same time, the text-guided visual area localization technology based on knowledge generalization realizes the dynamic positioning of fine-grained information in the image according to text information without relying on additional network models for the task. This also solves the problem that the previous methods may cause damage to local visual information through hard segmentation, so that the key fine-grained information in the visual and textual modalities can be fully aligned to achieve fine-grained and high-performance target search. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1a This is a diagram of a syntax tree rule with a depth of 5. Figure 1b This is a diagram of a syntax tree rule with a depth of 3. Figure 1c This is a diagram of a syntax tree rule with a depth of 2.

[0041] Figure 2 Search model structure diagram for the target.

[0042] Figure 3 Visualization of the attention weights of the text-guided visual localization module for text one.

[0043] Figure 4 Visualization of the attention weights of the text-guided visual localization module for text 2.

[0044] Figure 5 Fine-grained target search effect based on cross-modal self-evolved knowledge generalization for text three.

[0045] Figure 6 Fine-grained target search effect for text four based on cross-modal self-evolved knowledge generalization.

[0046] Figure 7 The effect of fine-grained target search based on cross-modal self-evolved knowledge generalization for text 5.

[0047] Figure 8 Fine-grained target search effect based on cross-modal self-evolved knowledge generalization for text six. DETAILED DESCRIPTION

[0048] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0049] Step 1: After a target image passes through the image encoder of the vision-language pre-trained model, an image feature map is obtained and recorded as is a set of real numbers, h is the height of the feature map, w is the width of the feature map, and d is the dimension of the feature in the feature map;

[0050] Step 2: Predefine grammar rules based on natural language characteristics, such as Figure 1a , Figure 1b and Figure 1c As shown, a semantic deconstructor based on NLTK (Natural Language Toolkit) is used to extract key fine-grained information from the information text, and then the key fine-grained information is input into the text encoder of the visual-language pre-training model to obtain the text feature vector P corresponding to the key fine-grained information:

[0051] P=[P 1 , p 2 , ...p i , ..., p k ] (1)

[0052] Among them, p i The feature vector representation of each key fine-grained information in the text, i∈[1,k], k represents the number of key fine-grained information in the text;

[0053] Step 3: Straighten the obtained image feature map I and send it together with the text feature vector P into the text-guided visual localization module. The text-guided visual localization module includes a self-attention mechanism layer, a cross-modal attention mechanism layer, a forward propagation layer, and a LayerNorm layer. First, the key text features are input into the self-attention mechanism layer and the LayerNorm layer to obtain the key text features. Then, based on the key text features As the query of the cross-modal attention mechanism, the image features are used as the key and value of the cross-modal attention mechanism for calculation, and finally the text-guided visual area representation is obtained through the forward propagation layer and the LayerNorm layer. The text-guided visual area representation is recorded as Each local visual area representation corresponds to a key text information, the formula is as follows:

[0054]

[0055]

[0056] Among them, Q, K and V are the query, key and value in the attention mechanism respectively, LN represents the LayerNorm layer, MHSA represents the self-attention mechanism layer, and MHCA represents the cross-modal attention mechanism layer. The image feature map I is straightened and the dimension shape is Since the number of key fine-grained information in different information texts is different, The final text-guided visual region representation

[0057] Step 4: While using the image feature map I and the feature vector P of the key text for text-guided visual localization, since the original information text is deconstructed, it is required to associate the discrete key information through vision to obtain a text representation vector; design a visual-guided semantic reconstruction module with the same structure as the text-guided visual localization module. First, the image feature map I is input into the self-attention mechanism layer and the LayerNorm layer to obtain the image feature map. Then, the image features As the query of the cross-modal attention mechanism, the key text features are used as the key and value of the cross-modal attention mechanism for calculation, and finally the visually guided text representation is obtained through the forward propagation layer and the maximum pooling layer (MaxPool), which is denoted as The formula is as follows:

[0058]

[0059]

[0060]

[0061] T represents the intermediate variable, Q, K and V are the query, key and value in the attention mechanism respectively, LN represents the LayerNorm layer, MHSA represents the self-attention mechanism layer, and MHCA represents the cross-modal attention mechanism layer; P represents the text feature vector, and MaxPool(T) is the maximum value pooling.

[0062] Step 5: Obtain text-guided visual region representation through the text-guided visual localization module and the visual-guided semantic reconstruction module and visually guided text representation Finally, a dynamic focus alignment mechanism is adopted to aggregate the text-guided visual region representation;

[0063] First, calculate Each local visual feature Textual representation with visual guidance Then, the cosine similarity in the cosine similarity table is used to compare each local visual feature. The Hadamard product is weighted. Finally, the feature vector obtained by the Hadamard product weighting is concatenated and max pooled before being combined with the visually guided text representation. Sum and get the final visual feature representation vector The entire calculation process is as follows:

[0064]

[0065]

[0066]

[0067] in, Representing Hadamard, Represents the Concat vector concatenation operation, s i Represents local visual features The weights of , MaxPool represents the maximum pooling operation, LN represents the LayerNorm layer, FFN represents the forward propagation layer, represents the weighted local visual features, and v represents the weighted aggregated visual features;

[0068] Step 6: To train the network, the widely used cross-modal projection matching loss is used for cross-modal alignment. The purpose is to minimize the KL divergence from the true distribution to the predicted distribution in a batch. The specific formula is as follows:

[0069]

[0070]

[0071] Where n is the batch size, p i,j Indicates that in all image-text pairs Image-text pairs Similarity of q i,j is an image-text pair The true label, ε is a very small value, less than 1×10 -12 , to prevent division by 0, represents the loss function of a pair of samples in a batch of data, Represents the loss function of projecting a batch of data from images to text;

[0072] The entire loss function is a bidirectional cross-modal projection matching loss, the formula is:

[0073]

[0074] in is the loss function for projecting a batch of data from text to image, is the overall loss function of the model.

[0075] Through deep learning, the trained network is obtained through training;

[0076] Step 7: In the target retrieval stage, a large number of images and a query text are input into the network trained in step 6. After steps 1 to 5, the visual feature representation vector of each image is obtained. Textual representation with visual guidance The feature representation of each image and query text feature representation Calculate the similarity and sort them. The image with the greatest similarity is the retrieved target image.

[0077] The following is a specific embodiment of the target search method of the present invention.

[0078] The present invention provides an information-guided target search method based on cross-modal self-evolving knowledge generalization. Figure 2 As shown, the specific process is as follows:

[0079] 1. Target image preprocessing

[0080] Input candidate target images and calculate the size of the target images. If the size is less than 10K, it will be directly discarded and will not participate in the subsequent training. The images that meet the conditions are adjusted to 224×224×3 using the bilinear interpolation method to meet the image encoder's requirements for image size.

[0081] 2. Image Data Augmentation

[0082] The same target image is randomly subjected to perspective transformation, center cropping, horizontal flipping and other data augmentation methods. The X-axis rotation angle of the perspective transformation can be any value in [-30°, +30°], the Y-axis rotation angle can be any value in [-30°, +30°], and the Z-axis rotation angle can be any value in [-10°, +10°]. After center cropping, the image is scaled to maintain its size.

[0083] 3. Deconstruction of text semantic information based on grammatical rules

[0084] For the original information text description "a man wearing an orange coat, jeans, and carrying a gray and orange backpack", it is marked as D. First, the part-of-speech tagger of the Natural Language Processing Toolkit (NLTK) is introduced to tag each word in it, and the form is as follows:

[0085] D l =[(t 1 :w 1 ), (t 2 :w 2 ),...,(t i :w i ),...,(t n :w n )] is annotated description, where w i represents the i-th word in the information text description, t i Represents the part-of-speech tag of the i-th word. Then, according to the desired key information, three syntax tree rules are set as shown in Figure 1, which are:

[0086]

[0087]

[0088]

[0089] Among them, DT represents a determiner, JJ represents an adjective or an ordinal number, VB represents a verb, CC represents a conjunction, and NN represents a noun. In this way, three syntax trees with depths of 5, 3, and 2 are set. Then, each n-gram phrase in the description with part-of-speech annotation that conforms to one of the above syntax trees is extracted, and finally a set of key information prompts about the description of this information text is obtained. 1 ,λ 2 , ...λ j , ..., λ k ], where λ j is the jth key information prompt;

[0090] 4. Image encoder feature extraction based on vision-language pre-training model

[0091] After preprocessing and enhancing the image, a tensor with a shape of 224×224×3 is obtained. Then, the tensor is sent to the image encoder of the visual-language pre-trained model based on the ResNet-50 structure for feature extraction. First, the image passes through three ordinary convolutional neural network layers, each of which consists of a convolutional neural network with a kernel size of 3, a batch normalization (BatchNorm) layer, and a ReLU activation function. After passing through the ordinary convolutional neural network layer, the image tensor shape becomes 224×224×64. Subsequently, ResNet-50 has 4 residual modules, which map the tensor to feature dimensions of 256, 512, 1024, and 2048 respectively. In order to maintain its spatial features while being able to interact with the text vector, the model discards the last residual module, so that its final output image feature shape is 14×14×1024.

[0092] 5. Text encoder feature extraction based on vision-language pre-training model

[0093] After deconstructing the semantic information of the information text, we can get the relevant key information prompt set λ=[λ 1 ,λ 2 , ...λ j , ..., λ k ], these texts will be sent to the text encoder of the Transformer-based visual-language pre-trained model to extract key text information features. The text encoder contains 63M parameters, a structure of 12 attention mechanism layers, a dimension of 512, 8 heads, and a maximum input token length of 76. K prompt information is input into the text encoder to obtain k key information representation vectors related to the information text, with an overall dimension of k×1024.

[0094] 6. Text-guided visual localization

[0095] After obtaining the image feature representation and text key information representation, text-guided visual localization is used to leverage the rich cross-modal knowledge in the visual-language pre-trained model to locate the text key information in the image. The text-guided visual localization module consists of a self-attention mechanism layer, a cross-modal attention mechanism layer, and a forward propagation layer. The k prompt information representations are input into the self-attention mechanism layer for association calculation. Then, the text prompt information representation is used as the query, and the image features are used as the key and value for cross-modal attention calculation. For each key text information, its association with each position in the image feature map is calculated, and the ones with high scores are activated and the ones with low scores are suppressed, thereby performing visual localization and obtaining k text-guided visual representations with a shape of k×1024.

[0096] 7. Visually guided text semantic reconstruction

[0097] Since the original information text is discretized and deconstructed, visually guided text semantic reconstruction will be used to aggregate the key information of the text. The visually guided text semantic reconstruction module consists of a self-attention mechanism layer, a cross-modal attention mechanism layer, a forward propagation layer, and a maximum pooling layer. First, the image feature map is input into the self-attention mechanism layer. Then, the image features are used as queries, and the text key prompt information is used as keys and values ​​for cross-modal attention calculation. For each image feature area, highly correlated text prompt information is embedded. After the forward propagation layer, maximum pooling is used for aggregation to obtain a 1×1024 visually guided text representation.

[0098] 8. Dynamic Focus Target Search

[0099] In this module, the k×1024 text-guided visual representation is subjected to cosine similarity calculation with the 1×1024 visual-guided text representation to obtain the relevance, and then the Hadamard product is performed with the visual representation. The maximum value pooling is then used for aggregation to obtain a 1×1024 visual representation vector.

[0100] 9. Model training

[0101] The entire training process is end-to-end training. The model is trained using cross-modal projection matching loss, the model optimizer uses Adam optimizer, and the batch size of the input data is set to 64. A total of 80 epochs are trained, and the overall learning rate is set to 1×e -5 The learning rate is reduced by a factor of 10 after 50 epochs, and a warm-up learning rate strategy is used in the first 10 epochs.

[0102] 8. Model Application

[0103] After the above training process, multiple models can be obtained. The best model (with the smallest loss function value) is selected for application. At this time, image data processing does not require data enhancement. It only needs to adjust the image to 224×224 size and normalize it as the input of the model. The parameters of the entire network model are fixed. It only needs to input the candidate image data and information text to be searched and propagate forward. In actual experiments, the effect of text-guided visual positioning is as follows: Figure 3 and Figure 4As shown in the figure, the texts corresponding to two of the retrieved images are "a woman wearing a pink shirt with black lettering, a pair of black pants and a pair of pink shoes" and "a man wearing a gray hooded jacket, a pair of wrinkled brown pants, a gray backpack and a pair of dark shoes". The model can locate the corresponding area in the image based on each different key prompt information, which further helps the model's fine-grained hierarchical alignment ability. The final search results obtained by some experiments are as follows: Figure 5-Figure 8 As shown, the texts of four examples are "A man walking and reading, wearing a red jacket, a backpack, black pants, and yellow shoes", "The man is wearing a black jacket, gray jeans, and blue tennis shoes. He is carrying a yellow backpack", "The man is wearing a baseball cap on his head. He is carrying a black backpack on his back. He is wearing a yellow shirt and shorts" and "A man with dark hair and glasses, carrying a dark bag in his right hand, a light hoodie, a dark top, blue jeans, and a watch on his left wrist". The information-guided target search method based on cross-modal self-evolved knowledge generalization can perform good target ranking search for more complex examples with more fine-grained corresponding information.

[0104] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention are within the protection scope of the present invention.

Claims

1. An information-guided target search method based on cross-modal self-evolving knowledge generalization, characterized by The following steps are included: Step 1: After a target image passes through the image encoder of the vision-language pre-training model, an image feature map is obtained and recorded as I. is a set of real numbers, h is the height of the feature map, w is the width of the feature map, and d is the dimension of the feature in the feature map; Step 2: Predefine grammatical rules based on natural language characteristics, use the semantic deconstructor based on NLTK to extract the key fine-grained information in the information text, and then input the key fine-grained information into the text encoder of the visual-language pre-trained model to obtain the text feature vector P corresponding to the key fine-grained information: P=[p1,p2,...p i ,...,p k ] Among them, p i The feature vector representation of each key fine-grained information in the text, i∈[1,k], k represents the number of key fine-grained information in the text; Step 3: Straighten the obtained image feature map I and send it together with the text feature vector P into the text-guided visual localization module to obtain the text-guided visual area; Step 4: Design a vision-guided semantic reconstruction module with the same structure as the text-guided vision localization module; First, the image feature map I is input into the self-attention mechanism layer and the LayerNorm layer to obtain the image feature Then, the image features As the query of the cross-modal attention mechanism, the key text features are used as the key and value of the cross-modal attention mechanism for calculation, and finally the visually guided text representation is obtained through the forward propagation layer and the maximum pooling layer, which is denoted as The formula is as follows: Among them, T represents the intermediate variable, Q, K and V are the query, key and value in the attention mechanism respectively, LN represents the LayerNorm layer, MHSA represents the self-attention mechanism layer, and MHCA represents the cross-modal attention mechanism layer; P represents the text feature vector, and MaxPool(T) is the maximum value pooling; Step 5: Obtain text-guided visual region representation through the text-guided visual localization module and the visual-guided semantic reconstruction module and visually guided text representation Finally, a dynamic focus alignment mechanism is adopted to aggregate the text-guided visual region representation; First, calculate Each local visual feature Textual representation with visual guidance Then, the cosine similarity in the cosine similarity table is used to compare each local visual feature. The Hadamard product weighting is performed. Finally, the feature vector obtained by the Hadamard product weighting is subjected to vector concatenation and maximum pooling operations, and then combined with the visually guided text representation. Sum and get the final visual feature representation vector The entire calculation process is as follows: in, Representing Hadamard, Represents the Concat vector concatenation operation, s i Represents local visual features The weights of , MaxPool represents the maximum pooling operation, LN represents the LayerNorm layer, FFN represents the forward propagation layer, represents the weighted local visual features, and v represents the weighted aggregated visual features; Step 6: In order to train the network, the widely used cross-modal projection matching loss is used for cross-modal alignment, the purpose of which is to minimize the KL divergence from the true distribution to the predicted distribution in a batch; training is performed through deep learning to obtain the trained network; Step 7: In the target retrieval stage, a large number of images and a query text are input into the network trained in step 6. After steps 1 to 5, the visual feature representation vector of each image is obtained. Textual representation with visual guidance The visual feature representation vector for each image Textual representation with visual guidance Calculate the similarity and sort them. The image with the greatest similarity is the retrieved target image.

2. The information-guided target search method based on cross-modal self-evolving knowledge generalization according to claim 1 is characterized by: In step 1, take The image encoder structure is ResNet-50, which avoids the image segmentation operation of ViT.

3. The information-guided target search method based on cross-modal self-evolving knowledge generalization according to claim 2 is characterized by: In step 3, the text-guided visual localization module includes a self-attention mechanism layer, a cross-modal attention mechanism layer, a forward propagation layer, and a LayerNorm layer; first, the key text features are input into the self-attention mechanism layer and the LayerNorm layer to obtain the key text features. Then, based on the key text features As the query of the cross-modal attention mechanism, the image features are used as the key and value of the cross-modal attention mechanism for calculation, and finally the text-guided visual area representation is obtained through the forward propagation layer and the LayerNorm layer. The text-guided visual area representation is recorded as Each local visual area representation corresponds to a key text information, the formula is as follows: Among them, Q, K and V are the query, key and value in the attention mechanism respectively, LN represents the LayerNorm layer, MHSA represents the self-attention mechanism layer, and MHCA represents the cross-modal attention mechanism layer. The image feature map I is straightened and the dimension shape is Since the number of key fine-grained information in different information texts is different, The final text-guided visual region representation 4. The information-guided target search method based on cross-modal self-evolving knowledge generalization according to claim 1, characterized in that: In step 6, the specific formula for cross-modal alignment using cross-modal projection matching loss is as follows: Where n is the batch size, p i,j Indicates that in all image-text pairs Image-text pairs Similarity of q i,j is an image-text pair The true label, ε is a very small value, less than 1×10 -12 , to prevent division by 0, represents the loss function of a pair of samples in a batch of data, Represents the loss function of projecting a batch of data from images to text; The entire loss function is a bidirectional cross-modal projection matching loss, the formula is: in is the loss function for projecting a batch of data from text to image, is the overall loss function of the model.