A method for predicting ocean wave significant wave height time series based on deep learning
The wavelet decomposition-convolutional residual neural network model is used to predict the effective wave height of ocean waves, which solves the shortcomings of real-time prediction and long-term step prediction in the existing technology, improves the prediction accuracy and speed, and utilizes the parallel computing of deep convolutional networks. ability, which enhances the generalization ability of the model and achieves better prediction of effective wave height.
Patent Information
- Application Number
- CN202210052118.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-18
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-01-18
AI Technical Summary
Existing sea wave significant wave height prediction models have shortcomings in real-time prediction and long-term step prediction. In particular, the wave numerical model cannot perform real-time prediction. The classical time series model has low processing efficiency for long input and multi-variable data, and the recurrent neural network The parallel computing capabilities of the extreme learning machine are limited, and the model complexity of the extreme learning machine is low, resulting in poor prediction results.
The wavelet decomposition-convolutional residual neural network model is used to perform dispersion standardization and wavelet decomposition on wave-related variables. After extracting features, they are input into the deep convolutional neural network for prediction, and the prediction results are compiled through two linear layers, and the dropout layer is used. and small weight values to prevent overfitting and improve model generalization ability.
It improves the accuracy and speed of effective wave height prediction of ocean waves, and can effectively process long-term step data. It uses the parallel computing power of deep convolutional networks to reduce computational pressure, enhance the generalization ability of the model, and achieve better predictions. Effect.
Smart Images

Figure CN114549925B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of time series prediction and relates to a method for predicting ocean wave effective wave height time series based on deep learning. Background Art
[0002] Marine meteorological forecasts, especially the forecast of wave parameters, are of great significance in contemporary ocean-related projects. The prediction results of wave parameters are the main reference for coastal energy assessment and utilization, and are also an important basis for port construction and shipping planning. Wave parameters mainly include significant wave height, wave period and wave steepness, among which significant wave height is an indispensable parameter for assessing wave energy resources and critical meteorological conditions for marine activities. Therefore, the prediction of significant wave height is one of the core issues of wave prediction.
[0003] The methods for collecting effective wave height data mainly include collecting and extrapolating wave observation videos and pictures, as well as direct collection from wave buoy stations. Since the extrapolation of wave observation videos still has a large deviation, and the collected data often needs to be corrected by buoy stations in the area, the research on the prediction of effective wave height mainly uses the effective wave height data collected by wave buoy stations for experiments. The Global Buoy Data Center of NOAA in the United States provides a large amount of wave buoy station data for download, which is the main data source selected by the international effective wave height prediction model in recent years.
[0004] There are a lot of papers and methods related to the study of wave prediction, mainly including numerical wave models, classical time series models and neural network models. The numerical wave models include the WAVEWATCHIII model used in vast sea areas and the SWAN model used in offshore waters. The principle is to perform physical simulation calculations based on wave numerical values to predict future trends. Erick Rogers and others used the SWAN model to predict the trend of significant wave height near the Southern California Bridge and achieved good results. AdekunleOsinowo and others used the WAVEWATCHIII model to simulate and analyze the seasonal trend and long-term change trend of significant wave height in the South China Sea. However, the defect of the numerical wave model is that, limited by the complexity of solving the physical model of the operation, this type of model can only solve the prediction of a longer time step as a trend, but lacks the ability of real-time prediction and cannot express the statistical characteristics of wave data.
[0005] Classic time series models and machine learning methods mainly use empirical mode decomposition and wavelet decomposition to extract features from the time series of effective wave height, and then predict them through algorithms such as ARIMA, support vector regression and symbiotic search. Jin Quan et al. used the support vector regression model to predict the effective wave height recorded by the wave buoy station near the Yellow Sea in my country, and achieved good prediction results. WYDuan et al. used empirical mode decomposition as a feature extraction method and used support vector regression as a prediction model to predict the effective wave height of waves at multiple ocean buoy stations provided by the US NOAA website, achieving better results than directly using support vector regression or autoregression. However, the time complexity of solving the optimal solution for long input and multi-variable input data is too high for the classical time series model, and the prediction results for longer time steps are poor.
[0006] The neural network model uses back propagation neural network, recurrent neural network and other methods to predict the effective wave height of waves based on the feature extraction of machine learning methods. The neural network model can achieve excellent prediction effect on the effective wave height of waves by constructing a complex network structure and optimizing parameters by back propagation. It has achieved rapid development in recent years. Sajad Shahabi et al. used GMDH neural network to predict the data collected by buoy stations on the North Atlantic coast, and achieved good results in 6-step prediction to 12-step prediction. Martina Maria Pushpam used long short-term memory neural network to simulate and predict the effective wave height of wave buoy stations in the Bay of Bengal, which achieved good results. Mosbeh Kaloop et al. used wavelet transform as a feature extraction method and used extreme learning machine optimized by particle swarm as a prediction model to predict the effective wave height of waves at two ocean buoy stations provided by the US NOAA website, and achieved better prediction results than symbiotic biological search, long short-term memory neural network and support vector regression. However, the sequential calculation of the input sequence required by the recurrent neural network limits the use of the parallel computing capabilities of graphical computing devices; and although the extreme learning machine has a faster solution speed, it is limited by its single hidden layer structural characteristics and low model complexity, resulting in relatively poor prediction results. Summary of the invention
[0007] The present invention proposes a wavelet decomposition-convolution residual neural network model for predicting the significant wave height of waves. For the input sequence after deviation standardization, wavelet decomposition is used to denoise and extract features from the significant wave height time series of waves, and the decomposed sequence is input into a deep residual convolution neural network. Finally, the output of the network is converted into a one-dimensional sequence, which is aggregated into a one-dimensional prediction result through two linear layers as the predicted value of the significant wave height of waves. Finally, through comparative experiments, it is proved that the model proposed by the present invention has high accuracy.
[0008] The technical solution of the present invention:
[0009] A deep learning-based method for predicting the time series of significant wave heights takes the wave-related variables of at least the past 12 hours as input and the significant wave height values after a certain time step as output. The specific steps are as follows:
[0010] (1) Data collected by the wave buoy station, including effective wave height, gust wind speed, average wind speed, average wave period, main wave period and air temperature, are preprocessed for use in the subsequent neural network training process to maintain the weights and biases of the network at a relatively small value to avoid individual excessive weights and biases from interfering with the output of the network and affecting the generalization ability of the network. The present invention adopts the deviation normalization commonly used for preprocessing neural network input data, preprocesses the raw wave data collected by the ocean buoy station, and linearly maps the data to the range of [0,1]. The conversion method is as follows:
[0011]
[0012] (2) For the preprocessed data, wavelet decomposition is performed, and the wavelet decomposition coefficient sequence is reconstructed to obtain decomposition subsequences at all levels, so as to separate noise, short-term changes and long-term trends. Wavelet transform is a common method for signal feature extraction. In contrast, short-time Fourier transform has the limitation of time window size selection; if the time window is too large, it will lead to poor time resolution, and if it is too small, the frequency may be too concentrated in a small time window, resulting in poor frequency resolution. Wavelet analysis expands short-time Fourier transform and realizes a new time-frequency analysis method. Its time window can be reduced as the frequency of the signal increases and increased as the frequency decreases, effectively solving the defects of short-time Fourier transform of the signal, and thus has been widely used. Compared with Fourier transform and short-time Fourier transform, wavelet transform can adaptively perceive the frequency change of the signal in time measurement through the time-frequency domain positioning characteristics of its wavelet basis function, so it is more suitable for signal frequency content analysis without redundant components in the time domain. In wavelet transform, the wavelet signal used to replace the sine and cosine signals in Fourier transform has the characteristics of rapid decay, relative concentration and limited energy. By using the wavelet function family and the scaling function family, as well as the characteristics of their multi-resolution equations, the time series signal of the wave-related variables can be transformed by wavelet transform to obtain the coefficients of the original scaling signal and the wavelet signals at all levels:
[0013]
[0014] Among them, x(t) is the original time series signal of the wave-related variables, is the signal obtained by shifting the original scale function signal to the right by a distance of k, c0[k] is the corresponding coefficient of the signal obtained by the shift, ψ j,k (t) is the wavelet signal after horizontal stretching to 2 j The signal obtained by translating to the right by a distance of k is d j [k] is the corresponding coefficient of the signal obtained by translation and scaling. j [k] can restore the original signal according to the selected wavelet type.
[0015] It can be found that, analogous to the Fourier transform, the low-resolution scale signal The rough and low-frequency information of the time series signal of the wave-related variables is expressed by the high-resolution wavelet signal ψ j,k (t) expresses details and high-frequency information, which is equivalent to pre-training the network before the feature extraction of the convolutional neural network. The present invention uses db2 wavelet to perform 3-level wavelet decomposition on the original wave-related variable time series signal, and restores the obtained multiple wavelet coefficients to a sequence of the same length as the input.
[0016] (3) The wavelet decomposition results of each wave variable are input into a convolutional neural network with residuals. Through the weight sharing and local connection characteristics of the convolutional neural network, the representation information of each subsequence obtained by wavelet decomposition is extracted. Compared with the recurrent neural network and its variant long short-term memory neural network commonly used for time series prediction, the convolutional neural network can better utilize the multi-core concurrent computing performance of computing devices, and thus has a faster computing speed. Assuming that the convolution kernel is w, the input is x, the bias is b, * represents the convolution operation, f(·) represents the activation function, and h represents the result generated by the calculation, then the convolution operation can be expressed as:
[0017] h=f(w*x+b) (3)
[0018] Convolutional neural networks are applied to the prediction of time series in two ways: one-dimensional convolution and two-dimensional convolution. In the present invention, for the decomposition of multiple wave-related variables obtained by wavelet decomposition, the same-level wavelet decomposition results of different input wave-related variables are used as different channels of the same group of network inputs; for each dimensional subsequence obtained by wavelet transform, it is divided into equal lengths, and then assembled into two-dimensional matrices respectively, as the input of a certain channel of a group of inputs. This convolution method enables the convolution kernel to cross a certain time step in the low-level convolution operation, feel the data after a longer time step, and use the feature extraction ability of deep convolution to mine the law of the data itself. In the process of constructing a convolutional residual neural network, the present invention first increases the number of channels of the convolution layer, fully extracts the features of the wavelet subsequence reconstructed after the wavelet transform, and then reduces the number of channels of the convolution layer to perform feature fusion and reduce the number of connections of the subsequent linear layer neural network to reduce the calculation pressure.
[0019] (4) Finally, the output of the convolutional residual network is converted into a one-dimensional sequence, and through two layers of linear layers, the output is reduced to a point as the result of the predicted effective wave height. In the training process, the present invention introduces a dropout layer after the first layer of linear layer, so that the results of some network outputs are 0; this will cause this training to not optimize the network parameters associated only with these outputs, with the purpose of making the influence of various parameters within the network on the output relatively balanced, without over-dependence on a few parameters, avoiding overfitting, and improving the generalization ability of the model. In addition, during the network training process, weight values are set so that each parameter in the network is maintained at a relatively small absolute value, avoiding a single parameter value that is too large and causing a major impact on the network, so as to improve the generalization ability of the network.
[0020] Beneficial effects of the present invention:
[0021] (1) The present invention uses wavelet decomposition to decompose the time series of wave-related variables, distinguishing the low-frequency and high-frequency changing parts in the time series. The decomposed sequences at all levels are conducive to further feature extraction by the neural network, thereby improving the prediction accuracy;
[0022] (2) The present invention uses a deep convolutional neural network to extract and fuse features of wavelet sequences at all levels obtained by wavelet decomposition, thereby improving the nonlinear fitting ability of the network, and uses residual connections to ensure that the performance of the deep network does not decrease. At the same time, the parallel computing capabilities of modern graphics computing devices are fully utilized by taking advantage of the parallel computing capabilities of convolutional neural networks compared to recurrent neural networks, thereby improving the training speed of the neural network;
[0023] (3) The present invention collects the output of the convolutional neural network to one point as the final prediction result of the effective wave height of the wave through a linear layer. At the same time, a dropout layer is used and weight values are set during the network training process to prevent the effect of the network in actual prediction from being interfered by the noise of the data during the training process or being greatly affected by individual main weights, thereby improving the generalization ability of the network and achieving the purpose of improving the prediction effect of the effective wave height of the wave. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 This is a framework diagram of a method for predicting the time series of significant wave height of ocean waves based on deep learning according to the present invention;
[0025] Figure 2 An example diagram of wavelet decomposition used in the present invention;
[0026] Figure 3 A schematic diagram of a convolutional residual network used in the present invention;
[0027] Figure 4 A schematic diagram of the linear layer and dropout training used in the present invention;
[0028] Figure 5(a) shows the six-step prediction results of the significant wave height of ocean waves by the long short-term memory neural network in June 2019;
[0029] Figure 5(b) shows the 6-step prediction result of the significant wave height of the convolutional residual network in June 2019;
[0030] Figure 5(c) shows the 6-step prediction results of the effective wave height of waves using the wavelet-long short-term memory network in June 2019;
[0031] Figure 5(d) shows the six-step prediction results of the effective wave height of waves using the wavelet-convolutional residual network in June 2019;
[0032] Figure 6(a) shows the 12-step prediction results of the significant wave height of ocean waves by the long short-term memory neural network in June 2019;
[0033] Figure 6(b) shows the 12-step prediction result of the significant wave height of the convolutional residual network in June 2019;
[0034] Figure 6(c) shows the 12-step prediction result of the significant wave height of the wavelet-long short-term memory network in June 2019;
[0035] Figure 6(d) shows the 12-step prediction result of the significant wave height of ocean waves using the wavelet-convolutional residual network in June 2019;
[0036] Figure 7(a) shows the 24-step prediction result of the significant wave height of the ocean waves by the long short-term memory neural network in June 2019;
[0037] Figure 7(b) shows the 24-step prediction result of the significant wave height of the convolutional residual network in June 2019;
[0038] Figure 7(c) shows the 24-step prediction result of the significant wave height of the wavelet-long short-term memory network in June 2019;
[0039] Figure 7(d) shows the 24-step prediction result of the significant wave height of waves using the wavelet-convolutional residual network in June 2019. DETAILED DESCRIPTION
[0040] The specific implementation of the present invention is further described below in conjunction with the accompanying drawings and technical solutions.
[0041] 1. Experimental equipment and environment configuration
[0042] Software system: LinuxUbuntu 16.04LTS Server system
[0043] Programming language: Python 3.8
[0044] Deep learning framework: Pytorch1.5.1
[0045] 2. Experimental Methods
[0046] The overall process of the present invention is as follows Figure 1 Before the wavelet transform is performed on the data collected from the wave time series, the present invention uses the deviation normalization commonly used in neural network input data to pre-process the raw data related to the waves collected by the ocean buoy station and linearly map the data to the range of [0,1]. For the pre-processed data, the wavelet decomposition example is as follows Figure 2 As shown, the present invention uses db2 wavelet and its scaling function to perform three-level wavelet decomposition on the original time series. The reason for using db2 wavelet is that its nonlinear wavelet function and scaling function can better extract the information of the original time series, and achieve better network training effect in the training set and the verification set. The reason for using three-level wavelet decomposition is that: according to experimental observations, the trend information that can be extracted from the time series by two-level wavelet decomposition is relatively small, and the last-level decomposition data obtained by applying four-level wavelet decomposition to 72 hours of data is the weighted sum of individual wavelet scaling functions, and the decomposition effect is poor. After the wavelet coefficient sequence obtained by decomposition is reconstructed into each level of decomposition subsequence, it is used for the subsequent training and verification of the neural network model.
[0047] The decomposed wavelet sequence is input into a 6-layer convolutional neural network with residuals (such as Figure 3As shown). On the residual connection, the model used in the present invention adds the output result of the first layer of convolution to the output of the fifth layer of convolution, and inputs them into the sixth layer of convolution together. Among them, the purpose of introducing the residual is to prevent the performance of the deep neural network from decreasing and to avoid the performance degradation of the deep convolutional neural network. For the setting of the convolutional neural network, a padding of size 1 and a convolution kernel of size 3 are used for parameter matching. While extracting information at each position in the six-layer convolutional neural network, the image size obtained by each convolution can be maintained, which facilitates the calculation of the final output dimension of the network and the setting of the linear layer input and output dimensions used for the network output.
[0048] Finally, the output of the convolutional residual network is converted into a one-dimensional sequence, and the output is reduced to a point through two layers of linear layers as the result of the predicted effective wave height; the linear layer and dropout training are as follows Figure 4 As shown, a dropout layer is introduced after the first linear layer, so that the output of some networks is 0; this will cause this training not to optimize the network parameters associated only with these outputs, in order to make the influence of various parameters within the network on the output relatively balanced, without over-dependence on a few parameters, to avoid overfitting, and to improve the generalization ability of the model. During the training process of the model of the present invention, the dropout rate before the input of the last linear layer is set to 0.3.
[0049] The optimizer in the network training process uses the stochastic gradient descent optimizer SGD, and dynamically reduces the learning rate as the training process progresses, so that the network can approach the optimal solution it can achieve. In the model training process, the present invention adopts a learning rate reduction strategy that reduces the learning rate of the optimizer by 50% if the loss function training result of the validation set does not decrease in every 5 consecutive rounds. In addition, the optimizer sets the weight value so that each parameter in the network is kept at a small absolute value to avoid a single parameter value being too large and causing a major impact on the network, so as to improve the generalization ability of the network; the weight value in the model training process of the present invention is set to 0.001.
[0050] In the process of model training, the mean square error (MSE) between the network prediction results and the actual effective wave height is mainly used as the basis for comparison. In addition, R is introduced as a reference for the goodness of fit. The expressions of MSE and mean square error are as follows:
[0051]
[0052] Finally, the condition for stopping model training is set as follows: after 17 consecutive rounds of training, the model's loss function result on the validation set does not decrease. That is, after reducing the learning rate for three consecutive times and then training twice, if the model is still not tending to be better on the validation set, training is stopped.
[0053] 3. Experimental Verification
[0054] (1) Experimental Dataset
[0055] In order to verify the effectiveness of the method, the present invention uses the 46087 wave buoy station provided by the US NOAA website for experiments. The wave buoy station is located at 48.49 degrees north latitude and 124.73 degrees west longitude, with a sea depth of 260 meters. The variables include effective wave height, gust wind speed, average wind speed, average wave period, main wave period and air temperature. The statistical characteristics of each data are shown in the table below.
[0056] Table 1 Data collected by 46087 wave buoy station
[0057]
[0058] The present invention uses data from January 2016 to December 2018 as training sets and validation sets, and data from January to August 2019 as test sets. The method for constructing model input and labeling is to first select various data of 72 consecutive hours as model input, and then select the effective wave height data of waves after a certain time step as labels. When constructing the training set and validation set, the label data is divided, and 3 input-label pairs corresponding to every 4 consecutive label data in time are selected as training sets and 1 as validation set. At the same time, the maximum and minimum values used in the deviation standardization in the model are completely from the training set, so as to avoid the data of the validation set and the test set from interfering with the training process.
[0059] (2) Experimental results
[0060] In order to evaluate the performance of the model, the wavelet transform-convolution residual neural network model used in the present invention is compared with several basic models, including an ordinary convolution neural network model, a long short-term memory neural network model, and a wavelet transform-long short-term memory neural network model, in order to identify the influence of wavelet transform and different network structures on the prediction results of effective wave height of waves. Among them, the ordinary convolution neural network adopts the same convolution layer and linear layer structure as the wavelet transform-convolution neural network, and the only difference is the number of channels and the input and output dimensions of the linear layer in the process of adjusting the network parameters; the long short-term memory neural network combined with wavelet transform and not combined with wavelet transform is set as a two-layer bidirectional recurrent neural network, and the only difference is the parameter dimension of the hidden layer and the cell layer in the process of adjusting the network parameters. One-step prediction, three-step prediction, six-step prediction, 12-step prediction and 24-step prediction of waves are performed on each model. The experimental results are as follows:
[0061] Table 2 Prediction results of significant wave height of each model
[0062]
[0063] It can be found from the experimental results that performing wavelet transform on the original time series and then inputting the transformed results into the neural network can greatly improve the prediction effect of the neural network. The results show that wavelet transform can help the neural network to better extract features from the original time series, so that the input accepted by the neural network is time series data with more significant features, which is conducive to the training of the neural network to achieve good results. In the experiments of the present invention, for convolutional neural networks and long short-term memory neural networks, the prediction results using wavelet transform are better than the prediction results of directly inputting the time series into the network to a certain extent.
[0064] Depend on Figure 5(a) to Figure 5(d) , Figure 6(a) to Figure 6(d) as well as Figure 7(a) to Figure 7(d) It can be seen from the sea wave prediction results of different time steps of each model that in short-term prediction, especially prediction within 6 steps, the four prediction models adopted by the present invention all have good prediction effects; in 6-step to 12-step prediction, the wavelet-long short-term memory neural network and the wavelet-convolutional residual network have better prediction effects than others, proving that the wavelet transform plays an important role in improving the prediction accuracy in the model; while in the 12-step prediction and longer time parts, the prediction results of each model are relatively poor, especially the model that does not use wavelet transform for feature extraction is almost unusable, the prediction results of the wavelet-long short-term memory neural network model also show a more obvious lag, and the prediction results of the sea waves in peak hours are significantly poor; in comparison, the wavelet-convolutional residual network of the present invention still has better prediction results and has stronger practicality.
Claims
1. A method for predicting time series of significant wave height based on deep learning, characterized in that: The specific steps are as follows: (1) For the data collected by the ocean wave buoy station, including the significant wave height, gust wind speed, average wind speed, average wave period, main wave period and air temperature, the deviation standardization is used to pre-process the raw data related to the ocean wave collected by the ocean buoy station, and the data is linearly mapped to the range of [0,1]. The conversion method is as follows: (2) For the preprocessed data, perform wavelet decomposition on it and reconstruct the wavelet decomposition coefficient sequence to obtain decomposition subsequences at all levels to separate noise, short-term changes and long-term trends; Specifically: Perform wavelet transform on the time series signal of wave-related variables to obtain the coefficients of the original scale signal and wavelet signals at all levels: Among them, x(t) is the original time series signal of the wave-related variables, is the signal obtained by shifting the original scale function signal to the right by a distance of k, c0[k] is the corresponding coefficient of the signal obtained by the shift, ψ j,k (t) is the wavelet signal after horizontal stretching to 2 j The signal obtained by translating to the right by a distance of k is d j [k] is the corresponding coefficient of the signal obtained by translation and scaling; through c0[k] and d j [k] Restore the original signal according to the selected wavelet type; The db2 wavelet is used to perform a three-level wavelet decomposition on the original wave-related variable time series signal, and the obtained multiple wavelet coefficients are restored to a sequence of the same length as the input; (3) The wavelet decomposition results of each wave variable are input into a convolutional neural network with residuals. The characteristics of weight sharing and local connection of the convolutional neural network are used to extract the representation information of each subsequence obtained by the wavelet decomposition. The details are as follows: Assuming the convolution kernel is w, the input is x, the bias is b, * represents the convolution operation, f(·) represents the activation function, and h represents the result of the calculation, then the convolution operation is expressed as: h=f(w*x+b)(3) For multiple wavelet sequences of wave-related variables obtained by wavelet decomposition, the same-level wavelet decomposition results of different input wave-related variables are used as different channels of the same group of network inputs; for each dimensional subsequence obtained by wavelet transform, it is divided into equal lengths, and then assembled into two-dimensional matrices respectively, as the input of a channel of a group of inputs; in the process of constructing a convolutional residual neural network, the number of channels of the convolution layer is first increased, and the wavelet subsequence reconstructed after wavelet transform is fully extracted, and then the number of channels of the convolution layer is reduced to perform feature fusion and reduce the number of connections of the subsequent linear layer neural network to reduce the calculation pressure; (4) Finally, the output of the convolutional residual network is converted into a one-dimensional sequence, and the output is reduced to a point through two linear layers as the result of the predicted effective wave height. In the training process, a dropout layer is introduced after the first linear layer to make the output of some networks 0; and Set the weight value to avoid a single parameter value being too large and having a major impact on the network, so as to improve the generalization ability of the network.
