Signal denoising method based on deep learning BiLSTM + MLP

Through the signal denoising method based on deep learning BiLSTM+MLP, noisy seismic signal data is used for training, which simplifies the data preparation process, realizes signal-noise separation, solves the problem of difficulty in obtaining label data in traditional methods, and improves the signal quality. Clarity and accuracy.

CN118733967AInactive Publication Date: 2024-10-01XIAN LONGVIEW ELECTRONICS ENG
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410880778.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-10-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional deep learning signal denoising methods require a large amount of clean data as labels, which makes it difficult to obtain label data and limits the application of signal denoising.

Method used

A signal denoising method based on deep learning BiLSTM+MLP is used to collect noisy seismic signal data for normalization processing, construct input data and label data, use the BiLSTM layer to capture time series features, and the MLP layer for regression output, using residual learning This method performs signal-to-noise separation and only needs noisy data to train the model.

Benefits of technology

The data preparation process is simplified, the problem of difficulty in obtaining clean data is avoided, more effective signal-to-noise separation is achieved, and the signal clarity and accuracy after denoising are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733967A_ABST
    Figure CN118733967A_ABST
Patent Text Reader

Abstract

The invention provides a signal denoising method based on deep learning BiLSTM + MLP. The method comprises the following steps: firstly, collecting a data set containing seismic signals and corresponding noise, and carrying out normalization processing; then, input data and label data are constructed through the preprocessed data and input to a deep learning BiLSTM + MLP-based signal denoising network model for training, residual data output by the trained network model is noise data, and the input data is used for subtracting model output data to obtain denoised data; and splicing all output data of the trained network model into a complete signal, and performing inverse normalization processing to obtain a denoised seismic signal. According to the method, the problem that label data is difficult to obtain in a traditional supervision method is solved, network model training is completed only by using noisy seismic data, and noise in seismic signals is effectively removed.
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 denoising, and specifically relates to a signal denoising method based on deep learning BiLSTM+MLP. Background Art

[0002] Signal denoising is a critical task in all fields. Whether in earthquake monitoring, communication systems, medical imaging or other data processing fields, the quality of the signal directly affects the accuracy and reliability of subsequent data processing and analysis. However, the actual collected signals are often interfered by various noises, including electronic noise from the equipment itself, environmental interference, signal attenuation during transmission, etc. The presence of these noises will lead to a decrease in signal clarity and accuracy, thus bringing challenges to data analysis and application.

[0003] The rapid development of deep learning technology has provided a new solution to the problem of signal denoising. Deep learning models can use a large number of neural network nodes to establish a mapping relationship between signal and noise by learning the deep features of data. Compared with traditional signal processing methods, deep learning methods do not need to rely on manually designed filters or complex mathematical models, and can better handle complex noise and nonlinear signal characteristics. However, traditional deep learning methods usually require a large amount of clean data as labels for supervised learning training. In actual signal denoising tasks, it is very difficult to obtain clean signal data of sufficient quantity and quality, which limits the application of supervised learning in the field of signal denoising. Usually, it is necessary to use traditional signal processing methods to remove noise from actual signal data, or to construct a training data set by adding noise to synthetic data to deal with the problem of insufficient data labels. Summary of the invention

[0004] In order to overcome the shortcomings of the prior art, the present invention provides a signal denoising method based on deep learning BiLSTM+MLP. First, a data set containing seismic signals and corresponding noise is collected and normalized; then, the preprocessed data is used to construct input data and label data, and input into a signal denoising network model based on deep learning BiLSTM+MLP for training. The residual data output by the trained network model is noise data, and the model output data is subtracted from the input data to obtain denoised data. All output data of the trained network model are spliced ​​into a complete signal, and then inverse normalized to obtain a denoised seismic signal. The present invention solves the problem of difficulty in obtaining label data in traditional supervised methods, and only uses noisy seismic data to complete network model training and effectively remove noise from seismic signals.

[0005] A signal denoising method based on deep learning BiLSTM+MLP, characterized by the following steps:

[0006] Step 1: Collect a dataset containing seismic signals and corresponding noise;

[0007] Step 2: Normalize and preprocess the data in the dataset;

[0008] Step 3: Use the preprocessed data to construct input data and label data;

[0009] Step 4: Input the input data into the signal denoising network model based on deep learning BiLSTM+MLP, and train the network model by minimizing the difference between the model output data and the label data; the signal denoising network model based on deep learning BiLSTM+MLP consists of an input layer, a BiLSTM layer, a fully connected layer, an MLP layer and an output layer, the BiLSTM layer is used to capture the temporal characteristics of the signal, and the MLP layer is used for the final regression output;

[0010] Step 5: Use the output data of the trained network model as the noise data, subtract the model output data from the input data to obtain the denoised data, concatenate all the denoised data into a complete signal, and then perform inverse normalization to obtain the denoised seismic signal.

[0011] Furthermore, the data set in step 1 includes real-time data from a seismic monitoring station or existing earthquake records.

[0012] Furthermore, the specific process of step 3 is: using the sliding window method to divide the continuous signal into signal segments of fixed length, using the noisy signal segments generated by the sliding window as input data, and using the corresponding noise-free signal segments as label data.

[0013] Furthermore, the MLP layer in the signal denoising network model based on deep learning BiLSTM+MLP includes 1 input layer, 15 hidden layers and 1 output layer, wherein the input layer includes a convolution layer and a ReLU activation function, the convolution layer includes 64 3×3 convolution kernels, the step size of the convolution kernel is 1, and the input parameter is 3×3×1×64; the 15 hidden layers are all composed of convolution layers, batch normalization and ReLU activation functions, the convolution layer includes 64 3×3 convolution kernels, the step size of the convolution kernel is 1, and the input parameter is 3×3×64×64; the output layer only includes a convolution layer, the convolution layer includes 64 3×3 convolution kernels, the step size of the convolution kernel is 1, and the output parameter is 3×3×64×1.

[0014] Furthermore, minimizing the difference between the model output data and the label data in step 4 refers to minimizing the mean square error between the two.

[0015] The beneficial effects of the present invention are as follows: since noisy data is used to construct model input data and label data, the data preparation process is simplified, and the problem of requiring a large amount of clean data as labels and difficulty in data acquisition in traditional supervised learning methods is avoided, and the method is simple and effective; since a signal denoising network model based on deep learning BiLSTM+MLP is constructed and residual learning methods are used for data prediction, signal-noise separation can be achieved more effectively, and more pure signal features can be obtained at the same time, thereby improving the clarity and accuracy of the denoised seismic signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a flow chart of a signal denoising method based on deep learning BiLSTM+MLP of the present invention;

[0017] Figure 2 It is a schematic diagram of the signal denoising network model based on deep learning BiLSTM+MLP of the present invention;

[0018] Figure 3 It is the denoising result of the signal denoising network model based on deep learning BiLSTM+MLP of the present invention. DETAILED DESCRIPTION

[0019] The present invention is further described below in conjunction with the accompanying drawings and embodiments. The present invention includes but is not limited to the following embodiments.

[0020] Aiming at the problem that traditional denoising methods based on deep learning require a large amount of clean data as labels while it is difficult to obtain clean signal data, the present invention provides a new signal denoising method based on deep learning BiLSTM+MLP, and constructs a signal denoising network model based on deep learning BiLSTM+MLP. Only noisy seismic data is needed to complete model training and realize signal-noise separation. Figure 1 As shown, the specific implementation process is as follows:

[0021] 1. Collect a dataset containing seismic signals and corresponding noise, including real-time data from seismic monitoring stations or existing earthquake records.

[0022] 2. Perform normalization preprocessing on the data in the dataset so that all input data of the network are within the range of [-1,1], ensuring the stability and effectiveness of the network's data processing, and helping to improve the network's training speed and efficiency.

[0023] 3. Use the preprocessed data to construct input data and label data, that is, use the sliding window method to divide the continuous signal into signal segments of fixed length, use the noisy signal segments generated by the sliding window as input data, and use the corresponding noise-free signal segments as label data.

[0024] 4. Build a signal denoising network model based on deep learning BiLSTM+MLP

[0025] BiLSTM (Bidirectional Long Short-Term Memory) is an improved recurrent neural network (RNN) specifically designed for processing and predicting sequence data. BiLSTM processes the input sequence through two independent LSTM networks, which can simultaneously process the forward and reverse information of the input sequence, provide more comprehensive contextual information, and can handle the dependencies in long time series, avoiding the gradient vanishing problem in traditional RNN. MLP (Multilayer Perceptron) is a feedforward neural network consisting of an input layer, one or more hidden layers, and an output layer. The neurons in each layer are fully connected to the neurons in the next layer, and the signals are transmitted and transformed through nonlinear activation functions. MLP is one of the most basic neural network structures and is widely used in various classification and regression tasks. BiLSTM generally includes: input layer (receives the original signal data and passes it to the LSTM unit), hidden layer (mainly includes input gate, forget gate and output gate, which work in the LSTM unit), output layer (the output of the BiLSTM layer is the combination of the hidden states of the bidirectional LSTM unit, which contains the dependencies between the input sequence and the previous and next layers, and is passed to the subsequent modules for further processing). MLP generally consists of an input layer, multiple hidden layers and an output layer, where the input layer receives the output features from the previous module, each hidden layer contains a certain number of neurons, each hidden layer may be followed by a fully connected layer, a batch normalization layer, an activation function (ReLU), and the output layer produces the final prediction result.

[0026] In order to better achieve signal-to-noise separation and obtain more pure seismic signal features while denoising, the present invention constructs a neural network model based on deep learning BiLSTM+MLP, uses the BiLSTM layer to capture the temporal characteristics of the signal, uses the MLP layer for the final regression output, and uses the residual learning method to predict the data. Figure 2As shown, the network model based on deep learning BiLSTM+MLP constructed by the present invention consists of an input layer, a BiLSTM layer, a fully connected layer, an MLP layer and an output layer, wherein the MLP layer includes 1 input layer, 15 hidden layers and 1 output layer, wherein the input layer includes a convolution layer and a ReLU activation function, the convolution layer includes 64 3×3 convolution kernels, the step size of the convolution kernel is 1, 0 padding is used, and the input parameters are 3×3×1×64, and the main purpose is to extract the characteristics of seismic noise by superposition of convolution kernels; the 15 hidden layers are all composed of convolution layers, batch normalization and ReLU activation functions, the convolution layer includes 64 3×3 convolution kernels, the step size of the convolution kernel is 1, and the input parameters are 3×3×64×64, The convolution kernel step size and padding method of these hidden layers are the same as those of the input layer, but batch normalization is introduced in each layer. Batch normalization can reduce internal covariate shift by normalizing the input data in each batch, effectively handle input data of different ranges, and ensure that the distribution of inputs in each layer is close, thereby avoiding the problem of gradient vanishing or gradient explosion, and improving the convergence speed and stability of the network. The use of activation functions will further help overcome the problem of gradient vanishing and accelerate the training process of the network; the output layer only includes convolution layers, which include 64 3×3 convolution kernels, the step size of the convolution kernel is 1, and the output parameters are 3×3×64×1. The output layer no longer uses batch normalization and ReLU activation functions to avoid deviations in data recovery. This residual structure can effectively learn and remove noise from seismic signals and improve the quality and accuracy of seismic signals.

[0027] 5. Network model training

[0028] The input data is input into the signal denoising network model based on deep learning BiLSTM+MLP. The network model is trained by minimizing the difference between the model output data and the label data (such as mean square error), and the network model parameters are continuously optimized. When the model is trained, the residual data output by the network model is noise.

[0029] 6. Get the denoised signal

[0030] The output data of the trained model is subtracted from the input data to obtain the denoised data. Since the input data is a signal fragment segmented by a sliding window, all the denoised data are spliced ​​into a complete signal, and then the inverse normalization processing corresponding to step 2 is performed to obtain the denoised seismic signal.

[0031] To verify the effectiveness of the deep learning network model constructed by the present invention, NVIDIA RTX A5000 (graphics card with 24GB video memory) was used to perform data processing simulation experiments using Matlab R2020a under the Windows operating system. During the training process, a total of 20 epochs of training were carried out, and the entire training process took 20 hours. In the test set, there were 2207 files in total, and the total prediction and reasoning time of the model did not exceed 12 minutes.

[0032] First, 1000 image data are randomly selected from the noisy seismic data set, and then these images are transformed into amplitude spectra by time-frequency transformation. Next, a 16-point sliding window is used in the time dimension to obtain (24000-16)*1000 pairs of sub-images for each amplitude spectrum. The sub-images obtained by QZ (noise data) are used as training images, and the sub-images obtained by CZ (clean data) are used as training labels. The construction of the training data set is now completed, wherein the characteristics of the data include the amplitude spectrum and phase information in the time-frequency relationship. Then, the signal denoising network model based on deep learning BiLSTM+MLP constructed by the present invention is trained using the training data set, and the training results are shown in the figure. Figure 3 As shown. In the figure, the left column of images are the time domain signals of the signals. The first image from the top is the strong earthquake signal, the second image is the seismic signal, and the third image is the predicted signal. The first image is the third image obtained after the above signal denoising model, and the second image is the expected signal time domain image. The right column of images are the corresponding frequency domain signals. The first image from the top is the frequency domain signal of the strong earthquake signal, the second image is the frequency domain signal of the seismic signal, and the third image is the frequency domain signal of the predicted signal. From Figure 3 It can be seen that the noise of the predicted signal is very small, and the signal is more continuous and smoother.

[0033] At the same time, the signal-to-noise ratio and the mutual correlation coefficient were calculated. The higher the signal-to-noise ratio, the better the signal-to-noise separation effect. The mutual correlation coefficient is an indicator to measure the strength of the linear relationship between two variables. Its value is between [-1,1]. The closer it is to 1, the stronger the information correlation between the two variables. The mutual correlation coefficient between the denoised signal and the CZ data was calculated. The signal-to-noise ratio of the predicted signal obtained by the signal denoising network model based on deep learning BiLSTM+MLP is 0.7, and the autocorrelation coefficient is 0.9, which proves the effectiveness of the method of the present invention.

Claims

1. A signal denoising method based on deep learning BiLSTM+MLP, characterized in that Here are the steps: Step 1: Collect a dataset containing seismic signals and corresponding noise; Step 2: Normalize and preprocess the data in the dataset; Step 3: Use the preprocessed data to construct input data and label data; Step 4: Input the input data into the signal denoising network model based on deep learning BiLSTM+MLP, and train the network model by minimizing the difference between the model output data and the label data; the signal denoising network model based on deep learning BiLSTM+MLP consists of an input layer, a BiLSTM layer, a fully connected layer, an MLP layer and an output layer, the BiLSTM layer is used to capture the temporal characteristics of the signal, and the MLP layer is used for the final regression output; Step 5: Use the output data of the trained network model as the noise data, subtract the model output data from the input data to obtain the denoised data, concatenate all the denoised data into a complete signal, and then perform inverse normalization to obtain the denoised seismic signal.

2. A signal denoising method based on deep learning BiLSTM+MLP as claimed in claim 1, characterized in that: The data set described in step 1 includes real-time data from earthquake monitoring stations or existing earthquake records.

3. A signal denoising method based on deep learning BiLSTM+MLP as claimed in claim 1, characterized in that: The specific process of step 3 is: use the sliding window method to divide the continuous signal into signal segments of fixed length, use the noisy signal segments generated by the sliding window as input data, and use the corresponding noise-free signal segments as label data.

4. A signal denoising method based on deep learning BiLSTM+MLP as claimed in claim 1, characterized in that: The MLP layer in the signal denoising network model based on deep learning BiLSTM+MLP includes 1 input layer, 15 hidden layers and 1 output layer, wherein the input layer includes a convolution layer and a ReLU activation function, the convolution layer includes 64 3×3 convolution kernels, the step size of the convolution kernel is 1, and the input parameter is 3×3×1×64; the 15 hidden layers are all composed of a convolution layer, batch normalization and a ReLU activation function, the convolution layer includes 64 3×3 convolution kernels, the step size of the convolution kernel is 1, and the input parameter is 3×3×64×64; the output layer only includes a convolution layer, the convolution layer includes 64 3×3 convolution kernels, the step size of the convolution kernel is 1, and the output parameter is 3×3×64×1.

5. The signal denoising method based on deep learning BiLSTM+MLP as claimed in claim 1, characterized in that: Minimizing the difference between the model output data and the label data described in step 4 refers to minimizing the mean square error between the two.

Citation Information

Patent Citations

  • Deep learning seismic data denoising method

    CN110007347A

  • Denoising method and system for anomaly detection of time series data

    CN115905823A