Automatic modulation classification method, device, equipment, and computer-readable storage medium
Through multi-modal information fusion and transfer learning based on the information maximization principle, the model mismatch problem in cross-domain modulation classification is solved, the classification performance and robustness are improved, and it is suitable for device deployment with limited resources.
Patent Information
- Application Number
- CN202311616478.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-29
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2043-11-29
AI Technical Summary
Existing intelligent modulation classification algorithms based on transfer learning and semi-supervised learning have model mismatch problems in cross-domain modulation classification, require a large amount of storage resources and computing resources, cannot effectively utilize unlabeled target domain data, and multi-modal fusion requires Complementary gains are less effective in actual scenarios.
By obtaining multiple modal clues of the baseband signal, a multi-modal information fusion module is constructed, using the minimization standard cross-entropy loss and information maximization principles for transfer learning, fixing the classifier weight, and optimizing the intra-class divergence loss function to alternately update Pseudo labels realize distribution alignment of target domain and source domain data and reduce inter-domain differences.
It improves the classification performance in the target domain, reduces the dependence on source domain data, improves the robustness and generalization ability of the algorithm, and is suitable for device deployment with limited storage resources.
Smart Images

Figure CN117978595B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of signal modulation classification, and in particular to an automatic modulation classification method and apparatus, device, and computer-readable storage medium. Background Art
[0002] Automatic Modulation Classification (AMC) of signals is the intermediate link between signal detection and demodulation. It can identify the modulation type of the received signal when prior knowledge is limited. It plays a vital role in civil and military fields such as electronic warfare, cognitive radio, electromagnetic situational awareness, dynamic spectrum access, and Internet of Things security detection.
[0003] Existing AMC research can be divided into classic AMC and deep learning-based AMC. Classic modulation classification can be summarized into two methods: likelihood-based (LB) and feature-based (FB). The former regards modulation classification as a multi-complex hypothesis testing problem, which theoretically guarantees that the classification result is optimal under the Bayesian minimum misclassification cost criterion, but the computational complexity of the likelihood function is high. The latter represents the signal by extracting different features of the signal. If appropriate features and classifiers are selected, near-optimal performance can be obtained while reducing complexity. Therefore, in practical applications, feature extraction-based classification methods are generally preferred. However, the accuracy of this method depends on whether the selected features are appropriate. When faced with the emerging complex signal systems and modulation methods, it is difficult to quickly find appropriate and stable feature representations manually. When the signal-to-noise ratio changes, it is also difficult to set the feature threshold, which affects the classification performance of the algorithm.
[0004] In recent years, benefiting from its powerful expression and learning capabilities, deep learning (DL) has achieved rapid development in many fields such as computer vision, natural language processing and autonomous driving. Deep learning is a data-driven technology that achieves model learning and prediction capabilities through large-scale data training and optimization, and does not need to rely on prior information to establish a mathematical model. For the problem of automatic modulation classification of signals, DL has strong application advantages and broad application prospects. First, a large amount of signal data is generated every moment in the communication system, which provides sufficient training samples for deep learning to learn the complex mapping relationship of signals. Secondly, deep learning can learn the mapping relationship between the original signal and the high-quality representation features, avoiding the trouble of artificially designed features in traditional methods. In addition, with the continuous evolution of deep learning technology, it has shown great potential in dealing with modulation classification problems in complex scenarios, and has shown stronger generalization ability for the recognition of complex modulation and similar modulation and classification under low signal-to-noise ratio.
[0005] Mainstream deep learning technologies include Convolutional Neural Network (CNN), Recurrent Neural Network (RNN) and some hybrid models. Therefore, DL-based intelligent modulation classification algorithms can be divided into the following three categories: CNN-based, RNN-based and hybrid model-based. In 2016, the O'shea team used CNN to classify the modulation of the input complex-valued time-domain radio signal. Compared with the modulation classification method based on expert features, CNN has better classification effect. In 2020, Zhang Zufan's team from Chongqing University of Posts and Telecommunications used CNN and long short-term memory (LSTM) RNN to extract deep features from the in-phase and quadrature (IQ) sequence and amplitude and phase (AP) sequence of the signal, effectively improving the classification accuracy of co-channel overlapping modulation signals. In 2022, Feng Zhiyong's team from Beijing University of Posts and Telecommunications proposed a deep neural network based on multi-task learning, which consists of CNN blocks, bidirectional gated recurrent units (BiGRU) and attention fusion modules, which improves the modulation classification performance under low signal-to-noise ratio conditions.
[0006] In addition, in 2021, Peng Shengliang's team from Huaqiao University divided DL-based intelligent modulation classification algorithms into four categories according to signal representation and data preprocessing methods: feature representation (high-order cumulants, spectral features, etc.), image representation (constellation diagram, feature point diagram, eye diagram, spectral correlation diagram, etc.), sequence representation (IQ sequence, AP sequence, FFT sequence, etc.), and mixed representation. They pointed out that the fusion of signal representations such as features, images, and sequences is the development trend of intelligent modulation recognition algorithms in the future. Researchers at Peking University theoretically verified that more modal spaces will provide richer knowledge to improve model performance. In 2019, Zhang Zufan's team improved the noise robustness of the algorithm by fusing the complementary gain generated by 8 manual features and 2 time-frequency graph features. In 2020, Qi Peihan's team from Xidian University input IQ sequence, AP sequence and spectral features into the residual network for modulation recognition, and identified high-order modulation types under low signal-to-noise ratio conditions, achieving significant performance improvement compared to traditional CNN-based modulation classification algorithms.
[0007] From the above research work, we can see that the researchers mainly improve the algorithm performance by optimizing and improving the sample data and network model used to train the network. First, they preprocess the data appropriately to maximize the differences between different modulation methods so that the neural network can better classify; second, they adjust the network model and hyperparameters appropriately to better adapt to the modulation classification task.
[0008] However, the training data and test data used in the existing DL-based intelligent modulation classification method research are generated from the same distribution, that is, the training data and test data of the default modulation signal are from the same feature space and obey the same data distribution. However, in actual application scenarios, due to factors such as time, space, performance differences between transmitters and receivers, and multipath delays of channels, there will be large differences in the distribution of feature parameters between training (source domain) data and test (target domain) data. Therefore, when the trained model is directly used for testing new data, it often performs poorly, resulting in a decrease in algorithm performance or even failure, which is manifested as a model mismatch phenomenon in the intelligent modulation classification method when solving cross-domain modulation classification problems.
[0009] Existing technical solution 1: To solve the model mismatch problem caused by domain differences, researchers have conducted extensive research on transfer learning (TL). Transfer learning aims to improve the performance of the model in the target domain by transferring different but related source domain knowledge. Transfer learning includes many research subfields, and domain adaptation (DA) learning is a key technology. DA can use previously labeled data sets and unlabeled data, relax the basic assumption that training data and test data follow the same distribution, and is an important supplement to classical learning theory. It has achieved good results in the fields of target recognition and semantic segmentation. Mainstream domain adaptation technology can be divided into two categories. One is to reduce the distribution difference between source domain data and target domain data by matching distribution statistical moments of different orders. The other popular paradigm adopts the idea of adversarial learning and introduces an additional domain classifier in the network to learn domain invariant features and achieve distribution adaptation. These ideas are naturally also applied to AMC. In 2021, Huang Zhitao's team from the National University of Defense Technology proposed a cross-domain modulation algorithm based on a domain adversarial neural network. It achieves feature alignment between domains through adversarial training to reduce domain shift, and further introduces category weighting and entropy weighting to alleviate the problem of algorithm performance degradation caused by the difference in label space between the target domain and the source domain. However, these methods require the addition of additional adversarial networks, which increases the complexity of the network, and require joint training of source domain data and target domain data, which is not suitable for deployment on devices with limited storage resources and computing power.
[0010] Existing technical solution 2: On the one hand, for target domain data that is unlabeled or difficult to label, such as non-cooperative signals in the field of electronic countermeasures, there is not enough label information to train the model; on the other hand, the intelligent modulation classification algorithm needs to be trained with a large amount of labeled data to obtain accurate classification results. The training process requires a lot of computing resources and time. In real scenarios, we are faced with complex and changeable electromagnetic environments and a variety of modulation signals. It is obviously unrealistic to build large-scale well-labeled training sets for different signal reception scenarios. Therefore, considering using the received unlabeled data to optimize the network trained by the source domain data is a feasible idea to further improve the classification performance of the network in the target domain. In order to reduce the dependence on labeled samples and realize small sample learning, the semi-supervised learning (SSL) AMC method that uses a small number of labeled samples and unlabeled samples to train the network has become a popular paradigm. In 2022, Jing Xiaojun's team at Beijing University of Posts and Telecommunications designed an algorithm called AMCRN that includes CNN blocks, connection modules, and relational networks. The combined deep features are input into the relational network to obtain relational scores to measure the feature similarity between different data. The target domain data is modulated and classified by comparing the feature similarity between the target domain data and a small amount of labeled source domain data, thus achieving cross-domain modulation classification of modulation category differences. However, this semi-supervised learning method still requires a large amount of data, and calculating the relational scores through the relational network increases the complexity of the calculation.
[0011] Existing technical solution three: Different modal information can provide features of multiple dimensions of the input object, so the complementary gain brought by multimodal fusion can enhance the network's understanding of the signal. Compared with single-modal input, it has stronger robustness and generalization ability, and can better adapt to changes in signal-to-noise ratio and channels in complex scenarios. Therefore, fusing the features of different dimensions of the signal as network input has always been an important direction for studying intelligent modulation classification algorithms, and both foreign and domestic teams have done a lot of research work. In 2019, the Shrishail team of the National Institute of Technology in India performed a discrete orthogonal Stockwell transform on the original IQ data, transforming the IQ time series and the Stockwell sequence into red channel and green channel images respectively, superimposing them into dual-channel images and inputting them into the network. The algorithm integrates the time domain and time-frequency domain information of the signal, and the classification performance is still good in low and medium signal-to-noise ratio scenarios. In 2022, Feng Zhongming and others from Harbin Engineering University integrated the multimodal information of the signal statistical graph domain and the signal I / Q waveform domain to realize signal modulation recognition. The recognition accuracy of the proposed method is better than that of single-modal recognition methods and methods that do not adopt a multimodal collaborative fusion framework at different signal-to-noise ratios. However, most of these methods for studying multimodal information fusion are limited to simply superimposing or splicing the extracted multidimensional features, and lack in-depth analysis of the mechanism of complementary gain.
[0012] Disadvantages of existing technology:
[0013] 1. Existing intelligent modulation classification algorithms based on transfer learning and semi-supervised learning require joint training of source domain data and target domain data. Repeated access to source domain data during training requires a large amount of storage and computing resources of the device. The efficiency of data transmission is low, which is not conducive to the rapid processing and real-time response of the algorithm.
[0014] 2. The mining and utilization of unlabeled target domain data is not sufficient. On the one hand, the AMC method based on SSL still requires a small number of labeled samples to classify the remaining target domain samples, and cannot achieve true unsupervised domain adaptation. On the other hand, even the AMC method based on unsupervised learning mainly labels the target domain data through the source domain model, and cannot obtain accurate pseudo-labels, which is not conducive to the next step of model fine-tuning.
[0015] 3. The application of complementary gain generated by multimodal fusion is not close enough to actual scenarios. However, the current intelligent modulation classification algorithms based on multimodal feature fusion assume that the various modal information of the training data (source domain) and test data (target domain) used to represent the modulated signal are stable and reliable. However, the actual received wireless signal will be affected by noise, multipath fading, Doppler effect, free space loss and interference, thereby introducing random disturbances in different parts of the signal, which are defined as damaged parts, and the parts without disturbances are called intact parts or reliable parts. The damage to the modality will weaken the complementary gain effect brought by multimodal feature fusion, and this impact should be considered in the research. Summary of the invention
[0016] In order to solve the above technical problems, the embodiments of the present application respectively provide an automatic modulation classification method and apparatus, a device, and a computer-readable storage medium to effectively deal with the model mismatch problem caused by the difference in data distribution between the source domain and the target domain, correct the damage to the signal modal information caused by disturbance factors such as noise, multipath, and frequency deviation, and improve the robustness and generalization ability of the DL-based intelligent modulation classification algorithm. On this basis, the existing methods need a large amount of labeled data for retraining in different scenarios, which is not suitable for deployment on devices with limited storage and computing resources, and the requirements for the hardware deployment platform are relaxed, further improving the ease of use and flexibility of the signal modulation classification method.
[0017] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0018] According to one aspect of an embodiment of the present application, an automatic modulation classification method is provided, comprising: obtaining a baseband signal, and preprocessing the baseband signal to determine the instantaneous amplitude, instantaneous phase, spectrum amplitude, quadratic spectrum and quartic spectrum of the signal to extract time domain features and frequency domain features, and obtain multiple modal clues; constructing a source domain model including a multimodal information fusion module and a classifier by minimizing the standard cross entropy loss, wherein the multimodal information fusion module includes a modal clue encoder, a clue reliability assessment component, a multimodal attention encoder and a classifier; inputting multiple modal clues into the multimodal information fusion module to extract deep features, performing reliability assessment on the input modal clues through the clue reliability assessment component, and based on the cross-attention loss, performing a multimodal information fusion module on the input modal clues to extract deep features, and ... The intention mechanism realizes cross-modal semantic alignment and information complementarity, inputs the fused joint cues into the classifier to classify the modulated signal, and obtains a stable source domain model after multiple iterative training; uses the stable source domain model to initialize the target domain model, fixes the weight parameters of the classifier in the target domain model, adjusts the multimodal information fusion module in the target domain model, maximizes the mutual information between the target domain joint cues and the classifier output, realizes the distribution alignment of the target domain and source domain data, and makes the feature representation of the target domain data adapt to the source domain classifier; based on the unlabeled sample data in the target domain, the target-specific centroid and pseudo-label are alternately updated by optimizing the intra-class divergence minimization loss function, and the obtained pseudo-label is used to optimize the target domain model.
[0019] According to one aspect of an embodiment of the present application, an automatic modulation classification device is provided, comprising: a data preprocessing module, configured to obtain a baseband signal, and preprocess the baseband signal to determine the instantaneous amplitude, instantaneous phase, spectrum amplitude, quadratic spectrum and quartic spectrum of the signal to extract time domain features and frequency domain features, and obtain multiple modal clues; a model pretraining module, configured to construct a source domain model including a multimodal information fusion module and a classifier by minimizing the standard cross entropy loss, the multimodal information fusion module including a modal clue encoder, a clue reliability assessment component, a multimodal attention encoder and a classifier; multiple modal clues are input into the multimodal information fusion module to extract deep features, the input modal clues are reliability assessed by the clue reliability assessment component, and based on the cross-attention loss, the source domain model is constructed. The intention mechanism realizes cross-modal semantic alignment and information complementarity, inputs the fused joint clues into the classifier to classify the modulated signal, and obtains a stable source domain model after multiple iterative training; the model migration module is configured to use the stable source domain model to initialize the target domain model, fix the weight parameters of the classifier in the target domain model, adjust the multimodal information fusion module in the target domain model, maximize the mutual information between the target domain joint clues and the classifier output, realize the distribution alignment of the target domain and source domain data, and make the feature representation of the target domain data adapt to the source domain classifier; the self-supervised learning module is configured to update the target-specific centroid and pseudo-label alternately based on the unlabeled sample data in the target domain by optimizing the intra-class divergence minimization loss function, and the obtained pseudo-label is used to optimize the target domain model.
[0020] According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: a controller; and a memory for storing one or more programs, wherein when the one or more programs are executed by the controller, the controller implements the automatic modulation classification method described above.
[0021] According to one aspect of an embodiment of the present application, a computer-readable storage medium is further provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the above-mentioned automatic modulation classification method.
[0022] According to one aspect of the embodiments of the present application, a computer program product or a computer program is also provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the above-mentioned automatic modulation classification method.
[0023] The technical solution provided in the embodiments of the present application has at least the following beneficial effects:
[0024] 1. Only use the target domain data to fine-tune the model trained by the source domain data. During the migration process, fix the model's classifier, adjust the multimodal information fusion module of the target domain based on the principle of information maximization, and no longer access the source domain data.
[0025] 2. Mining the global information of the target domain data in a self-supervised manner to obtain more accurate pseudo-labels of the target domain data.
[0026] 3. The reliability of input modality cues is evaluated through a multimodal cue reliability assessment component, emphasizing meaningful signal representations on each modality stream and mitigating the impact of unreliable cues.
[0027] 4. Through a multimodal attention encoding, the fusion and complementarity of multimodal cues are realized, and the mechanism of complementary gain is analyzed from the two levels of feature alignment and cross-modal interaction, obtaining deep features with more robustness and stronger representation capabilities.
[0028] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0030] Figure 1 is a schematic diagram of a cross-domain modulation classification problem based on unsupervised domain adaptation shown in another exemplary embodiment of the present application;
[0031] Figure 2 is an overall entity architecture diagram of an automatic modulation classification method shown in another exemplary embodiment of the present application;
[0032] Figure 3 is an overall flow chart of an automatic modulation classification method shown in another exemplary embodiment of the present application;
[0033] Figure 4 is a schematic diagram of a target signal modal cue conversion framework shown in another exemplary embodiment of the present application;
[0034] Figure 5 is a schematic diagram of an IQ sequence shown in another exemplary embodiment of the present application;
[0035] Figure 6 is a schematic diagram of an AP sequence shown in another exemplary embodiment of the present application;
[0036] Figure 7 is a schematic diagram of spectrum amplitude shown in another exemplary embodiment of the present application;
[0037] Figure 8 is a schematic diagram of a square spectrum shown in another exemplary embodiment of the present application;
[0038] Fig. 9 is a TSCD network framework diagram shown in another exemplary embodiment of the present application;
[0039] Fig.10 is a structural diagram of a modal cue encoder shown in another exemplary embodiment of the present application;
[0040] Fig.11 is a framework diagram of a clue reliability evaluation component shown in another exemplary embodiment of the present application;
[0041] Fig.12 is a detailed schematic diagram of a 1×1Conv1d block in a clue reliability evaluation component shown in another exemplary embodiment of the present application;
[0042] Fig.13 is a structural diagram of a multimodal attention encoder shown in another exemplary embodiment of the present application;
[0043] Fig.14 It is a structural diagram of a multimodal clue fusion module shown in another exemplary embodiment of the present application. DETAILED DESCRIPTION
[0044] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0045] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0046] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0047] Automatic modulation classification is the intermediate link between signal detection and demodulation, and is widely used in military and civilian fields. In actual application scenarios, the intelligent modulation classification algorithm based on deep learning obtained from the training (source domain) data shows performance degradation or even failure on the test (target domain) data. The reason for this phenomenon is the difference in feature distribution between the target domain data and the source domain data and the difficulty in obtaining the target domain label. In response to the problem of cross-domain modulation classification under unsupervised domain adaptation, this application proposes a lightweight solution based on source domain model migration and multimodal information fusion. The information maximization principle is used to learn a target domain-specific feature extractor, so that the feature representation of the target domain is adapted to the source domain classifier, and the unlabeled data in the target domain is fully utilized in a self-supervised learning manner, which effectively alleviates the noise impact of inter-domain differences on pseudo-labels, and greatly improves the classification performance of the algorithm in the target domain. In order to obtain enhanced feature representation, this technical solution also designs a multimodal information fusion module to extract the time domain and frequency domain features of the signal as modal clues, evaluate the reliability and contribution of each modal clue, and realize cross-modal semantic alignment and information complementarity based on the attention enhancement mechanism, making full use of the feature-level complementary gain generated by multimodal information fusion, further enhancing the robustness of the model. In addition, in order to enable the model to better capture the differences and similarities between samples, during the training process, we use the classification accuracy as an evaluation indicator to differentially process source domain samples, so that the model pays more attention to those difficult-to-classify samples, promotes the flow of label information from "easy" samples to "difficult" samples, and improves the comprehensibility of the data.
[0048] The embodiment of the present application proposes an automatic modulation classification method. Exemplarily, the automatic modulation classification method performs data processing based on the signal received by the communication signal transmission system to solve the modulation classification problem and the modulation classification problem based on unsupervised domain adaptation. The method is applicable to a variety of devices and fields that need to complete the task of automatic modulation classification of signals, including but not limited to military and civilian fields such as cognitive radio, electromagnetic situation awareness, dynamic spectrum access, Internet of Things security detection, and electronic countermeasures interference classification. If applied to radio, the signal received by the communication signal transmission system is a radio signal. If applied to electromagnetic situation awareness, the signal is an electromagnetic situation awareness signal. The present application can be applied to various scenarios where modulation classification of signals is required.
[0049] The communication signal transmission system generally consists of three parts: transmitter, channel and receiver. The received baseband signal can be expressed as
[0050] r(t)=s(t;u i )+n(t) (1)
[0051]
[0052] Where: r(t) is the received signal, s(t; u i ) is the modulated baseband transmission signal, affected by the unknown parameter u i The influence of unknown signal parameters and unknown data symbols, a i represents amplitude, Δf represents carrier frequency offset, θ represents carrier phase, T represents period, ε represents time offset, n(t) is Gaussian white noise, g(t) represents pulse waveform, represents phase jitter, Represents the kth data symbol of the i-th modulation method.
[0053] The modulation classification problem can be regarded as a multi-hypothesis problem. In statistical inference, K modulation categories are considered simultaneously, and which modulation category is the most likely one is determined based on the received signal r(t). The problem can be expressed as:
[0054] G:r(t)→MC K (3)
[0055] Among them, G represents the class label predictor, MC k is the modulation type predicted based on the received signal r(t), and K is the total number of modulation types.
[0056] Modulation classification problem based on unsupervised domain adaptation: Transfer learning aims to transfer knowledge learned from the source domain to the target domain and improve the performance of the model in the target domain task. Transfer learning defines "domain" and "task". The "domain" consists of two parts: feature space χ and marginal probability distribution P(X), expressed as D = {χ, P(X)}, where X = {x1,...,x n}∈χ, X represents a specific learning sample, x i denotes the i-th feature vector corresponding to the sample, and P(X) is the marginal probability distribution of the learning sample. If the two domains are different, it means that they have different feature spaces or different marginal probability distributions. Given a domain D = {χ, P(X)}, the "task" also consists of two parts: the label space γ and the prediction function f(·), denoted by T = {γ, f(·)}, where Y = {y1,...,y n}∈γ, Y represents the label vector corresponding to the sample, y i represents the i-th label, f(·) can be obtained from the training data pair {x i, y i}, where x i ∈X and y i ∈Y, it can be used to predict the label corresponding to a new sample x. From a probability perspective, f(x) can be written as P(Y|X).
[0057] The cross-domain modulation classification problem mentioned in this article is a situation where the data distribution of the source domain modulation signal and the target domain modulation signal are inconsistent but the tasks are the same (both are modulation classification tasks), and only the source domain data is labeled, while the target domain data is not labeled. It belongs to the category of unsupervised domain adaptation tasks in transfer learning. Unsupervised domain adaptation tasks focus on solving the problem of large domain discrepancy between the source domain and the target domain. By learning the transformation from the source domain to the target domain, the feature representation of the source domain and the target domain is made as close as possible, thereby reducing the difference between the domains.
[0058] An example of cross-domain modulation classification problem based on unsupervised domain adaptation is Figure 1 Given a source domain modulated signal dataset Where n s represents the number of source domain modulated signal samples, represents a single source domain modulated signal sample, is its corresponding category label, χ s ,γ s are the feature space and label space of the source domain respectively; there is a target domain modulated signal dataset Where n t represents the number of samples of the target domain modulated signal, Represents a single target domain modulated signal sample. This paper hopes to predict the label of the target domain data Assuming the source domain modulates the classification task χ s →γ s and the target domain modulation classification task χ t →γ t To be precise, this application aims to solve the modulation classification problem under unsupervised domain adaptation through pre-trained source domain models and unlabeled target domain data.
[0059] Figure 2 The overall physical architecture diagram of the automatic modulation classification method is shown in Figure 2The automatic modulation classification method includes data preprocessing, model pretraining and model migration. In the data preprocessing stage, based on the complementarity between multimodal information and the consideration of computational complexity, the instantaneous amplitude, instantaneous phase, spectrum amplitude, quadratic spectrum and quartic spectrum of the signal are calculated to extract time domain features and frequency domain features, and three modal clues of IQ, AP and SPC are obtained. In the model pre-training stage, multimodal cues are input into the multimodal information fusion module to extract deep features. In order to obtain more robust and representative multimodal joint features, this paper uses the clue reliability evaluation component to evaluate the reliability of the input modal cues, and realizes cross-modal semantic alignment and information complementarity through the cross-attention mechanism. Finally, the fused joint cues are input into the classifier to classify the modulated signals. After multiple iterative training, a stable source domain model is obtained. In order to further improve the performance of the overall model, this paper screens the data samples according to the classification results of each epoch, performs data augmentation operations on source domain samples with a classification accuracy of less than 80%, and copies 10% to add to the next round of training samples. This strategy can make the model pay more attention to those difficult-to-classify samples and promote the flow of label information from "easy" samples to "difficult" samples. In the migration phase, this application initializes the target domain model through the source domain model, fixes the weight parameters of the classifier, obtains the multimodal information fusion module of the target domain based on the information maximization (IM) principle, maximizes the mutual information between the joint clues of the target domain and the classifier output, and realizes the distribution alignment of the target domain and source domain data, so that the feature representation of the target domain data adapts to the source domain classifier; in addition, in order to make full use of the unlabeled sample data in the target domain, this paper uses the strategy of minimum centroid shift to alternately update the target-specific centroid and pseudo-label by optimizing the intra-class divergence minimization loss function, eliminates the noise influence caused by the difference between domains, and obtains more accurate pseudo-labels for optimizing the target domain model. The following is a detailed description.
[0060] Figure 3 The overall flow chart of the automatic modulation classification method is shown in Figure 3 The automatic modulation classification method specifically includes steps S100-S400.
[0061] Step S100, obtaining a baseband signal, and preprocessing the baseband signal to determine the instantaneous amplitude, instantaneous phase, spectrum amplitude, quadratic spectrum and quartic spectrum of the signal to extract time domain features and frequency domain features, and obtain multiple modal clues.
[0062] In some embodiments, Figure 4 A schematic diagram of a target signal modal clue conversion framework is shown. The target signal modal clue conversion framework is used to acquire multiple modal clues, including two steps: baseband processing and multimodal clue calculation.
[0063] Baseband processing includes:
[0064] Target signal clues Baseband processing is performed, that is, after estimating the signal carrier frequency, the signal is frequency-shifted to zero frequency. Since the range of received carrier frequency variation is theoretically infinite, and in practical applications, the range of signal carrier frequency variation is also large, data enhancement cannot be performed by traversing all frequencies exhaustively. Through baseband processing, the features extracted by the deep learning model can be made independent of the carrier frequency.
[0065] Multimodal cue computation includes:
[0066] This application uses the multi-modal clues of the signal to characterize the target signal. The in-phase and orthogonal components of the modulated signal are used as a time-domain modal clue of the signal; the spectrum amplitude, quadratic spectrum and quartic spectrum are used as frequency-domain modal clues of the modulated signal, where the spectrum amplitude is the signal spectrum amplitude, the quadratic spectrum is the spectrum obtained by square the signal, and the quartic spectrum is the spectrum obtained by square the signal. The normalized instantaneous amplitude and instantaneous phase components of the modulated signal are used as another modal clue of the signal. The three modal clues are respectively denoted as Input_IQ, Input_SPC, and Input_AP. A detailed analysis is given below.
[0067] (1) Input_IQ modal clues
[0068] Assume that the target signal cue The baseband complex signal obtained after processing is Then the in-phase component I(n) and the quadrature component Q(n) of the signal are the real and imaginary parts of the signal respectively:
[0069]
[0070] The in-phase component and the orthogonal component of the modulated signal are stacked to form the in-phase and orthogonal components of the signal and input to Input_IQ, that is,
[0071] Input_IQ=[I(n);Q(n)]X1,...,X n (6)
[0072] (2) Input_SPC modal clues
[0073] The calculation formula of the signal spectrum amplitude X1(k) is as follows:
[0074]
[0075] The calculation formula of the signal's quadratic spectrum X2(k) is as follows:
[0076]
[0077] The calculation formula of the signal's fourth power spectrum X3(k) is as follows:
[0078]
[0079] The spectrum amplitude, square spectrum and fourth power spectrum of the modulated signal are stacked to form the signal spectrum feature and input into Input_SPC, that is,
[0080] Input_SPC=[X1(k);X2(k);X3(k)] (10)
[0081] The Input_SPC modal clues reflect the frequency domain characteristics of the signal, which is helpful for identifying and understanding two types of modulation signals: Phase Shift Keying (PSK) and Frequency Shift Keying (FSK).
[0082] (3) Input_AP modality clues
[0083] The normalized instantaneous amplitude of the modulated signal is:
[0084]
[0085] The normalized instantaneous amplitude clue reflects the amplitude variation law of the signal, which is helpful for identifying and understanding the amplitude shift keying (ASK) signal.
[0086] The instantaneous phase of the signal is:
[0087]
[0088] The value range of phase(n) is (-π,π]. The instantaneous phase clues reflect the phase and frequency change law of the signal, which is helpful for identifying and understanding the two types of modulation signals, PSK and FSK.
[0089] The normalized instantaneous amplitude and instantaneous phase of the modulated signal are stacked to form the normalized instantaneous amplitude and instantaneous phase of the signal and input into Input_AP, that is:
[0090] Input_AP=[amp(n);phase(n)] (13)
[0091] Figures 5 to 8 A schematic diagram of multi-modal clues of nine typical modulation signals: 8PSK, BPSK, 2FSK, 4FSK, 2ASK, GFSK, PAM4, QAM16 and QPSK is shown.
[0092] Step S200, constructing a source domain model including a multimodal information fusion module and a classifier by minimizing the standard cross entropy loss, wherein the multimodal information fusion module includes a modal cue encoder, a cue reliability assessment component, a multimodal attention encoder and a classifier; inputting multiple modal cues into the multimodal information fusion module to extract deep features, performing reliability assessment on the input modal cues through the cue reliability assessment component, and realizing cross-modal semantic alignment and information complementarity based on the cross-attention mechanism, inputting the fused joint cues into the classifier to classify the modulated signal, and obtaining a stable source domain model after multiple iterative training.
[0093] In some embodiments, during the pre-training phase, we construct a source domain model consisting of a feature extractor and a classifier by minimizing the standard cross entropy loss. The feature extractor is represented as The classifier is Then the source domain model can be expressed as f s (x) = h s (g s (x)), d represents the dimension of extracted features, and K represents the number of modulation categories. The cross entropy loss is:
[0094]
[0095] in represents the kth element in the soft-max output of the K-dimensional vector a, q k Yes s K-ary one-hot encoding, q k The corresponding value is 1 when the classification is correct and 0 for the other categories.
[0096] In order to make full use of the complementary gain generated by multimodal information fusion and obtain a more discriminative and global feature representation, this application designs a multimodal information fusion module as a feature extractor for the source domain model. In this paper, the multimodal information fusion module is equivalent to the feature extractor. The overall framework of the multimodal information fusion module is as follows: Fig. 9 As shown in Figure 1, its core processing components include a modal cue encoder, a cue reliability assessment component, and a multimodal attention encoder. The modal cue encoder completes the transformation of modal cues to embedded representations. The modal information reliability assessment module completes the reliability assessment of each modal cue at each time step. The multimodal attention encoder implements cross-modal alignment and fusion of multimodal cues, extracts joint cues and inputs them into the classifier. The classifier completes the classification task of signal modulation style. This article will describe the details of each component in the network in this section.
[0097] Clue Modal Encoder (CME) is used to encode modal cues to obtain embedded representation of the signal. The CME here uses a multimodal feature extractor with a network structure as follows: Fig.10 As shown, the detailed parameters of each layer are shown in Table 1. Here, the present application constructs a CME for each of the three modal cues. The three CMEs have the same structure but do not share weight parameters.
[0098] Assume that the mapping function of CME is f CME (·), then the processing of modal cues and received signals in CME can be defined as follows:
[0099]
[0100] in, Represents the mapping function corresponding to the input.
[0101] exist Fig.10 As shown in Table 1, Conv2D represents a 2D convolutional layer, BatchNorm represents normalization, MaxPool represents maximum pooling, and AdaptiveAvgPool represents an adaptive mean pooling operation.
[0102] Table 1
[0103]
[0104]
[0105] In actual wireless communication environments, transmission signals are affected by noise interference, multipath fading, and mismatches between transmission parameters and reception parameters, which causes changes in the physical properties of the received signal, such as amplitude, phase, and frequency, and thus causes the extracted clues to change at different time steps. Therefore, before integrating and utilizing multimodal clues, this paper needs to complete the evaluation of clue reliability, where reliability refers to whether the modal information is damaged. The reliability of modal clues at different time steps is different. At this time, if an unreliable single modal clue is directly discarded or given a small weight, the useful information in the modal clue cannot be fully utilized. Naturally, this paper makes a fine-grained evaluation of the reliability of modal clues at the time step. According to the evaluation results, the negative impact of poor-quality fragments in the clues on the subsequent processing flow is reduced, and at the same time, the part of the clue that is beneficial to signal representation can be strengthened.
[0106] Taking into account the temporal information contained in the clues, this paper can reconstruct the damaged fragments in the clues by capturing the relationship between the previous and next time steps of the damaged fragments. This paper proposes a clue reliability evaluation component (Clue Reliability Scoring component, CR_Score) to evaluate the reliability of modal cues and correct unreliable modal cues. Specifically, CR_Score first uses stacked 1×1 time convolutions to model the temporal information of modal cues, and generates a reliability score for the modal cues at each time step to judge the state of the modal cues at each time step. The model suppresses the unreliable parts of the modal cues and increases the contribution of the remaining intact fragments to the signal representation, reducing the negative impact of different signal environments on the signal representation, thereby obtaining more stable modal cues. Its framework is as follows Fig.11 As shown, the details of the 1×1Conv1d block are as follows Fig.12 As shown, the specific calculation process can be defined as:
[0107]
[0108] in, Represents the mapping function of temporal convolution to the corresponding modal clues. Sigmoid(·) represents the sigmoid activation function. Represents the reliability score of the corresponding modal clue, and its value range is [0,1], where 0 indicates that the modal clue has low reliability and 1 indicates that it is completely reliable. The obtained reliability score tells this paper which features in the modal clue have low reliability, and then this paper emphasizes more reliable clues through the emphasis function, while unreliable representations are suppressed. The process can be defined as:
[0109]
[0110]
[0111] in Represents modality cues emphasized using reliability ratings. Indicates the clue emphasis function.
[0112] In order to guide the pre-trained model to better locate the damaged part of the modal clue, this paper introduces the mean square error (MSE) as the loss function. The mean square error is the average of the sum of the squares of the distances of each data from the true value. The smaller the MSE, the more accurate the evaluation result of the clue reliability evaluation component. The MSE loss function is expressed as:
[0113]
[0114] in The true label that represents the reliability of the corresponding modal clue has a value range of (0, 1), which is similar to the form of one-hot encoding, where 0 represents the damaged part of the modal clue and 1 represents the intact part of the modal clue. Various disturbance factors such as noise, frequency deviation, and fading can be randomly introduced into a modal clue.
[0115] Since different modal cues represent signals from different angles, even at the same time step, different modal cues may be expressed differently (for example, amplitude cues are susceptible to the signal-to-noise ratio, and phase cues are susceptible to multipath fading). Although the unreliable parts of modal cues are suppressed after CR_Score processing, this approach only considers the relationship within the mode and ignores the connection between modes. When a modal cue is considered unreliable at a certain time step, it is important to refer to other reliable modal cues.
[0116] To this end, this application designs a multimodal attention encoder (MCAE) to explore the relationship between multimodal cues, and to perform cross-modal fusion on the modal cues after CR_Score correction to generate joint cues with stronger representation ability. Specifically, this paper first implements the alignment operation of different modal cues in the same feature space, and then fuses these modal cues to obtain multimodal joint cues. The structure of the proposed MCAE network is shown in the figure. Fig.13 As shown in Figure 1, it includes two parts: feature alignment and multimodal cue fusion. The following is a detailed introduction.
[0117] Feature Alignment:
[0118] The modal clues obtained by preprocessing in this application respectively represent the time domain characteristics and frequency domain characteristics of the signal, which are different perspectives on the same signal sample. The different modal clues obtained by encoding are often located in different feature spaces, making it difficult to generate effective information interaction. In order to solve this problem, this paper uses the feature alignment module to map different modal clues in the same feature space, maximally eliminating the differences between modalities and laying the foundation for subsequent cross-modal fusion.
[0119] Inspired by the application of contrastive learning in the field of multimodal sentiment analysis, this paper introduces an unsupervised contrastive loss function UCL (Unsupervised Contrastive Loss), which aims to integrate the previously learned better modal clues. In order to reduce the amount of calculation, this paper only considers positive examples. In this paper, positive examples are defined as different modal clues from the same sample. For a modal clue in a training batch, For example It has two positive examples.
[0120] The scoring function of each positive example pair is calculated based on the dot product between the two modal cues. First, the input modal cues are vector normalized by Softmax-Normalization so that the dot product value of each positive example pair is between [0,1]. The UCL loss function can be expressed as
[0121]
[0122] Where E represents the expectation of all possible sets S in a training batch, and α represents the modal margin between different modalities, which allows some modal distribution differences to maintain specific modal information for subsequent cross-modal fusion.
[0123] By optimizing the UCL loss function, the model can learn the dynamic changes between different modes in the same signal sample. Obviously, the similarity between parallel modal cues is the largest, and it can be considered that these modal cues are well aligned in the feature space. In particular, considering that different modal cues carry different specific discriminant information, this information should not be completely eliminated. Therefore, this paper introduces the modal margin α to retain the necessary differences between different modes. After feature alignment, use Indicates the aligned modality cues.
[0124] Multimodal cue fusion:
[0125] In order to explore the correlation and complementarity between different modal cues, this paper adopts a dot product attention mechanism to perform weighted summation of each modal clue. Through the interactive operation calculation between each modal clue, it realizes the evaluation of the importance of different modal clues and provides a clear expression of inter-modal complementary gain.
[0126] The attention mechanism formula mainly includes three basic elements: query, key, and value. First, the similarity between the query and the key is calculated to obtain the attention score; then normalization is performed to obtain the weight of each key; finally, the weight and value are weighted and summed to obtain the attention output. The specific calculation formula is as follows:
[0127]
[0128] Where Q, K, and V represent the query sequence, key sequence, and value sequence, respectively, and are the input vector group I and the trainable matrix W. q ,W k ,W V Multiply the result, d k represents the dimensions of these input sequences.
[0129] The multimodal clue fusion module proposed in this application is as follows Fig.14 As shown in Figure 1, it consists of a self-attention layer, a cross-modal attention fusion layer, and a feedforward layer. For the modulation classification task, the value of the input modal clue at each time step has different importance for the representation of the signal, so the self-attention layer is used to focus on the modal clue. Perform self-attention calculations to remove redundant parts and extract more effective feature representations. In the self-attention layer, Q1, K1, and V1 are all modal cues. And the self-attention layer training matrix Multiply the result.
[0130] To integrate modal cues and This paper combines the modal cues output by the self-attention layer with the training matrix Multiply them to get Q2, and convert the modal clues With the training matrix Multiply them to get K2, V2, and input them into the cross-modal attention layer for fusion. This approach uses modality cues and Similarity between as a sequence of values weight, thus achieving and The complementary fusion of Perform cross-modal fusion.
[0131] The feedforward layer consists of a fully connected layer and a normalized layer. The feedforward layer outputs the fused multimodal joint clues. and used as the input of the modulation classifier.
[0132] Modulation classifiers exploit multimodal cues To complete the task of classifying the modulation style of the target signal, the classifier uses three fully connected layers, where the first two fully connected layers are followed by ReLU activation function and Dropout, and the last layer outputs the modulation style category of the target signal.
[0133] The loss function of the pre-trained model consists of three parts. The first part is the prediction classification loss of the modulation category, which uses the cross entropy loss function and is calculated as follows:
[0134]
[0135] Among them, y i represents the true value, Represents the model prediction value, and N is the total number of samples. The second part of the loss is to measure the accuracy of the clue evaluation, that is, formula (17-1). The third part of the loss is the contrast loss between different modal clues, that is, formula (21). The final optimization goal can be expressed as:
[0136] L=L pre+L MSE +L UCL (twenty one)
[0137] Step S300, using the stable source domain model to initialize the target domain model, fixing the weight parameters of the classifier in the target domain model, adjusting the multimodal information fusion module in the target domain model, maximizing the mutual information between the target domain joint clues and the classifier output, achieving distribution alignment of the target domain and source domain data, and making the feature representation of the target domain data adapt to the source domain classifier.
[0138] Most existing solutions to the DA problem set the source domain and the target domain to have the same feature extractor, and then jointly train the source domain data and the target domain data. The purpose of this is to transform the source domain samples and the target domain samples into a shared feature subspace. However, it is difficult to repeatedly revisit the source domain data during the training process for IoT edge devices with limited computing and storage resources.
[0139] In the migration phase, this paper no longer revisits the source domain data, so it is impossible to obtain the accurate source domain data distribution. However, the output of the source domain modulation classifier can be regarded as the probability distribution of the sample label. The setting of its network parameters is affected by the source domain feature representation. The mutual information measures the statistical dependence between two variables. From the perspective of mutual information, the parameters of the classifier implicitly characterize the source domain feature representation. Therefore, fixing the classifier parameters and maximizing the mutual information between the target domain feature representation and the classifier output imposes domain invariance on the feature representation, thereby eliminating the feature distribution differences between the target domain and source domain samples and improving the performance of the target domain model.
[0140] Based on the above research ideas, this paper proposes a transfer learning method based on the IM principle, which migrates the pre-trained source domain model to the target domain and fixes the parameters of the classifier so that the target domain classifier and the source domain classifier have the same structure and parameters (h s =h t ), learn the optimal target domain feature extractor (multimodal information fusion module) by maximizing the mutual information between the target domain feature representation and the classifier output So that the extracted target domain feature distribution p(g t (x t )) can well align the source domain feature distribution p(g s (x s )), so the source domain classifier can be used directly to accurately classify the target domain data. According to information theory, the target domain feature representation z = p(g t (x t )) and the label y output by the classifier t The mutual information between t ,z) can be expressed as:
[0141]
[0142] where y t Represents the label of the target domain sample, that is, the predicted output of the classifier; Representation variables The Shannon entropy can measure the stability of the system. The smaller the entropy value, the more stable the system.
[0143] The above formula (22) can be decomposed into two independent loss terms L div =H(y t ) and L ent =H(y t |z), the former represents the entropy of the predicted output average, and reaches its maximum value when the generation probabilities of different categories are consistent, that is, the label space of the target domain obeys a uniform distribution, which encourages the classification of target domain data to be diverse. In order to measure the similarity between the probability distribution of the label space of the target domain and the uniform distribution, in L div The KL divergence is introduced into the expression. The KL divergence can measure the distance difference between two distributions. For any two distributions, if they are the same, then the KL divergence between them is 0. Therefore, this paper can minimize the KL divergence between the probability distribution of the target domain label and the uniform distribution, so that the label space of the target domain obeys the uniform distribution. The latter is the conditional entropy, which represents the entropy of the system when the target domain feature representation is determined. The minimum value is achieved when the predicted output of each sample is determined. It encourages the classifier to assign different unique hot outputs to different target feature representations. It can be further expressed as:
[0144]
[0145] in is the expected output of the entire target domain category probability, U represents uniform distribution, and the uniform distribution of K categories can be expressed as 1 K is a K-dimensional vector with all 1s, express KL divergence of U, f t (x) = h t (g t (x)) is the K-dimensional output of each target sample, Represents the kth element in the soft-max output of a K-dimensional vector a. IM It is the inverse of the mutual information, and information maximization optimizes the IM loss function towards minimization.
[0146] From the above analysis, it can be seen that the source domain model migration process based on information maximization is a compromise between the diversity and certainty of the model classification output, increasing the information entropy H(yt ) can make the classification results uniform and reduce the conditional entropy H(y t |z) can make the classification results accurate.
[0147] Step S400, based on the unlabeled sample data in the target domain, the target-specific centroid and pseudo-label are alternately updated by optimizing the intra-class divergence minimization loss function, and the obtained pseudo-label is used to optimize the target domain model.
[0148] Pseudo-labeling technology can make full use of a large amount of unlabeled data in the target domain to expand the training set, and is a feasible idea to improve the generalization ability of the model. However, the reliability of the traditional pseudo-labels predicted by the source domain model depends on the accuracy of the model. Due to the domain differences between the target domain and the source domain, the pseudo-labels predicted by the source domain model are not accurate, which affects the effect of transfer learning. This paper hopes to mine the intrinsic properties of the target domain data to obtain its category distribution, so as to obtain more accurate labels. Therefore, this paper uses the strategy of minimum centroid shift to alternately update the target-specific centroid and pseudo-label by optimizing the intra-class divergence to minimize the loss function, thereby eliminating the noise caused by inter-domain differences. First, the centroids in the initial target domain of the clustering algorithm are expressed as:
[0149]
[0150] in Representing the learned target domain model, these centroids can robustly and more reliably characterize the distribution of different categories in the target domain.
[0151] Then, the target domain data is labeled according to the distance between each data sample in the target domain and the initial centroid, which can be expressed as:
[0152]
[0153] in is the pseudo label of the target domain data, D f (a,b) represents the cosine distance between a and b.
[0154] Finally, the centroids of the categories in the target domain are recalculated based on these pseudo labels until the positions of the centroids become stable or the number of updates reaches the set threshold. The expression for the first updated centroid is:
[0155]
[0156] The final target loss function can be obtained from equations (22)-(29):
[0157]
[0158] where β>0 is a balancing hyperparameter.
[0159] It can be seen from the expression of the target loss function that this application only needs to learn the target domain-specific feature extractor by minimizing the target loss function, and then form a target domain model with the source domain classifier. The optimization process does not require the participation of source domain data, which is more suitable for rapid deployment on edge devices with limited computing and storage resources.
[0160] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.
Claims
1. An automatic modulation classification method, characterized in that: The automatic modulation classification method comprises: Acquire a baseband signal, and preprocess the baseband signal to determine the instantaneous amplitude, instantaneous phase, spectrum amplitude, quadratic spectrum, and quartic spectrum of the signal, extract time domain features and frequency domain features, and obtain multiple modal clues; A source domain model including a multimodal information fusion module and a classifier is constructed by minimizing the standard cross entropy loss, wherein the multimodal information fusion module includes a modal cue encoder, a cue reliability assessment component, a multimodal attention encoder and a classifier; multiple modal cues are input into the multimodal information fusion module to extract deep features, the input modal cues are evaluated for reliability through the cue reliability assessment component, and cross-modal semantic alignment and information complementation are achieved based on the cross-attention mechanism, the fused joint cues are input into the classifier to classify the modulated signal, and a stable source domain model is obtained after multiple iterative training; Initializing the target domain model using the stable source domain model, fixing the weight parameters of the classifier in the target domain model, adjusting the multimodal information fusion module in the target domain model, maximizing the mutual information between the target domain joint clues and the classifier output, achieving distribution alignment of the target domain and source domain data, and making the feature representation of the target domain data adapt to the source domain classifier; Based on the unlabeled sample data in the target domain, the target-specific centroid and pseudo-label are updated alternately by optimizing the intra-class divergence to minimize the loss function. The obtained pseudo-label is used to optimize the target domain model. The method comprises: inputting multiple modal clues into the multimodal information fusion module to extract deep features, performing reliability evaluation on the input modal clues through the clue reliability evaluation component, and realizing cross-modal semantic alignment and information complementation based on the cross-attention mechanism, and inputting the fused joint clues into the classifier to classify the modulated signal, including: The modality cue encoder is used to encode the modality cue to obtain an embedded representation of the signal, each modality cue corresponds to a modality cue encoder, and each modality cue encoder has the same structure but does not share a weight parameter; Assume that the modality cue encoder f CME (·), then the processing of modal cues and received signals in the modal cue encoder can be defined as follows: in, Represents the mapping function corresponding to the input; Based on the clue reliability evaluation component, stacked time convolution is used to model the temporal information of the modal clue, and the reliability score of the modal clue at each time step is generated to judge the state of the modal clue at each time step, suppress the unreliable part of the modal clue, and improve the contribution of the remaining intact segments to the signal representation, so as to obtain a more stable modal clue; By emphasizing the function to emphasize reliable cues, unreliable representations are suppressed; The mean square error is used as the loss function of the clue reliability evaluation component. The mean square error is the average of the sum of squares of the distances of each data from the true value. The smaller the mean square error, the more accurate the evaluation result of the clue reliability evaluation component. Based on the multimodal attention encoder, different modal cues are aligned in the same feature space, and the aligned modal cues are fused to obtain multimodal joint cues; Based on the classifier, the classification task of the modulation style of the target signal is completed by using multimodal joint clues, and the classifier includes three fully connected layers, wherein the first two fully connected layers are followed by ReLU activation function and Dropout, and the last layer outputs the number of target signal modulation style categories; When pre-training the source domain model, there are three loss functions, namely a first loss function, a second loss function and a third loss function. The first loss function is used to calculate the prediction classification loss of the modulation category, the second loss function is the loss function of the clue reliability evaluation component, and the third loss function is used to calculate the contrast loss between different modal clues.
2. The automatic modulation classification method according to claim 1, characterized in that: The acquired baseband signal is expressed as: r(t)=s(t;u i )+n(t) (1) Where: r(t) is the received signal, s(t; u i ) is the modulated baseband transmission signal, affected by the unknown parameter u i The influence of unknown signal parameters and unknown data symbols, a i represents amplitude, Δf represents carrier frequency offset, θ represents carrier phase, T represents period, ε represents time offset, n(t) is Gaussian white sound, g(t) represents pulse waveform, represents phase jitter, Represents the kth data symbol of the i-th modulation method.
3. The automatic modulation classification method according to claim 1, characterized in that: The baseband signal is preprocessed to determine the instantaneous amplitude, instantaneous phase, spectrum amplitude, quadratic spectrum and quartic spectrum of the signal, extract time domain features and frequency domain features, and obtain multiple modal clues, including: After estimating the signal carrier frequency, the signal carrier frequency is moved to zero frequency; The in-phase and quadrature components of the signal are used as a time domain modal clue Input_IQ of the signal; The spectrum amplitude, quadratic spectrum and quartic spectrum are used as the frequency domain modal clues Input_SPC of the signal, where the spectrum amplitude is the spectrum amplitude of the signal, the quadratic spectrum is the spectrum obtained by multiplying the signal by the quadratic power, and the quartic spectrum is the spectrum obtained by multiplying the signal by the fourth power; The normalized instantaneous amplitude and instantaneous phase components of the signal are taken as the modal clue Input_AP of the signal.
4. The automatic modulation classification method according to claim 3, characterized in that: The time domain modal clue Input_IQ, the frequency domain modal clue Input_SPC and the modal clue Input_AP are determined by the following method: Assume that the target signal cue The baseband complex signal obtained after processing is The in-phase component I(n) and the quadrature component Q(n) of the signal are the real and imaginary parts of the signal, respectively, and are expressed as: The in-phase component and the orthogonal component of the signal are stacked to form the in-phase and orthogonal components of the signal as the time domain modal clue Input_IQ: Input_IQ=[I(n);Q(n)]X1,...,X n (6) The calculation formula of the signal spectrum amplitude X1(k) is as follows: The calculation formula of the square spectrum X2(k) of the signal is as follows: The calculation formula of the signal's fourth power spectrum X3(k) is as follows: The spectrum amplitude, square spectrum and quartic spectrum of the modulated signal are stacked to form the signal spectrum feature as the frequency domain modal clue Input_SPC: Input_SPC=[X1(k);X2(k);X3(k)] (10) The normalized instantaneous amplitude of the signal is: The instantaneous phase of the signal is: The value range of phase(n) is (-π,π]; The normalized instantaneous amplitude and instantaneous phase of the signal are stacked to form the normalized instantaneous amplitude and instantaneous phase of the signal as Input_AP: Input_AP=[amp(n); phase(n)] (13).
5. The automatic modulation classification method according to claim 1, characterized in that: The method of using the stable source domain model to initialize the target domain model, fixing the weight parameters of the classifier in the target domain model, adjusting the multimodal information fusion module in the target domain model, maximizing the mutual information between the target domain joint clues and the classifier output, achieving distribution alignment of the target domain and source domain data, and making the feature representation of the target domain data adapt to the source domain classifier, includes: The stable source domain model is transferred to the target domain, and the parameters of the classifier are fixed so that the target domain classifier and the source domain classifier have the same structure and parameters. The optimal target domain feature extractor is learned by maximizing the mutual information between the target domain feature representation and the classifier output so that the extracted target domain feature distribution p(g t (x t )) Align the source domain feature distribution p(g s (x s )); The target domain feature representation z = p(g t (x t )) and the label y output by the classifier t The mutual information between t ,z) is expressed as: where y t Represents the label of the target domain sample, that is, the predicted output of the classifier; Representation variables The Shannon entropy is used to measure the stability of the system. The smaller the entropy value, the more stable the system. Decompose Equation (22) into two independent loss terms L div =H(y t ) and L ent =H(y t |z), L div =H(y t ) represents the entropy of the predicted output average, and reaches its maximum value when the generation probabilities of different categories are consistent; div The KL divergence is introduced into the expression of . The KL divergence is used to measure the distance difference between two distributions. For any two distributions, if the two distributions are the same, the KL divergence between the two distributions is determined to be 0; L ent =H(y t |z) is the conditional entropy, which represents the entropy of the system when the target domain feature representation is certain. The minimum value is obtained when the predicted output of each sample is certain. ent =H(y t |z) is represented by: in is the expected output of the entire target domain category probability, U represents uniform distribution, and the uniform distribution of K categories is expressed as 1 K is a K-dimensional vector with all 1s, express KL divergence of U, f t (x) = h t (g t (x)) is the K-dimensional output of each target sample, represents the kth element in the soft-max output of a K-dimensional vector a, L IM It is the inverse of the mutual information, and information maximization optimizes the IM loss function towards minimization.
6. The automatic modulation classification method according to claim 5, characterized in that: The method alternately updates the target-specific centroid and pseudo-label based on the unlabeled sample data in the target domain by optimizing the intra-class divergence minimization loss function, and the obtained pseudo-label is used to optimize the target domain model, including: The centroids in the initial target domain are expressed as: in Represents the learned target domain model; The target domain data is labeled according to the distance between each data sample in the target domain and the initial centroid, which is expressed as: in is the pseudo label of the target domain data, D f (a,b) represents the cosine distance between a and b; Recalculate the category centroids in the target domain according to the pseudo labels until the positions of the centroids become stable or the number of updates reaches a set threshold; The expression for the first updated centroid is: According to equations (22)-(29), the final target loss function is determined as: where β>0 is a balancing hyperparameter.
7. An automatic modulation classification device, characterized in that: include: A data preprocessing module is configured to obtain a baseband signal, and preprocess the baseband signal to determine the instantaneous amplitude, instantaneous phase, spectrum amplitude, quadratic spectrum and quartic spectrum of the signal, extract time domain features and frequency domain features, and obtain multiple modal clues; A model pre-training module is configured to construct a source domain model including a multimodal information fusion module and a classifier by minimizing a standard cross entropy loss, wherein the multimodal information fusion module includes a modal cue encoder, a cue reliability assessment component, a multimodal attention encoder and a classifier; multiple modal cues are input into the multimodal information fusion module to extract deep features, the input modal cues are evaluated for reliability through the cue reliability assessment component, and cross-modal semantic alignment and information complementation are achieved based on a cross-attention mechanism, the fused joint cues are input into the classifier to classify the modulated signal, and a stable source domain model is obtained after multiple iterative training; A model migration module is configured to initialize a target domain model using the stable source domain model, fix the weight parameters of the classifier in the target domain model, adjust the multimodal information fusion module in the target domain model, maximize the mutual information between the target domain joint clues and the classifier output, achieve distribution alignment of the target domain and source domain data, and make the feature representation of the target domain data adapt to the source domain classifier; The self-supervised learning module is configured to alternately update the target-specific centroid and pseudo-label based on the unlabeled sample data in the target domain by optimizing the intra-class divergence to minimize the loss function. The obtained pseudo-label is used to optimize the target domain model; The model pre-training module is further configured as follows: The modality cue encoder is used to encode the modality cue to obtain an embedded representation of the signal, each modality cue corresponds to a modality cue encoder, and each modality cue encoder has the same structure but does not share a weight parameter; Assume that the modality cue encoder f CME (·), then the processing of modal cues and received signals in the modal cue encoder can be defined as follows: in, Represents the mapping function corresponding to the input; Based on the clue reliability evaluation component, stacked time convolution is used to model the temporal information of the modal clue, and the reliability score of the modal clue at each time step is generated to judge the state of the modal clue at each time step, suppress the unreliable part of the modal clue, and improve the contribution of the remaining intact segments to the signal representation, so as to obtain a more stable modal clue; By emphasizing the function to emphasize reliable cues, unreliable representations are suppressed; The mean square error is used as the loss function of the clue reliability evaluation component. The mean square error is the average of the sum of squares of the distances of each data from the true value. The smaller the mean square error, the more accurate the evaluation result of the clue reliability evaluation component. Based on the multimodal attention encoder, different modal cues are aligned in the same feature space, and the aligned modal cues are fused to obtain multimodal joint cues; Based on the classifier, the classification task of the modulation style of the target signal is completed by using multimodal joint clues, and the classifier includes three fully connected layers, wherein the first two fully connected layers are followed by ReLU activation function and Dropout, and the last layer outputs the number of target signal modulation style categories; When pre-training the source domain model, there are three loss functions, namely a first loss function, a second loss function and a third loss function. The first loss function is used to calculate the prediction classification loss of the modulation category, the second loss function is the loss function of the clue reliability evaluation component, and the third loss function is used to calculate the contrast loss between different modal clues.
8. An electronic device comprising: Controller; A memory for storing one or more programs, which, when executed by the controller, enables the controller to implement the automatic modulation classification method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the automatic modulation classification method according to any one of claims 1 to 6.
