Microwave breast tumor detection method based on domain adversarial neural network
Through the microwave breast tumor detection method based on domain adversarial neural network, the problem of breast morphology changes affecting detection accuracy is solved, and higher detection accuracy and robustness are achieved, which is suitable for a diverse clinical environment.
Patent Information
- Application Number
- CN202410809590.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-11-01
AI Technical Summary
The problem of breast morphology changes in breast tumor detection leads to inapplicable microwave detection methods and inaccurate detection results.
Using microwave breast tumor detection method based on domain adversarial neural network, amplitude distortion and signal cropping sample enhancement is carried out by acquiring breast echo data sets in the source domain and the target domain, and a feature extractor and tumor detector are constructed, combined with convolution Model and attention mechanism, construct domain-anti-tumor detection network models, and train the network to mitigate the impact of breast morphological changes on detection performance.
It improves the accuracy of breast tumor detection, reduces the Brier Score Loss score, enhances the robustness of breast morphological changes, and provides an effective detection solution for a diverse clinical environment.
Smart Images

Figure CN118873115A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of medical signal processing, and in particular relates to a microwave breast tumor detection method based on a domain adversarial neural network. Background Art
[0002] Ultra-wideband microwave technology has significant advantages such as low electromagnetic radiation, strong penetration, and large information carrying capacity. It has considerable potential as a supplementary screening method for breast cancer. In recent years, due to the powerful nonlinear learning and representation capabilities of artificial intelligence technology, microwave intelligent detection of breast tumors based on machine learning has become a focus and prominent trend in this field. Artificial intelligence-based detection methods can apply rich prior knowledge to automatically learn the prediction model between breast scattering signals and tumor-related information from a large amount of data. However, there are great differences in breast morphology between individuals, which is a key factor affecting the diversity of scattering signals. The variability of breast morphology poses a great challenge to the generalization ability of current microwave breast tumor detection algorithms. Researching detection algorithms with good robustness is extremely important for the development of microwave breast tumor detection, which has attracted great attention from researchers at home and abroad and has become a research hotspot and difficulty in the field of microwave breast tumor detection. Summary of the invention
[0003] The purpose of the present invention is to provide a microwave breast tumor detection method based on a domain adversarial neural network, which solves the problem in the prior art that the microwave detection method is not applicable and the detection result is inaccurate due to breast morphology changes during breast tumor detection.
[0004] The technical solution adopted by the present invention is a microwave breast tumor detection method based on a domain adversarial neural network, which is specifically implemented according to the following steps:
[0005] Step 1: Obtain breast echo datasets in the source domain and the target domain;
[0006] Step 2: Perform amplitude distortion and signal clipping on the echo signal to achieve sample enhancement;
[0007] Step 3: Build a feature extractor based on the convolutional model;
[0008] Step 4, constructing a microwave breast tumor detector;
[0009] Step 5: construct source domain and target domain classifiers. The feature extractor, microwave breast tumor detector, source domain and target domain classifiers together constitute a domain-adversarial tumor detection network model.
[0010] Step 6: Training domain adversarial tumor detection network model;
[0011] Step 7: Finally, the echo data that needs to be identified as a tumor is input into the feature extractor and the tumor detector for identification;
[0012] Step 8: Output the tumor identification result.
[0013] The present invention is also characterized in that:
[0014] Step 1 is implemented as follows:
[0015] Labeled source domain data Contains breast echo signals and tumor labels, unlabeled target domain data It only contains breast echo signals, and the tumor label is unknown. The above data is used to input into the constructed domain adversarial network for determining the network parameters.
[0016] Step 2 is implemented as follows:
[0017] Step 2.1, data enhancement of the S parameters of the echo signal includes amplitude distortion of the echo signal of the antenna array, and the corresponding time step function is enhanced for the signal of each pair of antennas in the array signal, thereby realizing amplitude distortion signal enhancement;
[0018] Step 2.2, then perform overall data translation of the S parameters along the antenna number direction and perform head-to-tail alignment cropping, thereby achieving signal enhancement of time axis cropping.
[0019] Step 3 is implemented as follows:
[0020] The feature extraction module consists of multiple convolution modules, each of which consists of a convolution layer, a Maxpooling layer, a Dropout layer, and an attention mechanism module. The output of each convolution module is:
[0021]
[0022] Among them, ω con and b con Represents the weight and bias of the convolution kernel, BN γ,β represents the BatchNormalization operation with a scaling parameter of γ and a translation parameter of β. φ() represents a nonlinear activation layer. The attention mechanism module is introduced in both the channel and spatial levels during the convolution process:
[0023]
[0024]
[0025]
[0026] AvgPool and MaxPool represent average pooling and maximum pooling respectively. It is the feature vector extracted by the convolutional layer.
[0027] Step 4 is implemented according to the following steps:
[0028] Constructing tumor detection discriminator G l (x;θ l ), contains 2 fully connected layers, the number of neuron nodes is [10,2], each fully connected layer is followed by BatchNormlization operation, and ReLU activation function is used. Finally, a probability distribution function Softmax is set to map the original output value to the predicted probability value. The feature vector corresponding to the source domain data passes through the discriminator to obtain the detection result of breast tumor. Label 0 represents no tumor, and label 1 represents tumor.
[0029] The cross entropy loss function is used as the loss function and optimized during the error back propagation process of the tumor detector. The cross entropy loss function of the tumor discriminator is specifically defined as:
[0030]
[0031] Among them, n s represents the number of breast echo samples in the source domain, y and Represents the true label of the tumor and the model prediction value.
[0032] Step 5 is implemented according to the following steps:
[0033] Construct source domain and target domain classifier G d (x;θ d ), the setting is the same as that of the tumor detection discriminator, but it also includes a gradient flip layer. The adversarial network uses a gradient reversal layer. In the implementation process, the gradient reversal process is defined as a pseudo function, and the identity propagation, i.e., R, is achieved in the forward propagation process. λ (x) = x, and the gradient direction is reversed during error back propagation:
[0034]
[0035] Where I is the identity matrix, γ is a constant of 10, and p represents the relative value of the iteration process, that is, the ratio of the current number of iterations to the total number of iterations. The feature vectors of both the source domain input and the target domain input will be input into the domain classifier network to obtain the domain classification results of each input.
[0036] In order to measure the difference between the true value and the predicted value of the domain discriminator and optimize the domain discriminator in the back-propagation process, the loss function of the domain discriminator is defined as:
[0037]
[0038] in and Representative features Through the output of the domain discriminator, n s and n t Represents the number of breast echo signals in the source domain and the target domain.
[0039] The overall network loss in step 6 is:
[0040]
[0041] is the loss function of the tumor detector. The optimal parameters of the network are learned by minimizing the loss of the tumor detector and maximizing the loss of the domain discriminator. The competition between the tumor detector and the domain classifier drives the adversarial learning process to extract features that are both domain invariant and tumor discriminative in the task of breast tumor detection under different breast morphologies.
[0042] Step 7 is implemented according to the following steps:
[0043] Based on the domain adversarial breast tumor detection network trained in steps 1-6, the echo data that needs to be detected for tumor is finally input into the feature extractor and the tumor detector in turn. The feature extractor is responsible for converting the input echo data into a feature vector, which is then fed into the tumor detector to obtain the predicted probability value. The label value with a larger probability value between label 0 and label 1 is considered to be the result of tumor detection.
[0044] The beneficial effect of the present invention is that the microwave breast tumor detection method based on the domain adversarial neural network uses the breast backscatter signal with known tumor information as the source domain data to train the convolutional neural network. Subsequently, deep adversarial training is performed on the breast backscatter signal with invisible morphology and unknown tumor information in the training network to reduce the adverse effects of breast morphological changes on the detection performance. In addition, by further integrating the attention mechanism into the network, the microwave tumor detection network is more robust to breast morphological changes. It can effectively improve the accuracy of tumor detection and reduce the Brier Score Loss score, providing a promising solution for microwave tumor detection research in clinical environments with diverse breast morphological changes. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 This is a flow chart of a transfer learning method in microwave tumor detection according to an embodiment of the present invention;
[0046] Figure 2 It is a schematic diagram of data enhancement of S parameters of breast echo signal;
[0047] Figure 3Schematic diagram of the DANN-AM algorithm training process according to an embodiment of the present invention;
[0048] Figure 4(a) shows the feature distribution of convolutional neural network (CNN);
[0049] Figure 4(b) shows the feature distribution of the domain adversarial network (DANN);
[0050] FIG4( c ) is the feature distribution of the DANN-AM method proposed in the present invention;
[0051] Figure 5 This is a reliability curve evaluation of the algorithm performance of an embodiment of the present invention. DETAILED DESCRIPTION
[0052] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
[0053] The microwave breast tumor detection method based on domain adversarial neural network of the present invention is shown in the flowchart as follows: Figure 1 As shown, the specific implementation steps are as follows:
[0054] Step 1: Obtain breast echo datasets in the source domain and the target domain;
[0055] Step 1 is implemented as follows:
[0056] Labeled source domain data Contains breast echo signals and tumor labels, unlabeled target domain data It only contains breast echo signals, and the tumor label is unknown. The above data is used to input into the constructed domain adversarial network for determining the network parameters.
[0057] Step 2: Perform amplitude distortion and signal clipping on the echo signal to achieve sample enhancement;
[0058] Step 2 is implemented as follows:
[0059] Step 2.1, data enhancement of the S parameters of the echo signal includes amplitude distortion of the echo signal of the antenna array, and the corresponding time step function is enhanced for the signal of each pair of antennas in the array signal, thereby realizing amplitude distortion signal enhancement;
[0060] Step 2.2, then perform overall data translation of the S parameters along the antenna number direction and perform head-to-tail alignment cropping, thereby achieving signal enhancement of time axis cropping.
[0061] Step 3: Build a feature extractor based on the convolutional model;
[0062] Step 3 is implemented as follows:
[0063] The feature extraction module consists of multiple convolution modules, each of which consists of a convolution layer, a Maxpooling layer, a Dropout layer, and an attention mechanism module. The output of each convolution module is:
[0064]
[0065] Among them, ω con and b con Represents the weight and bias of the convolution kernel, BN γ,β represents the BatchNormalization operation with a scaling parameter of γ and a translation parameter of β. φ() represents a nonlinear activation layer. The attention mechanism module is introduced in both the channel and spatial levels during the convolution process:
[0066]
[0067]
[0068]
[0069] AvgPool and MaxPool represent average pooling and maximum pooling respectively. It is the feature vector extracted by the convolutional layer.
[0070] Step 4, constructing a microwave breast tumor detector;
[0071] Step 4 is implemented according to the following steps:
[0072] Constructing tumor detection discriminator G l (x;θ l ), contains 2 fully connected layers, the number of neuron nodes is [10,2], each fully connected layer is followed by BatchNormlization operation, and ReLU activation function is used. Finally, a probability distribution function Softmax is set to map the original output value to the predicted probability value. The feature vector corresponding to the source domain data passes through the discriminator to obtain the detection result of breast tumor. Label 0 represents no tumor, and label 1 represents tumor.
[0073] In order to measure the difference between the true value and the predicted value of the tumor detector, the cross entropy loss function is used as the loss function, and the loss function is optimized during the error back propagation process of the tumor detector. The cross entropy loss function of the tumor discriminator is specifically defined as:
[0074]
[0075] Among them, n s represents the number of breast echo samples in the source domain, y and Represents the true label of the tumor and the model prediction value.
[0076] Step 5: construct source domain and target domain classifiers. The feature extractor, microwave breast tumor detector, source domain and target domain classifiers together constitute a domain-adversarial tumor detection network model.
[0077] Step 5 is implemented according to the following steps:
[0078] Construct source domain and target domain classifier G d (x;θ d ), the settings are the same as those of the tumor detection discriminator, but an additional gradient reversal layer is included. In order to avoid the difficulty in obtaining an excellent model due to the staged training of the model, the adversarial network uses a gradient reversal layer. In the implementation process, the gradient reversal process is defined as a pseudo function, and the identity propagation, i.e., R, is achieved in the forward propagation process. λ (x) = x, and the gradient direction is reversed during error back propagation:
[0079]
[0080] Where I is the identity matrix, γ is a constant of 10, and p represents the relative value of the iteration process, that is, the ratio of the current number of iterations to the total number of iterations. The feature vectors of both the source domain input and the target domain input will be input into the domain classifier network to obtain the domain classification results of each input.
[0081] In order to measure the difference between the true value and the predicted value of the domain discriminator and optimize the domain discriminator in the back-propagation process, the loss function of the domain discriminator is defined as:
[0082]
[0083] in and Representative features Through the output of the domain discriminator, n s and n t Represents the number of breast echo signals in the source domain and the target domain.
[0084] Step 6: Train the domain adversarial tumor detection network model; minimize the error of the tumor detection discriminator and maximize the error of the domain and target domain classifiers. By minimizing the loss function, the final parameters of the adversarial network are obtained, and the model automatically extracts migration features suitable for different fields.
[0085] The overall network loss in step 6 is:
[0086]
[0087] is the loss function of the tumor detector. The optimal parameters of the network are learned by minimizing the loss of the tumor detector and maximizing the loss of the domain discriminator. The competition between the tumor detector and the domain classifier drives the adversarial learning process to extract features that are both domain invariant and tumor discriminative in the breast tumor detection task under different breast morphologies. This method is denoted as DANN-AM (Domain Adversarial Network-Attention Mechanism) method.
[0088] Step 7: Finally, the echo data that needs to be identified as a tumor is input into the feature extractor and the tumor detector for identification;
[0089] Step 7 is implemented according to the following steps:
[0090] Based on the domain adversarial breast tumor detection network trained in steps 1-6, the echo data that needs to be detected for tumor is finally input into the feature extractor and the tumor detector in turn. The feature extractor is responsible for converting the input echo data into a feature vector, which is then fed into the tumor detector to obtain the predicted probability value. The label value with a larger probability value between label 0 and label 1 is considered to be the result of tumor detection.
[0091] Step 8: Output the tumor discrimination results, and use feature distribution probability estimation and reliability curve to evaluate the model.
[0092] Example 1
[0093] The microwave breast tumor detection method based on domain adversarial neural network of the present invention is shown in the flowchart as follows: Figure 1 As shown, the specific implementation steps are as follows:
[0094] Step 1: Obtain breast echo datasets in the source domain and the target domain;
[0095] Step 2: Perform amplitude distortion and signal clipping on the echo signal to achieve sample enhancement;
[0096] Step 3: Build a feature extractor based on the convolutional model;
[0097] Step 4, constructing a microwave breast tumor detector;
[0098] Step 5: construct source domain and target domain classifiers. The feature extractor, microwave breast tumor detector, source domain and target domain classifiers together constitute a domain-adversarial tumor detection network model.
[0099] Step 6: Train the domain adversarial tumor detection network model; minimize the error of the tumor detection discriminator and maximize the error of the domain and target domain classifiers. By minimizing the loss function, the final parameters of the adversarial network are obtained, and the model automatically extracts migration features suitable for different fields.
[0100] Step 7: Finally, the echo data that needs to be identified as a tumor is input into the feature extractor and the tumor detector for identification;
[0101] Step 8: Output the tumor discrimination results, and use feature distribution probability estimation and reliability curve to evaluate the model.
[0102] Example 2
[0103] The microwave breast tumor detection method based on domain adversarial neural network of the present invention is shown in the flowchart as follows: Figure 1 As shown, the specific implementation steps are as follows:
[0104] Step 1: Obtain breast echo datasets in the source domain and the target domain;
[0105] Step 1 is implemented as follows:
[0106] Labeled source domain data Contains breast echo signals and tumor labels, unlabeled target domain data It only contains breast echo signals, and the tumor label is unknown. The above data is used to input into the constructed domain adversarial network for determining the network parameters.
[0107] Step 2: Perform amplitude distortion and signal clipping on the echo signal to achieve sample enhancement;
[0108] Step 2 is implemented as follows:
[0109] Step 2.1, data enhancement of the S parameters of the echo signal includes amplitude distortion of the echo signal of the antenna array, and the corresponding time step function is enhanced for the signal of each pair of antennas in the array signal, thereby realizing amplitude distortion signal enhancement;
[0110] Step 2.2, then perform overall data translation of the S parameters along the antenna number direction and perform head-to-tail alignment cropping, thereby achieving signal enhancement of time axis cropping.
[0111] Step 3: Build a feature extractor based on the convolutional model;
[0112] Step 4, constructing a microwave breast tumor detector;
[0113] Step 4 is implemented according to the following steps:
[0114] Constructing tumor detection discriminator G l (x;θ l), contains 2 fully connected layers, the number of neuron nodes is [10,2], each fully connected layer is followed by BatchNormlization operation, and ReLU activation function is used. Finally, a probability distribution function Softmax is set to map the original output value to the predicted probability value. The feature vector corresponding to the source domain data passes through the discriminator to obtain the detection result of breast tumor. Label 0 represents no tumor, and label 1 represents tumor.
[0115] In order to measure the difference between the true value and the predicted value of the tumor detector, the cross entropy loss function is used as the loss function, and the loss function is optimized during the error back propagation process of the tumor detector. The cross entropy loss function of the tumor discriminator is specifically defined as:
[0116]
[0117] Among them, n s represents the number of breast echo samples in the source domain, y and Represents the true label of the tumor and the model prediction value.
[0118] Step 5: construct source domain and target domain classifiers. The feature extractor, microwave breast tumor detector, source domain and target domain classifiers together constitute a domain-adversarial tumor detection network model.
[0119] Step 5 is implemented according to the following steps:
[0120] Construct source domain and target domain classifier G d (x;θ d ), the settings are the same as those of the tumor detection discriminator, but an additional gradient reversal layer is included. In order to avoid the difficulty in obtaining an excellent model due to the staged training of the model, the adversarial network uses a gradient reversal layer. In the implementation process, the gradient reversal process is defined as a pseudo function, and the identity propagation, i.e., R, is achieved in the forward propagation process. λ (x) = x, and the gradient direction is reversed during error back propagation:
[0121]
[0122] Where I is the identity matrix, γ is a constant of 10, and p represents the relative value of the iteration process, that is, the ratio of the current number of iterations to the total number of iterations. The feature vectors of both the source domain input and the target domain input will be input into the domain classifier network to obtain the domain classification results of each input.
[0123] In order to measure the difference between the true value and the predicted value of the domain discriminator and optimize the domain discriminator in the back-propagation process, the loss function of the domain discriminator is defined as:
[0124]
[0125] in and Representative features Through the output of the domain discriminator, n s and n t Represents the number of breast echo signals in the source domain and the target domain.
[0126] Step 6: Train the domain adversarial tumor detection network model; minimize the error of the tumor detection discriminator and maximize the error of the domain and target domain classifiers. By minimizing the loss function, the final parameters of the adversarial network are obtained, and the model automatically extracts migration features suitable for different fields.
[0127] The overall network loss in step 6 is:
[0128]
[0129] is the loss function of the tumor detector. The optimal parameters of the network are learned by minimizing the loss of the tumor detector and maximizing the loss of the domain discriminator. The competition between the tumor detector and the domain classifier drives the adversarial learning process to extract features that are both domain invariant and tumor discriminative in the breast tumor detection task under different breast morphologies. This method is denoted as DANN-AM (Domain Adversarial Network-Attention Mechanism) method.
[0130] Step 7: Finally, the echo data that needs to be identified as a tumor is input into the feature extractor and the tumor detector for identification;
[0131] Step 7 is implemented according to the following steps:
[0132] Based on the domain adversarial breast tumor detection network trained in steps 1-6, the echo data that needs to be detected for tumor is finally input into the feature extractor and the tumor detector in turn. The feature extractor is responsible for converting the input echo data into a feature vector, which is then fed into the tumor detector to obtain the predicted probability value. The label value with a larger probability value between label 0 and label 1 is considered to be the result of tumor detection.
[0133] Step 8: Output the tumor discrimination results, and use feature distribution probability estimation and reliability curve to evaluate the model.
[0134] Example 3
[0135] (a) Reference Figure 1 , source domain and target domain They represent the backscatter signal domains of different breast morphology models. The two data domains in the DANN framework show different marginal distributions. During the network learning process, the signal data in the source domain is labeled with tumor information, while the tumor information of the signal in the target domain is unknown. The label information of the target domain is only used for the final performance evaluation.
[0136] (b1) The S parameter of the echo signal (denoted as b t ) includes the amplitude distortion of the echo signal of the antenna array, and the distortion function can be set For each pair of antennas in the array signal (denoted as b t ) are enhanced with the corresponding time step function, so as to achieve the enhancement of the amplitude distortion signal. The enhanced signal is Take an antenna signal as an example for enhancement, such as Figure 2 As shown. By setting m different amplitude distortion functions, we can get m times the sample size of the original signal;
[0137] (b2) Then, all S parameters are shifted along the direction of antenna numbers and then cropped by aligning the head and tail, so as to achieve signal enhancement of time axis cropping. Assuming n is the number of antenna units, by performing a data overall shift of the S parameters along the direction of antenna numbers with a step length of l, the data can be enhanced to floor(n / l) times of the original data.
[0138] (c) Construct a convolutional neural network using a convolutional module f = G f (x;θ f ) is used to extract shared features between the source domain and the target domain, which includes 8 5*5 convolution kernels for feature extraction, followed by a BatchNormlization, ReLU layer and Maxpooling layer, and the temporal and spatial attention mechanisms are integrated in the convolution process. After the feature extraction network, the input image is converted into a D-dimensional feature vector.
[0139] (d) Constructing the tumor detection discriminator G l (x;θ l ), contains 2 fully connected layers, the number of neuron nodes is [10,2], each fully connected layer is followed by a BatchNormlization and ReLU layer, and finally a probability distribution function Softmax is set to map the original output value to probability. The feature vector corresponding to the source domain data passes through the discriminator to obtain the detection result of breast tumor.
[0140] (e) Construct source domain and target domain classifier G d (x;θ d), which is set up the same as the tumor detection discriminator, but includes an additional gradient reversal layer. In order to avoid the difficulty of obtaining a good model due to the staged training of the model, the adversarial network uses a gradient reversal layer, which is defined as a pseudo function in the program implementation process to achieve identity propagation (i.e., R) during the forward propagation process. λ (x) = x), and the gradient direction is reversed during error back propagation.
[0141]
[0142] Where I is the identity matrix, γ is a constant of 10, and p represents the relative value of the iteration process, that is, the ratio of the current number of iterations to the total number of iterations. Both the feature vectors of the source domain input and the target domain input are input into the network to obtain the domain classification results of each input.
[0143] (f) Train the network model to implement the tumor detection discriminator G bt (x;θ bt ) and the domain and target domain classifier G vd (x;θ vd ), the error of the proposed method can be maximized, which makes it impossible for the adversarial network to distinguish the data in the source domain and the target domain, thereby achieving accurate tumor detection. The competition between the tumor detector and the domain discriminator drives the adversarial learning process to extract features that are both domain-invariant and discriminative in the breast tumor detection task under different breast morphologies. The overall structure of the proposed method is shown in Figure 2. Figure 3 As shown. The loss function of this network architecture can be defined as:
[0144]
[0145] The relevant optimal parameters of DANN can be expressed as:
[0146]
[0147]
[0148] By minimizing the loss function, the model automatically extracts migration features applicable to different fields, and finally inputs the image data required for tumor identification into the feature extractor f=G. f (x;θ f ) and tumor detector G l (x;θ l ) to make the judgment.
[0149] The transfer learning method of the present invention generates labels for the target domain and performs adversarial training to make the data feature distribution of the source domain and the target domain tend to be consistent. The above data is used to input into the constructed domain adversarial network for determining network parameters.
[0150] (g) Kernel density estimation of features extracted from source and target domains. Figure 3 The feature distribution probabilities after introducing the domain migration strategy and without introducing the domain migration strategy are given. Specifically, Figure 4(a), Figure 4(b), and Figure 4(c) show the feature distributions of the convolutional neural network (CNN), the domain adversarial network (DANN), and the DANN-AM method proposed in this invention, respectively. As can be seen from Figure 4(a), for the CNN method without domain migration, there is a significant difference in the feature distribution between the source domain and the target domain, but Figures 4(b) and 4(c) show a favorable trend. In DANN and our proposed method DANN-AM, the feature distributions between the source domain and the target domain are significantly closer due to the incorporation of the adversarial migration strategy. This shows that it has advantages in aligning the feature spaces of different domains. The reliability graph is used to evaluate the confidence of the proposed algorithm. The BLS of CNN, DANN, and the proposed DANN-AM are 0.2054, 0.1973, and 0.1492, respectively, as shown in Figure 4(b). Figure 5 The above analysis shows that the DANN-AM algorithm has higher confidence and greater model stability.
Claims
1. A microwave breast tumor detection method based on domain adversarial neural network, characterized in that: Follow the steps below to implement it: Step 1: Obtain breast echo datasets in the source domain and the target domain; Step 2: Perform amplitude distortion and signal clipping on the echo signal to achieve sample enhancement; Step 3: Build a feature extractor based on the convolutional model; Step 4, constructing a microwave breast tumor detector; Step 5: construct source domain and target domain classifiers. The feature extractor, microwave breast tumor detector, source domain and target domain classifiers together constitute a domain-adversarial tumor detection network model. Step 6: Training domain adversarial tumor detection network model; Step 7: Finally, the echo data that needs to be identified as a tumor is input into the feature extractor and the tumor detector for identification; Step 8: Output the tumor identification result.
2. The microwave breast tumor detection method based on domain adversarial neural network according to claim 1 is characterized in that: The step 1 is specifically implemented according to the following steps: Labeled source domain data Contains breast echo signals and tumor labels, unlabeled target domain data It only contains breast echo signals, and the tumor label is unknown. The above data is used to input into the constructed domain adversarial network for determining the network parameters.
3. The microwave breast tumor detection method based on domain adversarial neural network according to claim 2 is characterized in that: The step 2 is specifically implemented according to the following steps: Step 2.1, data enhancement of the S parameters of the echo signal includes amplitude distortion of the echo signal of the antenna array, and the corresponding time step function is enhanced for the signal of each pair of antennas in the array signal, thereby realizing amplitude distortion signal enhancement; Step 2.2, then perform overall data translation of the S parameters along the antenna number direction and perform head-to-tail alignment cropping, thereby achieving signal enhancement of time axis cropping.
4. The microwave breast tumor detection method based on domain adversarial neural network according to claim 3 is characterized in that: The step 3 is specifically implemented according to the following steps: The feature extraction module consists of multiple convolution modules, each of which consists of a convolution layer, a Maxpooling layer, a Dropout layer, and an attention mechanism module. The output of each convolution module is: Among them, ω con and b con Represents the weight and bias of the convolution kernel, BN γ,β represents the BatchNormalization operation with a scaling parameter of γ and a translation parameter of β. φ(·) represents the nonlinear activation layer. The attention mechanism module is introduced in the convolution process at both the channel and spatial levels: AvgPool and MaxPool represent average pooling and maximum pooling respectively. It is the feature vector extracted by the convolutional layer.
5. The microwave breast tumor detection method based on domain adversarial neural network according to claim 4 is characterized in that: The step 4 is specifically implemented according to the following steps: Constructing tumor detection discriminator G l (x;θ l ), contains 2 fully connected layers, the number of neuron nodes is [10,2], each fully connected layer is followed by BatchNormlization operation, and ReLU activation function is used. Finally, a probability distribution function Softmax is set to map the original output value to the predicted probability value. The feature vector corresponding to the source domain data passes through the discriminator to obtain the detection result of breast tumor. Label 0 represents no tumor, and label 1 represents tumor. The cross entropy loss function is used as the loss function and optimized during the error back propagation process of the tumor detector. The cross entropy loss function of the tumor discriminator is specifically defined as: Among them, n s represents the number of breast echo samples in the source domain, y and Represents the true label of the tumor and the model prediction value.
6. The microwave breast tumor detection method based on domain adversarial neural network according to claim 5 is characterized in that: The step 5 is specifically implemented according to the following steps: Construct source domain and target domain classifier G d (x;θ d ), the setting is the same as that of the tumor detection discriminator, but it also includes a gradient flip layer. The adversarial network uses a gradient reversal layer. In the implementation process, the gradient reversal process is defined as a pseudo function, and the identity propagation, i.e., R, is achieved in the forward propagation process. λ (x) = x, and the gradient direction is reversed during error back propagation: Where I is the identity matrix, γ is a constant of 10, and p represents the relative value of the iteration process, that is, the ratio of the current number of iterations to the total number of iterations. The feature vectors of both the source domain input and the target domain input will be input into the domain classifier network to obtain the domain classification results of each input. In order to measure the difference between the true value and the predicted value of the domain discriminator and optimize the domain discriminator in the back-propagation process, the loss function of the domain discriminator is defined as: in and Representative features Through the output of the domain discriminator, n s and n t Represents the number of breast echo signals in the source domain and the target domain.
7. The microwave breast tumor detection method based on domain adversarial neural network according to claim 6 is characterized in that: The overall network loss in step 6 is: is the loss function of the tumor detector. The optimal parameters of the network are learned by minimizing the loss of the tumor detector and maximizing the loss of the domain discriminator. The competition between the tumor detector and the domain classifier drives the adversarial learning process to extract features that are both domain invariant and tumor discriminative in the task of breast tumor detection under different breast morphologies.
8. The microwave breast tumor detection method based on domain adversarial neural network according to claim 7 is characterized in that: The step 7 is specifically implemented according to the following steps: Based on the domain adversarial breast tumor detection network trained in steps 1-6, the echo data that needs to be detected for tumor is finally input into the feature extractor and the tumor detector in turn. The feature extractor is responsible for converting the input echo data into a feature vector, which is then fed into the tumor detector to obtain the predicted probability value. The label value with a larger probability value between label 0 and label 1 is considered to be the result of tumor detection.
