A signal denoising method based on signal denoising autoencoder SDE

Through a method based on the signal denoising autoencoder SDE, the self-attention mechanism and the multi-head self-attention layer are used to process the segmented signal data blocks, which solves the problem of complexity and poor real-time performance of the traditional denoising method, and realizes the detection in complex electromagnetic environment. Efficient signal noise reduction and real-time processing in

CN114169368BActive Publication Date: 2024-09-06HARBIN ENG UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111423589.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-26
Publication Date
2024-09-06
Estimated Expiration
2041-11-26

AI Technical Summary

Technical Problem

Traditional noise reduction methods have high computational complexity, poor real-time performance, and weak noise reduction performance in complex electromagnetic environments, making it difficult to meet the needs of dynamic real-time sensing and processing of complex communication signals.

Method used

A method based on signal denoising autoencoder SDE is proposed. By dividing the one-dimensional signal into fixed-size data blocks, the self-attention mechanism and the multi-head self-attention layer are used to extract the modulation information, and combined with the feedforward neural network for noise reduction. Processing, updating the model in real time to improve noise reduction performance.

Benefits of technology

It achieves efficient signal noise reduction, overcomes the computational complexity and real-time problems of traditional methods, significantly improves the noise reduction performance in complex electromagnetic environments, and has strong real-time and efficient perception processing capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114169368B
    Figure CN114169368B
Patent Text Reader

Abstract

The present invention belongs to the field of signal processing technology, and specifically relates to a signal denoising method based on a signal denoising autoencoder SDE. The present invention first uses training samples belonging to a signal set to train an autoencoder model, and then selects the model weights with the best performance through test set samples. Finally, the received signal is input into the autoencoder model, and the output is the denoised signal. The present invention overcomes the shortcomings of traditional denoising methods such as high computational complexity, poor real-time performance, and weak denoising performance in complex electromagnetic environments. It models the consistency of the modulation rules of block signals and updates with signal sample training. The present invention does not require manual analysis, has efficient perception and processing capabilities, and has strong real-time performance. At the same time, the denoising performance at a low signal-to-noise ratio is better than that of traditional methods.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of signal processing, and in particular relates to a signal denoising method based on a signal denoising autoencoder SDE. Background Art

[0002] In the increasingly complex communication electromagnetic environment, it is necessary to dynamically and real-time perceive the specific parameters of the confrontation target, automatically learn the changes of the threat target, and then take corresponding interference measures. This ability is supported by machine learning. Through the combination with artificial intelligence technology, the machine has the ability of perception, reasoning, decision-making and evaluation. Through deep learning (a part of machine learning), the noise reduction of the target signal collected in information warfare can effectively improve the subsequent electromagnetic situation awareness performance.

[0003] In 1986, Rumelhart proposed the concept of autoencoder AE (Autoencoder), and later developed denoising DAE (Denoising Autoencoder), sparse denoising encoder SAE (Sparse Autoencoder), differential encoder VAE (Variational Autoencoder) and convolutional encoder CAE (Convolutional Autoencoder) based on the principle of deep learning. The above encoders are proposed to characterize the input information and are applied to image dimensionality reduction and outlier detection. The present invention divides a one-dimensional sequence such as a communication signal into data blocks of fixed size, each data satisfies the same modulation law, and utilizes the similarity relationship of this law between data blocks to construct an autoencoder model based on deep learning, reduce the influence of noise on the modulation law, and achieve the purpose of noise reduction.

[0004] Traditional noise reduction methods are based on wavelet transform, empirical mode decomposition, singular value decomposition and their various variants, but they all have disadvantages such as complex calculation, poor real-time performance, and weak noise reduction performance under low signal-to-noise ratio, and cannot cope with complex communication environments. Summary of the invention

[0005] The purpose of the present invention is to overcome the shortcomings of traditional denoising methods such as high computational complexity, poor real-time performance, and weak denoising performance in complex electromagnetic environments. A signal denoising method based on a signal denoising autoencoder SDE is proposed. The model is built according to the consistency of the modulation law of the block signal and is updated with the signal sample training. It has strong real-time performance and its denoising performance far exceeds that of traditional methods.

[0006] A signal denoising method based on a signal denoising autoencoder SDE comprises the following steps:

[0007] Step 1: Get a noisy one-dimensional signal sequence x, divide the noisy one-dimensional signal sequence x into fixed-size data blocks, and obtain the embedding vector x1, x2, …, x for each data block through linear projection n , The segmented data blocks are embedded into the denoising coding block, and each data block has the same modulation characteristics as the original signal;

[0008] Step 2: In order to characterize the position information of the sequence, add the relative position code x automatically trained with the network pos , vector x1,x2,…,x i ,…,x n ,x pos Multiply by 3 different weight matrices to get q i =W q x i , k i =W k x i , v i =W v x i ; Among them, q i represents the query matrix; k i represents the bond matrix; v i Represents the modulation information of the signal;

[0009] Step 3: Calculate y1,y2,..,y n ,y pos ;

[0010]

[0011]

[0012]

[0013] Where d is the query matrix q i and key matrix k i Dimensions;

[0014] Step 4: Convert a series of q i , k i 、v i They are packaged into matrices Q, K, and V respectively; the modulation information is extracted through the self-attention mechanism to filter out noise interference;

[0015] Q=[x1,x2,...,x i ,...,x n ,x pos ] T W Q =XW Q

[0016] K=[x1,x2,...,x i ,...,x n ,x pos ] T W K =XW K

[0017] V=[x1,x2,...,x i ,...,x n ,x pos ] T W V =XW V

[0018]

[0019] Among them, SA represents the self-attention function;

[0020] Step 5: Considering the possible similarity relationship between each data block, the data block is linearly mapped to different subspaces, that is, the signal passes through different noise reduction coding layers, the output is spliced ​​together and then linearly reduced to the same dimension as the embedded data block;

[0021] MHSA(Q,K,V)=Concat(head1,head2,...,head h )W O

[0022] Among them, MHSA represents the multi-head self-attention function, Represents the output of different self-attention layers. There are h self-attention layers in total, and the dimension of each layer is d'=d / h; linear dimensionality reduction matrix Reduce the concatenated h-layer output to the same dimension as the input;

[0023] Step 6: Let the multi-head self-attention layer output Y = MHSA (X), Add residual links to prevent gradient disappearance, Y'=X+Y;

[0024] Step 7: Linearly integrate the output information of the multi-layer denoising autoencoder block and also add residual links;

[0025] Z=FNN(Y')+Y'

[0026] Where: FNN(x) = Tanh(xW1+b1)W2+b2; W1, W2, b1, b2 represent the weights and biases of the two linear mapping layers of FNN respectively; because the normalized amplitude of the communication signal exists in both positive and negative regions, the activation function is selected

[0027] Step 8: synthesize the modulation information of each data block by averaging;

[0028]

[0029] in, is an n+1 dimensional vector; Z is a d×(n+1) dimensional matrix, each column of which represents the modulation information extracted from each data block;

[0030] Step 9: Use the multi-layer perceptron MLP to obtain a reconstructed signal with the same dimension as the input

[0031]

[0032] Step 10: Map the entire denoising process into the following function expression:

[0033]

[0034] Among them, x represents the one-dimensional communication sequence of the input, θ represents all the training parameters of the SDE structure, and the neurons of all linear layers are randomly inactivated with probability λ. is the resulting reconstructed signal;

[0035] Step 11: Reconstruct the signal The pure noise-free signal corresponding to the input noisy signal x The loss function is constructed as follows:

[0036]

[0037] Where m represents the number of sampling points of the signal sequence;

[0038] Step 12: Get the optimal parameters by minimizing the loss function;

[0039]

[0040] Step 13: SDE trains the model network through the training set samples, and then selects the optimal structural parameters through the test set, thus obtaining a signal denoising autoencoder that can denoise 7 types of communication signals;

[0041] Step 14: Input the received signal into the signal denoising autoencoder, and the output of the signal denoising autoencoder is the denoised signal.

[0042] The beneficial effects of the present invention are:

[0043] The present invention first trains the autoencoder model using training samples in the signal set, then selects the model weight with the best performance through the test set samples, and finally inputs the received signal into the autoencoder model, and the output is the denoised signal. The present invention overcomes the shortcomings of traditional denoising methods such as high computational complexity, poor real-time performance, and weak denoising performance in complex electromagnetic environments. The model is built based on the consistency of the modulation law of the block signal and updated with the signal sample training. The present invention does not require manual analysis, has efficient perception and processing capabilities, strong real-time performance, and better denoising performance than traditional methods at low signal-to-noise ratios. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is the overall architecture diagram of the present invention.

[0045] Figure 2 This is a graph showing the average loss (mean square error) changing with the number of iterations.

[0046] Figure 3 The waveforms of SBPSK before and after noise reduction.

[0047] Figure 4 This is the waveform of Multi-h4 CPM before and after noise reduction.

[0048] Figure 5 This is a structural diagram of the signal denoising coding layer in the present invention.

[0049] Figure 6 This is a diagram of the multi-layer noise reduction coding structure in the present invention.

[0050] Figure 7 This is a statistical table of 7 signal denoising indicators using various methods. DETAILED DESCRIPTION

[0051] The present invention is further described below in conjunction with the accompanying drawings.

[0052] The purpose of the present invention is to overcome the shortcomings of traditional denoising methods such as high computational complexity, poor real-time performance, and weak noise reduction performance in complex electromagnetic environments. A denoising method based on deep learning is proposed. The model is built according to the consistency of the modulation rules of the block signals, and is updated with the signal sample training. It has strong real-time performance and the noise reduction performance far exceeds that of traditional methods.

[0053] The principle of this denoising method can be simply summarized as follows: first, the autoencoder model is trained using the training samples in the signal set, then the model weights with the best performance are selected through the test set samples, and finally the received signal is input into the autoencoder model, and the output is the denoised signal.

[0054] Specific technical solutions such as Figure 1 shown.

[0055] The noise reduction process is mainly divided into the following steps:

[0056] Step 1: The input noisy one-dimensional communication signal sequence is divided into fixed-size data blocks and then embedded into the denoising coding block. Each data block has the same modulation characteristics as the original signal.

[0057] Step 2: Because the signal sequence contains position information, a relative position code is added that can be updated with network training.

[0058] Step 3: The denoising coding block extracts the weighting factor by measuring the similarity of the modulation information of each data block. A large weighting factor indicates that the modulation information of the two data blocks is similar, which can strengthen the modulation information. A small weighting factor indicates that the noise has significantly affected the modulation information, which can reduce noise interference. The output that conforms to the modulation law of the original signal is reconstructed as much as possible by weighting the data blocks.

[0059] Step 4: The multi-head attention mechanism linearly maps the data blocks to different subspaces, fully considering the possible similarity relationships between each data block, and then reduces the dimension to the same dimension as the embedded data block.

[0060] Step 5: FFN stands for Feedforward Neural Network, MLP stands for Multilayer Perceptron, Figure 1 Both of them consist of two simple linear layers. The mean square error (MSE) cost function is constructed by the output of MLP and the input of the model, and then the network weights are trained to minimize the cost function, thus obtaining a signal autoencoder model that can be used for noise reduction.

[0061] Embodiment 1:

[0062] Step S1: The received down-converted noisy one-dimensional signal sequence x is divided into fixed-size data blocks, and each data block is embedded by linear projection to obtain the vector x1, x2, …, x n , Then it is embedded into the denoising coding block, and each data block has the same modulation characteristics as the original signal, corresponding to Figure 5 ① in the.

[0063] Step S2: In order to characterize the position information of the sequence, the relative position code x automatically trained with the network is added pos , then the vector x1,x2,…,x i ,…,x n ,x pos Multiply by 3 different weight matrices to get, q i =W q x i , k i =W k x i , v i =W v x i , where qi represents the query matrix, k i represents the key matrix, v i Represents the modulation information of the signal, corresponding to Figure 5 ② in the.

[0064] Step S3: Next, use each q to do the inner product with each k to match how close the two vectors are, and then normalize them by the vector dimension to get the similarity measure a 1,i .

[0065]

[0066] Where: d is the dimension of q and k. Since the value of q·k increases with the increase of dimension, it is necessary to divide by The value of is equivalent to the normalization effect.

[0067] Step S4: 1,i The softmax operation is performed on the value to obtain the modulation information weighting factor Steps S3 and S4 correspond to Figure 5 ③ in the.

[0068]

[0069] Step S5: The final output is v containing modulation information i The weighted sum of Figure 5 ④ in the.

[0070]

[0071] Step S6: The same method can be used to calculate y2, .., y n ,y pos , and this process can be calculated in parallel to reduce the amount of calculation. A series of q, k, v can be packaged into matrices Q, K, V respectively, and the denoising coding layer output is as follows:

[0072] Q=[x1,x2,...,x i ,...,x n ,x pos ] T W Q =XW Q

[0073] K=[x1,x2,...,x i ,...,x n ,x pos ] T W K =XW K

[0074] V=[x1,x2,...,xi ,...,x n ,x pos ] T W V =XW V

[0075]

[0076] Where SA represents the self-attention function,

[0077] Step S7: The entire process from step S1 to step S6 is as follows Figure 5 As shown in the figure, the input signal extracts modulation information through the self-attention mechanism and filters out noise interference.

[0078] Step S8: Considering the possible similarity relationship between each data block, the data block is linearly mapped to different subspaces, that is, the signal passes through different noise reduction coding layers, the output is spliced ​​together and then linearly reduced to the same dimension as the embedded data block. The formula is as follows. The specific process is as follows Figure 6 shown.

[0079] MHSA(Q,K,V)=Concat(head1,head2,...,head h )W O

[0080] Where MHSA represents the multi-head self-attention function. Represents the output of different self-attention layers. There are h self-attention layers in total, and the dimension of each layer is d'=d / h. Linear dimensionality reduction matrix Reduce the concatenated h-layer outputs to the same dimension as the input.

[0081] Step S9: Let the multi-head self-attention layer output Y = MHSA (X), Add residual links to prevent gradient disappearance, Y'=X+Y.

[0082] Step S10: Figure 1 The FNN in the middle right figure linearly integrates the output information of the multi-layer denoising autoencoder block and also adds residual links.

[0083] Z=FNN(Y')+Y'

[0084] Where: FNN(x) = Tanh(xW1+b1)W2+b2, W i ,b i, (i=1,2) represent the weights and biases of the two linear mapping layers of FNN respectively. Because the normalized amplitude of the communication signal exists in both positive and negative regions, the activation function is selected

[0085] Step S11: synthesize the modulation information of each data block by averaging.

[0086]

[0087] In the formula, is an n+1 dimensional vector. Z is a d×(n+1) dimensional matrix, and each column represents the modulation information extracted from each data block.

[0088] Step S12: Finally, a multi-layer perceptron (MLP) is used to obtain a reconstructed signal with the same dimension as the input.

[0089]

[0090] Step S13: Map the entire SDE denoising process from steps S1 to S13 into the following function expression:

[0091]

[0092] In the formula, x represents the one-dimensional communication sequence of the input, θ represents all the training parameters of the SDE structure, and the neurons of all linear layers are randomly inactivated with probability λ. is the resulting reconstructed signal.

[0093] Step S14: Reconstructing the signal The pure noise-free signal corresponding to the input noisy signal x The loss function is constructed as follows.

[0094]

[0095] Where m represents the number of sampling points of the signal sequence.

[0096] Step S15: Obtain the optimal parameters by minimizing the loss function.

[0097]

[0098] Step S16: SDE trains the model network through the training set samples, and then selects the optimal structural parameters through the test set to obtain a signal denoising autoencoder that can denoise 7 types of communication signals.

[0099] Embodiment 2:

[0100] We selected 7 CPM signals in the MIL-STD-188-181C protocol, took 10,000 samples of each signal at each dB, and divided the training set and test set into 9:1. The simulation conditions are as follows:

[0101] Symbol rate: 19200 Baud;

[0102] Carrier frequency: 192kHz;

[0103] Sampling rate: 16 times the symbol rate;

[0104] Number of symbols: 64;

[0105] Filter bandwidth: 1.6 times the symbol rate;

[0106] Signal types: SBPSK, SOQPSK, Single-h CPM, Multi-h CPM {modulation index is (4 / 16, 5 / 16), (5 / 16, 6 / 16), (6 / 16, 7 / 16), (12 / 16, 13 / 16)}, a total of 7 modulation types.

[0107] Compared with the prior art, the present invention has the following beneficial effects:

[0108] 1. Training effect

[0109] Figure 2 In the patent, CNN-AE represents an autoencoder based on a convolutional neural network, RNN-AE represents an autoencoder based on a recurrent convolutional neural network, DAE is a denoising autoencoder based on an ordinary feedforward neural network, VAE is a variational autoencoder, and SDE (Signal Denoising Autoencoder) is a signal denoising autoencoder proposed in this patent. After iterative training, CNN and SDE can converge quickly, but the MSE loss value of SDE is smaller than that of CNN when it reaches a stable state, that is, it has the best recovery effect on noise-free signals, and SDE training time is less. The loss value of RNN decreases steadily with the number of training times, but it consumes too much time. The training effects of DAE and VAE are relatively poor. The intermediate hidden variables of VAE training obey a certain distribution, which is not suitable for communication signal denoising, but suitable for signal sample generator. In short, compared with other autoencoders, SDE takes less time to train and has the best signal recovery effect.

[0110] 2. Noise reduction performance

[0111] The signal-to-noise ratio (SNR) refers to the ratio of the target signal energy to the noise signal energy in a certain signal segment, which can reflect the quality of the signal to a certain extent. Generally speaking, the larger the signal-to-noise ratio, the less noise mixed in the signal. This patent uses the signal-to-noise ratio as an evaluation indicator of the signal noise reduction effect. The SNR calculation formula is:

[0112]

[0113] Where: r represents the received noisy signal sequence, and s represents the noise-free signal sequence at the sending end.

[0114] In the present invention, the received signal r is processed by down-conversion and low-pass, and s is the prior information given. Formula (1) cannot accurately calculate the SNR, but it can still show the noise reduction effect of each method.

[0115] Figure 7 The SNR values ​​of the seven signals after denoising by different methods at -2dB, -5dB, -8dB, -11dB and -14dB are given. It can be found that the denoising effects of RNN and TAE are better than those of other methods, but Figure 2 It has been explained in the previous section that the convergence speed of RNN training is much slower than that of TAE. VAE is not suitable for communication signal denoising. Except for VAE, other methods have the best denoising effect on SBPSK and SOQPSK signals, and the worst denoising effect on the fourth group of Multi-h4 CPM with modulation index (12 / 16, 13 / 16). The main reason is that the large modulation index makes the signal phase change faster and the signal waveform more dense, and the model's expression ability cannot keep up.

[0116] 3. Waveform recovery degree

[0117] from Figure 3 and Figure 4 It can be clearly seen that the SDE proposed in the present invention has a better effect than the wavelet threshold denoising, and basically retains the signal modulation law, which is conducive to the next step of extracting the specific parameter information of the signal.

[0118] The present invention uses the self-attention mechanism to calculate the similarity of signal data blocks, and then extracts the modulation information to construct a signal denoising autoencoder model.

[0119] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A signal denoising method based on a signal denoising autoencoder SDE, characterized in that: The following steps are involved: Step 1: Get a noisy one-dimensional signal sequence x, divide the noisy one-dimensional signal sequence x into fixed-size data blocks, and obtain the embedding vector x1, x2, …, x for each data block through linear projection n , The segmented data blocks are embedded into the denoising coding block, and each data block has the same modulation characteristics as the original signal; Step 2: In order to characterize the position information of the sequence, add the relative position code x automatically trained with the network pos , vector x1,x2,…,x i ,…,x n ,x pos Multiply by 3 different weight matrices to get q i =W q x i , k i =W k x i , v i =W v x i ; Among them, q i represents the query matrix; k i represents the bond matrix; v i Represents the modulation information of the signal; Step 3: Calculate y1,y2,..,y n ,y pos ; Where d is the query matrix q i and key matrix k i Dimensions; Step 4: Convert a series of q i , k i 、v i They are packaged into matrices Q, K, and V respectively; the modulation information is extracted through the self-attention mechanism to filter out noise interference; Q=[x1,x2,…,x i ,…,x n ,x pos ] T W Q =W Q K=[x1,x2,…,x i ,…,x n ,x pos ] T W K =W K V=[x1,x2,…,x i ,…,x n ,x pos ] T W V =W V Among them, SA represents the self-attention function; Step 5: Considering the possible similarity relationship between each data block, the data block is linearly mapped to different subspaces, that is, the signal passes through different noise reduction coding layers, the output is spliced ​​together and then linearly reduced to the same dimension as the embedded data block; MHSA(Q,K,V)=Concat(head1,head2,...,head h )W O Among them, MHSA represents the multi-head self-attention function, head i =SA(QW i Q ,KW i K ,VW i V ), Represents the output of different self-attention layers. There are h self-attention layers in total, and the dimension of each layer is d'=d / h; linear dimensionality reduction matrix Reduce the concatenated h-layer output to the same dimension as the input; Step 6: Let the multi-head self-attention layer output Y = MHSA (X), Add residual links to prevent gradient disappearance, Y'=X+Y; Step 7: Linearly integrate the output information of the multi-layer denoising autoencoder block and also add residual links; Z=FNN(Y')+Y' Where: FNN(x) = Tanh(xW1+b1)W2+b2; W1, W2, b1, b2 represent the weights and biases of the two linear mapping layers of FNN respectively; because the normalized amplitude of the communication signal exists in both positive and negative regions, the activation function is selected Step 8: synthesize the modulation information of each data block by averaging; in, is an n+1 dimensional vector; Z is a d×(n+1) dimensional matrix, each column of which represents the modulation information extracted from each data block; Step 9: Use the multi-layer perceptron MLP to obtain a reconstructed signal with the same dimension as the input Step 10: Map the entire denoising process into the following function expression: Among them, x represents the one-dimensional communication sequence of the input, θ represents all the training parameters of the SDE structure, and the neurons of all linear layers are randomly inactivated with probability λ. is the resulting reconstructed signal; Step 11: Reconstruct the signal The pure noise-free signal corresponding to the input noisy signal x The loss function is constructed as follows: Where m represents the number of sampling points of the signal sequence; Step 12: Get the optimal parameters by minimizing the loss function; Step 13: SDE trains the model network through the training set samples, and then selects the optimal structural parameters through the test set, thus obtaining a signal denoising autoencoder that can denoise 7 types of communication signals; Step 14: Input the received signal into the signal denoising autoencoder, and the output of the signal denoising autoencoder is the denoised signal.

Citation Information

Patent Citations

  • Modulation and equalization in an orthonormal time-frequency shifting communications system

    CN104662855A

  • Spectral image compression reconstruction method based on two-stage grouping attention residual mechanism

    CN112990230A

  • Modulation signal denoising method based on self-encoding neural network

    CN113094993A

  • Initialization of parameters for machine-learned transformer neural network architectures

    WO2021159201A1