A method and device for detecting radio frequency interference of radio astronomy signals
The D-Unet model through weakly supervised learning and deformable attention sampling modules solves the problem of low recognition accuracy of traditional radio frequency interference detection methods in complex scenes, achieves efficient radio frequency interference detection, reduces data annotation costs, and Improved recognition accuracy.
Patent Information
- Application Number
- CN202410920447.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-07-10
AI Technical Summary
Traditional radio frequency interference detection methods are difficult to effectively deal with complex and diverse radio frequency interference sources. Especially when the cost of data annotation is high and annotation data is scarce, it is difficult to achieve high-accuracy radio frequency interference identification.
Weakly supervised learning method is used to construct a labeled training set through pre-training model and comparative learning. Combined with the D-Unet model of the deformable attention sampling module, the radio frequency interference detection model is trained and verified, and the sampling position is dynamically adjusted to capture complex features. , improve recognition accuracy.
It effectively saves the cost of manually labeling training set samples, improves the recognition accuracy of radio frequency interference signals, can more accurately capture radio frequency interference patterns in complex scenes, and enhances the accuracy of detection.
Smart Images

Figure CN118470468B
Abstract
Description
Technical Field
[0001] The invention relates to a method and a device for detecting radio frequency interference of radio astronomy signals, and belongs to the field of image processing based on computer vision. Background Art
[0002] In modern wireless communication systems, radio frequency interference (RFI) is a common problem that seriously affects communication quality and system performance. With the rapid popularization of wireless devices and the increasing shortage of spectrum resources, RF interference from various sources has become increasingly complex and difficult to predict. Effectively detecting RF interference is crucial to ensuring the normal operation of wireless communication systems. However, traditional RF interference detection methods face many challenges, and new technologies and methods are urgently needed to address this problem.
[0003] There are many sources of RF interference, including natural interference (such as lightning), man-made interference (such as power equipment), and signal interference from other wireless communication devices. Traditional RF interference detection methods mainly rely on expert knowledge and rules. However, as the sources of interference become more complex and diverse, these methods are becoming increasingly difficult to deal with effectively. In addition, RF signals themselves are high-dimensional, nonlinear, and time-varying, making traditional methods incapable of handling complex interference scenarios.
[0004] The introduction of machine learning technology provides a new solution for RFI detection. By utilizing a large amount of historical data and complex pattern recognition algorithms, machine learning can automatically learn and extract useful information from data without clear rules. However, the labeling of RFI data is arduous and expensive, and the fully supervised learning method is not realistic in this case. In this context, weakly supervised learning, as an emerging machine learning method, has shown great potential. How to use weakly supervised learning to participate in RFI detection of radio astronomy signals has become a problem that needs to be solved.
[0005] In view of this, the present invention is proposed. Summary of the invention
[0006] The present invention provides a method and device for detecting radio frequency interference of radio astronomical signals. A labeled training set is constructed according to a weakly supervised learning method. Further, training and verification of a D-Unet-based radio frequency interference detection model are implemented according to the labeled training set and the labeled verification set. Then, radio frequency interference detection of a radio time-frequency image corresponding to a real radio astronomical signal is implemented according to the trained D-Unet-based radio frequency interference detection model.
[0007] The technical solution of the present invention is:
[0008] According to a first aspect of the present invention, a method for detecting radio frequency interference of radio astronomical signals is provided, comprising: obtaining real observation data obtained by observing and recording radio astronomical signals with a radio telescope; converting the real observation data into radio time-frequency images to construct an unlabeled training set; constructing a labeled training set based on the unlabeled training set and the corresponding pseudo-mask label images generated; constructing a labeled verification set based on a first preset number of radio time-frequency images randomly selected from the unlabeled training set and the corresponding real mask label images; constructing an unlabeled test set based on a second preset number of radio time-frequency images randomly selected from the unlabeled training set; training and verifying a D-Unet-based radio frequency interference detection model based on the labeled training set and the labeled verification set to obtain a trained D-Unet-based radio frequency interference detection model; and using the radio time-frequency images in the unlabeled test set as inputs of the trained D-Unet-based radio frequency interference detection model to obtain a radio frequency interference mask image.
[0009] The method of constructing a labeled training set based on an unlabeled training set and a corresponding pseudo-mask label image generated includes: inputting an original radio time-frequency image in the unlabeled training set, calling a pre-trained model to generate an initial pseudo-mask image according to a class activation mapping method; using a CCAM contrast learning method to generate background prompts for the original radio time-frequency image for generating the initial pseudo-mask image, combining the background prompts with the initial pseudo-mask image, and using an Argmax operation to generate an improved pseudo-mask label image; and saving the unlabeled training set and the generated improved pseudo-mask label image as a labeled training set.
[0010] The method of constructing a labeled verification set based on a first preset number of radio time-frequency images randomly selected from an unlabeled training set and the corresponding true mask label images includes: randomly selecting a first preset number of radio time-frequency images from the unlabeled training set, annotating and saving them as true mask label images, and using the selected first preset number of radio time-frequency images and the corresponding true mask label images as a labeled verification set.
[0011] The D-Unet-based radio frequency interference detection model includes an encoder and a decoder; the encoder and decoder based on the D-Unet radio frequency interference detection model use the encoder and decoder of the U-Net model as a framework, and three downsampling operations are adopted in the encoder; three upsampling operations and two convolutional layers are adopted in the decoder, and a first deformable attention sampling module is introduced after the fusion features of the first upsampling operation and the second downsampling operation of the encoder are connected to the first convolutional layer, and a second deformable attention sampling module is introduced after the fusion features of the second upsampling operation and the first downsampling operation of the encoder are connected to the second convolutional layer; wherein the first deformable attention sampling module and the second deformable attention sampling module have the same structure.
[0012] The downsampling operation in the encoder uses a 3×3 convolution + Relu operation, the upsampling operation in the decoder uses a 3×3 deconvolution + Relu operation, and the two convolutional layers of the decoder use a 1×1 convolution + Relu operation.
[0013] The first deformable attention sampling module and the second deformable attention sampling module are specifically as follows: the input feature map is divided into two branches, the first branch passes through a standard convolution layer for preliminary feature extraction; the deformable convolution layer dynamically adjusts the position of the convolution kernel by learning the offset based on the standard convolution layer; the second branch is directly passed to the output through the identity mapping, and the output of the identity mapping will be fused with the output of the deformable convolution layer in the first branch to obtain the output feature map of the deformable attention sampling module.
[0014] According to a second aspect of the present invention, a radio frequency interference detection device for radio astronomy signals is provided, comprising: an acquisition module for acquiring real observation data obtained by observing and recording radio astronomy signals with a radio telescope; a first construction module for converting the real observation data into radio time-frequency images to construct an unlabeled training set; a second construction module for constructing a labeled training set based on the unlabeled training set and the corresponding pseudo-mask label images generated; a labeled verification set is constructed based on a first preset number of radio time-frequency images randomly selected from the unlabeled training set and the corresponding real mask label images; an unlabeled test set is constructed based on a second preset number of radio time-frequency images randomly selected from the unlabeled training set; a first acquisition module is used to train and verify a D-Unet-based radio frequency interference detection model based on the labeled training set and the labeled verification set to obtain a trained D-Unet-based radio frequency interference detection model; and a second acquisition module is used to use the radio time-frequency images in the unlabeled test set as inputs of the trained D-Unet-based radio frequency interference detection model to obtain a radio frequency interference mask image.
[0015] According to a third aspect of the present invention, a terminal device is provided, comprising a memory and a processor, wherein the memory is used to store instructions executed by the processor, and when the instructions are executed by the processor, the terminal device is used to implement a radio frequency interference detection method for a radio astronomy signal as described in any one of the above.
[0016] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium comprising stored instructions, wherein when the instructions are executed, the device where the computer-readable storage medium is located is controlled to perform any of the above-mentioned radio astronomy signal radio frequency interference detection methods.
[0017] The beneficial effects of the present invention are as follows: in view of the high cost of data annotation and the scarcity of labeled data, the present invention constructs a labeled training set based on a pre-training model + comparative learning method and combines a labeled verification set with less labeled data, thereby realizing training and verification based on the D-Unet radio frequency interference detection model, and effectively saving the huge cost caused by manually annotating training set samples; further, the radio frequency interference detection model based on D-Unet constructed by the present invention introduces a deformable attention sampling module on the basis of U-Net to form an efficient semantic segmentation network. The introduction of the deformable attention sampling module can dynamically adjust the sampling position to better capture these complex features. This capability, combined with the multi-scale feature extraction and fusion of U-Net, makes the model more accurate in processing complex radio frequency interference patterns, thereby improving the recognition accuracy of interference signals. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a flowchart of the present invention;
[0019] Figure 2 It is a D-Unet-based RF interference detection model diagram combined with contrastive learning;
[0020] Figure 3 It is based on the D-Unet RF interference identification model diagram;
[0021] Figure 4 It is a deformable attention sampling module diagram;
[0022] Figure 5 is a radio time-frequency image from an unlabeled test set;
[0023] Figure 6 Based on Figure 5 The image with RF interference mask obtained by prediction using the trained U-Net model;
[0024] Figure 7 Based on Figure 5The image with the radio frequency interference mask is obtained by prediction using the D-Unet radio frequency interference detection model trained by the present invention. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention. It should be noted that the embodiments in this application and the features in the embodiments can be combined with each other arbitrarily without conflict.
[0026] Example 1: Figure 1-Figure 7 As shown, according to a first aspect of an embodiment of the present invention, a method for detecting radio frequency interference of radio astronomical signals is provided, including: obtaining real observation data obtained by observing and recording radio astronomical signals with a radio telescope; converting the real observation data into radio time-frequency images to construct an unlabeled training set; constructing a labeled training set based on the unlabeled training set and the corresponding pseudo-mask label images generated; constructing a labeled verification set based on a first preset number of radio time-frequency images randomly selected from the unlabeled training set and the corresponding real mask label images; constructing an unlabeled test set based on a second preset number of radio time-frequency images randomly selected from the unlabeled training set; training and verifying a D-Unet-based radio frequency interference detection model based on the labeled training set and the labeled verification set to obtain a trained D-Unet-based radio frequency interference detection model; using the radio time-frequency images in the unlabeled test set as input of the trained D-Unet-based radio frequency interference detection model to obtain a radio frequency interference mask image.
[0027] Furthermore, the method of constructing a labeled training set based on the unlabeled training set and the corresponding pseudo-mask label image generated includes: inputting the original radio time-frequency image in the unlabeled training set, calling the pre-trained model to generate an initial pseudo-mask image based on the Class Activation Mapping (CAM) method; using the CCAM contrast learning method to generate background cues for the original radio time-frequency image that generates the initial pseudo-mask image, combining the background cues with the initial pseudo-mask image, and using the Argmax operation to generate an improved pseudo-mask label image; saving the unlabeled training set and the generated improved pseudo-mask label image as a labeled training set. In the present invention, the pre-trained model uses a trained EMSCA-UNet model, a trained VGG16 model, and a trained Resnet50 model.
[0028] Furthermore, the method of constructing a labeled verification set based on a first preset number of radio time-frequency images randomly selected from an unlabeled training set and the corresponding true mask label images includes: randomly selecting a first preset number of radio time-frequency images from the unlabeled training set, annotating and saving them as true mask label images, and using the selected first preset number of radio time-frequency images and the corresponding true mask label images as a labeled verification set.
[0029] Furthermore, the D-Unet-based radio frequency interference detection model includes an encoder and a decoder; the encoder and decoder based on the D-Unet radio frequency interference detection model are based on the encoder and decoder of the U-Net model as the framework, and three downsampling operations are adopted in the encoder; three upsampling operations and two convolutional layers are adopted in the decoder, and a first deformable attention sampling module is introduced after the fusion features of the first upsampling operation and the second downsampling operation of the encoder are connected to the first convolutional layer, and a second deformable attention sampling module is introduced after the fusion features of the second upsampling operation and the first downsampling operation of the encoder are connected to the second convolutional layer; wherein, the first deformable attention sampling module and the second deformable attention sampling module have the same structure.
[0030] Furthermore, the downsampling operation in the encoder uses a 3×3 convolution + Relu operation, the upsampling operation in the decoder uses a 3×3 deconvolution + Relu operation, and the two convolutional layers of the decoder use a 1×1 convolution + Relu operation.
[0031] Furthermore, the first deformable attention sampling module and the second deformable attention sampling module are specifically as follows: the input feature map is divided into two branches, the first branch passes through a standard convolution layer (Conv2D) for preliminary feature extraction; based on the standard convolution layer, the deformable convolution layer dynamically adjusts the position of the convolution kernel by learning the offset, so as to more flexibly adapt to the geometric changes of the input features. This dynamic adjustment enables the model to better capture the complex patterns and deformation features in the radio frequency interference RFI signal; the second branch is directly passed to the output through the identity mapping. This step ensures that the original feature information will not be lost. The output of the identity mapping will be fused with the output of the deformable convolution layer in the first branch to obtain the output feature map of the deformable attention sampling module.
[0032] Furthermore, the output of the identity mapping is fused with the output of the deformable convolutional layer through an addition operation. This fusion method can retain both the original features and the enhanced features, thereby improving the expressiveness of the model. The fused feature map is used as the final output of the deformable attention sampling module. This feature map contains richer feature information, which is helpful for subsequent interference detection.
[0033] By applying the above technical solutions, it can be seen that the encoder in the D-Unet RF interference detection model can extract the features of RF signals at different scales through multi-layer downsampling to convert the input image into a low-dimensional feature map representation, which can better capture the complex patterns and features in the RF signal, thereby improving the recognition accuracy of the interference signal. In addition, the feature maps are retained between the layers of the encoder through jump connections so that they can be spliced in the decoder stage; these jump connections help to retain the detailed information of the image and enhance the detection effect. In the D-Unet RF interference detection model, the decoder uses deconvolution as an upsampling layer to restore the low-resolution feature map to a high-resolution feature map; in addition, after adding the deformable attention sampling module, the model is allowed to more accurately capture the subtle changes and complex patterns in the RF signal. While restoring the feature map, the features of different scales are adaptively sampled and processed, which helps the model to retain and emphasize the features that contribute most to interference detection in the process of restoring the high-resolution feature map, thereby improving the detection accuracy.
[0034] According to a second aspect of an embodiment of the present invention, a radio frequency interference detection device for radio astronomical signals is provided, comprising: an acquisition module, used to acquire real observation data obtained by observing and recording radio astronomical signals with a radio telescope; a first construction module, used to convert the real observation data into radio time-frequency images to construct an unlabeled training set; a second construction module, used to construct a labeled training set based on the unlabeled training set and the corresponding pseudo-mask label images generated; a labeled verification set is constructed based on a first preset number of radio time-frequency images randomly selected from the unlabeled training set and the corresponding real mask label images; an unlabeled test set is constructed based on a second preset number of radio time-frequency images randomly selected from the unlabeled training set; the first acquisition module is used to train and verify a D-Unet-based radio frequency interference detection model based on the labeled training set and the labeled verification set to obtain a trained D-Unet-based radio frequency interference detection model; the second acquisition module is used to use the radio time-frequency images in the unlabeled test set as inputs of the trained D-Unet-based radio frequency interference detection model to obtain a radio frequency interference mask image.
[0035] According to a third aspect of an embodiment of the present invention, a terminal device is provided, including a memory and a processor, wherein the memory is used to store instructions executed by the processor, and when the instructions are executed by the processor, the terminal device is used to implement a radio frequency interference detection method for a radio astronomy signal as described in any one of the above.
[0036] According to a fourth aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes stored instructions, wherein when the instructions are executed, the device where the computer-readable storage medium is located is controlled to perform any of the above-mentioned radio astronomy signal radio frequency interference detection methods.
[0037] In combination with experimental data, the optional specific implementation process of the present invention is described as follows:
[0038] 1. Based on the real pulsar observation data from the 40-meter radio telescope of the Yunnan Observatory of the Chinese Academy of Sciences from September 2016 to October 2022, 166,466 observation files were randomly selected from the real pulsar observation data; based on the observation files, they were converted into RGB radio time-frequency images and saved as the original data set. The original 164,466 radio time-frequency images were saved as an unlabeled training set for learning and training; 1,000 radio time-frequency images were randomly selected from the original data set and saved as an unlabeled test set; 1,000 radio time-frequency images were randomly selected from the original data set, and they were manually annotated and saved as true mask label images, and the radio time-frequency images and the corresponding true mask label images were used as labeled verification sets.
[0039] For the unlabeled training set, the pre-trained model is called to generate the initial pseudo-mask image according to the class activation mapping method, and the contrastive learning method is used to generate the improved pseudo-mask label image. Specifically, the original radio time-frequency image is input, and the pre-trained model is called to generate the initial pseudo-mask image according to the class activation mapping method (the class activation mapping method CAM is completed through a convolutional neural network, and the purpose is to find the area related to a specific category in the image); the CCAM contrastive learning method is used to generate the background prompt for the original radio time-frequency image that generates the initial pseudo-mask image, and the background prompt is combined with the initial pseudo-mask image, and the Argmax operation is used to generate the improved pseudo-mask label image. The unlabeled training set and the generated improved pseudo-mask label image are saved as the labeled training set.
[0040] 2. The labeled training set is used for training the D-Unet RF interference detection model. During the learning and training process, the D-Unet RF interference detection model is used to learn the interference information in the original time-frequency image, and the pseudo-mask label image is used as a reference to adjust the learning method and strategy; then the labeled validation set is used for verification, and the results are fed back to the training process to continue adjusting the learning plan.
[0041] Precision, recall and F1 score are used to evaluate the model during both training and testing.
[0042] In the RFI detection task, precision refers to the ratio of pixels in the time-frequency image that are correctly predicted by the model to all pixels predicted to be RFI. The formula is:
[0043] ;
[0044] Where TP (True Positives) is the number of pixels that the model correctly predicts to be RFI, and FP (False Positives) is the number of pixels that the model incorrectly predicts to be RFI.
[0045] Recall rate refers to the proportion of samples that are truly positive examples that the model successfully predicts as positive examples. In the RFI detection task, recall rate refers to the ratio of pixels in the time-frequency image that the model correctly predicts as RFI to all pixels that are actually predicted as RFI. The formula is:
[0046] ;
[0047] Where TP is the number of pixels that the model correctly predicts as RFI, and FN (False Negative) is the number of pixels that the model fails to correctly predict as RFI.
[0048] The score is a weighted harmonic mean of precision and recall, adjusted by The value can balance the relationship between precision and recall. The formula for the score is:
[0049] ;
[0050] in, is a weight parameter used to balance precision and recall. In the score, The larger the value of , the greater the impact on the recall rate. In the present invention, setting is equal to 1, which is the F1 score.
[0051] The results are recorded after each training, and the comprehensive indicator F1 score is used as the evaluation indicator. The model with the highest F1 score higher than 80% is saved as the trained D-Unet-based RF interference detection model.
[0052] In order to explore and verify the performance advantages of the D-Unet-based radio frequency interference detection model proposed in the present invention, the performance indicators of the U-Net model and the model proposed in the present invention are compared. In the experiment, the U-Net model and the D-Unet-based radio frequency interference detection model are trained and verified using the same experimental platform with labeled training sets and labeled verification sets to obtain the trained U-Net model and the trained D-Unet-based radio frequency interference detection model; a radio time-frequency image from the unlabeled test set is randomly selected as follows: Figure 5 As shown in Figure 2, the visualization results of the predicted images obtained by the trained U-Net model and the trained D-Unet-based RF interference detection model are shown in Figure 2. Figure 6 , Figure 7 As shown in the figure, the visualization results show that the method of the present invention can effectively detect the radio frequency interference in the radio time-frequency image corresponding to the real observation data. Furthermore, the unlabeled test set is used as the input of the trained U-Net model and the trained D-Unet-based radio frequency interference detection model to obtain the prediction results and corresponding performance indicators. The performance indicators are shown in Table 1:
[0053] Table 1
[0054]
[0055] For the RFI identification task, it is necessary to ensure accuracy. It is also important to improve the comprehensiveness of identification while ensuring the accuracy of identification (usually more than 80%). Therefore, the present invention selects the comprehensive index F1 score as the final evaluation basis. As can be seen from the above table, the evaluation results show that the effect of using the U-Net model for RFI detection in a weakly supervised manner is acceptable, but still lacks something. The comprehensive evaluation index F1 score is slightly lower than 80%. When the D-Unet-based radio frequency interference detection model of the present invention is applied, the comprehensive index F1 score is higher than 80%, indicating that the model proposed by the present invention can detect RFI comprehensively and more accurately. In summary, the present invention saves the huge cost caused by manually annotating training samples while ensuring that the trained D-Unet-based radio frequency interference detection model has reasonable network performance.
[0056] The specific implementation modes of the present invention are described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above implementation modes, and various changes can be made within the knowledge scope of ordinary technicians in this field without departing from the purpose of the present invention.
Claims
1. A method for detecting radio frequency interference of radio astronomy signals, characterized in that: include: Obtain real observation data obtained by radio telescope observation and recording radio astronomy signals; Convert real observation data into radio time-frequency images and construct an unlabeled training set; A labeled training set is constructed based on the unlabeled training set and the corresponding pseudo-mask label images generated; a labeled verification set is constructed based on a first preset number of radio time-frequency images randomly selected from the unlabeled training set and the corresponding real mask label images; an unlabeled test set is constructed based on a second preset number of radio time-frequency images randomly selected from the unlabeled training set; The D-Unet-based RF interference detection model is trained and verified based on the labeled training set and the labeled verification set to obtain the trained D-Unet-based RF interference detection model; The radio time-frequency images in the unlabeled test set are used as the input of the trained D-Unet-based RFI detection model to obtain the RFI mask image. The method of constructing a labeled training set based on the unlabeled training set and the corresponding pseudo-mask label image generated includes: inputting the original radio time-frequency image in the unlabeled training set, calling the pre-training model to generate an initial pseudo-mask image according to the class activation mapping method; using the CCAM contrast learning method to generate background prompts for the original radio time-frequency image for generating the initial pseudo-mask image, combining the background prompts with the initial pseudo-mask image, and using the Argmax operation to generate an improved pseudo-mask label image; saving the unlabeled training set and the generated improved pseudo-mask label image as a labeled training set; The method of constructing a labeled verification set based on a first preset number of radio time-frequency images randomly selected from an unlabeled training set and corresponding true mask label images comprises: randomly selecting a first preset number of radio time-frequency images from the unlabeled training set, annotating and saving them as true mask label images, and using the selected first preset number of radio time-frequency images and corresponding true mask label images as a labeled verification set; The D-Unet-based radio frequency interference detection model includes an encoder and a decoder; the encoder and decoder based on the D-Unet radio frequency interference detection model use the encoder and decoder of the U-Net model as a framework, and three downsampling operations are adopted in the encoder; three upsampling operations and two convolutional layers are adopted in the decoder, and a first deformable attention sampling module is introduced after the fusion features of the first upsampling operation and the second downsampling operation of the encoder are connected to the first convolutional layer, and a second deformable attention sampling module is introduced after the fusion features of the second upsampling operation and the first downsampling operation of the encoder are connected to the second convolutional layer; wherein the first deformable attention sampling module and the second deformable attention sampling module have the same structure; The first deformable attention sampling module and the second deformable attention sampling module are specifically as follows: the input feature map is divided into two branches, the first branch passes through a standard convolution layer for preliminary feature extraction; the deformable convolution layer dynamically adjusts the position of the convolution kernel by learning the offset based on the standard convolution layer; the second branch is directly passed to the output through the identity mapping, and the output of the identity mapping will be fused with the output of the deformable convolution layer in the first branch to obtain the output feature map of the deformable attention sampling module.
2. The method for detecting radio frequency interference of radio astronomy signals according to claim 1, characterized in that: The downsampling operation in the encoder uses a 3×3 convolution + Relu operation, the upsampling operation in the decoder uses a 3×3 deconvolution + Relu operation, and the two convolutional layers of the decoder use a 1×1 convolution + Relu operation.
3. A radio frequency interference detection device for radio astronomy signals, characterized in that: include: An acquisition module is used to acquire real observation data obtained by observing radio telescopes and recording radio astronomy signals; The first construction module is used to convert real observation data into radio time-frequency images and construct an unlabeled training set; The second construction module is used to construct a labeled training set based on the unlabeled training set and the corresponding pseudo-mask label images generated; construct a labeled verification set based on a first preset number of radio time-frequency images randomly selected from the unlabeled training set and the corresponding real mask label images; and construct an unlabeled test set based on a second preset number of radio time-frequency images randomly selected from the unlabeled training set; The first acquisition module is used to train and verify the D-Unet-based radio frequency interference detection model according to the labeled training set and the labeled verification set to obtain the trained D-Unet-based radio frequency interference detection model; The second acquisition module is used to use the radio time-frequency image in the unlabeled test set as the input of the trained D-Unet-based radio frequency interference detection model to obtain the radio frequency interference mask image; The method of constructing a labeled training set based on the unlabeled training set and the corresponding pseudo-mask label image generated includes: inputting the original radio time-frequency image in the unlabeled training set, calling the pre-training model to generate an initial pseudo-mask image according to the class activation mapping method; using the CCAM contrast learning method to generate background prompts for the original radio time-frequency image for generating the initial pseudo-mask image, combining the background prompts with the initial pseudo-mask image, and using the Argmax operation to generate an improved pseudo-mask label image; saving the unlabeled training set and the generated improved pseudo-mask label image as a labeled training set; The method of constructing a labeled verification set based on a first preset number of radio time-frequency images randomly selected from an unlabeled training set and corresponding true mask label images comprises: randomly selecting a first preset number of radio time-frequency images from the unlabeled training set, annotating and saving them as true mask label images, and using the selected first preset number of radio time-frequency images and corresponding true mask label images as a labeled verification set; The D-Unet-based radio frequency interference detection model includes an encoder and a decoder; the encoder and decoder based on the D-Unet radio frequency interference detection model use the encoder and decoder of the U-Net model as a framework, and three downsampling operations are adopted in the encoder; three upsampling operations and two convolutional layers are adopted in the decoder, and a first deformable attention sampling module is introduced after the fusion features of the first upsampling operation and the second downsampling operation of the encoder are connected to the first convolutional layer, and a second deformable attention sampling module is introduced after the fusion features of the second upsampling operation and the first downsampling operation of the encoder are connected to the second convolutional layer; wherein the first deformable attention sampling module and the second deformable attention sampling module have the same structure; The first deformable attention sampling module and the second deformable attention sampling module are specifically as follows: the input feature map is divided into two branches, the first branch passes through a standard convolution layer for preliminary feature extraction; the deformable convolution layer dynamically adjusts the position of the convolution kernel by learning the offset based on the standard convolution layer; the second branch is directly passed to the output through the identity mapping, and the output of the identity mapping will be fused with the output of the deformable convolution layer in the first branch to obtain the output feature map of the deformable attention sampling module.
4. A terminal device, characterized in that: The terminal device comprises a memory and a processor, wherein the memory is used to store instructions executed by the processor, and when the instructions are executed by the processor, the terminal device is used to implement the radio frequency interference detection method for radio astronomy signals as described in any one of claims 1 to 2.
5. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes stored instructions, wherein when the instructions are executed, the device where the computer-readable storage medium is located is controlled to execute the radio frequency interference detection method for radio astronomy signals according to any one of claims 1-2.
Citation Information
Patent Citations
Hierarchical network for stacked memory systems
CN116664383A
System and method for data compression based on data position in frames structure
WO2020148746A1
