A multi-modulation identification system, method, device and medium

By combining dual-stream multi-representation input of I/Q baseband and APD physical features with a deep backbone network embedded channel attention mechanism and a Transformer multi-head self-attention mechanism, the problems of single signal representation and poor feature discrimination ability under noise interference in existing modulation recognition methods are solved, and efficient modulation recognition in complex communication scenarios is achieved.

CN122969942BActive Publication Date: 2026-11-24TIANFU JIANGXI LAB
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611451071.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-09-18
Publication Date
2026-11-24
Estimated Expiration
2046-09-18

AI Technical Summary

Technical Problem

Existing automatic modulation recognition methods lack the ability to extract deep physical features at the signal representation level, lack adaptive discrimination ability at the feature extraction level, and have insufficient recognition accuracy and robustness under noise interference, especially in complex communication scenarios.

Method used

By employing dual-stream multi-representation inputs of I/Q baseband and APD physical features, combined with the embedded channel attention mechanism of a structurally symmetrical deep backbone network and the Transformer multi-head self-attention mechanism, adaptive weighting and global temporal modeling of features are achieved, thereby improving the accuracy of feature capture and recognition.

Benefits of technology

It significantly improves the recognition accuracy and noise resistance of multi-class modulation signals, enables efficient modulation recognition in complex electromagnetic environments, and has strong recognition generalization ability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122969942B_ABST
    Figure CN122969942B_ABST
Patent Text Reader

Abstract

The application discloses a multi-characteristic modulation identification system, method, device and medium, and relates to the technical field of wireless communication and signal processing. The method comprises the following steps: acquiring a received signal complex baseband discrete sequence, constructing an I / Q baseband characteristic flow and an APD physical characteristic flow containing unwound phase difference; inputting the double-flow characteristics into a backbone network embedded with a channel attention mechanism to extract deep layer characteristics and adaptively weight; splicing and fusing the double-flow characteristics, mapping the double-flow characteristics to a unified dimension, superimposing position coding and classification tokens, and finally inputting the double-flow characteristics into a Transformer encoder to perform global timing modeling through a multi-head self-attention mechanism, and outputting an identification result through a classification module. The application realizes the organic cooperation of physical priori and deep learning, and significantly improves the modulation identification accuracy and noise robustness under a complex channel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wireless communication and signal processing technology, and specifically to a multi-characteristic modulation recognition system, method, device, and medium. Background Technology

[0002] The statements in this section are provided only as background information in connection with this disclosure and may not constitute prior art.

[0003] Automatic modulation identification (EMI) is a core technology in applications such as spectrum sensing and signal monitoring. Its goal is to accurately determine the modulation scheme of received signals, thereby supporting subsequent demodulation and information analysis. Different modulation types differ fundamentally in symbol constellation structure and waveform statistical characteristics. How to effectively extract these differentiated features from received signals is the core issue in modulation identification research. In recent years, deep learning technology has been widely applied in the field of automatic modulation identification. Existing network architectures (such as Convolutional Neural Networks (CNNs), Recurrent Neural Networks (RNNs / LSTMs), and Transformer networks) can automatically learn feature representations from raw signal sampling data, avoiding tedious manual feature engineering.

[0004] However, with the rapid development of wireless communication technology, the space electromagnetic environment is becoming increasingly complex, and existing automatic modulation identification methods generally face two limitations: On the one hand, at the signal representation level, most methods only use the original I / Q sampling sequence as a single input, which makes it difficult to fully explore the deep physical discrimination information such as phase jumps and amplitude changes contained in the modulated signal, and the feature expression ability is limited. Although a few methods introduce representation forms such as spectrograms and constellation diagrams, such transformations are often accompanied by severe information loss and poor noise resistance, and the recognition performance degrades significantly under low signal-to-noise ratio conditions.

[0005] On the other hand, at the feature extraction level, existing methods generally lack the ability to adaptively distinguish the importance of different feature channels, and it is difficult to stably highlight key discriminative features in scenarios with strong noise interference. In addition, existing sequence modeling methods have limitations in the capture efficiency of long-range temporal dependencies and the aggregation ability of global discriminative semantics, making it difficult to guarantee the recognition accuracy and robustness of the system in complex communication scenarios (such as multi-class, frequency offset and phase offset distortion). Summary of the Invention

[0006] The purpose of this invention is to address the problems of single signal representation, insufficient extraction of deep physical features, poor feature channel discrimination under noise interference, and low long-range time-dependent acquisition efficiency in existing automatic modulation recognition methods. This invention provides a multi-representation modulation recognition system, method, device, and medium. Based on constructing a dual-stream multi-representation input of I / Q baseband representation and polar coordinate APD physical features, a channel attention mechanism is embedded in a structurally symmetrical deep backbone network to adaptively weight feature channels. Finally, the features are spliced ​​and fused, and a Transformer multi-head self-attention mechanism is introduced for global time-series modeling. This achieves robust acquisition of effective features and accurate aggregation of global time-series relationships under complex noise and channel distortion environments, significantly improving the recognition accuracy and noise robustness of multi-class modulation signals.

[0007] The technical solution of the present invention is as follows: A multi-characteristic modulation recognition system, comprising: Step S1: Obtain the complex baseband discrete sequence of the received signal after down-conversion and baseband filtering, and construct the I / Q baseband characterization stream and APD physical feature stream of the received signal respectively; wherein, the APD physical feature stream includes an amplitude sequence, an instantaneous phase sequence, and a phase difference sequence after phase dewinding correction; Step S2: Input the I / Q baseband characterization stream and the APD physical feature stream into a structurally symmetrical dual-stream deep backbone network for feature extraction. The dual-stream deep backbone network includes cascaded residual blocks, each of which has a channel attention mechanism embedded in it. The feature channels are adaptively weighted through the channel attention mechanism, and the first deep feature and the second deep feature are output respectively. Step S3: The first deep feature and the second deep feature are concatenated along the channel dimension and sequentially processed by linear projection, layer normalization and nonlinear activation to map the features of each time step to a unified embedding dimension to obtain the fused sequence features; Step S4: Overlay a learnable positional code onto the fused sequence features, and insert a learnable classification token at the beginning of the fused sequence features to obtain a spliced ​​feature sequence; Step S5: Input the spliced ​​feature sequence into the Transformer encoder, and perform global temporal modeling through the multi-head self-attention mechanism in the Transformer encoder, so as to aggregate the global discriminative semantic information of the entire sequence through the classification token and obtain the global semantic representation. Step S6: Input the global semantic representation into the classification decision module for mapping and normalization processing, and output the modulation recognition result of the received signal.

[0008] Further, in step S1, the in-phase component of the complex baseband discrete sequence of the received signal after down-conversion and baseband filtering is denoted as... Orthogonal components are denoted as ,in, This is the index of the discrete-time sampling point at the current moment; Constructing the APD physical feature stream of the received signal specifically includes: Calculate amplitude sequence : ; Calculate the instantaneous phase sequence : ,in It is the arctangent function in the four quadrants; Calculate the phase difference sequence after phase unwinding correction. : ;in, This is the original phase difference sequence. This is the index of the discrete-time sampling point from the previous moment. This is the rounding operator.

[0009] Furthermore, in step S2, the feature channels are adaptively weighted through the channel attention mechanism, specifically including three stages: compression, activation, and recalibration. Compression stage: One-dimensional global average pooling is used to eliminate the time dimension span, compressing the global spatial information into a channel descriptor vector; Activation phase: The channel descriptor vector is input into a bottleneck structure containing two fully connected layers to implicitly learn the nonlinear interaction relationship between multiple channels, and a weight masking vector is generated by mapping through a nonlinear activation function; Recalibration stage: The weight masking vector is multiplied element-wise along the channel dimension with the initial features input to the channel attention mechanism to achieve adaptive adjustment of the response intensity of each feature channel.

[0010] Furthermore, each of the structurally symmetrical dual-stream deep backbone networks includes an initial convolutional layer and three residual blocks connected in series. The deep backbone network employs a stepped downsampling mode for deep feature extraction. As features flow from shallow to deep, the number of feature channels increases exponentially. At the same time, by setting the stride of the convolutional kernel, downsampling is performed in the time dimension, which reduces the sequence length step by step, forming a pyramid-like hierarchical topology.

[0011] Furthermore, the specific process of step S3 includes: The first deep feature and the second deep feature are concatenated along the channel dimension to obtain a joint feature map; The joint feature map is expanded along the time dimension, and the channel vector at each time step is treated as an independent token and input into the linear projection module. It is then mapped to a unified embedding dimension through a learnable linear transformation and cross-stream linear combination. Subsequently, it is processed by layer normalization and GELU activation function to output the fused sequence features.

[0012] Further, in step S5, the calculation process of the multi-head self-attention mechanism in the Transformer encoder includes: By using three independent linear transformations, the concatenated feature sequence is projected onto the query subspace, key space, and value subspace respectively to obtain the query vector, key vector, and value vector; Calculate the scaled dot product similarity between the query vector and all the key vectors, and obtain the attention weights between each position pair after Softmax normalization; The value vector is weighted and summed based on the attention weights. Based on the parallel operation of multiple independent attention heads, the outputs of each head are concatenated and restored to the original feature dimension through linear projection.

[0013] Furthermore, in step S6, the classification decision module is a multilayer perceptron containing a single hidden layer; The global semantic representation is input into the classification decision module, and then sequentially passes through the first fully connected layer, ReLU activation function, Dropout deactivation operation, second fully connected layer and Softmax function for mapping and normalization. The predicted probability distribution of each modulation category is output, and the category corresponding to the highest probability is selected as the modulation recognition result of the received signal.

[0014] This invention also proposes a multi-representation modulation recognition system for implementing the above-mentioned multi-representation modulation recognition method based on a dual attention mechanism. The system includes: A multi-characterization construction module is used to obtain the complex baseband discrete sequence of the received signal after down-conversion and baseband filtering, and to construct the I / Q baseband characterization stream and APD physical feature stream of the received signal respectively; The deep feature extraction module is used to input the I / Q baseband representation stream and the APD physical feature stream into a structurally symmetrical dual-stream deep backbone network for feature extraction. The feature channels are adaptively weighted through an embedded channel attention mechanism, and the first deep feature and the second deep feature are output respectively. The feature fusion and projection module is used to stitch the first deep feature and the second deep feature along the channel dimension, and then sequentially process them through linear projection, layer normalization and nonlinear activation to obtain the fused sequence feature; A sequence preprocessing module is used to superimpose learnable positional codes on the fused sequence features and insert learnable classification tokens at the beginning to obtain a spliced ​​feature sequence. The global temporal modeling module is used to input the spliced ​​feature sequence into the Transformer encoder and perform global temporal modeling through a multi-head self-attention mechanism to obtain a global semantic representation. The classification decision module is used to map and normalize the global semantic representation and output the modulation recognition result of the received signal.

[0015] The present invention also proposes an electronic device, comprising: At least one processor; and a memory communicatively connected to said at least one processor; The memory stores instructions that can be executed by the at least one processor, and the at least one processor executes the instructions stored in the memory to perform the method described above.

[0016] The present invention also proposes a computer-readable storage medium for storing instructions that, when executed, cause the method described above to be implemented.

[0017] Compared with existing technologies, the advantages of this invention are: 1. Dual-stream multi-representation complementarity and anti-distortion advantages of dewinding. This invention breaks through the limitations of single data input, constructing a dual-stream input of I / Q baseband and APD (amplitude-phase-phase difference). The I / Q stream losslessly preserves the geometric structure of the constellation diagram, while the APD stream explicitly injects the physical generation mechanism; in particular, a phase unwrapping correction algorithm is introduced for phase difference calculation, completely eliminating false "pseudo-peak" singularities caused by principal value interval limitations during polar coordinate transformation. The two are highly complementary semantically, providing the network with a highly physically interpretable and noise-resistant high-fidelity feature base.

[0018] 2. Adaptive Noise Reduction Advantages of First-Level Attention (Channel Attention). This invention embeds a channel attention mechanism (SE-Block) into the residual units of the dual-stream backbone network. Through a "compression-activation-recalibration" process, the network can implicitly learn the nonlinear interaction relationships between multiple channels based on the current signal-to-noise ratio (SNR). This mechanism effectively strengthens channels carrying strong discriminative features while suppressing noise-dominated redundant channels, greatly improving the model's robustness in feature capture under harsh low SNR environments.

[0019] 3. Advantages of Global Temporal Aggregation in Secondary Attention (Multi-head Self-Attention). This invention abandons the traditional recurrent neural network and adopts the Transformer encoder architecture. Through the multi-head self-attention mechanism, it achieves parallel modeling of the global temporal dependencies of fused sequence features. This not only solves the problem of low efficiency in capturing long sequences, but also adaptively weights and aggregates the global semantic information of the entire sequence by inserting a dedicated learnable classification token ([CLS]), avoiding the dilution of important local features by traditional global average pooling.

[0020] 4. Strong recognition and generalization ability. Through the organic synergy of multiple representation features and dual attention mechanism, this invention achieves highly clear inter-class separation and intra-class aggregation on datasets containing dozens of modulation methods such as PSK, FSK, and QAM, as well as actual channel distortions such as frequency offset and phase offset. The degree of confusion is extremely low, and it has extremely high engineering application value in complex and ever-changing actual electromagnetic environments. Attached Figure Description

[0021] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments recorded in the embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings.

[0022] Figure 1 This is a schematic diagram illustrating an application scenario of the multi-representation modulation recognition method based on a dual attention mechanism provided in an embodiment of the present invention. Figure 2 This is an overall network architecture diagram provided for embodiments of the present invention; Figure 3 A comparison diagram of APD physical characteristic waveforms for common modulation types provided in embodiments of the present invention; Figure 4 The residual block (SE residual block) structure diagram of the embedded channel attention mechanism provided in the embodiments of the present invention; Figure 5 The structure diagram of the sequence preprocessing module and the global time series modeling module provided in the embodiments of the present invention; Figure 6 The recognition results of this invention on the modulation recognition dataset disclosed in RML2018.01a; Figure 7 The recognition results of this invention on the HisarMod2019.1 publicly available modulation recognition dataset; Figure 8 This is a t-SNE visualization result of the features extracted from the RML2018.01a dataset in this invention; Figure 9This is the confusion matrix of the present invention on the RML2018.01a dataset. Detailed Implementation

[0023] The features and performance of the present invention will be further described in detail below with reference to embodiments.

[0024] Example 1 To address the shortcomings of existing modulation recognition methods, such as limited signal representation and insufficient feature extraction, this invention proposes a Dual Attention Multi-Representation Network (DAMRN) method. Application scenarios are detailed below. Figure 1 As shown, this network uses I / Q baseband representation and Amplitude-Phase Differential-Phase (APD) physical representation as dual-stream multi-representation inputs, thereby fully utilizing the complementary information contained in different representations. Then, deep features are extracted through symmetrical deep feature extraction modules, and the deep features of different signal representations are integrated by feature fusion and projection modules. Finally, the Transformer encoder captures the global temporal relationship of the signal, and the classification decision module outputs the modulation category prediction result.

[0025] The overall technical solution architecture of this invention is shown in the appendix. Figure 2 As shown. The main components of this network include: A multi-characterization construction module is used to obtain the complex baseband discrete sequence of the received signal after down-conversion and baseband filtering, and to construct the I / Q baseband characterization stream and APD physical feature stream of the received signal respectively; The deep feature extraction module is used to extract the I / Q baseband characterization stream. and the APD physical feature flow The features are respectively input into a symmetrical dual-stream deep backbone network for feature extraction. The feature channels are adaptively weighted through an embedded channel attention mechanism, and the first deep feature and the second deep feature are output respectively. The feature fusion and projection module is used to stitch the first deep feature and the second deep feature along the channel dimension, and then sequentially process them through linear projection, layer normalization and nonlinear activation to obtain the fused sequence feature; A sequence preprocessing module is used to superimpose learnable positional codes on the fused sequence features and insert learnable classification tokens at the beginning to obtain a spliced ​​feature sequence. The global temporal modeling module is used to input the spliced ​​feature sequence into the Transformer encoder and perform global temporal modeling through a multi-head self-attention mechanism to obtain a global semantic representation. The classification decision module is used to map and normalize the global semantic representation and output the modulation recognition result of the received signal.

[0026] Each module will be explained separately below.

[0027] 1. Multi-representation construction module This module is used to acquire the complex baseband discrete sequence of the received signal after down-conversion and baseband filtering, and to construct the I / Q baseband characterization stream and APD physical feature stream of the received signal, respectively; wherein, the APD physical feature stream includes an amplitude sequence, an instantaneous phase sequence, and a phase difference sequence after phase dewinding correction.

[0028] Specifically, this module is responsible for constructing a multi-dimensional signal representation for modulation recognition tasks from the original sampled sequences, providing reliable multi-dimensional input for the subsequent deep feature extraction module.

[0029] (1) Baseband I / Q characterization (i.e., I / Q baseband characterization flow) After down-conversion and baseband filtering, the radio frequency signal can be represented as a complex baseband discrete sequence, whose in-phase and quadrature components are denoted as follows: and ,in, Index of discrete-time sampling points at the current moment ( , (This refers to the number of signal sampling points). From a physical perspective, and These correspond to the projections of the complex envelope onto the orthogonal basis, respectively, and can completely characterize the geometric structure of the symbol constellation in the complex plane. Therefore, I / Q representation is usually regarded as the most basic and complete input form in automatic modulation recognition tasks. Formally, the complex baseband signal can be written as:

[0030] although, Complex tensors are more compact in mathematical terms, but they are not typically handled directly in deep learning frameworks. This article will... and Treating them as two independent real-valued channels, they are combined into a two-dimensional input tensor and fed into the network to adapt to mainstream convolution operators and tensor computation processes. Specifically, for a single signal sample of length L, the I / Q input can be expressed as:

[0031] This input method has two advantages: First, the I / Q dual-channel structure is numerically equivalent to a complex baseband representation, which can retain all the information of the modulation signal without loss, providing sufficient data support for subsequent feature extraction. Second, separating the I and Q paths into two channels allows the convolutional network to learn the coupling relationship between them within a local window (e.g., phase rotation, quadrant transitions, constellation point diffusion patterns, etc.), thereby extracting discrimination features related to the modulation type more effectively. Furthermore, the original I / Q representation is particularly crucial for modulation schemes sensitive to constellation structure (such as QAM). For M-QAM signals, different modulation orders correspond to different amplitude level distributions and phase state combinations, and their geometric differences are manifested in the I / Q plane as changes in the hierarchy and density of constellation points. The I / Q dual-channel input provides a stable geometric benchmark for the network, enabling the model to fully utilize the spatial distribution patterns of the constellation structure during the learning process, thereby improving the separability between modulations of the same family. Based on this, this embodiment further introduces APD physical representation as a supplementary perspective to compensate for the implicit, nonlinear, and difficult-to-learn problems of physical features in the I / Q representation, forming a complementary multi-representation input system.

[0032] (2) APD physical representation (i.e., APD physical feature flow) To obtain the physical prior features of the explicitly injected signal, this invention transforms the I / Q coordinate system to the polar coordinate system and constructs three types of physical features: amplitude, phase, and phase difference. APD feature maps of common modulation signals are attached. Figure 3 As shown.

[0033] Amplitude sequence: Directly reflects the evolution of signal envelope energy over time, and is of direct significance in distinguishing between constant envelope modulation (PSK, FSK) and non-constant envelope modulation (QAM). Its calculation can be given by the following formula:

[0034] The instantaneous phase sequence of a signal can be derived from the four-quadrant arctangent function. Calculated. Compared to the standard arctangent function. The latter's range is only Unable to base and The symbols used to distinguish the quadrants cause signal points in different quadrants to produce the same phase estimate, resulting in quadrant ambiguity and information loss. The function determines the quadrant of the phase by jointly judging the signs of I[n] and Q[n], thus expanding the range of instantaneous phase representation to [a wider range]. This effectively eliminates the quadrant ambiguity problem of the standard arctangent function:

[0035] Phase difference sequences are used to characterize the rate of change of a signal's phase over time, and are physically equivalent to instantaneous frequency estimation of the signal. This feature directly indicates the frequency shift structure of Frequency Shift Keying (FSK) signals and also has strong discriminative power for the phase transition positions of Phase Shift Keying (PSK) signals, making it an important dimension for distinguishing between frequency-modulated and phase-modulated signals. The original phase difference sequence is obtained by subtracting the instantaneous phases of adjacent time steps, as shown in the following equation:

[0036] in, This is the index of the discrete-time sampling point from the previous moment; However, in actual calculations, the phase winding problem must be considered. Because The function's output is strictly limited to the principal value range. Within, when the true phase change amplitude of the signal exceeds At that time, the calculated phase value will change by The abrupt changes in the periodicity lead to false "pseudo-peaks" in the difference sequence, which contradict the true physical state of the signal. If these mathematical singularities are not eliminated, they will severely mislead the subsequent feature learning process of the neural network and reduce its interpretability. Therefore, this invention introduces a phase unwrapping correction algorithm to perform phase unwrapping on the original difference sequence. Periodic compensation is used to restore the true phase change of the signal, as shown in the following equation:

[0037] in, This indicates the rounding operator. This correction term identifies and compensates for phase jump components that exceed the principal value interval, thus constraining the difference result back to the nearest integer. Within the interval, this eliminates the mathematical singularity introduced by phase winding.

[0038] 2. Deep Feature Extraction Module This module is used to input the I / Q baseband characterization stream and the APD physical feature stream into a structurally symmetrical dual-stream deep backbone network for feature extraction. The dual-stream deep backbone network includes cascaded residual blocks, each of which embeds a channel attention mechanism. The channel attention mechanism adaptively weights the feature channels and outputs the first deep feature and the second deep feature, respectively.

[0039] Specifically, the deep feature extraction module is primarily responsible for extracting high-dimensional deep semantic features from the original signal multi-representation (I / Q baseband representation stream and APD physical feature stream). To achieve robust feature capture in complex noisy environments, our backbone network combines hierarchical large-scale convolutions with residual units embedded with a channel attention mechanism (SE-Block). The specific network structure is shown in the attached figure. Figure 4 As shown.

[0040] Let the features of the input sequence be... ,in Given the number of input channels (2 for IQ stream and 3 for APD stream), the entire feature extraction process can be divided into the following three stages: (1) Shallow feature extraction stage The network first performs preliminary feature mapping and downsampling through a convolutional layer with a large receptive field (initial convolution) to filter high-frequency noise and reduce the initial dimensionality:

[0041] in, For the input sequence features, The initial mapping features for the output; As a one-dimensional convolution operation, the Conv1D convolution kernel size of this shallow feature extraction layer is k=7 and stride s=2. This convolution kernel can cover a wider input region in a single convolution operation and effectively integrate the correlation information of local adjacent signal sampling points. For batch normalization; This is a linear rectification activation function used to introduce nonlinear transformations.

[0042] (2) Channel attention enhancement stage The main body of the network consists of three cascaded SE residual blocks. Within each residual block, a channel attention mechanism is introduced to dynamically calibrate channel characteristics. Let the... The input features of each residual block are This feature first extracts local deep features through the main convolutional branch:

[0043]

[0044] In the formula, and These represent the first and second one-dimensional convolutional layers in the main convolutional branch of the residual block, respectively. After passing through the first one-dimensional convolutional layer and batch normalization and linear rectification activation function Intermediate features obtained after processing; This refers to the final output of the deep features to be calibrated.

[0045] This channel attention mechanism effectively suppresses irrelevant feature channels with excessive noise while enhancing channels with relevant modulation features. The process consists of three steps: Compression stage: One-dimensional global average pooling is used to eliminate the time dimension span, compressing the global spatial information into a channel descriptor vector. The descriptor for the c-th channel is calculated as follows:

[0046] In the formula, This represents the number of temporal features for each channel after downsampling; This is the time step index for the time series feature, and its value range is... to ; This represents the deep features to be calibrated. In the The first channel, the first The feature values ​​are taken at each time step. This operation provides a global statistical prior for subsequent channel importance estimation by calculating the mean, avoiding the channel weight estimation bias caused by relying solely on local time step information.

[0047] Activation Phase: Through a bottleneck structure containing two fully connected layers, the nonlinear interaction activation relationships between multiple channels are implicitly learned to generate a weight masking vector. :

[0048] In the formula, This is the channel descriptor vector output from the previous stage; This is the generated weight masking vector; The input is the original number of feature channels for this activation phase; This is the weight matrix of the first fully connected layer, used to adjust the compression ratio. Dimensional reduction; This is the weight matrix for the second fully connected layer, used to restore the original number of channels by increasing the dimensionality. It is a linear rectification activation function; The sigmoid function maps the final channel weights to the (0,1) interval. In modulation recognition tasks, this mechanism enables the network to dynamically determine which channels carry more discriminative modulation features based on the current signal-to-noise ratio, thereby suppressing noise-dominant channels.

[0049] Recalibration stage: The learned weight distribution is reapplied to the main branch features to achieve dynamic gating of feature channels.

[0050] In the formula, The deep features to be calibrated in this recalibration phase are input; The weight masking vector generated in the previous stage; This is an element-wise multiplication operation along the channel dimension; This is the calibration feature output after weight recalibration. After recalibration, the response intensity of each feature channel is adaptively adjusted.

[0051] After channel attention calibration, the network ensures effective gradient propagation through skip connections. If channel changes occur between blocks or stride downsampling leads to a mismatch in the number of channels, a 1×1 convolution is applied to the input for alignment.

[0052] In the formula, This represents the alignment mapping function for skip connections; when a mismatch occurs, the expression in the formula... Specifically refers to a one-dimensional convolution operation with a kernel size of 1, used to achieve linear alignment along the channel dimension.

[0053] No. The final output of each module is in the form of:

[0054] (3) Hierarchical feature extraction and aggregation stage As network architectures become more sophisticated, residual modules are designed with a stepped downsampling pattern. As features transition from shallow to deep, the number of feature channels increases exponentially. This expands the network's capacity to represent complex high-order modulation modes in deep space laterally. Simultaneously, two time-dimension downsampling operations are performed using convolutional kernels with a stride of s=2, gradually halving the sequence length.

[0055] Let the set of hierarchical mapping functions for the entire deep feature extraction module be defined as follows: The final output feature map That is:

[0056] at this time, The dimension is abstracted as This hierarchical spatial downsampling not only rapidly expands the relative receptive field of high-level features, but more importantly, it significantly reduces the dimensionality of the extremely long original signal sequence, thereby significantly reducing the quadratic complexity and computational overhead faced by subsequent global modeling by Transformer, and realizing the efficient cascading of local features and global temporal modeling.

[0057] The two-stream network outputs the first deep features respectively. Second deep features Both have the same dimension. , denoted as the length of the downsampled sequence. This hierarchical spatial downsampling not only rapidly expands the relative receptive field of high-level features, but more importantly, it significantly reduces the dimensionality of the extremely long original signal sequence, thereby significantly reducing the quadratic complexity and computational overhead encountered during subsequent global modeling by the Transformer.

[0058] 3. Feature Fusion and Projection Module This module is used to concatenate the first deep feature and the second deep feature along the channel dimension, and then sequentially process them through linear projection, layer normalization and nonlinear activation to map the features of each time step to a unified embedding dimension, thereby obtaining fused sequence features.

[0059] Specifically, to simultaneously characterize the time-domain features and amplitude-phase-phase difference (APD) physical features of the original I / Q signals, this paper employs a dual-stream backbone network to perform deep representation learning on both types of inputs. Let the input sequence length be... The total downsampling factor of the backbone network is The length of the downsampled sequence is then... .

[0060] After obtaining the backbone features of the two streams, how to effectively fuse these two types of heterogeneous features is one of the core issues in multi-stream network design. I / Q stream features focus on learning temporal morphological information from the original sampled waveforms; APD stream features, on the other hand, take physical mechanisms as input and have explicit physical interpretability. If element-wise addition or similar methods are used for fusion, it implicitly requires a one-to-one semantic correspondence between the two streams across each channel dimension, a constraint that is too strong to satisfy. In contrast, this embodiment uses channel-dimensional splicing operations to fuse the two stream features, obtaining a joint feature map:

[0061] In the formula, This indicates a splicing operation along the channel dimension; The joint feature map output after concatenation has its channel count expanded to twice that of the original single-stream features (i.e., The sequence length remains constant. constant.

[0062] This operation fully preserves the independent representation space of each stream, thus achieving complete preservation of complementary information. After channel-level fusion, a linear projection module is introduced to expand the joint feature map along the time dimension. The channel vector at each time step is treated as an independent token, and a learnable linear transformation is used to map it from the two-stream concatenated channel space to a unified embedding dimension. For the first token at each time step The projection operation can be represented as:

[0063] In the formula, It is a learnable linear projection weight matrix; It is a learnable bias vector; Layer Normalization; For activation functions; For the first The feature vectors output after linear projection and nonlinear activation at each time step. Stacking the projection results of all time steps along the time dimension yields the projected fused sequence features:

[0064] In the formula, This represents a comprehensive projection operation function that encompasses the linear transformation, layer normalization, and nonlinear activation. This represents the joint feature map input to the projection module (i.e., the one mentioned above). ); The final output features of the fused sequence.

[0065] This linear projection module has three functions. First, it can learn the projection matrix. First, cross-stream linear combination is performed on the global dimension of the two-stream splicing channels, enabling the network to adaptively model the cross-stream correlation between the I / Q feature channels and the APD feature channels in an end-to-end manner, achieving more sufficient feature interaction than direct splicing. Second, layer normalization normalizes the projected features sample by sample, effectively alleviating the problem of inconsistent feature scales caused by differences in input distribution between the two streams and improving the numerical stability of the training process. Third, the GELU activation function introduces nonlinearity after linear transformation, enhancing the expressive power of the embedded representation.

[0066] 4. Sequence preprocessing module and global time series modeling module This invention introduces a Transformer encoder to replace the traditional recurrent neural network. Based on a multi-head self-attention mechanism, and combined with learnable positional encoding and a classification token strategy, it achieves global temporal modeling and semantic aggregation of fused feature sequences. The specific network architecture is shown in the appendix. Figure 5 As shown.

[0067] The sequence preprocessing module is used to superimpose learnable positional codes on the fused sequence features and insert learnable classification tokens at the beginning of the fused sequence features to obtain a spliced ​​feature sequence.

[0068] Specifically, after processing by the fusion projection module, a fusion sequence feature carrying complementary information from both streams is obtained. However, the Transformer encoder itself lacks an inherent ability to perceive the positional relationships within the input sequence. Without explicit encoding of positional information, the model will be unable to distinguish the sequential relationships between different time steps. Therefore, this paper employs a learnable positional encoding strategy, assigning a set of positional embedding vectors to each position in the sequence, which are then optimized synchronously with network training, and superimposed onto the corresponding token features.

[0069] in, This is a learnable positional coding matrix, whose parameters are adaptively updated through gradient backpropagation during training. Compared to fixed-position coding based on sine functions, learnable positional coding can autonomously learn positional representations based on the temporal statistical patterns of the modulated signal.

[0070] Furthermore, a learnable classification token is inserted at the beginning of the feature sequence. The sequence length is determined by Expand to . The token does not correspond to any specific time-step feature, but rather serves as a global semantic aggregation node. During subsequent multi-head self-attention computation, it interacts with all other tokens in the sequence, adaptively aggregating the global temporal information of the entire sequence. Its concatenated feature sequence can be represented as:

[0071] In the formula, This indicates a concatenation operation along the length dimension of the sequence; For the learnable classification token; This refers to the fused sequence features after overlaying position encoding; This is the concatenated feature sequence that is ultimately output to the Transformer encoder.

[0072] The global temporal modeling module is used to input the spliced ​​feature sequence into the Transformer encoder and perform global temporal modeling through the multi-head self-attention mechanism in the Transformer encoder, so as to aggregate the global discriminative semantic information of the entire sequence through the classification token and obtain the global semantic representation.

[0073] Specifically, the core computational unit of the Transformer encoder is the multi-head self-attention mechanism (MHSA). For concatenating feature sequences... MHSA first projects the key into three subspaces—query, key, and value—through three independent linear transformations:

[0074] In the formula, , , These are the learnable projection matrices corresponding to the query, key, and value subspaces, respectively; , , These are the query vector, key vector, and value vector obtained after the input sequence undergoes a linear transformation using the projection matrix, respectively.

[0075] A single attention head calculates the scaled dot product similarity between the query vector and all key vectors, normalizes it using Softmax to obtain the attention weights between each pair of positions, and then applies these weights to the value vectors for a weighted sum.

[0076] In the formula, Represents the key vector The matrix transpose operation performed; It is a normalized exponential function; The attention feature output is the result of scaling the dot product and weighted summation of a single attention head; Scaling factor for the feature dimension of a single attention head This is used to prevent the dot product result from becoming too large as the dimension increases, thus avoiding the Softmax function from getting stuck in the gradient saturation region.

[0077] Multi-head mechanism running in parallel Based on individual attention heads, the outputs of each head are concatenated and linearly projected back to the original feature dimensions:

[0078] In the formula, They represent the first to the second. Attention feature results output by each independent attention head; This represents the linear projection operation of the fully connected layer used for feature reduction; This is the comprehensive feature representation output after the multi-head self-attention mechanism is combined and mapped.

[0079] The multi-head parallel computing mechanism enables the model to simultaneously capture semantic associations of multiple granularities within a sequence in different representation subspaces, enhancing the expressive power of feature interactions. Furthermore, from a signal processing perspective, MHSA has a natural suppression effect on the difference in correlation between noise components and effective features, helping to maintain the stability of feature extraction in complex channel environments.

[0080] The Transformer encoder employs a multi-layer stacked structure, with each layer consisting of an MHSA sublayer and a feedforward network (FFN) sublayer connected in series. Residual connections and layer normalization operations are introduced into each sublayer.

[0081]

[0082]

[0083] In the formula, These are intermediate features output after processing by a multi-head self-attention sub-layer, residual connections, and the first layer normalization; Indicates feedforward network operation; and These are the weight matrix and bias vector of the first linear transformation in the feedforward network, respectively. and These are the weight matrix and bias vector of the second-layer linear transformation in the feedforward network, respectively. This refers to the sequence features that are ultimately output by the Transformer encoder layer.

[0084] After processing by two layers of Transformer encoders, The token has fully aggregated the discriminative information of each time step in the sequence through multiple rounds of global attention interaction, and its corresponding output feature vector serves as the global semantic representation of the entire signal.

[0085] 6. Classification Decision Module This module is used to input the global semantic representation into the classification decision module for mapping and normalization processing, and output the modulation recognition result of the received signal.

[0086] Specifically, with Token encoding output The global semantic representation is used as the input for classification features and fed into a multilayer perceptron (MLP) with a single hidden layer to complete the final classification decision. The forward computation formula is as follows:

[0087] In the formula, The class scores (Logits) output by the model are mapped to the predicted probabilities of each class through the Softmax function, and the class corresponding to the highest probability is taken as the final recognition result. and These are the weight matrix and bias vector of the first fully connected layer in a multilayer perceptron, respectively. This layer will... The 128-dimensional Transformer hidden layer features are mapped to compact 128-dimensional classification features, and then... The activation function introduces a nonlinear transformation; This is the feature dimension of the global semantic representation (which is equivalent to the aforementioned unified embedding dimension). ); To suppress overfitting, a Dropout operation (with a deactivation rate of p=0.5) is applied to the output of this layer. During the training phase, some neurons are randomly set to zero at this deactivation rate, forcing the network to learn more robust feature representations. and These are the weight matrix and bias vector of the second fully connected layer (i.e., the classification layer), respectively. The total number of target modulation categories.

[0088] The parameter configurations of each module of the DAMRN network proposed in this embodiment are as follows: The network employs a dual-stream input structure, with the I / Q baseband representation stream and the APD physical feature stream having input dimensions of 2×L and 3×L, respectively, where L represents the number of signal sampling points. The two feature streams are fed into a structurally symmetrical deep backbone network. The backbone network consists of an initial convolutional layer (kernel size 7, stride 2) cascaded with three SE residual modules. The output channel numbers of the three residual SE layers are successively expanded to 48, 96, and 192, with the last two layers having a stride of 2 to progressively compress the sequence length, resulting in a total downsampling factor of 8. Each residual SE layer contains two one-dimensional convolutions with a kernel size of 3 and padding of 1, and embeds an SE-Block with a compression ratio r=16 to achieve adaptive channel weighting. After concatenating the output features of the dual-stream backbone network along the channel dimension, feature fusion and projection are completed through a linear layer (384→256), layer normalization, and GELU activation, resulting in a sequence representation with an embedding dimension D=256. Subsequently, a learnable classification token [CLS] is inserted at the beginning of the sequence and superimposed with a learnable positional encoding. This is then fed into a temporal attention module consisting of two Transformer encoder layers. Each encoder layer contains an 8-head multi-head self-attention mechanism and a feedforward network (with a hidden layer dimension of 1024). The activation function is GELU, and a Dropout rate of 0.1 is set during training. Finally, the output features corresponding to the [CLS] token are fed into the classification head, which sequentially passes through a linear layer (256→128), ReLU activation, and a linear layer (128→C) to output the predicted scores for each modulation category. A Dropout strategy with p=0.5 is used during training, where C is the number of modulation categories.

[0089] Example 2 This embodiment, based on the multi-characteristic modulation recognition system proposed in Embodiment 1, also proposes a multi-characteristic modulation recognition method, which specifically includes the following steps: Step S1: Obtain the complex baseband discrete sequence of the received signal after down-conversion and baseband filtering, and construct the I / Q baseband characterization stream of the received signal respectively. and APD physical feature flow The APD physical feature stream includes an amplitude sequence, an instantaneous phase sequence, and a phase difference sequence after phase dewinding correction.

[0090] Specifically, the radio frequency signal after down-conversion and baseband filtering can be represented as a complex baseband discrete sequence, whose in-phase and quadrature components are denoted as follows: and ,in, Index of discrete-time sampling points at the current moment ( , (This refers to the number of signal sampling points). From a physical perspective, and Each corresponds to the projection of the complex envelope onto the orthogonal basis, which can fully characterize the geometric structure of the symbol constellation in the complex plane.

[0091] Therefore, I / Q representation is generally considered the most fundamental and informative input form in automatic modulation recognition tasks. Formally, a complex baseband signal can be written as:

[0092] Although its complex form is mathematically more compact, this embodiment will... and These are considered as two independent real-valued channels, forming a two-dimensional input tensor fed into the network. For a length of... A single signal sample, the I / Q input, can be represented as a matrix:

[0093] This input structure constitutes the I / Q baseband characterization stream. In this embodiment, it should be noted that this input method has two advantages: On the one hand, the I / Q dual-channel structure is numerically equivalent to the complex baseband representation, which can retain all the information of the modulation signal without loss, providing sufficient data support for subsequent feature extraction; On the other hand, separating the I-path and Q-path into two channels enables the convolutional network to learn the coupling relationship between them within a local window (such as phase rotation, quadrant transition, constellation point diffusion morphology, etc.), thereby extracting discriminative features related to modulation type more effectively.

[0094] Furthermore, the original I / Q representation is particularly crucial for modulation schemes sensitive to constellation structure (such as QAM). For M-QAM signals, different modulation orders correspond to different amplitude level distributions and phase state combinations, and their geometric differences manifest as variations in the hierarchy and density of constellation points in the I / Q plane. Dual I / Q inputs provide a stable geometric benchmark for the network, enabling the model to fully utilize the spatial distribution patterns of the constellation structure during the learning process, thereby improving the separability between modulations of the same family. Building upon this, this invention further introduces APD physical representation as a supplementary perspective to compensate for the implicit, nonlinear, and difficult-to-learn physical features in the I / Q representation, forming a complementary multi-representation input system.

[0095] To obtain the physical prior features of the explicitly injected signal, this invention transforms the I / Q coordinate system to the polar coordinate system and constructs three types of physical features: amplitude, phase, and phase difference. APD feature maps of common modulation signals are attached. Figure 3 As shown.

[0096] Building upon this, to overcome the shortcomings of implicit, nonlinear, and difficult-to-learn physical features in I / Q representation, this embodiment explicitly injects the physical prior features of the signal, transforms the I / Q coordinate system to the polar coordinate system, and constructs the APD (Amplitude Phase Differential-Phase) physical feature flow of the received signal, specifically including: (1) Calculate the amplitude sequence : This feature directly reflects the evolution of the signal envelope energy over time, and has direct discriminative significance for distinguishing between constant envelope modulation (such as PSK and FSK) and non-constant envelope modulation (such as QAM).

[0097] (2) Calculate the instantaneous phase sequence : ,in This is the arctangent function in the fourth quadrant. Compared to the standard arctangent function, the latter's range is only... Unable to base and The sign of the signal in the quadrant is used to distinguish the quadrant, causing signal points in different quadrants to produce the same phase estimate, resulting in quadrant ambiguity and information loss. The four-quadrant arctangent function, however, uses a joint judgment... and The sign determines the quadrant in which it is located, extending the range of representation to... This effectively eliminates the quadrant ambiguity problem of the standard arctangent function.

[0098] (3) The phase difference sequence is used to characterize the rate of change of the signal phase over time, which is physically equivalent to the instantaneous frequency estimation of the signal. This feature has a direct indicative effect on the frequency shift structure of frequency keying (FSK) signals, and also has strong discriminative power for the phase jump position of phase shift keying (PSK) signals. It is an important discriminative dimension for distinguishing between frequency modulation and phase modulation signals. The original phase difference sequence is obtained by subtracting the instantaneous phases of adjacent time points, as shown in the following equation:

[0099] in, This is the index of the discrete-time sampling point from the previous moment; However, in actual calculations, the phase winding problem must be considered. Because The function's output is strictly limited to the principal value range. Within, when the true phase change amplitude of the signal exceeds At that time, the calculated phase value will change by The abrupt changes in the periodicity lead to false "pseudo-peaks" in the difference sequence, which contradict the true physical state of the signal. If these mathematical singularities are not eliminated, they will severely mislead the subsequent feature learning process of the neural network and reduce its interpretability. Therefore, this invention introduces a phase unwrapping correction algorithm to perform phase unwrapping on the original difference sequence. Periodic compensation is used to restore the true phase change of the signal, as shown in the following equation:

[0100] in, This indicates the rounding operator. This correction term identifies and compensates for phase jump components that exceed the principal value interval, thus constraining the difference result back to the nearest integer. Within the interval, this eliminates the mathematical singularity introduced by phase winding.

[0101] Ultimately, the amplitude, instantaneous phase, and corrected phase difference are stacked along the channel dimension to form the physical feature tensor. .like Figure 3 As shown, the APD physical feature diagrams of common modulation types (such as BPSK, QPSK, QAM16, etc.) constructed by this invention can be intuitively compared from the diagrams. The essential physical differences of different modulation signals in amplitude, phase and phase differential evolution can be seen directly. Explicitly injecting such physical prior features greatly enhances the network's ability to distinguish complex signals.

[0102] Step S2: The I / Q baseband representation stream and the APD physical feature stream are respectively input into a structurally symmetric dual-stream deep backbone network for feature extraction. The dual-stream deep backbone network includes cascaded residual blocks, each of which embeds a channel attention mechanism. The channel attention mechanism adaptively weights the feature channels and outputs the first deep feature. and the second deep feature .

[0103] Specifically, to achieve robust feature capture in complex noisy environments, dual-stream deep backbone networks all employ a hierarchical pyramid-shaped topology. Let the input sequence features be... ,in The number of input channels (2 for IQ stream, 3 for APD stream).

[0104] The entire feature extraction process can be divided into the following three stages: 1. Shallow Feature Extraction Stage The network first passes through an initial convolutional layer with a large receptive field (e.g., kernel size). Step length To perform preliminary feature mapping (by integrating the correlation information of locally adjacent signal sampling points):

[0105] The Conv1D convolution kernel size of this shallow feature extraction layer is [size missing]. Step length This convolutional kernel can cover a wider input region in a single convolution operation, effectively integrating the correlation information of locally adjacent signal sampling points. BN stands for Batch Normalization.

[0106] 2. Channel Attention Enhancement Phase The network then concatenates three residual blocks with embedded channel attention mechanisms (SE-Block), and its specific internal network structure is as follows: Figure 4 As shown. Let the first... The input features of each residual block are This feature first extracts local deep features through the main convolutional branch:

[0107]

[0108] in, This refers to the local features of the input channel attention mechanism that need to be calibrated.

[0109] like Figure 4As shown, to enable the network to adapt to complex communication scenarios and maintain good recognition performance under different signal-to-noise ratios, this invention introduces a dynamic channel attention mechanism (Squeeze-and-Excitation), which embeds an SE module into the residual connection. This channel attention mechanism can effectively suppress irrelevant feature channels with excessive noise, while enhancing channels with relevant modulation features, thereby achieving better feature extraction results.

[0110] Specifically, during feature extraction, to suppress noise-dominated channels and enhance channels with relevant modulation features, the channel attention mechanism performs three stages of operation: compression, activation, and recalibration. Compression stage: One-dimensional global average pooling is used to eliminate the time dimension span, compressing the global spatial information into a channel descriptor vector. , its first One channel is It provides global statistical priors, avoiding biases caused by relying solely on local time-step information; among which, This operation generates the number of temporal features for each channel after downsampling. It provides a global statistical prior for subsequent channel importance estimation, avoiding channel weight estimation bias caused by relying solely on local time step information.

[0111] Activation Phase: The channel descriptor vector is input into a bottleneck structure containing two fully connected (FC) layers to generate a weight mask vector. .in, Used according to compression ratio (e.g.) , Dimensionality reduction (for compression ratio) To input the original number of feature channels for this activation phase, Used for dimensionality restoration to the original number of channels The sigmoid function maps the weights to (0,1). This bottleneck structure, while effectively controlling the number of parameters, forces the network to learn a more compact nonlinear interaction representation between channels. In modulation recognition tasks, this mechanism enables the network to dynamically determine which channels carry more discriminative modulation features based on the current signal-to-noise ratio, thereby suppressing noise-dominant channels and enhancing the weights of modulation feature-related channels.

[0112] Recalibration stage: The weight masking vector is... With the initial local features input to this mechanism Perform element-wise multiplication ( , This involves element-wise multiplication along the channel dimension, thereby adaptively adjusting the response intensity of the feature channels to improve the semantic quality of discrimination. The learned weight distribution is then reapplied to the main branch features, achieving dynamic gating of the feature channels.

[0113] After recalibration, the response intensity of each feature channel is adaptively adjusted, enhancing channels with strong discriminative power while suppressing noise-dominant or redundant channels. This operation effectively improves the discriminative semantic quality of features received by subsequent network layers and reduces the impact of noise interference on classification decisions under complex channel conditions.

[0114] Furthermore, after channel attention calibration, the network ensures effective gradient propagation through residual skip connections. If channel changes occur between blocks or stride downsampling leads to a mismatch in the number of channels, a 1×1 convolution is applied to the input for alignment. When matching, ; When there is no match .

[0115] No. The final output of each module is:

[0116] 3. Hierarchical Feature Extraction and Aggregation Stage Unlike single-scale feature stacking, the backbone network in this embodiment constructs a pyramid-shaped hierarchical topology. As the network architecture deepens, the scale parameters of the feature maps evolve as follows with each new stage: the residual modules are designed with a stepped downsampling mode, and the number of feature channels multiplies as features flow from shallow to deep. → → This expands the network's capacity to represent complex high-order modulation modes in deep space laterally. Simultaneously, two time-dimension downsampling operations are performed using convolutional kernels with a stride of s=2, gradually halving the sequence length.

[0117] Let the set of hierarchical mapping functions for the entire deep feature extraction module be defined as follows: The final output high-fidelity semantic feature map is:

[0118] at this time, The dimension can be abstracted as This hierarchical spatial downsampling not only rapidly expands the relative receptive field of high-level features, but more importantly, it significantly reduces the dimensionality of the extremely long original signal sequence, thereby significantly reducing the quadratic complexity and computational overhead faced by subsequent global modeling by Transformer, and realizing the efficient cascading of local features and global temporal modeling.

[0119] After extraction by the backbone network, the two streams output the first deep feature respectively. Second deep features Both have a feature dimension of 1. ,in: The number of single-stream output channels is determined by the backbone network structure. The length of the downsampled sequence. .

[0120] Step S3: Transfer the first deep feature and the second deep feature The features are stitched along the channel dimension and then sequentially processed by linear projection, layer normalization, and nonlinear activation to map the features of each time step to a unified embedding dimension, thus obtaining the fused sequence features.

[0121] In this invention, the number of output channels of the dual-stream backbone network remains constant, and the feature maps have the same spatial resolution along the time axis. This provides the necessary dimensional compatibility conditions for subsequent cross-stream alignment and fusion operations. After obtaining the backbone features of the two streams, how to effectively fuse the two types of heterogeneous features is one of the core issues in multi-stream network design. I / Q stream features focus on learning temporal morphological information from the original sampled waveforms, and their representation content is more inclined towards data-driven implicit statistical regularities; APD stream features, on the other hand, take amplitude envelope, instantaneous phase, and phase difference as inputs, and the encoded information is highly coupled with the physical generation mechanism of the signal, with clear physical interpretability. The two stream features exhibit a complementary relationship at the semantic level. If fusion is performed using methods such as element-wise addition, it implicitly requires a one-to-one semantic correspondence between the two streams in each channel dimension. For heterogeneous streams with different feature sources, this constraint is too strong and difficult to meet in practice. In contrast, the channel dimension splicing operation does not impose additional constraints on the semantic correspondence between the two stream channels, but juxtaposes the two types of features in the channel axis direction, fully preserving the independent expression space of each stream, thereby achieving complete preservation of complementary information. Based on the above analysis, this paper uses channel-dimensional splicing to fuse the dual-stream features to obtain a joint feature map:

[0122] This operation introduces no additional learnable parameters, maintaining computational efficiency while providing subsequent modules with a complete joint feature representation that simultaneously includes temporal morphological information and physical prior information, laying the foundation for deep modeling of cross-stream semantic interactions. After completing channel-level fusion, the joint feature map needs further processing to adapt to the requirements of the subsequent Transformer encoder for serialized token input, while eliminating the impact of the difference in feature distribution between the two streams on training stability. To this end, this paper introduces a linear projection module after the fusion operation, expanding the joint feature map along the time dimension, treating the channel vector at each time step as an independent token, and mapping it from the dual-stream concatenated channel space to a unified embedding dimension D through a learnable linear transformation. For the token at time step t... The projection operation can be represented as: Treat the channel vector at each time step expanded along the time dimension as an independent token. It is mapped to a unified embedding dimension through a learnable linear transformation. (like ):

[0123] in For layer normalization (to alleviate feature scale inconsistencies caused by differences in the distribution of dual-stream inputs and improve training numerical stability), GELU is used as the activation function. Stacking all time steps yields the fused sequence features. .

[0124] Step S4: Overlay learnable positional codes onto the fused sequence features and insert learnable classification tokens at the beginning of the fused sequence features to obtain a spliced ​​feature sequence.

[0125] like Figure 5 As shown in the lower part, the Transformer encoder itself lacks the inherent ability to perceive the positional relationships of the input sequence. This embodiment does not use fixed sinusoidal position coding, but instead uses a learnable position coding matrix. To adapt to the statistical timing pattern of the modulated signal, i.e. .

[0126] Furthermore, a learnable classification token that does not correspond to any specific time step is inserted at the beginning of the sequence. The sequence length is expanded to This token, acting as a global semantic aggregation node, dynamically adjusts the aggregation weights based on the discriminative strength of features at each time step during subsequent multi-head attention computation, effectively avoiding the dilution of important local features caused by traditional global average pooling. The concatenated feature sequence is as follows: .

[0127] Step S5: Input the spliced ​​feature sequence into the Transformer encoder, and perform global temporal modeling through the multi-head self-attention mechanism in the Transformer encoder, so as to aggregate the global discriminative semantic information of the entire sequence through the classification token and obtain the global semantic representation.

[0128] like Figure 5 As shown in the main architecture, the Transformer encoder adopts a multi-layer stacked structure (such as 2 layers), and transforms the data through three sets of independent linear transformations. Projecting these onto the three subspaces of query, key, and value respectively, we obtain... , , .

[0129] Then, the scaled dot product similarity is calculated:

[0130] scaling factor This is used to prevent gradient saturation caused by excessively large dot product values. Multi-head mechanisms (such as 8 independent attention heads) concatenate the outputs of each head and restore them through linear projection based on parallel operation, thereby capturing long-range semantic associations of various granularities within the signal in different representation subspaces.

[0131] like Figure 5 As shown in the flowchart, each Transformer encoder layer consists of a multi-head self-attention (MHSA) sublayer and a feedforward network (FFN) sublayer connected in series. Residual connections (Add) and layer normalization (Norm) operations are introduced in each sublayer to ensure the numerical stability of the deep network training. The forward propagation process is specifically described as follows:

[0132]

[0133]

[0134] FFN with extended and compressed bottleneck structures introduces additional nonlinear modeling capabilities for each token feature. After multiple rounds of global attention interaction, the encoder output is extracted... Feature vector corresponding to the token , serving as a high-dimensional global semantic representation of the entire signal.

[0135] Step S6: Input the global semantic representation into the classification decision module for mapping and normalization processing, and output the modulation recognition result of the received signal.

[0136] like Figure 2 and Figure 5 As shown at the tail, the classification decision module is a multilayer perceptron (MLP) containing a single hidden layer. As the input for classification features, the forward computation process is as follows:

[0137] Among them, the first fully connected layer (linear layer) will The dimensionality of the hidden layer features of the Transformer is reduced to compact classification features (e.g., 128-dimensional), and ReLU activation and Dropout deactivation operations are introduced (e.g., deactivation rate). During training, some neurons are randomly set to zero at this inactivation rate to suppress overfitting, forcing the network to learn more robust feature representations. The second fully connected layer maps the features to the total number of target modulation categories. Finally, the scores for each category are output. The predicted probability distributions of each category are mapped using the Softmax function, and the category with the highest probability is selected as the final modulation category recognition result.

[0138] Figure 6 and Figure 7 This paper presents the recognition results of this invention on two publicly available modulation recognition datasets, RML2018.01a and HisarMod2019.1. Both datasets cover various common modulation schemes such as PSK, FSK, and QAM, and the signal samples contain a certain degree of actual channel distortion such as frequency offset and phase offset. The number of categories reaches 24 and 26 respectively, posing a significant challenge to the generalization ability and robustness of the modulation recognition model. As shown by the recognition accuracy curves, the method of this invention outperforms the baseline method on both datasets, indicating that this invention can achieve stable and reliable modulation recognition in communication scenarios with a wide variety of categories and complex channel conditions.

[0139] To further demonstrate the ability of this invention to express the characteristics of modulated signals, Figure 8 The t-SNE visualization results of the features extracted by the model on the RML2018.01a dataset are presented. As can be seen from the figure, the feature clusters corresponding to the 24 modulation types exhibit clear inter-class separation and intra-class aggregation characteristics in the two-dimensional projection space, and the boundaries of each class are obvious. This indicates that the multi-representation input and dual attention mechanism proposed in this invention can effectively guide the network to learn deep semantic feature representations with high discriminativeness. Figure 9 The confusion matrix of this invention on the RML2018.01a dataset is also presented. As can be seen from the confusion matrix, the diagonal elements of most modulation types are close to 1, the classification results are highly concentrated in the correct category, and the degree of confusion between categories is low, which further verifies the accuracy and reliability of this invention for multi-class modulation recognition tasks.

[0140] Example 3 Based on the same inventive concept as the foregoing embodiments, this embodiment provides an electronic device. This electronic device aims to implement the multi-representation modulation recognition method based on a dual attention mechanism as described in Embodiment 1.

[0141] Specifically, the electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor. The memory stores a computer program executable by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the multi-representation modulation recognition method based on a dual attention mechanism as described in Embodiment 1.

[0142] In practical applications, this electronic device can be a computer, server, spectrum monitor, software-defined radio (SDR) receiver node, base station equipment, or any intelligent terminal with data processing capabilities. The processor can include a central processing unit (CPU), graphics processing unit (GPU), field-programmable gate array (FPGA), digital signal processor (DSP), or application-specific integrated circuit (ASIC), etc. The memory can include high-speed random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device, flash memory device, or other non-volatile solid-state memory device.

[0143] Optionally, the electronic device may also include a communication interface and a bus. The processor, memory, and communication interface are interconnected and communicate with each other via the bus. The communication interface receives the complex baseband discrete sequence acquired and down-converted by an external antenna or RF front end, and transmits it to the processor for feature construction and model inference.

[0144] Example 4 Based on the same inventive concept as the foregoing embodiments, this embodiment provides a computer-readable storage medium. The computer-readable storage medium stores computer instructions (or computer programs), which, when read and executed by a computer (or the processor of an electronic device), cause the computer to perform the multi-representation modulation recognition method based on a dual attention mechanism as described in Embodiment 1.

[0145] In practical applications, the computer-readable storage medium can be any physical medium capable of storing program code. Examples include USB flash drives, external hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other non-transitory machine-readable media capable of storing program code.

[0146] The embodiments described above merely illustrate specific implementation methods of this application, and while the descriptions are detailed and specific, they should not be construed as limiting the scope of protection of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the technical solution of this application, and these modifications and improvements all fall within the scope of protection of this application.

Claims

1. A multi-representation modulation recognition method, characterized in that, include: Step S1: Obtain the complex baseband discrete sequence of the received signal after down-conversion and baseband filtering, and construct the I / Q baseband characterization stream and APD physical feature stream of the received signal respectively; wherein, the APD physical feature stream includes an amplitude sequence, an instantaneous phase sequence, and a phase difference sequence after phase dewinding correction; Step S2: Input the I / Q baseband characterization stream and the APD physical feature stream into a structurally symmetrical dual-stream deep backbone network for feature extraction. The dual-stream deep backbone network includes cascaded residual blocks, each of which has a channel attention mechanism embedded in it. The feature channels are adaptively weighted through the channel attention mechanism, and the first deep feature and the second deep feature are output respectively. Step S3: The first deep feature and the second deep feature are concatenated along the channel dimension and sequentially processed by linear projection, layer normalization and nonlinear activation to map the features of each time step to a unified embedding dimension to obtain the fused sequence features; Step S4: Overlay learnable positional codes onto the fused sequence features and insert learnable classification tokens at the beginning of the fused sequence features to obtain a spliced ​​feature sequence; Step S5: Input the spliced ​​feature sequence into the Transformer encoder, and perform global temporal modeling through the multi-head self-attention mechanism in the Transformer encoder, so as to aggregate the global discriminative semantic information of the entire sequence through the classification token and obtain the global semantic representation. Step S6: Input the global semantic representation into the classification decision module for mapping and normalization processing, and output the modulation recognition result of the received signal.

2. The multi-characteristic modulation recognition method according to claim 1, characterized in that, In step S1, the in-phase component of the complex baseband discrete sequence after down-conversion and baseband filtering of the received signal is denoted as... Orthogonal components are denoted as ,in, This is the index of the discrete-time sampling point at the current moment; Constructing the APD physical feature stream of the received signal specifically includes: Calculate amplitude sequence : ; Calculate the instantaneous phase sequence : ,in It is the arctangent function in the four quadrants; Calculate the phase difference sequence after phase unwinding correction. : ;in, This is the original phase difference sequence. This is the index of the discrete-time sampling point from the previous moment. This is the rounding operator.

3. The multi-representation modulation recognition method according to claim 1, characterized in that, In step S2, the feature channels are adaptively weighted using the channel attention mechanism, which specifically includes three stages: compression, activation, and recalibration. Compression stage: One-dimensional global average pooling is used to eliminate the time dimension span, compressing the global spatial information into a channel descriptor vector; Activation phase: The channel descriptor vector is input into a bottleneck structure containing two fully connected layers to implicitly learn the nonlinear interaction relationship between multiple channels, and a weight masking vector is generated by mapping through a nonlinear activation function; Recalibration stage: The weight masking vector is multiplied element-wise along the channel dimension with the initial features input to the channel attention mechanism to achieve adaptive adjustment of the response intensity of each feature channel.

4. The multi-representation modulation recognition method according to claim 1, characterized in that, Each structurally symmetrical dual-stream deep backbone network consists of an initial convolutional layer and three residual blocks connected in series. The deep backbone network employs a stepped downsampling mode for deep feature extraction. As features flow from shallow to deep, the number of feature channels increases exponentially. At the same time, by setting the stride of the convolutional kernel, downsampling is performed in the time dimension, which reduces the sequence length step by step, forming a pyramid-like hierarchical topology.

5. The multi-characteristic modulation recognition method according to claim 1, characterized in that, The specific process of step S3 includes: The first deep feature and the second deep feature are concatenated along the channel dimension to obtain a joint feature map; The joint feature map is expanded along the time dimension, and the channel vector at each time step is treated as an independent token and input into the linear projection module. It is then mapped to a unified embedding dimension through a learnable linear transformation and cross-stream linear combination. Subsequently, it is processed by layer normalization and GELU activation function to output the fused sequence features.

6. The multi-representation modulation recognition method according to claim 1, characterized in that, In step S5, the calculation process of the multi-head self-attention mechanism in the Transformer encoder includes: By using three independent linear transformations, the concatenated feature sequence is projected onto the query subspace, key space, and value subspace respectively to obtain the query vector, key vector, and value vector; Calculate the scaled dot product similarity between the query vector and all the key vectors, and obtain the attention weights between each position pair after Softmax normalization; The value vector is weighted and summed based on the attention weights; Based on the parallel operation of multiple independent attention heads, the outputs of each head are concatenated and restored to the original feature dimension through linear projection.

7. The multi-representation modulation recognition method according to claim 1, characterized in that, In step S6, the classification decision module is a multilayer perceptron containing a single hidden layer; The global semantic representation is input into the classification decision module, and then sequentially passes through the first fully connected layer, ReLU activation function, Dropout deactivation operation, second fully connected layer and Softmax function for mapping and normalization. The predicted probability distribution of each modulation category is output, and the category corresponding to the highest probability is selected as the modulation recognition result of the received signal.

8. A multi-characteristic modulation recognition system, characterized in that, The system for implementing the method of any one of claims 1-7 comprises: A multi-characterization construction module is used to obtain the complex baseband discrete sequence of the received signal after down-conversion and baseband filtering, and to construct the I / Q baseband characterization stream and APD physical feature stream of the received signal respectively; The deep feature extraction module is used to input the I / Q baseband representation stream and the APD physical feature stream into a structurally symmetrical dual-stream deep backbone network for feature extraction. The feature channels are adaptively weighted through an embedded channel attention mechanism, and the first deep feature and the second deep feature are output respectively. The feature fusion and projection module is used to stitch the first deep feature and the second deep feature along the channel dimension, and then sequentially process them through linear projection, layer normalization and nonlinear activation to obtain the fused sequence feature; The sequence preprocessing module is used to superimpose learnable positional codes on the fused sequence features and insert learnable classification tokens at the beginning to obtain the spliced ​​feature sequence. The global temporal modeling module is used to input the concatenated feature sequence into the Transformer encoder and perform global temporal modeling through a multi-head self-attention mechanism to obtain a global semantic representation. The classification decision module is used to map and normalize the global semantic representation and output the modulation recognition result of the received signal.

9. An electronic device, characterized in that, include: At least one processor; and a memory communicatively connected to the at least one processor; The memory stores instructions executable by the at least one processor, which executes the instructions stored in the memory to perform the method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store instructions that, when executed, cause the method as described in any one of claims 1-7 to be implemented.

Citation Information

Patent Citations

  • Anti-noise robust modulation signal identification method and system

    CN121502700A

  • Signal modulation identification method

    CN122471195A