A radar intra-pulse modulation signal recognition method based on multidimensional Taylor network with self-attention mechanism

By using the multi-dimensional Taylor network of the self-attention mechanism in radar intra-pulse modulation signal recognition, the problems of high model complexity and long training time are solved, and high accuracy is achieved in the case of low signal-to-noise ratio and small number of features. and quick identification effects.

CN118378165BActive Publication Date: 2024-08-27NANJING UNIV OF INFORMATION SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410809451.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-08-27
Estimated Expiration
2044-06-21

AI Technical Summary

Technical Problem

When existing technology recognizes radar intra-pulse modulation signals, the model complexity is high and the training time is long. It is also difficult to achieve high accuracy and rapid recognition under the conditions of low signal-to-noise ratio, small number of features, and weak correlation between features and target categories. .

Method used

The multi-dimensional Taylor net based on the self-attention mechanism is used to fully communicate the relationship between samples by improving the communication method. Combined with the cross-entropy loss function of Elastic Net regularization, the model training time is reduced and the recognition efficiency is improved.

Benefits of technology

It significantly reduces the model training time, meets the needs of high recognition accuracy and rapid recognition in the case of low signal-to-noise ratio, small number of features, and weak correlation between features and target categories, and is superior to existing deep learning algorithms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118378165B
    Figure CN118378165B
Patent Text Reader

Abstract

The present invention discloses a radar pulse modulation signal recognition method based on a multidimensional Taylor network with a self-attention mechanism, including: for radar pulse modulation signals, selecting classification features to form each sample; randomly disrupting the original sentence sequence composed of each unit vector to obtain a disordered data structure; converting the disordered data structure composed of each unit vector into a matrix structure composed of data of each feature corresponding to different samples of the collected radar signal, and improving the original digital representation of the unit vector in different dimensions into data of different features corresponding to the collected radar signal samples; integrating the self-attention mechanism layer into the multidimensional Taylor network to obtain a radar signal classification model. The present invention fully communicates the relationship between samples, and takes into account the requirements of higher recognition accuracy and faster speed under the conditions of lower signal-to-noise ratio, small number of selected features, and weak correlation between features and target categories.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of radar signal recognition and deep learning, and specifically relates to a radar intra-pulse modulation signal recognition method based on a multi-dimensional Taylor network with a self-attention mechanism. Background Art

[0002] Radar intra-pulse modulation signal refers to an electromagnetic wave signal that modulates parameters such as frequency, phase, and amplitude within the radar signal pulse. This modulation method makes the radar signal have more complex frequency, phase, and time characteristics, thereby enhancing the signal's anti-interference ability and information carrying capacity. By demodulating and processing the radar intra-pulse modulation signal, more detailed and accurate target object information can be obtained, including its position, speed, shape, and material. This signal plays an important role in target detection, tracking, and identification, especially in complex electromagnetic environments, where its superiority can be better demonstrated. Radar intra-pulse modulation signal recognition is increasingly widely used in military, aviation, meteorological and other fields, and has become an important research direction in the field of radar signal processing.

[0003] Radar intra-pulse modulation signal recognition refers to the process of analyzing and processing the modulation information contained in the pulse signal emitted by the radar, extracting detailed feature information of the target object, and further identifying and classifying different types of intra-pulse modulation patterns. In most application fields, radar intra-pulse modulation signal recognition pursues higher accuracy and faster speed; however, in practical applications, the recognition system has to achieve the expected recognition effect in the face of a small number of features to be selected, weak correlation between features and target categories, disordered distribution of samples, and low signal-to-noise ratio. Although the existing mainstream deep learning algorithms have high accuracy in identifying radar intra-pulse modulation signals, their disadvantages are high model complexity, usually containing a large number of parameters, requiring a long time to train the model, and relying on the extraction of more features and strong correlation with the target category. In electronic countermeasures, radar intra-pulse modulation signal recognition needs to be carried out in real time, and it needs to be able to ensure a high accuracy rate in the face of less feature information in a complex electromagnetic environment, so as to take more accurate countermeasures in a timely manner. Summary of the invention

[0004] Technical problem solved: The present invention discloses a radar intra-pulse modulation signal recognition method based on a multi-dimensional Taylor network with a self-attention mechanism, which fully communicates the relationship between samples and meets the requirements of higher recognition accuracy and faster speed under the conditions of lower signal-to-noise ratio, small number of selected features, and weak correlation between features and target categories.

[0005] Technical solution:

[0006] A radar intra-pulse modulation signal recognition method based on a multi-dimensional Taylor network with a self-attention mechanism, the radar intra-pulse modulation signal recognition method comprising the following steps:

[0007] Step S1. For seven typical radar intra-pulse modulation signals, namely, single carrier frequency signal, linear frequency modulation signal, nonlinear frequency modulation signal, two-phase coded signal, four-phase coded signal, two-frequency coded signal, and four-frequency coded signal, collect data of each sample corresponding to these seven signals, and select the standard deviation, average value, minimum value of the amplitude of each sampling point during fast Fourier transform, and the effective spectrum proportion of the signal as classification features according to the collected data;

[0008] Step S2. According to the type of radar intra-pulse modulation signal and the radar signal data containing the selected classification features collected in step S1, each sample is formed, and 1, 2, 3, 4, 5, 6, and 7 are used as labels of single carrier frequency signal, linear frequency modulation signal, nonlinear frequency modulation signal, two-phase coded signal, four-phase coded signal, two-frequency coded signal, and four-frequency coded signal, respectively, to determine the label of the radar signal type corresponding to each sample in the data set, pre-process the feature data received by the input layer, and divide the data set into a training set and a test set;

[0009] Step S3. For the sentence sequence structure originally inputted in the form of text tokens in the self-attention mechanism, randomly disrupt the original sentence sequence composed of unit vectors, eliminate the position information of the unit vectors in the sentence sequence received by the model, and obtain a disordered data structure;

[0010] Step S4. Transpose the preprocessed feature data obtained in step S2. For the transposed feature data, transform the disordered data structure composed of each unit vector into a matrix structure composed of data of each feature corresponding to different samples of the collected radar signal, and improve the original digital representation of the unit vector in different dimensions into data of different features corresponding to the collected radar signal samples;

[0011] Step S5. Based on the self-attention mechanism after the improved communication method, build a self-attention mechanism layer;

[0012] Step S6. Integrate the self-attention mechanism layer obtained in step S5 into the multidimensional Taylor network, construct a radar signal classifier, and obtain a radar signal classification model;

[0013] Step S7. construct a cross entropy loss function CELF with Elastic Net regularization to train a radar signal classification model;

[0014] Step S8. Apply the radar signal classification model obtained in step S6 to classify the seven radar intra-pulse modulation signals in the test set, and then compare the recognition performance with different deep learning classifiers.

[0015] Furthermore, in step S8, the evaluation indicators used to evaluate the recognition performance of different classifiers include classification accuracy, precision, specificity, macro recall, macro F1 score, P value and training time.

[0016] Step S2 further comprises:

[0017] S21, let the acquired feature data It is expressed as:

[0018] ;

[0019] in, , N represents the total number of samples in the data set, and F represents the number of selected feature types. is the data of sample n corresponding to the fth feature;

[0020] S22, based on the data of each sample of each type corresponding to the above 7 typical radar pulse modulation signals, for each selected feature, the feature data received by the input layer is converted into Preprocessing is performed, and the characteristic data obtained after preprocessing It is expressed as:

[0021] ;

[0022] in, for Scale the normalized result.

[0023] Step S3 further comprises:

[0024] Change the original text sequence The structure of , where the unit vector is , the embedding vector Each dimension of is a numerical representation of the unit vector in a certain semantic sense. , embedding sequence combination It is expressed as:

[0025] ;

[0026] in, , is a unit vector Representation in dimension d;

[0027] The unit vector to be embedded Randomly shuffle to eliminate the model's unit vector Position dependence, out-of-order structure It is expressed as:

[0028] ;

[0029] in, , for Recombination after random shuffling.

[0030] Step S4 further comprises:

[0031] The preprocessed feature data obtained in step S2 Transpose to get , It is expressed as:

[0032] ;

[0033] Will The samples in are randomly shuffled to obtain the result after the feature data is shuffled , It is expressed as:

[0034] ;

[0035] in, , for The results after random shuffling;

[0036] Will Mapped to a shuffled structure of the same dimension , Samples in ,sample ,…,sample ,…,sample ,sample Corresponds to The unit vector in , unit vector , ..., unit vector , ..., unit vector , unit vector , feature 1, feature 2, ..., feature f, ..., feature F-1, feature F corresponds to Representation on dimension 1, dimension 2,…, dimension d,…, dimension D-1, dimension D.

[0037] Step S5 further comprises:

[0038] Step S5-1. The radar signal data received by the input layer of the radar signal classifier The weight matrix passed to the self-attention layer , and , the weight matrix , and The dimensions of , the weight matrix , and Respectively expressed as:

[0039] ;

[0040] ;

[0041] ;

[0042] in, , , and Represent the weight matrix , and Located in the middle Line The weight element of the column, , and are all parameters to be trained for the radar signal classifier, and F represents the number of feature types selected;

[0043] Step S5-2. Input radar signal data and the weight matrix , and Multiply them respectively to obtain the query matrix Q, key matrix K and value matrix V in turn; the query matrix Q, key matrix K and value matrix V are expressed as:

[0044] ;

[0045] ;

[0046] ;

[0047] in, , , and They represent the elements at the nth row and the fth column in the query matrix Q, the key matrix K, and the value matrix V, respectively. N represents the total number of samples in the data set, and F represents the number of feature types selected.

[0048] Step S5-3. Transpose the query matrix Q and key matrix K of the radar signal classifier Multiply and divide , and then processed by the softmax function to obtain the attention score matrix AS; the attention score matrix AS is expressed as:

[0049] ;

[0050] in, represents the scaling factor, which is numerically equal to the dimension F of the query matrix Q and the key matrix K;

[0051] Step S5-4. Multiply the attention score matrix AS of the radar signal classifier and the value matrix V to obtain the attention output matrix AO; the attention output matrix AO is expressed as:

[0052] ;

[0053] Step S5-5. Use the radar signal classifier’s attention output matrix AO as the original input layer and obtain the new feature data after being processed by the self-attention mechanism Transpose , ; Characteristic data It is expressed as:

[0054] ;

[0055] in, , It represents the data of sample n corresponding to the fth feature after the original input layer is processed by the self-attention mechanism. N represents the total number of samples in the data set, and F represents the number of selected feature types.

[0056] Step S6 further comprises:

[0057] Step S6-1. The feature data Passed to the polynomial layer, expanded according to the highest expansion order M, the output of the polynomial layer It is expressed as:

[0058] ;

[0059] ;

[0060] ;

[0061] ;

[0062] in, , W is and The weight matrix between represents the weight vector of the f-th feature type of the radar signal in the polynomial layer, express The tth weight element in is the parameter to be trained for the radar signal classifier, Indicates based on The total number of product terms in the expanded approximating polynomial, express For the expansions of the highest expansion order M, represents the output of the f-th feature of the radar signal corresponding to sample n in the polynomial layer;

[0063] Step S6-2. Use activation function to the output of polynomial layer For processing, the activation function is Function, the function expression is , the output of the polynomial layer After processing, the output of the activation function is obtained ; Output of the activation function It is expressed as:

[0064] ;

[0065] Step S6-3. The output of the self-attention mechanism layer Output of the activation function after crossing the polynomial layer Directly stacked and passed to the fully connected layer; the common output after the self-attention connection path It is expressed as:

[0066] ;

[0067] Step S6-4. The fully connected layer receives the common output after the attention connection path , and passed to the softmax layer, which uses the normalized exponential function to calculate the classification probability, and the output of the fully connected layer It is expressed as:

[0068] ;

[0069] ;

[0070] ;

[0071] in, , R represents the total number of radar signal types, K is and The weight matrix between represents the weight vector of the rth type of radar signal, Represents the weight element from the fth feature type to the rth radar signal type, is the parameter to be trained for the radar signal classifier, Represents the output of the rth type of radar signal corresponding to the radar signal sample n in the fully connected layer; normalized exponential function It is expressed as:

[0072] .

[0073] Furthermore, in step S7, the expression of the cross entropy loss function CELF is:

[0074] ;

[0075] in, is the regularization parameter used to control the overall regularization strength, is a mixing parameter used to control the mixing ratio of L1 regularization and L2 regularization, W is and The weight matrix between and The weight matrix between them, N represents the total number of samples in the data set, R represents the total number of types of radar signals, Indicates whether the radar signal sample n corresponds to the true label of the r-th type of radar signal. If yes, it is 1, otherwise it is 0.

[0076] Beneficial effects:

[0077] The radar intra-pulse modulation signal recognition method based on the multi-dimensional Taylor network of the self-attention mechanism of the present invention is based on 7 typical radar intra-pulse modulation signals, and innovatively improves the communication mode of the self-attention mechanism, so that all samples with a small number of features, weak correlation between features and target categories, no sequence, and low signal-to-noise ratio communicate characteristic relationships with samples (including themselves) through the self-attention mechanism, thereby determining the classification direction of the model; based on the high requirements for recognition efficiency in practical applications, the present invention designs a multi-dimensional Taylor network (MTN) incorporating the new self-attention mechanism, which significantly reduces the training time of the model and effectively solves the problem of computational cost caused by the introduction of the self-attention mechanism. Compared with the existing recognition method for radar intra-pulse modulation signals, the self-attention mechanism multi-dimensional Taylor network fully communicates the relationship between samples, taking into account the requirements of higher recognition accuracy and faster speed under the conditions of low signal-to-noise ratio, small number of selected features, and weak correlation between features and target categories. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] Figure 1It is a flow chart of the radar intra-pulse modulation signal recognition method of the multi-dimensional Taylor network based on the self-attention mechanism of the present invention;

[0079] Figure 2 This is a structural diagram of the multi-dimensional Taylor network of the self-attention mechanism proposed in the present invention;

[0080] Figure 3 Schematic diagram of ROC curve applied to classify the above 7 typical radar intra-pulse modulation signals in the present invention;

[0081] Figure 4 Schematic diagram of the confusion matrix for radar signal classifier, CNN classifier and LSTM classifier to identify the above 7 types of radar intra-pulse modulation signals;

[0082] Figure 5 A schematic diagram showing the comparison of classification results of radar signal classifier, CNN classifier and LSTM classifier in identifying the above 7 types of radar intra-pulse modulation signals;

[0083] Figure 6 The schematic diagram of the ten-fold cross validation results of the radar signal classifier identifying the above 7 types of radar intra-pulse modulation signals;

[0084] Figure 7 It is the time domain and frequency domain waveform diagram of single carrier frequency signal;

[0085] Figure 8 It is the time domain and frequency domain waveform diagram of linear frequency modulation signal;

[0086] Fig. 9 It is the frequency domain and time domain waveform diagram of nonlinear frequency modulation signal;

[0087] Fig.10 It is the frequency domain and time domain waveform diagram of the two-phase coded signal;

[0088] Fig.11 It is the frequency domain and time domain waveform diagram of the four-phase coded signal;

[0089] Fig.12 It is the frequency domain and time domain waveform diagram of the dual-frequency coded signal;

[0090] Fig.13 It is the frequency domain and time domain waveform diagram of the quad-frequency coded signal;

[0091] Fig.14 A schematic diagram that establishes and communicates the relationship between features among all samples in the dataset;

[0092] Fig.15 A schematic diagram showing the comparison of classification results of radar signal classifier, CNN classifier and LSTM classifier in identifying the above 7 types of radar intra-pulse modulation signals;

[0093] Fig.16 Schematic diagram of the ten-fold cross validation results of the radar signal classifier identifying the above 7 types of radar intra-pulse modulation signals. DETAILED DESCRIPTION

[0094] The following examples will enable those skilled in the art to more fully understand the present invention, but are not intended to limit the present invention in any way.

[0095] The present invention designs a radar intra-pulse modulation signal recognition method based on a multi-dimensional Taylor network with self-attention mechanism. Figure 1 As shown, the following steps S1 to S8 are specifically performed.

[0096] Step S1. For seven typical radar intra-pulse modulation signals, namely single carrier frequency signal (CW), linear frequency modulation signal (LFM), nonlinear frequency modulation signal (NLFM), binary phase coded signal (BPSK), quadrature phase coded signal (QPSK), dual frequency coded signal (BFSK), and quadrature frequency coded signal (QFSK), MATLAB is used to simulate these seven signals. The simulation results are as follows: Figures 7 to 13 As shown. For example, the time domain sampling frequency of the radar signal is preset to 2500 MHz, and the number of points of the fast Fourier transform (FFT) is The default value is 8192 (8192= , maximize the efficiency of the FFT algorithm), the maximum signal-to-noise ratio is preset to -2dB, and the pulse width is preset in the range of 0.5~3 s, the preset range of carrier frequency is 200~220MHz, the sampling batches are 1000 in total, and each batch of sampling takes one sample for each category; after sampling, a data set containing a total of 7000 (denoted as N) samples is generated, and the number of samples of each radar signal is 1000. After collecting the data of each sample corresponding to these 7 signals, the standard deviation, average value, minimum value of the radar signal amplitude and the effective spectrum proportion of the signal are selected as classification features.

[0097] Specifically, the characteristic data obtained It is expressed as:

[0098] ;

[0099] Specifically, the amplitude sampling of the j-th point corresponding to the n-th sample is recorded as ,in, , .

[0100] Specifically, the standard deviation of the collected nth sample amplitude is recorded as , calculated as follows :

[0101] ;

[0102] Specifically, the average value of the collected n-th sample amplitude is recorded as , calculated as follows :

[0103] ;

[0104] Specifically, the minimum value of the collected nth sample amplitude is recorded as , calculated as follows :

[0105] ;

[0106] Specifically, the effective spectrum ratio of the collected signal is recorded as , calculated as follows :

[0107] ;

[0108] in, To set the threshold for distinguishing effective frequency components from noise, , k is the scale factor; is the indicator function, when When the threshold is exceeded, the value is 1, otherwise the value is 0.

[0109] Specifically, select the data consisting of the above features It is expressed as:

[0110] ;

[0111] Step S2. According to the type of radar intrapulse modulation signal and the radar signal data containing the selected classification features collected in step S1, each sample is formed, and 1, 2, 3, 4, 5, 6, and 7 are used as labels of single carrier frequency signal, linear frequency modulation signal, nonlinear frequency modulation signal, two-phase coded signal, four-phase coded signal, two-frequency coded signal, and four-frequency coded signal, respectively. The label of the radar signal type corresponding to each sample in the data set is determined, the feature data received by the input layer is preprocessed by the scaling normalization method, and the data set is divided into a training set and a test set in a ratio of 9:1.

[0112] Specifically, the feature data is processed by scaling and normalization according to the following formula: :

[0113] ;

[0114] in, is the scaling normalization factor, .

[0115] Specifically, the feature data obtained after preprocessing It is expressed as:

[0116] ;

[0117] Step S3. Change the sentence sequence structure (the number of unit vectors is L) of the embedded input in the self-attention mechanism after tokenization in text form, randomly disrupt the original sentence sequence composed of each unit vector, and eliminate the position information of the unit vector in the sentence sequence received by the model, that is, ensure that the model is not limited to receiving radar signal data with sequence.

[0118] Specifically, the new self-attention mechanism changes the original text sequence The structure of , where the unit vector is , the embedding vector Each dimension is a numerical representation of the unit vector in a certain semantic sense, embedding sequence combination It is expressed as:

[0119] ;

[0120] in, , is a unit vector Representation in dimension d. The unit vector to be embedded Randomly shuffle to eliminate the model's unit vector Position dependence ensures that the input data processed by the new self-attention mechanism does not need to be sequential, so that it can receive and process non-sequential radar signal data, and the disordered structure It is expressed as:

[0121] ;

[0122] in, , for Recombination after random shuffling.

[0123] Step S4. For the disordered data structure obtained in step S3, the disordered data structure composed of each unit vector is converted into a matrix structure composed of data of each feature corresponding to different samples of the collected radar signal, and the original representation of a unit vector in different dimensions using a series of numbers is improved into data of different features corresponding to a sample of the collected radar signal.

[0124] Specifically, the preprocessed feature data obtained in step S2 is Transpose to get , It is expressed as:

[0125] ;

[0126] Will The samples in are randomly shuffled to obtain the result after the feature data is shuffled , It is expressed as:

[0127] ;

[0128] in, , for The result after random shuffling. Mapped to a shuffled structure of the same dimension , Samples in ,sample ,…,sample ,…,sample ,sample Corresponds to The unit vector in , unit vector , ..., unit vector , ..., unit vector , unit vector , feature 1, feature 2, ..., feature f, ..., feature F-1, feature F corresponds to Representation on dimension 1, dimension 2, ..., dimension d, ..., dimension D-1, dimension D. For example, see Fig.14 , when the self-attention mechanism layer receives the embedded sequence combination "I like to walk in the park." (the length L of the embedded sequence combination in this example is 10 (total number of characters), which only represents the structure to be described in the present invention. The subsequent mapping needs to be based on the corresponding radar signal feature data sample set. The length L of the adjusted embedded sequence combination is equal to the total number of samples N contained in the data set, and the dimension D of the embedded sequence combination is equal to the number of selected feature types F), the input text is randomly shuffled, and the sequence is eliminated to obtain the disordered structure Embs_1. The result after the feature data is shuffled Mapped to a disordered structure Embs_1 of the same dimension (the length L of the corresponding embedding sequence combination in this example is 7000, and the dimension D of the embedding sequence combination is 4). The radar signal feature data processed by the self-attention mechanism communication method after the sample is improved does not need to be sequential, so that the model can pay attention to the data of other samples in the data set while processing a certain sample data.

[0129] Step S5. Based on the self-attention mechanism after the improved communication method, the specific methods of building the self-attention mechanism layer include:

[0130] Step S5-1. The input layer of the radar signal classifier receives the radar signal data obtained in step S4 corresponding to the new self-attention mechanism communication mode input , and passed to the weight matrix of the self-attention mechanism layer , and , the weight matrix , and The dimensions of The weight matrix , and Respectively expressed as:

[0131] ;

[0132] ;

[0133] ;

[0134] in, , , and Represent the weight matrix , and Located in the middle Line The weight element of the column, , and are all parameters to be trained for the radar signal classifier, and F represents the number of feature types selected.

[0135] Step S5-2 Radar signal data input by the new self-attention mechanism communication method and the weight matrix , and Multiply them respectively to obtain the query matrix Q, key matrix K and value matrix V. The query matrix Q, key matrix K and value matrix V are expressed as:

[0136] ;

[0137] ;

[0138] ;

[0139] in, , , and They represent the elements located in the nth row and fth column in the query matrix Q, key matrix K, and value matrix V respectively. N represents the total number of samples in the data set, and F represents the number of selected feature types.

[0140] Step S5-3: Transpose of the query matrix Q and key matrix K of the radar signal classifier Multiply and divide , and then processed by the softmax function to obtain the attention score matrix The attention score matrix AS is expressed as:

[0141] ;

[0142] in, Represents the scaling factor, which is numerically equal to the dimension F of the query matrix Q and the key matrix K.

[0143] Specifically, the collected radar signal samples communicate their similarities with each other through the improved self-attention mechanism, and the transpose of the query matrix Q and the key matrix K The multiplication operation represents the communication relationship between samples. The improved self-attention mechanism represents samples With sample The calculation formula of the similarity between them is as follows: ;

[0144] in, , The larger the value, the more samples With sample The higher the similarity between them, the more likely the model will With sample The greater the probability of being classified into the same category.

[0145] Step S5-4: Multiply the attention score matrix AS and the value matrix V of the radar signal classifier to obtain the attention output matrix The attention output matrix AO is expressed as:

[0146] ;

[0147] Step S5-5: The attention output matrix AO of the radar signal classifier is used as the new feature data obtained after the original input layer is processed by the self-attention mechanism. Transpose ,Right now . New feature data It is expressed as:

[0148] ;

[0149] in, , It represents the data of sample n corresponding to the fth feature after the original input layer is processed by the self-attention mechanism. N represents the total number of samples in the data set, and F represents the number of selected feature types.

[0150] Step S6. Integrate the self-attention mechanism layer into the multidimensional Taylor network to construct a radar signal classifier. The specific method of obtaining the radar signal classification model includes:

[0151] Step S6-1. The designed radar signal classifier converts the feature data Passed to the polynomial layer, expanded according to the highest expansion order M, the output of the polynomial layer It is expressed as:

[0152] ;

[0153] ;

[0154] ;

[0155] ;

[0156] in, , W is and The weight matrix between represents the weight vector of the f-th feature type of the radar signal in the polynomial layer, express The tth weight element in is the parameter to be trained for the radar signal classifier, Indicates based on The total number of product terms in the expanded approximating polynomial, express For the expansions of the highest expansion order M, represents the output of the f-th feature of the radar signal corresponding to sample n in the polynomial layer.

[0157] Step S6-2. The radar signal classifier uses the activation function to the output of the polynomial layer For processing, the activation function is Function, the function expression is , the output of the polynomial layer After processing, the output of the activation function is obtained The output of the activation function is It is expressed as:

[0158] ;

[0159] Step S6-3. Output of the self-attention mechanism layer of the radar signal classifier Output of the activation function after crossing the polynomial layer Directly stacked and passed to the fully connected layer. The common output after the self-attention connection path It is expressed as:

[0160] ;

[0161] Step S6-4. The fully connected layer of the radar signal classifier receives the common output after the attention connection path , and passed to the softmax layer. The output of the fully connected layer It is expressed as:

[0162] ;

[0163] ;

[0164] ;

[0165] in, , R represents the total number of radar signal types, K is and The weight matrix between represents the weight vector of the rth type of radar signal, Represents the weight element from the fth feature type to the rth radar signal type, is the parameter to be trained for the radar signal classifier, Represents the output of the rth type of radar signal corresponding to radar signal sample n in the fully connected layer.

[0166] Step S6-5. The softmax layer of the radar signal classifier uses a normalized exponential function to calculate the classification probability. The normalized exponential function It is expressed as:

[0167] .

[0168] Figure 2 This is a structural diagram of the multidimensional Taylor network based on the self-attention mechanism proposed in the present invention. Fig.14 A schematic diagram that establishes and communicates feature relationships between all samples in a dataset.

[0169] Step S7. Application The algorithm trains the radar signal classifier, obtains the radar signal classification model, and uses the cross entropy loss function The classification effect of the radar signal classifier is evaluated, and the Elastic Net regularization term is added. Its function is to select a small number of important features after the data is expanded by the multidimensional Taylor network polynomial layer to reduce the complexity of the model, and at the same time make all weights in the model small but not zero, thereby preventing the model from overfitting and improving the generalization ability of the model. The expression of the cross entropy loss function CELF is:

[0170] ;

[0171] in, is the regularization parameter used to control the overall regularization strength, is a mixing parameter used to control the mixing ratio of L1 regularization and L2 regularization, W is and The weight matrix between and The weight matrix between them, N represents the total number of samples in the data set, R represents the total number of types of radar signals, Indicates whether the radar signal sample n corresponds to the true label of the r-th type of radar signal. If yes, it is 1, otherwise it is 0.

[0172] Step S8. Apply the new radar signal classification model obtained in step S6 to classify the seven radar intrapulse modulation signals in the test set, and then compare the recognition performance with different deep learning classifiers. The evaluation indicators used to evaluate the recognition performance of different classifiers are classification accuracy, precision, specificity, macro recall, macro F1 score, P value and training time.

[0173] In practical applications, we use the data set obtained in step S1 to verify the recognition performance of the radar signal classifier. Figure 3 As shown in the figure, the ROC curve of applying the radar signal classifier to classify the above 7 typical radar intra-pulse modulation signals is shown. Among them, the higher macro-average AUC and micro-average AUC of the radar signal classifier indicate that the designed classifier can handle the classification problems of different categories of radar signals in a balanced manner and has a high comprehensive accuracy for the overall data set; in addition, the ROC curve of each category has a higher AUC, indicating that the classifier has good generalization ability. Figure 4 As shown in the figure, the confusion matrix of radar signal classifier, CNN classifier and LSTM classifier in identifying the above 7 radar intra-pulse modulation signals is shown, which directly reflects that the radar signal classifier has a higher recognition accuracy than the classifier designed by mainstream deep learning models such as CNN and LSTM for identifying these 7 radar signals. Fig.15 and Figure 5As shown in the figure, the effects of using radar signal classifier, CNN classifier and LSTM classifier to classify radar signals are shown. The accuracy, precision, specificity, macro recall, macro F1 score, training time and P value of the radar signal classifier are 91.62%, 91.70%, 98.60%, 91.62%, 91.57%, 5.45s and 0.9574 respectively. It is significantly better than CNN classifier and LSTM classifier in these 7 evaluation indicators. Fig.16 and Figure 6 As shown in the figure, the ten-fold cross validation results of the radar signal classifier in identifying the above 7 types of radar intra-pulse modulation signals are shown. Among them, the average results of the accuracy, precision, macro F1 score and specificity of the radar signal classifier are 91.62%, 91.70%, 91.57% and 98.60%, respectively, which further verifies the superior recognition performance of the radar signal classifier.

[0174] The above technical scheme designs a radar intra-pulse modulation signal recognition method based on a multi-dimensional Taylor network of self-attention mechanism. Based on 7 typical radar intra-pulse modulation signals, the communication mode of the self-attention mechanism is innovatively improved, so that all samples with a small number of features, weak correlation between features and target categories, no sequence, and low signal-to-noise ratio communicate characteristic relationships with samples (including themselves) through the self-attention mechanism, thereby determining the classification direction of the model; based on the high requirements for recognition efficiency in practical applications, the present invention designs a multi-dimensional Taylor network (MTN) incorporating a new self-attention mechanism, which significantly reduces the training time of the model and effectively solves the computational cost problem caused by the introduction of the self-attention mechanism. Compared with the existing recognition method for radar intra-pulse modulation signals, the self-attention mechanism multi-dimensional Taylor network fully communicates the relationship between samples, taking into account the requirements of higher recognition accuracy and faster speed under the conditions of low signal-to-noise ratio, small number of selected features, and weak correlation between features and target categories.

[0175] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.

Claims

1. A radar intra-pulse modulation signal recognition method based on a multidimensional Taylor network with self-attention mechanism, characterized in that: The radar intra-pulse modulation signal recognition method comprises the following steps: Step S1. For seven typical radar intra-pulse modulation signals, namely, single carrier frequency signal, linear frequency modulation signal, nonlinear frequency modulation signal, two-phase coded signal, four-phase coded signal, two-frequency coded signal, and four-frequency coded signal, collect data of each sample corresponding to these seven signals, and select the standard deviation, average value, minimum value of the amplitude of each sampling point during fast Fourier transform, and the effective spectrum proportion of the signal as classification features according to the collected data; Step S2. According to the type of radar intra-pulse modulation signal and the radar signal data containing the selected classification features collected in step S1, each sample is formed, and 1, 2, 3, 4, 5, 6, and 7 are used as labels of single carrier frequency signal, linear frequency modulation signal, nonlinear frequency modulation signal, two-phase coded signal, four-phase coded signal, two-frequency coded signal, and four-frequency coded signal, respectively, to determine the label of the radar signal type corresponding to each sample in the data set, pre-process the feature data received by the input layer, and divide the data set into a training set and a test set; Step S3. For the sentence sequence structure originally inputted in the form of text tokens in the self-attention mechanism, randomly disrupt the original sentence sequence composed of unit vectors, eliminate the position information of the unit vectors in the sentence sequence received by the model, and obtain a disordered data structure; Step S4. Transpose the preprocessed feature data obtained in step S2. For the transposed feature data, transform the disordered data structure composed of each unit vector into a matrix structure composed of data of each feature corresponding to different samples of the collected radar signal, and improve the original digital representation of the unit vector in different dimensions into data of different features corresponding to the collected radar signal samples; Step S5. Based on the self-attention mechanism after the improved communication method, build a self-attention mechanism layer; Step S6. Integrate the self-attention mechanism layer obtained in step S5 into the multidimensional Taylor network, construct a radar signal classifier, and obtain a radar signal classification model; Step S7. construct a cross entropy loss function CELF with Elastic Net regularization to train a radar signal classification model; Step S8. Apply the radar signal classification model obtained in step S6 to classify the seven radar intra-pulse modulation signals in the test set, and then compare the recognition performance with different deep learning classifiers.

2. The radar intra-pulse modulation signal recognition method based on a multidimensional Taylor network with self-attention mechanism according to claim 1 is characterized in that: In step S8, the evaluation indicators used to evaluate the recognition performance of different classifiers include classification accuracy, precision, specificity, macro recall, macro F1 score, P value and training time.

3. The radar intra-pulse modulation signal recognition method based on a multidimensional Taylor network with self-attention mechanism according to claim 1 is characterized in that: Step S2 further comprises: S21, let the acquired feature data It is expressed as: ; in, , N represents the total number of samples in the data set, and F represents the number of selected feature types. is the data of sample n corresponding to the fth feature; S22, based on the data of each sample of each type corresponding to the above 7 typical radar pulse modulation signals, for each selected feature, the feature data received by the input layer is converted into Preprocessing is performed, and the characteristic data obtained after preprocessing It is expressed as: ; in, for Scale the normalized result.

4. The radar intra-pulse modulation signal recognition method based on a multidimensional Taylor network with self-attention mechanism according to claim 1 is characterized in that: Step S3 further comprises: Change the original text sequence The structure of , where the unit vector is , the embedding vector Each dimension of is a numerical representation of the unit vector in a certain semantic sense. , embedding sequence combination It is expressed as: ; in, , is a unit vector Representation in dimension d; The unit vector to be embedded Randomly shuffle to eliminate the model's unit vector Position dependence, out-of-order structure It is expressed as: ; in, , for Recombination after random shuffling.

5. The radar intra-pulse modulation signal recognition method based on a multi-dimensional Taylor network with self-attention mechanism according to claim 4 is characterized in that: Step S4 further comprises: The preprocessed feature data obtained in step S2 Transpose to get , It is expressed as: ; Will The samples in are randomly shuffled to obtain the result after the feature data is shuffled , It is expressed as: ; in, , for The results after random shuffling; Will Mapped to a shuffled structure of the same dimension , Samples in ,sample ,…,sample ,…,sample ,sample Corresponds to The unit vector in , unit vector , ..., unit vector , ..., unit vector , unit vector , feature 1, feature 2, ..., feature f, ..., feature F-1, feature F corresponds to Representation on dimension 1, dimension 2,…, dimension d,…, dimension D-1, dimension D.

6. The radar intra-pulse modulation signal recognition method based on a multi-dimensional Taylor network with self-attention mechanism according to claim 1 is characterized in that: Step S5 further comprises: Step S5-1. The radar signal data received by the input layer of the radar signal classifier The weight matrix passed to the self-attention layer , and , the weight matrix , and The dimensions of , the weight matrix , and Respectively expressed as: ; ; ; in, , , and Represent the weight matrix , and Located in the middle Line The weight element of the column, , and are all parameters to be trained for the radar signal classifier, and F represents the number of feature types selected; Step S5-2. Input radar signal data and the weight matrix , and Multiply them respectively to obtain the query matrix Q, key matrix K and value matrix V in turn; the query matrix Q, key matrix K and value matrix V are expressed as: ; ; ; in, , , and They represent the elements at the nth row and the fth column in the query matrix Q, the key matrix K, and the value matrix V, respectively. N represents the total number of samples in the data set, and F represents the number of feature types selected. Step S5-3. Transpose the query matrix Q and key matrix K of the radar signal classifier Multiply and divide , and then processed by the softmax function to obtain the attention score matrix AS; the attention score matrix AS is expressed as: ; in, represents the scaling factor, which is numerically equal to the dimension F of the query matrix Q and the key matrix K; Step S5-4. Multiply the attention score matrix AS of the radar signal classifier and the value matrix V to obtain the attention output matrix AO; the attention output matrix AO is expressed as: ; Step S5-5. Use the radar signal classifier’s attention output matrix AO as the original input layer and obtain the new feature data after being processed by the self-attention mechanism Transpose , ; Characteristic data It is expressed as: ; in, , It represents the data of sample n corresponding to the fth feature after the original input layer is processed by the self-attention mechanism. N represents the total number of samples in the data set, and F represents the number of selected feature types.

7. The radar intra-pulse modulation signal recognition method based on a multi-dimensional Taylor network with self-attention mechanism according to claim 1 is characterized in that: Step S6 further comprises: Step S6-1. The feature data Passed to the polynomial layer, expanded according to the highest expansion order M, the output of the polynomial layer It is expressed as: ; ; ; ; in, , W is and The weight matrix between represents the weight vector of the f-th feature type of the radar signal in the polynomial layer, express The tth weight element in is the parameter to be trained for the radar signal classifier, Indicates based on The total number of product terms in the expanded approximating polynomial, express For the expansions of the highest expansion order M, represents the output of the f-th feature of the radar signal corresponding to sample n in the polynomial layer; Step S6-2. Use activation function to the output of polynomial layer For processing, the activation function is Function, the function expression is , the output of the polynomial layer After processing, the output of the activation function is obtained ; Output of the activation function It is expressed as: ; Step S6-3. The output of the self-attention mechanism layer Output of the activation function after crossing the polynomial layer Directly stacked and passed to the fully connected layer; the common output after the self-attention connection path It is expressed as: ; Step S6-4. The fully connected layer receives the common output after the attention connection path , and passed to the softmax layer, which uses the normalized exponential function to calculate the classification probability, and the output of the fully connected layer It is expressed as: ; ; ; in, , R represents the total number of radar signal types, K is and The weight matrix between represents the weight vector of the rth type of radar signal, Represents the weight element from the fth feature type to the rth radar signal type, is the parameter to be trained for the radar signal classifier, Represents the output of the rth type of radar signal corresponding to the radar signal sample n in the fully connected layer; normalized exponential function It is expressed as: 。 8. The radar intra-pulse modulation signal recognition method based on a multi-dimensional Taylor network with self-attention mechanism according to claim 1 is characterized in that: In step S7, the expression of the cross entropy loss function CELF is: ; in, is the regularization parameter used to control the overall regularization strength, is a mixing parameter used to control the mixing ratio of L1 regularization and L2 regularization, W is and The weight matrix between and The weight matrix between them, N represents the total number of samples in the data set, R represents the total number of types of radar signals, Indicates whether the radar signal sample n corresponds to the true label of the r-th type of radar signal. If yes, it is 1, otherwise it is 0.