DETR-based semi-supervised medical image target detection method
By applying a semi-supervised method based on DETR in medical image target detection, using deblurring processing, teacher-student model and pseudo-label mining technology, the problem of insufficient annotation data and weak model generalization ability is solved, and efficient and accurate detection is achieved. Medical image object detection reduces costs and improves medical quality.
Patent Information
- Application Number
- CN202410852220.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-06-28
AI Technical Summary
The problems of insufficient annotation data and weak model generalization ability in medical image target detection result in a high-cost and inefficient annotation process, making it difficult for traditional target detection methods to be effectively applied in the field of medical images.
A semi-supervised medical image object detection method based on DETR is adopted, combined with deblurring, teacher-student model, staged hybrid matching, cross-view query consistency and cost-based pseudo-label mining technology to improve model performance and generalization using unlabeled data. ability.
Significantly improves labeling efficiency, enhances model generalization capabilities, improves detection accuracy and adaptability, reduces false positive rates, enables real-time feedback and continuous learning, reduces computing resource requirements, and is cost-effective and improves medical quality. Effect.
Smart Images

Figure CN118840331A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a semi-supervised medical image target detection method based on DETR, and belongs to the field of medical image processing. Background Art
[0002] Medical image analysis plays a vital role in clinical diagnosis and treatment. It involves interpreting medical images to identify and locate anatomical structures, pathological changes, or other areas of interest in the image. Object detection is a core task in medical image analysis, which requires algorithms to accurately identify and locate structures of interest in images, such as tumors, organs, or other abnormalities. This helps doctors make more accurate diagnoses, monitor diseases, and evaluate treatment effectiveness.
[0003] However, the annotation of medical images usually requires expertise and experienced radiologists, which makes the annotation process time-consuming and costly. In addition, the diversity and complexity of medical images further increase the difficulty of annotation. Therefore, how to effectively use limited annotated data to train high-performance object detection models has become an important research topic.
[0004] Traditional object detection methods usually rely on a large amount of labeled data for training, which is difficult to achieve in the field of medical images. To overcome this challenge, semi-supervised learning has received widespread attention as a technique to improve model performance by leveraging unlabeled data. Semi-supervised learning can improve the generalization ability of the model without the need for a large amount of annotations by learning useful information from unlabeled data combined with limited labeled data.
[0005] DETR (Detection Transformer) is an end-to-end object detection model based on Transformer. It avoids the traditional anchor point generation and NMS post-processing steps by converting the object detection problem into a set prediction problem. DETR has demonstrated strong performance in natural image object detection, but when it is directly applied to medical image object detection, it still faces the challenges of insufficient labeled data and weak model generalization ability.
[0006] Therefore, this patent proposes a semi-supervised medical image target detection method based on DETR, which aims to make full use of unlabeled medical image data and improve the performance and generalization ability of the target detection model through innovative deblurring, teacher-student model, stage hybrid matching, cross-view query consistency and cost-based pseudo-label mining. This method can not only reduce the dependence on a large amount of labeled data, but also improve the accuracy and efficiency of the model in actual clinical applications. Summary of the invention
[0007] The purpose of the present invention is to propose a semi-supervised medical image target detection method based on DETR, which aims to solve the problems of insufficient labeled data and weak model generalization ability in medical image target detection by designing a series of innovative technical modules and strategies. The method includes key technologies such as defuzzification, teacher-student model, stage hybrid matching, cross-view query consistency and cost-based pseudo-label mining. Through the above design, an efficient and accurate semi-supervised medical image target detection method is realized, which can improve the performance of the model by utilizing unlabeled data in the case of limited labeled data, reduce the dependence on a large amount of labeled data, and improve the accuracy and efficiency of the model in actual clinical applications.
[0008] The purpose of the present invention is achieved through the following technical solutions:
[0009] A semi-supervised medical image target detection method based on DETR, comprising the following steps:
[0010] Step 1: Deblur
[0011] Use inaccurate blur kernels and kernel errors, additive Gaussian noise to model the image degradation process. Combine deep residual prior, total variation prior and sparse prior to limit the solution space, and model the residual, clear image and artifacts respectively. Decompose the minimization problem into two sub-problems and solve them using the gradient-based ADAM algorithm and proximal gradient descent method. Input the blurred image and parameters, and output the restored image and residual.
[0012] Step 2: Training Data
[0013] For the restored image x, a labeled image set can be used during training and unlabeled image set N s and N u denote the number of labeled and unlabeled images respectively. For a labeled image x s , annotation y s Contains the coordinates and object categories of all bounding boxes.
[0014] Step 3: Teacher-Student Model
[0015] While following the popular teacher-student paradigm in SSOD, semi-supervised DETR employs a pair of teacher and student models with the same network architecture. Specifically, in each training iteration, weakly augmented and strongly augmented unlabeled images are fed into the teacher and student, respectively. Then, the pseudo labels generated by the teacher are denoted by the confidence score greater than τ. s As supervision for training the student, the parameters of the student are updated through back-propagation, while the parameters of the teacher model are the exponential moving average (EMA) of the student.
[0016] Step 4: Stage Mix and Match
[0017] The DETR-based framework relies on a one-to-one mapping for end-to-end object detection. For a DETR-based multi-task learning system, the Hungarian algorithm can be used to perform an optimal one-to-one matching between the student predictions and the pseudo labels generated by the teacher.
[0018] However, in the early stage of SSOD training, the pseudo-labels generated by the teacher are often inaccurate and unreliable, which leads to a high risk of sparse low-quality proposals under the one-to-one assignment strategy. In order to achieve efficient semi-supervised learning with multiple positive queries, we propose to replace the one-to-one assignment with a one-to-many assignment. A high-order combination is used to classify the score s and the IoU value u as the matching cost metric. In the one-to-one assignment, M proposals with the largest m value are selected as positive samples, while the remaining proposals are regarded as negative samples.
[0019] The model is trained for T1 iterations using one-to-one assignment in the early stages of semi-supervised training, where the classification loss and regression loss are modified, and in the second stage the training is switched back to one-to-one pairing.
[0020] Step 5: Query consistency across views
[0021] In non-DETR-based SSOD frameworks, it is often convenient to use consistency regularization to minimize the teacher model f θ and the student model f′ θ Here we propose a cross-view query consistency module to enable the DETR-based architecture to learn semantically invariant features for object queries between different enhanced views. For each unlabeled image, we apply several MLPs on the RoI features extracted by RoIAlign on the pseudo bounding box set b. Then, c t and c s is regarded as a cross-view query embedding and attached to the original object query in another view as the input to the decoder. Under the semantic guidance of the input cross-view query embedding, the correspondence of the decoded features can be naturally guaranteed.
[0022] Step 6: Cost-based pseudo-label mining
[0023] In order to mine more pseudo bounding boxes with meaningful semantic information to achieve consistency learning for cross-view queries, a cost-based pseudo label mining module is proposed, which can dynamically mine reliable pseudo bounding boxes in unlabeled data. Specifically, additional bipartite matching is performed between the initial filtered pseudo bounding boxes and the prediction proposals, and the matching cost is used to describe the reliability of the pseudo bounding boxes. Subsequently, the initial pseudo boxes are clustered into two states by fitting a Gaussian mixture model in each training batch. The cost value of the reliable pseudo box cluster center is further set as a threshold, and all pseudo boxes below the threshold are collected for cross-view query consistency calculation.
[0024] Step 7: Loss Function
[0025] The final loss L is as follows:
[0026]
[0027] in and They are supervised loss and unsupervised loss, including classification loss and regression loss. c Indicates cross-view Figure 1 Causative loss. u and w c are the unsupervised loss weight and the consistency loss weight. t is the current training iteration number, and T1 is the length of time for the first stage of SHM module training.
[0028] Through the above steps, end-to-end semi-supervised medical image object detection is achieved.
[0029] The present invention innovatively integrates multiple technologies such as deblurring, teacher-student model, stage hybrid matching, cross-view query consistency and cost-based pseudo-label mining. First, by deblurring the image, the image degradation is modeled using inaccurate blur kernels and additive Gaussian noise, and a variety of prior knowledge and optimization algorithms are combined to restore the clear image. Secondly, a pair of teacher and student models with the same network architecture are used to train with strong and weak enhanced versions of unlabeled images, and the training of the student model is guided by the pseudo-labels of the teacher model. In addition, the method uses a one-to-many assignment strategy in the early stage of training to avoid the risk of low-quality suggestions, and then switches back to a one-to-one pairing strategy. Through the cross-view query consistency module, the model is able to learn the semantically invariant features of object queries between different enhanced views. At the same time, the cost-based pseudo-label mining module dynamically mines reliable pseudo bounding boxes in unlabeled data for cross-view query consistency calculation. Finally, a combination of supervised loss, unsupervised loss and cross-view Figure 1Consistency loss and corresponding weights are used to guide the training of the model. These features together constitute the core of the semi-supervised medical image object detection method based on DETR, enabling it to improve the performance of the model by utilizing unlabeled data in the case of limited labeled data.
[0030] Beneficial effects of the present invention: The present invention improves labeling efficiency, enhances the generalization ability of the model, improves detection accuracy, reduces the false positive rate, has strong adaptability, real-time feedback and continuous learning, is easy to deploy and use, cost-effective, promotes medical research, and improves medical quality. By utilizing a large amount of unlabeled medical image data and reducing the reliance on expensive and time-consuming manual labeling, the method of the present invention significantly improves labeling efficiency. The design of the teacher-student model and the cross-view query consistency module enables the model to learn invariant semantic features from different perspectives and enhancement strategies, and enhances the generalization ability of the model to unknown data. The application of defuzzification and cost-based pseudo-label mining technology improves image quality and the reliability of pseudo-labels, thereby improving the accuracy of target detection. Dynamically mining reliable pseudo-bounding boxes and combining cross-view query consistency effectively reduce false positive detection results and improve detection reliability. The multi-scale and multi-angle training strategy enables the model to adapt to medical images of different scales and perspectives, improving the adaptability of the model. The real-time feedback mechanism allows professional doctors to evaluate and correct the detection results of the model, so that the model can continue to learn and improve from practical applications. Model compression and acceleration technology enables the model to be deployed and used with limited computing resources, lowering the threshold for practical application. The method of the present invention has obvious advantages in cost-effectiveness by reducing the reliance on large amounts of labeled data and improving the training efficiency of the model. By providing efficient and accurate medical image target detection tools, the method of the present invention helps promote the development of medical research, especially in the fields of disease diagnosis, treatment monitoring, and biomedical research. In actual clinical applications, the method of the present invention can assist doctors in making faster and more accurate diagnoses, thereby improving the quality of medical services and patient satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a flow chart of the semi-supervised medical image target detection method based on DETR in the present invention.
[0032] Figure 2 It is a schematic diagram of the deblurring process in the present invention. DETAILED DESCRIPTION
[0033] The present invention will be further described below in conjunction with the accompanying drawings.
[0034] like Figure 1 , 2 As shown, a semi-supervised medical image target detection method based on DETR includes the following steps:
[0035] Step 1: Deblur
[0036] Use inaccurate blur kernels and kernel errors, additive Gaussian noise to model the image degradation process. Combine deep residual prior, total variation prior and sparse prior to limit the solution space, and model the residual, clear image and artifacts respectively. Decompose the minimization problem into two sub-problems and solve them using the gradient-based ADAM algorithm and proximal gradient descent method. Input the blurred image and parameters, and output the restored image and residual.
[0037] Step 1.1: For the deblurring problem, considering the kernel error and possible artifacts, the degradation process is expressed as:
[0038]
[0039] Among them, y and x represent the blurred image and the clear image respectively, and Δk represent the inaccurate blur kernel and kernel error, n represents the additive Gaussian noise, is the convolution operator, is the residual caused by kernel error, and h represents the artifact.
[0040] Step 1.2: Deriving x, h and r from the blurred image y is a typical ill-posed problem. In order to limit the solution space, prior information constraints on x, h and r are required. The DRP of the residual term r with sparse priors is used to fuse the total variation term with the deep image prior of the clear image x, and the sparse prior in the discrete cosine transform domain to deal with the artifact h.
[0041] The residual r is modeled using the DRP guided by the sparse prior in the spatial domain, and a customized untrained network U-Net is proposed to express the DRP without a dataset to capture the residual r; the total variation prior is used to model the clear image x; the sparse prior is used for h in the DCT domain, and the sparse prior in the DCT domain is used to model the distortion term h. The corresponding optimization problem can be expressed as follows:
[0042]
[0043] Where y∈R n1·n2 and x∈R n1·n2 Represent blurred image and clear image respectively; represents an inaccurate blur kernel; I θ (z x )∈R n1·n2 and is an untrained neural network I θ (·)and The estimated values of the clear image x and residual r are generated respectively; θ and ζ collect the corresponding network parameters; z x~N(0,σI) and z r ~N(0,σI) is the random input of the neural network; ||·|| TV is the total variation regularization. Given an inaccurate kernel and a blurred image, unsupervised inference can be performed to obtain a clear image, residuals, and artifacts.
[0044] Step 1.3: To solve this modeling problem, an alternating minimization algorithm is used. Since the variables are coupled together, the minimization problem is decomposed into two more tractable sub-problems by the following alternating minimization scheme:
[0045]
[0046] Where the superscript "i" indicates the number of iterations, and L(θ,ζ,υ) is the objective function. The detailed solutions to these two subproblems are as follows: 1) (θ,ζ) subproblem: Use the gradient-based ADAM algorithm to solve the (θ,ζ) subproblem. The gradients with respect to θ and ζ can be calculated using the standard back-propagation algorithm, where we jointly update the weights θ and ζ in the iteration.
[0047] 2) V sub-problem: Assume Then the problem of V is This can be solved exactly using proximal gradient descent.
[0048] Step 1.4: The whole process inputs the blurred image y, the inexact kernel Parameter λ s (s=1,2,3), the number of iterations is T, and finally the restored image x and residual r are obtained.
[0049] Step 2: Training Data
[0050] For the restored image x, a labeled image set can be used during training and unlabeled image set N s and N u denote the number of labeled and unlabeled images respectively. For a labeled image x s , annotation y s Contains the coordinates and object categories of all bounding boxes.
[0051] Step 3: Teacher-Student Model
[0052] While following the popular teacher-student paradigm in SSOD, semi-supervised DETR employs a pair of teacher and student models with the same network architecture. Specifically, in each training iteration, weakly augmented and strongly augmented unlabeled images are fed into the teacher and student, respectively. Then, the pseudo labels generated by the teacher are denoted by the confidence score greater than τ. sAs supervision for training the student, the parameters of the student are updated through back-propagation, while the parameters of the teacher model are the exponential moving average (EMA) of the student.
[0053] Step 4: Stage Mix and Match
[0054] The DETR-based framework relies on a one-to-one mapping of end-to-end object detection. For a DETR-based multi-task learning system, the Hungarian algorithm can be used to perform an optimal one-to-one match between the student predictions and the pseudo labels generated by the teacher:
[0055]
[0056] where ξ N is a set of permutations of N elements, It is a pseudo label and the matching cost between the student prediction results σ(i).
[0057] However, in the early stages of SSOD training, the pseudo-labels generated by the teacher are often inaccurate and unreliable, which leads to a high risk of sparse low-quality recommendations under the one-to-one assignment strategy. In order to achieve efficient semi-supervised learning with multiple positive queries, we propose to replace the one-to-one assignment with a one-to-many assignment:
[0058]
[0059] in It is a combination of M and N, indicating that each pseudo box A subset of M proposals is assigned. A high-order combination of classification score s and IoU value u is used as the matching cost metric:
[0060] m=s α ·u β
[0061] Among them, α and β control the impact of classification score and IoU during assignment. In one-to-one assignment, M proposals with the largest m value are selected as positive samples, while the remaining proposals are considered negative samples.
[0062] In the early stage of semi-supervised training, the model is trained for T1 iterations using one-to-one assignment, at which stage the classification loss and regression loss are modified:
[0063]
[0064] By assigning multiple positive samples to each pseudo-label, potentially high-quality positive samples also have the opportunity to optimize, which greatly improves the convergence speed and correspondingly obtains better-quality pseudo-labels. However, multiple positive samples for each pseudo-label will lead to repeated predictions. To alleviate this problem, we switch back to one-to-one pairing in training in the second stage. By doing so, we enjoy high-quality pseudo-labels after the first stage of training and gradually reduce repeated predictions to achieve a one-to-one assignment training detector without NMS in the second stage. The loss function for this stage is:
[0065]
[0066] Step 5: Query consistency across views
[0067] In non-DETR-based SSOD frameworks, it is often convenient to use consistency regularization to minimize the teacher model f θ and the student model f′ θ , the difference between the outputs when given the same input x but with different random augmentations:
[0068]
[0069] However, for DETR-based architectures, since there is no explicit (or deterministic) relationship between the input object query and its output prediction, it becomes impossible to perform consistency regularization. To address this issue, a cross-view query consistency module is proposed to enable the DETR-based architecture to learn semantically invariant features of object queries between different enhanced views. For each unlabeled image, on the set of pseudo bounding boxes b, we apply several MLPs on the RoI features extracted by RoIAlign:
[0070] c t =MLP(RoIAlign(F t ,b))
[0071] c s =MLP(RoIAlign(F s ,b))
[0072] where F t and F s represent the backbone features of teachers and students respectively. Then, c t and c s is treated as a cross-view query embedding and appended to the original object query in another view as input to the decoder:
[0073]
[0074] where q. and E. represent the original object query and encoded image features, respectively. and o. denote the decoded features of the cross-view query and the original object query. Note that the subscripts t and s denote the teacher and the student, respectively. Under the semantic guidance of the input cross-view query embedding, the correspondence of the decoded features can be naturally guaranteed, and we impose the following consistency loss:
[0075]
[0076] Step 6: Cost-based pseudo-label mining
[0077] In order to mine more pseudo bounding boxes with meaningful semantic information to achieve consistent learning for cross-view queries, a cost-based pseudo label mining module is proposed, which can dynamically mine reliable pseudo bounding boxes in unlabeled data. Specifically, additional bipartite matching is performed between the initial filtered pseudo bounding boxes and the predicted proposals, and the matching cost is used to describe the reliability of the pseudo bounding boxes:
[0078]
[0079] where p i , b i represents the classification and regression results for the i-th prediction proposal, and Denotes the category label and box coordinates of the jth pseudo-label. Subsequently, the initial pseudo-boxes are clustered into two states by fitting a Gaussian mixture model in each training batch. The matching cost is well aligned with the quality of the pseudo-boxes. The cost value of the reliable pseudo-box cluster center is further set as a threshold, and all pseudo-boxes below the threshold are collected for cross-view query consistency calculation.
[0080] Step 7: Loss Function
[0081] The final loss L is as follows:
[0082]
[0083] in and They are supervised loss and unsupervised loss, including classification loss and regression loss. c Indicates cross-view Figure 1 Causative loss. u and w c are the unsupervised loss weight and the consistency loss weight. t is the current training iteration number, and T1 is the length of time for the first stage of SHM module training.
[0084] Through the above steps, end-to-end semi-supervised medical image object detection is achieved.
[0085] The present invention preprocesses the medical image before deblurring, including normalization, cropping and resizing, to ensure the consistency of image quality and the standardization of model input. The present invention improves the blur kernel estimation method and uses deep learning technology to more accurately estimate the blur kernel, thereby generating a clearer image in the deblurring process. The present invention optimizes the teacher model, including using a larger model capacity, a more complex network structure or a more efficient training strategy to improve the accuracy and reliability of its pseudo-label generation; adjusts the architecture and parameters of the student model to make it more suitable for the characteristics of medical images, such as using more convolutional layers to capture local features, or introducing an attention mechanism to improve the model's attention to important areas. The present invention introduces a cross-view query consistency module, which enables the model to learn the semantically invariant features of object queries between different enhanced views. This helps to improve the generalization ability of the model for different views, thereby improving the accuracy and reliability of target detection. The present invention proposes a cost-based pseudo-label mining module for dynamically mining reliable pseudo-bounding boxes in unlabeled data for cross-view query consistency calculation. This method can mine more useful information from unlabeled data, thereby improving the performance of the model. This paper designs a method that combines supervised loss, unsupervised loss and cross-view Figure 1 The loss function of the consistency loss and the corresponding weights are used to guide the training of the model. This method can effectively balance the relationship between different losses and thus improve the performance of the model.
[0086] In addition to the above embodiments, the present invention may also have other implementation modes. Any technical solutions formed by equivalent replacement or equivalent transformation shall fall within the protection scope required by the present invention.
Claims
1. A semi-supervised medical image object detection method based on DETR, It is characterized in that The following steps are involved: Step 1: Deblur Use inaccurate blur kernel and kernel error, additive Gaussian noise to model the image degradation process; The deep residual prior, total variation prior, and sparse prior are combined to constrain the solution space and model the residual, clear image, and artifacts respectively; By decomposing the minimization problem into two sub-problems, and using the gradient-based ADAM algorithm and the proximal gradient descent method to solve them; input the blurred image and parameters, and output the restored image and residual; Step 2: Training Data For the restored image x, the labeled image set is used during training and unlabeled image set N s and N u Represents the number of labeled and unlabeled images respectively; for a labeled image x s , annotation y s Contains the coordinates and object categories of all bounding boxes; Step 3: Teacher-Student Model While following the popular teacher-student paradigm in SSOD, semi-supervised DETR employs a pair of teacher and student models with the same network architecture; specifically, in each training iteration, weakly augmented and strongly augmented unlabeled images are fed into the teacher and student, respectively; then, the pseudo-labels generated by the teacher are represented by a confidence score greater than τ s As supervision for training students; the parameters of the student are updated by back-propagation, while the parameters of the teacher model are the exponential moving average of the student; Step 4: Stage Mix and Match The DETR-based framework relies on a one-to-one mapping of end-to-end object detection; for DETR-based multi-task learning systems, the Hungarian algorithm is used to perform an optimal one-to-one match between student predictions and pseudo labels generated by the teacher; However, in the early stage of SSOD training, the pseudo-labels generated by the teacher are often inaccurate and unreliable, which leads to a high risk of sparse and low-quality recommendations under the one-to-one assignment strategy. In order to achieve efficient semi-supervised learning with multiple positive queries, we propose to replace the one-to-one assignment with a one-to-many assignment. Use high-order combinations to classify the score s and the IoU value u as the matching cost metric; in a one-to-one assignment, select the M proposals with the largest m value as positive samples, and treat the remaining proposals as negative samples; Use one-to-one assignment to train the model in the early stages of semi-supervised training. 1 Iterations, where the classification loss and regression loss are modified, and in the second phase we switch back to one-to-one pairing in training; Step 5: Query consistency across views In the non-DETR-based SSOD framework, consistency regularization is used to minimize the teacher model f θ and the student model f′ θ ; A cross-view query consistency module is proposed to enable the DETR-based architecture to learn semantically invariant features for object queries between different enhanced views; For each unlabeled image, several MLPs are applied to the RoI features extracted by RoIAlign on the pseudo bounding box set b; Then, c t and c s is treated as a cross-view query embedding and appended to the original object query in another view as the input to the decoder; Under the semantic guidance of the input cross-view query embedding, the correspondence of the decoded features is guaranteed; Step 6: Cost-based Pseudo-label Mining In order to mine more pseudo bounding boxes with meaningful semantic information to achieve consistent learning for cross-view queries, a cost-based pseudo label mining module is proposed, which dynamically mines reliable pseudo bounding boxes in unlabeled data. Specifically, additional binary matching is performed between the initial filtered pseudo bounding boxes and the predicted proposals, and the matching cost is used to describe the reliability of the pseudo bounding boxes. Subsequently, the initial pseudo boxes are clustered into two states by fitting a Gaussian mixture model in each training batch. The cost value of the reliable pseudo box cluster center is further set as a threshold, and all pseudo boxes below the threshold are collected for cross-view query consistency calculation. Step 7: Loss Function The final loss L is as follows: in and They are supervised loss and unsupervised loss, including classification loss and regression loss; L c represents the cross-view consistency loss; w u and w c are the unsupervised loss weight and the consistency loss weight; t is the current training iteration number, T 1 is the length of the first phase of training in the SHM module; Through the above steps, end-to-end semi-supervised medical image object detection is achieved.
2. A semi-supervised medical image target detection method based on DETR as claimed in claim 1, It is characterized in that The specific steps of deblurring in step 1 are as follows: Step 1.1: For the deblurring problem, considering the kernel error and possible artifacts, the degradation process is expressed as: Among them, y and x represent the blurred image and the clear image respectively, and Δk represent the inaccurate blur kernel and kernel error, n represents the additive Gaussian noise, is the convolution operator, is the residual caused by kernel error, h represents artifact; Step 1.2: Deriving x, h and r from the blurred image y is a typical ill-posed problem. In order to limit the solution space, it is necessary to constrain x, h and r with prior information. The DRP of the residual term r with sparse prior terms and the deep image prior of the clear image x are used to fuse the total variation term and the sparse prior term in the discrete cosine transform domain to deal with the artifact h. The residual r is modeled using the DRP guided by the sparse prior in the spatial domain, and a customized untrained network U-Net expressing the DRP without a dataset is proposed to capture the residual r; the total variation prior is used to model the clear image x; a sparse prior is used for h in the DCT domain, and the sparse prior in the DCT domain is used to model the distortion term h; the corresponding optimization problem is expressed as follows: Where y∈R n1·n2 and x∈R n1·n2 Represent blurred image and clear image respectively; represents an inaccurate blur kernel; I θ (z x )∈R n1·n2 and is an untrained neural network I θ (·)and The estimated values of the clear image x and residual r are generated respectively; θ and ζ collect the corresponding network parameters; z x ~N(0,σI) and z r ~N(0,σI) is the random input of the neural network; ||·|| TV is the total variation regularization; given an inaccurate kernel and a blurry image, unsupervised inference is performed to obtain a clear image, residuals, and artifacts; Step 1.3: To solve this modeling problem, an alternating minimization algorithm is used; since the variables are coupled together, the minimization problem is decomposed into two more tractable sub-problems by the following alternating minimization scheme: Where the superscript "i" represents the number of iterations, and L(θ,ζ,υ) is the objective function. The detailed solutions to these two subproblems are as follows: 1) (θ,ζ) subproblem: Use the gradient-based ADAM algorithm to solve the (θ,ζ) subproblem; use the standard back-propagation algorithm to calculate the gradients with respect to θ and ζ, and jointly update the weights θ and ζ in the iteration; 2) V sub-problem: Assume Then the problem of V is Use proximal gradient descent to find the exact solution; Step 1.4: The whole process inputs the blurred image y, the inexact kernel Parameter λ s (s=1,2,3), the number of iterations is T, and finally the restored image x and residual r are obtained.
3. A semi-supervised medical image target detection method based on DETR as claimed in claim 2, It is characterized in that The DETR-based framework in step 4 relies on a one-to-one mapping of end-to-end object detection; for the DETR-based multi-task learning system, the Hungarian algorithm is used to perform an optimal one-to-one match between the student predictions and the pseudo labels generated by the teacher: where ξ N is a set of permutations of N elements, It is a pseudo label and the matching cost between the student’s prediction result σ(i); However, in the early stages of SSOD training, the pseudo-labels generated by the teacher are often inaccurate and unreliable, which leads to a high risk of sparse low-quality recommendations under the one-to-one assignment strategy; in order to achieve efficient semi-supervised learning with multiple positive queries, we propose to replace the one-to-one assignment with a one-to-many assignment: in It is a combination of M and N, indicating that each pseudo box A subset of M proposals is assigned; a high-order combination is used to classify the score s and the IoU value u as the matching cost metric: m=s α ·u β Among them, α and β control the impact of classification scores and IoU during assignment; in one-to-one assignment, M proposals with the largest m value are selected as positive samples, while the remaining proposals are considered negative samples; Use one-to-one assignment to train the model in the early stages of semi-supervised training. 1 Iterations, at this stage modify the classification loss and regression loss: By assigning multiple positive samples to each pseudo-label, potentially high-quality positive samples also have the opportunity to optimize, which greatly improves the convergence speed and correspondingly obtains better-quality pseudo-labels; however, multiple positive samples for each pseudo-label will lead to repeated predictions; to alleviate this problem, switch back to one-to-one pairing in training in the second stage; by doing so, enjoy high-quality pseudo-labels after the first stage of training, and gradually reduce repeated predictions to achieve a one-to-one assignment training detector without NMS in the second stage; the loss function of this stage is:
4. A semi-supervised medical image target detection method based on DETR as claimed in claim 3, It is characterized in that In step 5, in the non-DETR-based SSOD framework, consistency regularization is used to minimize the teacher model f θ and the student model f′ θ , the difference between the outputs when given the same input x but with different random augmentations: However, for DETR-based architectures, since there is no explicit relationship between the input object query and its output prediction result, it becomes impossible to perform consistency regularization. To address this issue, a cross-view query consistency module is proposed to enable the DETR-based architecture to learn semantically invariant features of object queries between different enhanced views. For each unlabeled image, several MLPs are applied to the RoI features extracted by RoIAlign on the set of pseudo bounding boxes b: c t =MLP(RoIAlign(F t (b)) c s =MLP(RoIAlign(F s (b)) Among them, F t and F s represent the backbone features of teachers and students respectively; then, c t and c s is treated as a cross-view query embedding and appended to the original object query in another view as input to the decoder: Where q. and E. represent the original object query and encoded image features, respectively; and o. denote the decoded features of the cross-view query and the original object query; note that the subscripts t and s denote the teacher and the student, respectively; under the semantic guidance of the input cross-view query embedding, the correspondence of the decoded features is guaranteed, and the following consistency loss is imposed:
5. A semi-supervised medical image target detection method based on DETR as claimed in claim 4, It is characterized in that In step 6, an additional binary match is performed between the initial filtered pseudo bounding box and the predicted proposal, and the matching cost is used to describe the reliability of the pseudo bounding box: Where pi, bi represent the classification and regression results of the i-th prediction proposal, and Represents the category label and box coordinates of the jth pseudo label.
Citation Information
Patent Citations
Training method of general semi-supervised target detection framework
CN116563634A
Teacher-student network method for semi-supervised directive target detection
CN116563687A
System and method of bridging the gap between object and image-level representations for open-vocabulary detection
US20240203085A1
Cited By
Depth pseudo label enhanced end-to-end dense scene pedestrian detection method
CN119625776A
Similarity threshold false label-based semi-supervised medical image classification method and system
CN119785086A
Semi-supervised key point positioning method and semi-supervised key point positioning equipment for swallowing contrast analysis
CN119942049A
A semi-supervised key point positioning method and device for swallowing radiography analysis
CN119942049B
Laryngeal cancer multi-mode prognosis prediction method and laryngeal cancer multi-mode prognosis prediction system fusing CT image and ViT model
CN121260383A
