Weak supervision target detection method based on adversarial collaborative learning

Through the adversarial collaborative learning method, interactive adversarial training and multiple loss functions are used to solve the problems of annotation data dependence and low computational efficiency in existing weakly supervised target detection, improve detection accuracy and perception capabilities, and achieve more accurate feature representation and detection performance.

CN118644729AActive Publication Date: 2024-09-13SHANGHAI UNIV

Patent Information

Application Number
CN202410827422.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-13
Estimated Expiration
2044-06-25

AI Technical Summary

Technical Problem

Existing weakly supervised target detection methods rely on a large amount of accurately annotated data, have low computational efficiency, and are difficult to accurately represent the general information of the class. Moreover, manually designed enhancement strategies cannot effectively improve the network's diverse feature learning capabilities.

Method used

Adopting a method based on adversarial collaborative learning, interactive adversarial training is conducted through two subnetworks with the same structure but different initialization, and multiple loss functions are designed to prompt the network to learn different representations of the same instance. Through feature similarity and one-to-one difference, The loss function constrains feature representation and improves the perception of complete objects in the image.

Benefits of technology

It improves the accuracy of weakly supervised target detection, reduces labeling costs, enhances the network's ability to perceive complete objects, avoids the design limitations of class feature libraries, and achieves more accurate feature representation and detection performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118644729A
    Figure CN118644729A
Patent Text Reader

Abstract

The invention relates to a weak supervision target detection method based on adversarial collaborative learning, and the method comprises the steps: obtaining to-be-detected image data, inputting the to-be-detected image data into a pre-trained adversarial collaborative network, and outputting a target detection result, the adversarial collaborative network comprises two peer network models with the same structure, each peer network model is a standard WSOD model, and the WSOD model is a WSOD model. The WSOD model comprises a candidate region feature extractor and a task head, and the task head comprises a multi-instance detection module, an online instance classification module and a detection head. Compared with the prior art, the method has the advantages of reducing the dependence on a large amount of accurate annotation data, improving the perception capability of a complete object and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of weakly supervised target detection, and in particular to a weakly supervised target detection method based on adversarial collaborative learning. Background Art

[0002] The main task of object detection is to locate objects in images and identify their categories. With the rapid development of deep learning technology, object detection has made significant progress in many fields. Existing advanced object detection algorithms rely on a large amount of accurate instance-level annotated data for full supervision training, which not only consumes a lot of time and effort, but also requires high costs. Therefore, how to perform effective object detection in the absence of fine annotations has become an urgent problem to be solved.

[0003] Most existing weakly supervised object detection methods usually follow the Multiple Instance Learning (MIL) paradigm, and perform multi-class classification of region proposals through a two-stream structure. However, due to the intra-class diversity and lack of position information of similar objects, the classification network focuses more on local discriminative regions, which easily leads to lower scores for proposed regions containing more complete objects, resulting in misclassification or missed detection. In addition, existing methods rely on manually designed enhancement strategies or class feature libraries to eliminate the bias of discriminative regions, but these methods are computationally inefficient and cannot accurately represent the general information of classes. The paper Proposal cluster learning for weakly supervised object detection follows the multiple instance detection network MIDN of the multiple instance learning paradigm, and models WSOD (Weakly Supervised Object Detection) as a multi-class classification problem on a set of region proposals. Some existing improved methods, such as C-MIDN and P-MIDN, try to remove the highest-scoring discriminative regions to find the remaining discriminative parts by designing complementary MIDN modules. However, these methods have limited effectiveness when dealing with problems with multiple instances of the same category. In addition, IM-CFB and NDI introduce class feature libraries to collect intra-class diversity information and absolute error discrimination information, and use class feature libraries to guide model training to improve the network's ability to learn diverse features. However, these methods rely on the statistical information of the global data set and are limited by the design of the class feature library, making it difficult to accurately represent the general information of the class. The ODCL and IENET methods are based on the idea of ​​consistency regularization and use image enhancement and feature enhancement strategies to improve the discrimination ability of the classification network. However, due to the particularity of the target detection task, some areas in the image are not regions of interest (ROIs), and the method of enhancing the image and then extracting ROI regional features is computationally inefficient. In addition, both image enhancement and feature enhancement rely on manual design methods, making it difficult to ensure that the network can learn useful data diversity.

[0004] In summary, the existing technology has the following shortcomings:

[0005] 1. Reliance on a large amount of accurately labeled data: Advanced object detection algorithms require a large amount of accurate instance-level labeled data for full supervision training. This labeling process is time-consuming and expensive, limiting its scope of application.

[0006] 2. Limitations of the Multiple Instance Learning (MIL) method: The MIL method performs multi-class classification of region proposals through a two-stream structure. However, due to the intra-class diversity and lack of position information of similar objects, the classification task can only distinguish the proposal boxes containing discriminative regions, while the proposal regions containing more complete objects have lower scores and are easily misclassified or missed.

[0007] 3. Enhancement strategies that rely on manual design: Methods such as ODCL and IENET rely on image enhancement and feature enhancement to improve the discrimination ability of the classification network, but these enhancement methods rely on manual design and it is difficult to ensure that the network learns useful data diversity. In addition, it is computationally inefficient to enhance the image and then extract the ROI region features.

[0008] 4. Design limitations of class feature libraries: IM-CFB and NDI methods collect intra-class diversity information and absolute error discrimination information through class feature libraries to improve the network's diversity feature learning ability, but these methods are limited by the design of class feature libraries and it is difficult to accurately represent the general information of the class. Summary of the invention

[0009] The purpose of the present invention is to provide a weakly supervised target detection method based on adversarial collaborative learning to improve the accuracy of weakly supervised target detection.

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

[0011] A weakly supervised target detection method based on adversarial collaborative learning includes the following steps:

[0012] Obtain image data to be detected, input it into a pre-trained adversarial collaborative network, and output a target detection result, wherein the adversarial collaborative network includes two sibling network models with the same structure, each sibling network model is a standard WSOD model, and the WSOD model includes a candidate region feature extractor and a task head, and the task head includes a multi-instance detection module, an online instance classification module, and a detection head;

[0013] The steps of training the adversarial collaborative network include:

[0014] Get image data and its corresponding candidate box;

[0015] Input the image data and the corresponding candidate boxes into the candidate region feature extractors of the respective WSOD models, respectively, to extract the candidate region features;

[0016] The candidate region features are respectively input into the multi-instance detection module, the online instance classification module and the detection head of the respective task heads for processing, so as to obtain the image-level classification score and pseudo-label, the category prediction probability and pseudo-label of the candidate box, and the position and category prediction of the target instance;

[0017] Based on the image-level classification scores, the category prediction probabilities of the candidate boxes, the locations and category predictions of the target instances, a variety of loss functions are constructed to perform interactive adversarial training on the two WSOD models until the training is completed.

[0018] Furthermore, a Selective Search algorithm is used to obtain the candidate box corresponding to the image data.

[0019] Furthermore, the candidate region feature extractor includes a backbone network layer, a RoI pooling layer and two fully connected layers, and the step of extracting the candidate region features includes:

[0020] Based on the image data, extracting image features using the backbone network layer;

[0021] The image features and candidate boxes are input into the RoI pooling layer and two fully connected layers for processing to obtain candidate region features.

[0022] Furthermore, the multi-instance detection module includes two parallel branch streams, namely a classification stream and a detection stream, each of which includes a fully connected layer and a softmax layer, and the step of obtaining the image-level classification score by the multi-instance detection module includes:

[0023] For the classification flow, the candidate region features are passed through a fully connected layer to generate a classification score matrix P cls , and apply the softmax layer operation to P according to the category dimension cls , to produce classification scores;

[0024] For the detection flow, the candidate region features are passed through a fully connected layer to generate a detection score matrix P det , and apply the softmax layer operation to P according to the candidate box dimension det , to generate a detection score;

[0025] Based on the classification score and the detection score, the image-level classification score is generated by summing up. The expression of the image-level classification score is:

[0026] P img =∑(P cls *P det )

[0027] Where P img is the image-level classification score.

[0028] Furthermore, the loss function includes an image-level label loss function, and the image-level classification score is directly supervised by the image-level label to obtain the image-level label loss function, which is used to supervise the training of the multi-instance detection module. The expression of the image-level label loss function is:

[0029]

[0030] Where, L mil is the image-level label loss, is the image label, indicating whether the image contains category c, It is the image classification prediction score, which indicates the predicted probability of the image containing category c.

[0031] Furthermore, the online instance classification module includes a plurality of cascaded online classifiers, and the predicted categories of the candidate boxes are gradually refined by the plurality of cascaded online classifiers to obtain the final category prediction probability of the candidate boxes.

[0032] Furthermore, the detection head includes two parallel branches, each branch includes a classifier and a regressor, and the classifier and regressor respectively generate category predictions and position predictions of the target instance based on the candidate region features, wherein in the process of generating the category predictions and position predictions of the target instance, the detection head is supervised by the pseudo-labels generated by the last level of the online instance classification module.

[0033] Furthermore, in the interactive adversarial training process, the pseudo labels generated by the multi-instance detection module and the online instance classification module in one WSOD model are used as supervision signals for the multi-instance detection module and the online instance classification module in another WSOD model, respectively generating classification loss and detection loss, wherein the expressions of the classification loss and detection loss functions are:

[0034]

[0035] Where, L cls is the classification loss, L det is the detection loss, R is the number of candidate region features, CE represents the cross entropy loss, and R p Indicates the number of features of the candidate regions of the positive samples, denote classification and detection pseudo labels respectively, It represents the prediction of the features of the r-th candidate region by the classification branch and the detection branch, and SmoothL1(·) is the smoothed absolute value loss.

[0036] Furthermore, the loss function includes a feature similarity loss function, which constrains the distance between the candidate region feature and the anchor feature of its corresponding category, wherein the anchor feature of the category is obtained by predicting the probability of the high-scoring candidate box category of each category during the training process, and the expression of the feature similarity loss function is:

[0037]

[0038] In the formula, K represents the number of features of each class, f r , are the rth candidate region feature and the kth class feature of the cth category, respectively, L simi is the feature similarity loss, R is the number of candidate region features, is the indicator function, M r Indicates whether the rth candidate region feature is a positive sample, 1 indicates a positive sample, is the maximum value of all class feature confidences, d r is the mean similarity between the candidate region and all class features.

[0039] Furthermore, the loss function includes a one-to-one differentiation loss function, which is formed based on the supervision process by using the candidate region features obtained by one WSOD model as labels to supervise the prediction of the candidate region features obtained by another WSOD model. The expression of the one-to-one differentiation loss function is:

[0040]

[0041] In the formula, is the feature distance calculation function, 1 is to make the calculated distance value range [0, 1], are the r-th candidate region features of the first network and the r-th candidate region features of the second network, R is the number of candidate region features, Δ indicates no gradient propagation, and L dis It is a one-to-one differentiation loss.

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

[0043] (1) The present invention designs a network based on adversarial collaborative learning, which consists of two subnetworks with the same structure but different initializations. By designing a loss function, the network is prompted to learn different representations of the same instance, and feature collaborative learning is performed by constraining the consistency of different representation prediction results to mine more valuable feature representations, thereby improving the perception ability of complete objects in the image and improving the accuracy of weakly supervised target detection.

[0044] (2) The present invention collects common information of each category by combining two subnets to iteratively collect common information of each category, and limits the differentiation range of feature representation within a certain range of statistical information through feature similarity loss constraints, so that the network can perceive different feature semantic information and limit the range of semantic information representation to reduce irrelevant information interference. The class feature library only plays a role in limiting the range of feature representation, thereby avoiding the need for more accurate common features.

[0045] (3) The one-to-one differentiation loss of the present invention specifically distances the features of the same instance region from the two networks, forcing the two networks to extract semantic information of the same spatial position from different perspectives, thereby improving the network's perception of complete objects. The range of feature distance is limited at the feature level and task level.

[0046] (4) The present invention adopts a weakly supervised learning method and only uses rough image-level annotation information for network training, thereby reducing the annotation cost.

[0047] (5) The present invention promotes the network to learn different representations of the same instance through feature adversarial learning and consistency constraints, and performs collaborative learning through consistency constraints on prediction results of different representations. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a schematic diagram of the method flow of the present invention;

[0049] Figure 2 It is the WSOD model structure diagram of the present invention;

[0050] Figure 3 This is a diagram of the adversarial collaborative network structure of the present invention. DETAILED DESCRIPTION

[0051] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.

[0052] This embodiment provides a weakly supervised target detection method based on adversarial collaborative learning. Figure 1 As shown, the method comprises the following steps:

[0053] S1. Interactive adversarial training.

[0054] This step is for Figure 2 The adversarial collaborative network shown performs interactive adversarial training to solve the problem of effectively using image-level rough annotation information for network training in weakly supervised target detection to improve the perception ability of complete objects.

[0055] like Figure 2 and 3 As shown, the adversarial collaborative network consists of two sibling networks with the same structure. These two sibling networks are basic WSOD models. The WSOD model includes a candidate region feature extractor and a task head. The candidate region feature extractor includes a backbone network layer (VGG16), a RoI pooling layer, and two fully connected layers to extract candidate region features. The task head includes a multi-instance detection module, an online instance classification module, and a detection head to input the extracted candidate region features into each module, generate image-level classification scores and pseudo labels for proposals (candidate regions), and cascade output the category prediction probability and pseudo labels of the candidate boxes, the location and category prediction of the target instances.

[0056] The execution steps of the candidate region feature extractor are:

[0057] Given image data I and its image-level label represented as Y img And the set of candidate region proposal boxes R, the candidate region features are obtained through the convolution backbone, RoI pooling layer and two fully connected layers, where the candidate region proposal boxes are generated by the Selective Search algorithm.

[0058] like Figure 3 As shown in Figure 2, the two WSOD models have the same input and extract the candidate region features through the candidate region feature extractor.

[0059] like Figure 2 As shown, the execution process of the task header is:

[0060] In the multi-instance detection module, the basic WSOD module consists of a two-stream network structure of a multi-instance learning scheme, namely, the classification stream and the detection stream. The classification score matrix P cls is generated by the FC (fully connected) layer. Then, the softmax operation is applied to P along the category dimension cls , to produce the classification score. Similarly, the detection score matrix P det is generated by another parallel FC layer. Then the softmax operation is applied along the candidate box dimension to P det , to produce the detection score. Finally, the image-level classification score is generated by summing over all proposals:

[0061] P img =∑(P cls *P det )

[0062] The image-level classification loss is supervised by the image-level label training, and the expression of the image-level classification loss function is:

[0063]

[0064] Where Lmil is the image-level label loss, is the image label, indicating whether the image contains category c, It is the image classification prediction score, which indicates the predicted probability of the image containing category c.

[0065] In order to improve the accuracy of proposal classification, this embodiment adopts an online instance classification module, combined with multiple cascaded online classifiers to gradually refine the classification results. The online instance classifier is composed of a fully connected layer FC. Specifically, for each existing category, the online instance classification module selects the highest scoring candidate box of the i-th classifier and its surrounding candidate boxes as positive samples to generate a hard pseudo label Y oicr-i These labels are then used to train the subsequent (i+1)th classifier using a weighted cross entropy loss.

[0066] In addition, the detection head (R-CNN) consists of two parallel branch classifiers and regressors for instance category prediction and location prediction tasks, respectively. The R-CNN head is supervised by the pseudo-labels generated by the last stage of the online instance classification module, which consist of classification and regression labels. Weighted cross entropy loss and smoothed L1 loss are applied to these two tasks, respectively.

[0067] This example uses mutual supervision of task heads to constrain the learning of the network. That is, the pseudo labels generated by the task head of network 1 (a sibling network) supervise the task head of network 2 (another sibling network), and vice versa. Specifically, the pseudo labels generated by the multi-instance detection module and online instance classification module of network 1 are used as supervision signals for the online instance classification module and detection head of network 2 to generate classification loss and detection loss respectively. The classification loss and detection loss functions are:

[0068]

[0069] Where R represents the number of candidate region features, R p represents the number of features of the candidate regions of the positive samples, CE represents the cross entropy loss, denote classification and detection pseudo labels respectively, Represents the prediction of the rth candidate box by the classification branch and the detection branch.

[0070] This embodiment proposes a one-to-one differentiation loss on the candidate region features between peer networks. Its purpose is to force the network to mine other valuable semantic information by increasing the feature distance of the same region. The specific method is to use the candidate region features of one branch network as labels to supervise the prediction of the candidate region features of another branch network. The one-to-one differentiation loss function is:

[0071]

[0072] in They are the r-th candidate box features of the first network and the r-th candidate box features of the second network respectively. R is the number of candidate box features, and Δ indicates that there is no gradient propagation.

[0073] In order to avoid learning invalid information such as background, this embodiment maintains a general class feature library (anchor feature library), which combines two subnets to iteratively collect general information of each category, selects the candidate features that best represent each category according to the confidence of the multi-instance detection module, and uses its feature vector to update the class feature library. By using feature similarity loss, that is, constraining the distance between the candidate region features and their corresponding class features, the candidate region features are limited to the feature representation range of their corresponding categories, which can limit the network's learning scope of instance features to a certain extent. The specific approach is to classify the candidate region features according to the classification confidence, and use the corresponding class features as their feature labels to supervise the candidate region features. The feature similarity loss function is:

[0074]

[0075] where f r , are the rth candidate box feature and the kth class feature of the cth category respectively. K represents the number of each class feature. R represents the number of candidate region features. is the indicator function, M r Indicates whether the rth candidate feature is a positive sample, 1 indicates a positive sample.

[0076] Through the above loss function, interactive adversarial training of the adversarial collaborative network is realized, so that the adversarial collaborative network can achieve good detection performance.

[0077] S2. Target detection.

[0078] In this step, the target detection result can be output by obtaining the image data to be detected and inputting it into the adversarial collaborative network trained in step S1.

[0079] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program code.

[0080] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The schemes in the embodiments of the present invention may be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.

[0081] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0082] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0083] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0084] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0085] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A weakly supervised target detection method based on adversarial collaborative learning, characterized in that: The following steps are involved: Obtain image data to be detected, input it into a pre-trained adversarial collaborative network, and output a target detection result, wherein the adversarial collaborative network includes two sibling network models with the same structure, each sibling network model is a standard WSOD model, and the WSOD model includes a candidate region feature extractor and a task head, and the task head includes a multi-instance detection module, an online instance classification module, and a detection head; The steps of training the adversarial collaborative network include: Get image data and its corresponding candidate box; Input the image data and the corresponding candidate boxes into the candidate region feature extractors of the respective WSOD models, respectively, to extract the candidate region features; The candidate region features are respectively input into the multi-instance detection module, the online instance classification module and the detection head of the respective task heads for processing, so as to obtain the image-level classification score and pseudo-label, the category prediction probability and pseudo-label of the candidate box, and the position and category prediction of the target instance; Based on the image-level classification scores, the category prediction probabilities of the candidate boxes, the locations and category predictions of the target instances, a variety of loss functions are constructed to perform interactive adversarial training on the two WSOD models until the training is completed.

2. According to claim 1, a weakly supervised target detection method based on adversarial collaborative learning is characterized in that: The candidate box corresponding to the image data is obtained by using a Selective Search algorithm.

3. According to claim 1, a weakly supervised target detection method based on adversarial collaborative learning is characterized in that: The candidate region feature extractor includes a backbone network layer, a RoI pooling layer and two fully connected layers, and the step of extracting the candidate region features includes: Based on the image data, extracting image features using the backbone network layer; The image features and candidate boxes are input into the RoI pooling layer and two fully connected layers for processing to obtain candidate region features.

4. According to claim 1, a weakly supervised target detection method based on adversarial collaborative learning is characterized in that: The multi-instance detection module includes two parallel branch streams, namely a classification stream and a detection stream, each of which includes a fully connected layer and a softmax layer. The step of obtaining the image-level classification score by the multi-instance detection module includes: For the classification flow, the candidate region features are passed through a fully connected layer to generate a classification score matrix P cls , and apply the softmax layer operation to P according to the category dimension cls , to produce classification scores; For the detection flow, the candidate region features are passed through a fully connected layer to generate a detection score matrix P det , and apply the softmax layer operation to P according to the candidate box dimension det , to generate a detection score; Based on the classification score and the detection score, the image-level classification score is generated by summing up. The expression of the image-level classification score is: P img =∑(P cls *P det ) Where P img is the image-level classification score.

5. The weakly supervised target detection method based on adversarial collaborative learning according to claim 4 is characterized in that: The loss function includes an image-level label loss function. The image-level classification score is directly supervised by the image-level label to obtain the image-level label loss function, which is used to supervise the training of the multi-instance detection module. The expression of the image-level label loss function is: Where, L mil is the image-level label loss, is the image label, indicating whether the image contains category c. It is the image classification prediction score, which indicates the predicted probability of category c in the image.

6. The weakly supervised target detection method based on adversarial collaborative learning according to claim 1, characterized in that: The online instance classification module includes a plurality of cascaded online classifiers, through which the predicted categories of the candidate boxes are gradually refined to obtain the final category prediction probability of the candidate boxes.

7. The weakly supervised target detection method based on adversarial collaborative learning according to claim 1, characterized in that: The detection head includes two parallel branches, each branch includes a classifier and a regressor, and the classifier and the regressor respectively generate category predictions and position predictions of the target instance based on the candidate region features, wherein in the process of generating the category predictions and position predictions of the target instance, the detection head is supervised by the pseudo-labels generated by the last stage of the online instance classification module.

8. The weakly supervised target detection method based on adversarial collaborative learning according to claim 1, characterized in that: In the interactive adversarial training process, the pseudo labels generated by the multi-instance detection module and the online instance classification module in one WSOD model are used as supervision signals for the multi-instance detection module and the online instance classification module in another WSOD model, respectively generating classification loss and detection loss, wherein the expressions of the classification loss and detection loss functions are: Where, L cls is the classification loss, L det is the detection loss, R is the number of candidate region features, CE represents the cross entropy loss, and R p Indicates the number of features of the candidate regions of the positive samples, denote classification and detection pseudo labels respectively, It represents the prediction of the features of the r-th candidate region by the classification branch and the detection branch, and SmoothL1(·) is the smoothed absolute value loss.

9. The weakly supervised target detection method based on adversarial collaborative learning according to claim 1, characterized in that: The loss function includes a feature similarity loss function, which constrains the distance between the candidate region feature and the anchor feature of its corresponding category, wherein the anchor feature of the category is obtained by predicting the probability of the high-scoring candidate box category of each category during the training process. The expression of the feature similarity loss function is: In the formula, K represents the number of features of each class, f r , are the rth candidate region feature and the kth class feature of the cth category, respectively, L simi is the feature similarity loss, R is the number of candidate region features, is the indicator function, M r Indicates whether the rth candidate region feature is a positive sample, 1 indicates a positive sample, is the maximum value of all class feature confidences, d r is the mean similarity between the candidate region and all class features.

10. The weakly supervised target detection method based on adversarial collaborative learning according to claim 1, characterized in that: The loss function includes a one-to-one differentiation loss function, which is formed based on the supervision process by using the candidate region features obtained by one WSOD model as labels to supervise the prediction of the candidate region features obtained by another WSOD model. The expression of the one-to-one differentiation loss function is: In the formula, is the feature distance calculation function, 1 is to make the calculated distance value range [0,1], are the r-th candidate region features of the first network and the r-th candidate region features of the second network, R is the number of candidate region features, Δ indicates no gradient propagation, and L dis It is a one-to-one differentiation loss.

Citation Information

Patent Citations

  • Weak supervision time sequence action positioning method and system based on bimodal cooperation

    CN111914644A

  • Weak supervision remote sensing target detection method based on hybrid hole convolution

    CN112183414A

  • Weak supervision target detection method and system

    CN114648665A

  • Method and system for detecting weak target in image based on self-training and label anti-noise

    CN115019133A

  • Learning apparatus, learning method, object detection apparatus, object detection method, learning support system and learning support method

    US20230132770A1

Cited By

  • Unmanned aerial vehicle visual angle target detection method and system based on self-regularization point supervision

    CN120279444A