Construction method of complex multivariable system network prediction model based on Informer architecture

By combining ElasticNet and VMD technology in the Informer architecture to perform feature selection and noise reduction on time series data of complex industrial processes, the problem of large prediction errors and poor adaptability of existing networks in processing complex industrial processes is solved, achieving high accuracy and robustness. Strong prediction effect.

CN118690170AActive Publication Date: 2024-09-24NORTHEASTERN UNIV CHINA

Patent Information

Application Number
CN202410813602.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-24
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

Existing networks are difficult to effectively handle input noise and redundant variables when dealing with complex industrial processes, resulting in large prediction errors and poor adaptability, and cannot accurately predict key output variables.

Method used

Using a complex multi-variable system network prediction model based on the Informer architecture, combined with ElasticNet feature selection and VMD noise reduction technology, the input signal is decomposed into high-frequency noise and low-frequency useful signals by filtering redundant variables and weakening noise on the time series data, and Reduce the impact of noise without losing effective signals, and improve the robustness and prediction accuracy of the network.

Benefits of technology

It achieves high-precision prediction of complex multi-variable systems, improves the robustness and adaptability of the network, reduces the computational burden, enhances nonlinear fitting capabilities, and is suitable for key variable prediction of complex industrial processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690170A
    Figure CN118690170A
Patent Text Reader

Abstract

The invention discloses a method for constructing a complex multivariable system network prediction model based on an Informer architecture. The method comprises the following steps of: obtaining complex industrial process production data; carrying out ElasticNet feature selection on the collected time sequence data to realize screening of redundant variables; performing VMD decomposition and noise reduction on sequence data obtained after feature selection; window setting and sequence division; performing embedding operation on the sequence data, namely performing preliminary feature extraction; constructing an encoder, and encoding the SE; constructing a decoder, and decoding the SD; performing FD mapping on an output sequence of the decoder by using one linear layer to obtain a prediction result; training the constructed model by using training set data; and for the test set, the model is evaluated by a retraining strategy, so that the problem of information leakage is prevented. According to the method, the defects that a traditional network is large in prediction error and poor in adaptability for a system containing input noise and redundant variables are overcome, and the key variables in the complex multivariable process can be accurately predicted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of artificial intelligence technology, and specifically is a method for constructing a complex multivariable system network prediction model based on an Informer architecture. Background Art

[0002] When modeling and predicting complex industrial processes, intermediate inputs and state signals that have a key impact on output responses need to be obtained through measurement. Since it is difficult to conduct a clear mechanism analysis of complex multivariable systems, it is impossible to obtain the specific impact of each collectible variable on the key output variable. If all the signals that can be collected are used to train the network, not only will variable redundancy increase the training and testing burden of the network, but irrelevant input variables will increase the prediction error of the network. Therefore, it is necessary to use feature extraction and analysis techniques to screen the variables and obtain the principal input variables that can express the key output variables. When selecting the principal input variables for training, it is necessary to use feature extraction technology to obtain the main feature information of the time series for network training. When using instruments to measure signals, it is inevitable that they will be disturbed by measurement noise. If the network is trained using noisy input signals, it is not only difficult to achieve convergence quickly and effectively, but the trained network will contain large prediction errors during actual use. In order to improve the robustness and prediction accuracy of the network, the input signal needs to be processed reasonably. If the input signal is simply processed using filtering and smoothing techniques, the input signal will be distorted, resulting in large errors and poor adaptability in the trained network. Considering that the most critical difference between measurement noise and useful signals of the system is that measurement noise often conforms to Gaussian distribution and has significant high-frequency characteristics, while the useful signals of intermediate input and process state belong to low-frequency signals with slow-changing characteristics. Therefore, the collected input signal can be decomposed into a high-frequency signal containing measurement noise and a low-frequency signal containing only useful information by using signal decomposition technology. Since the high-frequency signal obtained by decomposition may also contain useful process signals, it cannot be simply deleted. First, it can be considered to give a lower weight to the high-frequency signal obtained by decomposition to reduce the influence of noise without completely abandoning the effective signal. Then, the signal recombination technology is used to recombine the low-weight high-frequency signal and the low-frequency useful signal to obtain new input data with low noise level. This recombined signal is expected to improve the prediction accuracy and environmental adaptability of the network. Therefore, feature extraction and signal analysis processing of complex industrial process time series data are expected to establish an intelligent prediction network with fast training speed, high accuracy and strong adaptability.

[0003] In recent years, scientists and researchers have developed many signal reorganization and variable selection technologies. Time series networks based on regression neural networks (RNN), long short-term memory networks (LSTM), and gated recurrent units (GRU) can only effectively predict key variables of simple industrial processes. They cannot extract the complex correlations in time series, nor can they effectively process redundant variables. The existing Transformer and Informer network architectures have laid a good foundation for the design and development of complex networks, but the intelligent networks designed based on them cannot adapt well to industrial processes with input noise and complex variable relationships, which limits the practical application value of these network models in the field of intelligent prediction.

[0004] Therefore, there is an urgent need to provide an intelligent prediction network that can adapt to different working scenarios and data distribution characteristics to solve the problem of large prediction errors of key outputs of complex industrial processes containing input noise and redundant variables in existing networks. Summary of the invention

[0005] In view of the problems existing in the above-mentioned prior art, the present invention provides a method for constructing a complex multivariable system network prediction model based on the Informer architecture, which can solve the problem that the existing network has large prediction errors for key outputs of complex industrial processes containing input noise and redundant variables.

[0006] In order to achieve the above object, the present invention provides a method for constructing a complex multivariable system network prediction model based on an Informer architecture, comprising the following steps:

[0007] Step 1: Obtain production data of complex industrial processes;

[0008] Use various sensors to measure and collect various parameters in complex production processes to obtain production data of complex work production processes;

[0009] Step 2: Perform ElasticNet feature selection on the collected time series data to screen out redundant variables;

[0010] S21: Construct a linear regression model for time series data using formula (1);

[0011]

[0012] In the formula, X(i) and is the input feature and predicted output of the i-th sample; ω is the coefficient vector matrix;

[0013] S22: define the objective function with L1 regularization term and L2 regularization term in formula (2), and minimize the objective function to obtain the optimal parameters of the fitting time series;

[0014]

[0015] Where Y(i) is the true output of the i-th sample; α is the regularization strength coefficient; ρ is the L1 regularization strength; α and ρ are used together to control the L1 and L2 regularization strengths;

[0016] Step 3: Perform VMD decomposition and noise reduction on the sequence data obtained after feature selection;

[0017] S31: The sample dimension of the sequence data after feature selection is N-dimensional, where the first m dimensions are input features, expressed as X′={x1,x2,...,x m}, and the Nm dimension is the system output, expressed as Y = {y m+1 ,y m+2 ,...,y N}; VMD for each dimension feature x i Perform modal decomposition, where i = 1, ..., m, and set the number of modal components obtained by decomposition of each dimension to K = 2. The specific process is as follows:

[0018] A1: VMD technology iteratively calculates x i (t) is solved; before iteration, the K modal component signals are initialized by wavelet transform or Fourier transform, and the modal component signals are obtained as v k (t), where k = 1,…,K;

[0019] A2: For the modal component v k (t) Analysis and elimination of negative frequencies, the specific process is as follows:

[0020] A21: According to formula (3), v k (t) performing Hilbert transform;

[0021]

[0022] In the formula, * is the convolution operation; Among them, sgn(ω) is the sign function,

[0023] A22: Convert formula (3) to the frequency domain to obtain formula (4);

[0024]

[0025] Where F(ω) is vk Fourier transform of (t); for is the Fourier transform of h(t); h(ω) is the Fourier transform of h(t);

[0026] A23: Transform formula (4) to obtain formula (5);

[0027]

[0028] In the formula, j satisfies j 2 = -1;

[0029] A24: Define v according to formula (6) k (t) is the analytical signal z(t);

[0030]

[0031] A25: Combining formula (3), according to the commutative law and distributive law of convolution, formula (6) is transformed to obtain formula (7);

[0032]

[0033] Where δ(t) is the Dirac function;

[0034] A3: Let the modal component v k The center frequency of (t) is ω k , according to formula (8), formula (7) is frequency modulated to convert v k The spectrum of (t) is modulated to the corresponding baseband;

[0035]

[0036] A4: Using Gaussian smoothing technology, calculate the gradient and corresponding L2 norm of formula (8), and take the square root to obtain the modal component v in formula (9): k (t) bandwidth estimation;

[0037]

[0038] A5: VMD establishes the constrained variational optimization problem in formula (10) based on the principle of minimizing the sum of bandwidth estimates of each modal component while ensuring that the sum of each modal component is still the original signal.

[0039]

[0040] In the formula, v k (k=1,...,K) are the modal components; ω k (k=1,...,K) is the center frequency of each modal component;

[0041] A6: Introduce the second-order multiplication factor and Lagrange multiplier, and use the augmented Lagrangian function in formula (11) to transform the constrained variational problem shown in formula (10) into an unconstrained variational problem;

[0042]

[0043] A7: The problem in the time domain shown in formula (11) is converted to the frequency domain for solution. At the same time, the alternating direction multiplier method is used to calculate the modal components Center frequency of the modal component and the Lagrange multiplier Perform iterative calculations, and The iterative formulas are formula (12), formula (13) and formula (14) respectively;

[0044]

[0045]

[0046] Where, τ is the noise tolerance; n is the number of iterations; and are the original signals x i (t), modal component v k (t) and the Fourier transform of the Lagrange multiplier λ(t);

[0047] A8: Repeat the calculation using formula (12) to formula (14) until the modal component v k (t) Satisfy the iteration constraints in formula (15);

[0048]

[0049] Where ε is the given error constant;

[0050] S32: According to formula (16), the characteristic signals x after noise reduction are obtained i ′(t), where i=1,...,m;

[0051] x i ′(t)=ηv i1 (t)+v i2 (t)(16);

[0052] In the formula, v i1 (t) and v i2 (t) are the original characteristic signals x i (t) High-frequency mode and low-frequency mode obtained after VMD decomposition with K = 2;

[0053] S33: Let the new input feature after VMD denoising be represented as X″={x1″,x2″,...,x′ m ′}, the output is Y;

[0054] Step 4: Window setting and sequence division; Use the sliding window method and the single-step prediction method, that is, only predict one data point each time based on historical data; set the sliding window length to L E , that is, take the front length L when predicting E The historical data of E ; At the same time, the historical data sequence S E Middle back L Token Data points are merged with 1 prediction point, with a length of L D , and the sequence is denoted as S D ;

[0055] Step 5: Embed the sequence data, that is, perform preliminary feature extraction to capture the local features and position features;

[0056] S51: setting an embedding layer, including 1 convolution layer and 1 position embedding layer, and arranging the two in parallel; the convolution kernel size of the convolution layer is 3, the step length is 1, and the left and right paddings are 1 respectively; the position embedding layer uses the trigonometric functions in formula (17) and formula (18) to capture the position features existing in the sequence data, so as to convert the position information of the sequence data into a feature matrix; after the sequence is extracted by the convolution layer and the position embedding layer in the embedding layer, the two are added;

[0057]

[0058] In the formula, pos is the position of the point in the sequence; i starts from 0; 2i and 2i+1 represent the even-dimensional features and odd-dimensional features of the point respectively; d_model is the hyperparameter of the model;

[0059] S52: Embedding operation on sequence data; for S E , firstly capture the long-term dependency through a layer of LSTM network, and then enter the embedding layer for feature extraction; for S D , directly enter the embedding layer for feature extraction;

[0060] Step 6: Build the encoder and E Encoding;

[0061] S61: stack three coding layers, the coding layer structure is as follows:

[0062] B1: Use Multi-head ProbSparse Attention technology to extract correlation features from sequences;

[0063] B11: The Q matrix and K matrix of the attention mechanism are respectively composed of S E The causal convolution is performed, that is, two zero paddings are added at the beginning of the sequence, and then a convolution operation with a convolution kernel size of 3 is performed, and the number of convolution kernels is set to d_model, that is, the feature dimension is mapped to d_model. The V matrix is ​​obtained by E We can obtain the linear mapping by setting the dimension of the mapping to d_model. E ×Q, K, V matrices of d_model;

[0064] B12: Set the number of heads of the attention mechanism to n_head, that is, divide the feature dimensions of Q, K and V into n_head parts respectively, and the feature dimension of each head is d=d_model / n_head, and the length is l=L E ;

[0065] B13: For the i-th data point in the feature sequence of length l, its q, k, and v values ​​are q i , k i and v i ; For q in the time series i With k j , calculate its similarity according to formula (19);

[0066]

[0067] B14: For k j Use formula (19) to calculate and get q i The similarity matrix Σ i ,Σ i =[S1,S2,...S l ], where j = 1, 2, ..., l, and then use the Softmax function to Σ i Normalize it and convert it into a probability distribution to get q i The probability distribution p(k j |q i ) is shown in formula (20);

[0068]

[0069] B15: Note Calculate the distribution p(k j |q i ) and uniform distribution q(k j |q i)=1 / L K The Kullback-Leibler divergence of the distribution is used to express the difference from the uniform distribution and to measure the q i The volatility of K is the number of k values, i.e. l; p(k j |q i ) and q(k j |q i )’s Kullback-Leibler divergence;

[0070]

[0071] B16: Discard the constant term lnL K , according to formula (22) define q i The sparsity M(q i ,K);

[0072]

[0073] B17: Exploitation replace Rewrite q by formula (23) i The sparsity of

[0074]

[0075] B18: Calculate the q of each item i Corresponding Score, where i = 1, 2, ..., l, retain the highest score U = 30 q i , the remaining positions are replaced by the mean, and a new Q matrix is ​​obtained, denoted as Q′;

[0076] B19: For the i-th item in the sequence, calculate q according to formula (24) i ′ and k j The similarity S j ′;

[0077]

[0078] B110: for k j Formula (24) is used to calculate in sequence, where j = 1, 2, ..., l, to obtain the similarity between the i-th item in the sequence and each item, which is recorded as the similarity vector Σ i ′=[S1′,S2′,...S l ′], and then use the Softmax function to calculate the attention weight matrix of the i-th item, as shown in formula (25);

[0079]

[0080] B111: α i Multiply it by V to get the attention score A of the i-th item i , as shown in formula (26);

[0081] A i =α i V(26);

[0082] B112: For each item in the sequence, repeat B19 to B111 to obtain the attention score of each item, and then obtain the attention score matrix Λ=(A1,A2,...A l );

[0083] B2: Use the Morlet mother wavelet basis function in formula (27) to activate the result of the attention mechanism and obtain its first-order derivative As shown in formula (28);

[0084]

[0085] Where, t is time; C and m are constants;

[0086] B3: Decompose the feature sequence, that is, F = [x1, x2, ..., x L ] is evenly divided into three parts, and a 1-layer LSTM network is used to extract time series features to obtain F1′, F2′ and F3′, and then the three feature sequences are merged and recorded as F′;

[0087] B4: Use a convolution kernel of size 3, with a stride of 1, and pad with zeros at the beginning and end to gather information in the feature matrix F′; then perform maximum pooling with a size of 3, a stride of 2, and a zero padding number of 1 to reduce the length of the feature vector to 1 / 2 of the original length to improve computational efficiency. The feature matrix is ​​F Conv ;

[0088] S62: Same as B1, for F Conv Perform Multi-head ProbSparse Attention to obtain the context information in the feature sequence, and then activate it using the wavelet function shown in formula (27);

[0089] S63: Get the output feature sequence F of the encoder E ;

[0090] Step 7: Build a decoder for S D Decode;

[0091] S71: Use Multi-head ProbSparse Attention with mask to feature sequence S D In the above method, correlation modeling is performed to learn the correlation features in the sequence, and then the wavelet function shown in formula (27) is used to activate it to obtain the feature sequence F Att ;

[0092] S72: Use Multi-head Attention for feature extraction, combined with F Att The encoder output F E , are input into the Multi-head Attention layer together, and a new feature sequence F is obtained according to formulas (24) to (26) Comb ;

[0093] S73: Use 1 convolutional layer to aggregate the features of the attention mechanism output;

[0094] S74: Obtain the output feature sequence F of the decoder D ;

[0095] Step 8: Use 1 linear layer to transform the decoder output sequence F D Mapping, get the prediction result;

[0096] Step 9: Use the training set data to train the constructed model. For the test set, use the retraining strategy to evaluate the model to prevent information leakage;

[0097] S91: Divide the time series data after feature selection into training set and test set in a ratio of 5:3;

[0098] S92: Perform VMD denoising on the training set and input it into the model to train the model parameters;

[0099] S93: Set model parameters and sliding window size L E , which is also the input sequence length of the encoder, sets the input sequence length of the decoder to L D , set the overlapping sequence length L Token , set the model hyperparameters d_model;

[0100] S94: Use a small batch strategy for batch training; set the batch size batch_size, divide the training set data into multiple batches to train the model;

[0101] S95: construct the loss function through formula (29);

[0102]

[0103] Where n is the number of samples in a batch; y i Output the true value for the sample; is the model's predicted value.

[0104] S96: Use the Adam optimization algorithm to optimize the loss function and adopt the strategy of attenuating the learning rate;

[0105] S97: Save the network weight parameters and obtain the complex multivariable system prediction model;

[0106] S98: Test the test set using the retraining strategy. The specific operations are as follows:

[0107] C1: Set the length of the retraining interval to L retrain .

[0108] C2: For the test set after feature selection, split the first sample sequence VMD technology is used to decompose the eigenmodes of each dimension of S1 input and weaken the high-frequency noise, and then recombined to obtain the denoised samples.

[0109] C3: Load the model and make predictions for S1′.

[0110] C4: Add S1′ to the training set and perform VMD denoising on the new training set again.

[0111] C5: Retrain the model for the new training set after denoising.

[0112] C6: For each sample in the test set Repeat the process from C2 to C5.

[0113] As a preference, in S91 in step nine, the ratio is set to 5:3.

[0114] As a preferred embodiment, in step S93 of step nine, the sliding window size L is set E is 256, the decoder input sequence length is L D is 33, and the overlapping sequence length is L Token is 32, and the model hyperparameter d_model is set to 64.

[0115] Furthermore, in order to effectively improve the training effect, during the model training in step S94 in step nine, the batch size batch_size is set to 128 and the rounds are set to 50.

[0116] Furthermore, in order to effectively ensure the optimization effect, in the process of optimizing the loss function using the Adam optimization algorithm in step nine S96, the initial learning rate is set to 0.002.

[0117] Furthermore, in order to facilitate the subsequent calculation process, in the process of adopting the strategy of attenuating the learning rate in step nine S96, the attenuation step size is set to 15 and the attenuation factor is set to 0.1.

[0118] The present invention provides a complex multivariable system network prediction model based on the Informer architecture and integrating VMD denoising and ElasticNet variable selection. For complex input-output nonlinear industrial processes, the collected production data often contains random noise. Not only is it necessary to perform feature selection on the input signal, but directly using the noisy data for modeling will produce large prediction errors. The input features of the time series are modally decomposed using the variational mode decomposition (VMD) technology, and the input signal features can be divided into high-frequency modal data containing noise and low-frequency modes containing only useful signals. Under the Informer network architecture, for complex multivariable systems, the present invention provides a robust prediction network that integrates elastic network (ElasticNet) variable selection and VMD denoising technology. Since the high-frequency mode obtained by VMD decomposition contains a large amount of noise and less effective information, the present invention assigns a certain low weight to the high-frequency mode according to the system characteristics and signal distribution characteristics, and recombines it with the low-frequency noise-free mode to achieve noise reduction of the original input features. Specifically, the original signal v is first k (t) Performing Hilbert transform can shift the phase of the positive and negative frequencies of the original signal by -π / 2 and +π / 2 respectively, and then transforming the imaginary units j and v k (t) Transformation result By multiplying, the phase of both the positive and negative frequencies of the original signal can be shifted by +π / 2, and then the product With the original signal v k (t) can be added to eliminate the original signal v k The negative frequency of (t) is obtained to obtain its one-sided spectrum for analysis. In this way, the occupied frequency band of the signal can be reduced without losing the useful information of the signal, which greatly facilitates the subsequent calculation process. iWhen performing modal decomposition, each feature is set to be decomposed into K = 2 modal components. Therefore, each feature is decomposed into two modes, high frequency and low frequency. The decomposition results in a high-frequency mode containing a large amount of high-frequency noise, but it also contains some effective high-frequency signals. Therefore, the high-frequency mode is added with a certain weight η∈[0,1) to the low-frequency mode containing only effective signals, rather than directly removing the high-frequency mode, so that the signal decomposition and recombination technology can be used to assign a small weight to the noise signal component, thereby achieving the goal of weakening the high-frequency noise by assigning a small weight to the noise signal component using signal decomposition and recombination technology while losing as little effective high-frequency signal as possible. Since the time series data of complex systems contain many input features, the ElasticNet technology is used to select the principal component features of the new time series data after VMD denoising, which can effectively realize the screening of redundant variables, ensuring that the model provided by the present invention has a lower computational burden and higher modeling efficiency during network training and prediction, thereby improving the efficiency of the network. Specifically, ElasticNet obtains the optimal coefficient vector ω corresponding to each sample by minimizing the objective function. i, and achieve the fitting of time series data. Since L1 regularization tends to be sparse in feature coefficients, it tends to reduce or set the coefficients of each feature to 0. L2 regularization tends to retain multiple features. Therefore, in the process of optimization, the coefficients of the optimal features can be obtained, and then the feature selection of the time series can be achieved. The collected data set is divided into a training set and a test set, and then the training set data is divided into multiple batches to train the model. In each batch of training, a sliding window method is used, and a single-step prediction method is used to effectively ensure that the prediction model can have good prediction accuracy. Based on the Informer architecture, an embedding layer (Embedding), an encoder layer (Encoder), a decoder layer (Decoder) and a fully connected mapping layer are constructed. The Encoder layer consists of stacked multi-layer causal convolutions, a multi-head probabilistic sparse attention mechanism, a wavelet activation function, a sequence decomposition operation, and a one-dimensional convolution pooling operation. The Decoder layer consists of a masked multi-head probabilistic sparse attention mechanism, a wavelet activation function, a multi-head attention mechanism, and a one-dimensional convolution operation. The training data is divided into two parts according to a certain ratio, and feature extraction is performed through the Encoder layer and the Decoder layer respectively. For the input sequence of the Encoder, a layer of LSTM network is used for preliminary feature extraction, which can extract the correlation and long-term dependency in the time series. The features extracted by the Encoder layer and the Decoder layer are respectively extracted by the Embedding layer for local features and position features. For the multi-head attention mechanism in the Decoder, its input is the result of the intermediate output of the Decoder itself and the output of the Encoder after mapping through two layers of FNN (feedforward neural network). This operation can realize the "distillation" of the feature sequence, that is, the context information in the sequence can be extracted in all aspects through the attention mechanism. At the same time, the sequence length is also reduced through the convolution pooling operation, so that the computational burden is attenuated layer by layer. The output of the Decoder is mapped through the fully connected layer to obtain the model prediction result. The performance of the invented network model is tested and evaluated using actual chemical process data. The test results show that the model provided by the present invention has high prediction accuracy, robustness and nonlinear fitting ability, and it has high prediction accuracy and adaptability for complex multivariable systems.

[0119] The present invention effectively solves the shortcomings of traditional networks, such as large prediction errors and poor adaptability for systems containing input noise and redundant variables. It can accurately predict key variables in complex multivariable processes, and provides an accurate model foundation for subsequent model-based production process controller design and operation monitoring. BRIEF DESCRIPTION OF THE DRAWINGS

[0120] Figure 1 is a flow chart of the present invention;

[0121] Figure 2 It is a bar chart of the determination coefficient of the fitting results of the model proposed in the present invention under high-frequency noise of different weights;

[0122] Figure 3 is a training loss curve diagram of each retraining of the test set in the present invention;

[0123] Figure 4 It is a relative error diagram of the test set fitting results of different models in the present invention;

[0124] Figure 5 It is a test set fitting effect diagram of different models in the present invention. DETAILED DESCRIPTION

[0125] The present invention will be further described below in conjunction with the accompanying drawings.

[0126] like Figure 1 As shown, the present invention provides a method for constructing a complex multivariable system network prediction model based on an Informer architecture, comprising the following steps:

[0127] Step 1: Obtain production data of complex industrial processes;

[0128] Use various sensors to measure and collect various parameters in complex production processes to obtain production data of complex work production processes;

[0129] Step 2: Perform ElasticNet feature selection on the collected time series data to screen out redundant variables;

[0130] S21: Construct a linear regression model for time series data using formula (1);

[0131]

[0132] In the formula, X(i) and is the input feature and predicted output of the i-th sample; ω is the coefficient vector matrix;

[0133] S22: define the objective function with L1 regularization term and L2 regularization term in formula (2), and minimize the objective function to obtain the optimal parameters of the fitting time series;

[0134]

[0135] Where Y(i) is the true output of the i-th sample; α is the regularization strength coefficient; ρ is the L1 regularization strength; α and ρ are used together to control the L1 and L2 regularization strengths;

[0136] Step 3: Perform VMD decomposition and noise reduction on the sequence data obtained after feature selection;

[0137] S31: The sample dimension of the sequence data after feature selection is N-dimensional, where the first m dimensions are input features, expressed as X′={x1,x2,...,x m}, and the Nm dimension is the system output, expressed as Y = {y m+1 ,y m+2 ,...,y N}; VMD for each dimension feature x i Perform modal decomposition, where i = 1, ..., m, and set the number of modal components obtained by decomposition of each dimension to K = 2. The specific process is as follows:

[0138] A1: VMD technology iteratively calculates x i (t) is solved; before iteration, the K modal component signals are initialized by wavelet transform or Fourier transform, and the modal component signals are obtained as v k (t), where k = 1,…,K;

[0139] A2: For the modal component v k (t) Analysis and elimination of negative frequencies, the specific process is as follows:

[0140] A21: According to formula (3), v k (t) performing Hilbert transform;

[0141]

[0142] In the formula, * is the convolution operation; Among them, sgn(ω) is the sign function,

[0143] A22: Convert formula (3) to the frequency domain to obtain formula (4);

[0144]

[0145] Where F(ω) is v k Fourier transform of (t); for is the Fourier transform of h(t); h(ω) is the Fourier transform of h(t);

[0146] A23: Transform formula (4) to obtain formula (5);

[0147]

[0148] In the formula, j satisfies j 2 = -1;

[0149] A24: Define v according to formula (6) k(t) is the analytical signal z(t);

[0150]

[0151] A25: Combining formula (3), according to the commutative law and distributive law of convolution, formula (6) is transformed to obtain formula (7);

[0152]

[0153] Where δ(t) is the Dirac function;

[0154] A3: Let the modal component v k The center frequency of (t) is ω k , according to formula (8), formula (7) is frequency modulated to convert v k The spectrum of (t) is modulated to the corresponding baseband;

[0155]

[0156] A4: Using Gaussian smoothing technology, calculate the gradient and corresponding L2 norm of formula (8), and take the square root to obtain the modal component v in formula (9): k (t) bandwidth estimation;

[0157]

[0158] A5: VMD establishes the constrained variational optimization problem in formula (10) based on the principle of minimizing the sum of bandwidth estimates of each modal component while ensuring that the sum of each modal component is still the original signal.

[0159]

[0160] In the formula, v k (k=1,...,K) are the modal components; ω k (k=1,...,K) is the center frequency of each modal component;

[0161] A6: Introduce the second-order multiplication factor and Lagrange multiplier, and use the augmented Lagrangian function in formula (11) to transform the constrained variational problem shown in formula (10) into an unconstrained variational problem;

[0162]

[0163] A7: The problem in the time domain shown in formula (11) is converted to the frequency domain for solution. At the same time, the alternating direction multiplier method is used to calculate the modal components Center frequency of the modal component and the Lagrange multiplier Perform iterative calculations, and The iterative formulas are formula (12), formula (13) and formula (14) respectively;

[0164]

[0165] Where, τ is the noise tolerance; n is the number of iterations; and are the original signals x i (t), modal component v k (t) and the Fourier transform of the Lagrange multiplier λ(t);

[0166] A8: Repeat the calculation using formula (12) to formula (14) until the modal component v k (t) Satisfy the iteration constraints in formula (15);

[0167]

[0168] Where ε is the given error constant;

[0169] S32: According to formula (16), the characteristic signals x after noise reduction are obtained i ′(t), where i=1,…,m;

[0170] x i ′(t)=ηv i1 (t)+v i2 (t)(16);

[0171] In the formula, v i1 (t) and v i2 (t) are the original characteristic signals x i (t) High-frequency mode and low-frequency mode obtained after VMD decomposition with K = 2;

[0172] S33: Let the new input feature after VMD denoising be represented as X″={x1″,x2″,...,x′ m ′}, the output is Y;

[0173] Step 4: Window setting and sequence division; Use the sliding window method and the single-step prediction method, that is, only predict one data point each time based on historical data; set the sliding window length to L E , that is, take the front length L when predicting E The historical data of E ; At the same time, the historical data sequence S E Middle back L Token Data points are merged with 1 prediction point, with a length of L D , and the sequence is denoted as SD ;

[0174] Step 5: Embed the sequence data, that is, perform preliminary feature extraction to capture the local features and position features;

[0175] S51: setting an embedding layer, including 1 convolution layer and 1 position embedding layer, and arranging the two in parallel; the convolution kernel size of the convolution layer is 3, the step length is 1, and the left and right paddings are 1 respectively; the position embedding layer uses the trigonometric functions in formula (17) and formula (18) to capture the position features existing in the sequence data, so as to convert the position information of the sequence data into a feature matrix; after the sequence is extracted by the convolution layer and the position embedding layer in the embedding layer, the two are added;

[0176]

[0177] In the formula, pos is the position of the point in the sequence; i starts from 0; 2i and 2i+1 represent the even-dimensional features and odd-dimensional features of the point respectively; d_model is the hyperparameter of the model;

[0178] S52: Embedding operation on sequence data; for S E , firstly capture the long-term dependency through a layer of LSTM network, and then enter the embedding layer for feature extraction; for S D , directly enter the embedding layer for feature extraction;

[0179] Step 6: Build the encoder and E Encoding;

[0180] S61: stack three coding layers, the coding layer structure is as follows:

[0181] B1: Use Multi-head ProbSparse Attention technology to extract correlation features from sequences;

[0182] B11: The Q matrix and K matrix of the attention mechanism are respectively composed of S E The causal convolution is performed, that is, two zero paddings are added at the beginning of the sequence, and then a convolution operation with a convolution kernel size of 3 is performed, and the number of convolution kernels is set to d_model, that is, the feature dimension is mapped to d_model. The V matrix is ​​obtained by E We can obtain the linear mapping by setting the dimension of the mapping to d_model. E ×Q, K, V matrices of d_model;

[0183] B12: Set the number of heads of the attention mechanism to n_head, that is, divide the feature dimensions of Q, K and V into n_head parts respectively, and the feature dimension of each head is d=d_model / n_head, and the length is l=L E ;

[0184] B13: For the i-th data point in the feature sequence of length l, its q, k, and v values ​​are q i , k i and v i ; For q in the time series i With k j , calculate its similarity according to formula (19);

[0185]

[0186] B14: For k j Use formula (19) to calculate and get q i The similarity matrix Σ i ,Σ i =[S1,S2,...S l ], where j = 1, 2, ..., l, and then use the Softmax function to Σ i Normalize it and convert it into a probability distribution to obtain the probability distribution p(k j |q i ) is shown in formula (20);

[0187]

[0188] B15: Note Calculate the distribution p(k j |q i ) and uniform distribution q(k j |q i )=1 / L K The Kullback-Leibler divergence of the distribution is used to express the difference from the uniform distribution and to measure the q i The volatility of K is the number of k values, i.e. l; p(k j |q i ) and q(k j |q i )’s Kullback-Leibler divergence;

[0189]

[0190] B16: Discard the constant term lnL K , according to formula (22) define q iThe sparsity M(q i ,K);

[0191]

[0192] B17: Exploitation replace Rewrite q by formula (23) i The sparsity of

[0193]

[0194] B18: Calculate the q of each item i Corresponding Score, where i = 1, 2, ..., l, retain the highest score U = 30 q i , the remaining positions are replaced by the mean, and a new Q matrix is ​​obtained, denoted as Q′;

[0195] B19: For the i-th item in the sequence, calculate q according to formula (24) i ′ and k j The similarity S j ′;

[0196]

[0197] B110: for k j Formula (24) is used to calculate in sequence, where j = 1, 2, ..., l, to obtain the similarity between the i-th item in the sequence and each item, which is recorded as the similarity vector Σ i ′=[S1′,S2′,...S l ′], and then use the Softmax function to calculate the attention weight matrix of the i-th item, as shown in formula (25);

[0198]

[0199] B111: α i Multiply it by V to get the attention score A of the i-th item i , as shown in formula (26);

[0200] A i =α i V(26);

[0201] B112: For each item in the sequence, repeat B19 to B111 to obtain the attention score of each item, and then obtain the attention score matrix Λ=(A1,A2,…A l );

[0202] B2: Use the Morlet mother wavelet basis function in formula (27) to activate the result of the attention mechanism and obtain its first-order derivative As shown in formula (28);

[0203]

[0204] Where, t is time; C and m are constants;

[0205] B3: Decompose the feature sequence, that is, F = [x1, x2, ..., x L ] is evenly divided into three parts, and a 1-layer LSTM network is used to extract time series features to obtain F1′, F2′ and F3′, and then the three feature sequences are merged and recorded as F′;

[0206] B4: Use a convolution kernel of size 3, with a stride of 1, and pad with zeros at the beginning and end to gather information in the feature matrix F′; then perform maximum pooling with a size of 3, a stride of 2, and a zero padding number of 1 to reduce the length of the feature vector to 1 / 2 of the original length to improve computational efficiency. The feature matrix is ​​F Conv ;

[0207] S62: Same as B1, for F Conv Perform Multi-head ProbSparse Attention to obtain the context information in the feature sequence, and then activate it using the wavelet function shown in formula (27);

[0208] S63: Get the output feature sequence F of the encoder E ;

[0209] Step 7: Build a decoder for S D Decode;

[0210] S71: Use Multi-head ProbSparse Attention with mask to feature sequence S D In the above method, correlation modeling is performed to learn the correlation features in the sequence, and then the wavelet function shown in formula (27) is used to activate it to obtain the feature sequence F Att ;

[0211] S72: Use Multi-head Attention for feature extraction, combined with F Att The encoder output F E , are input into the Multi-head Attention layer together, and a new feature sequence F is obtained according to formulas (24) to (26) Comb ;

[0212] S73: Use 1 convolutional layer to aggregate the features of the attention mechanism output;

[0213] S74: Obtain the output feature sequence F of the decoder D ;

[0214] Step 8: Use 1 linear layer to transform the decoder output sequence F D Mapping, get the prediction result;

[0215] Step 9: Use the training set data to train the constructed model. For the test set, use the retraining strategy to evaluate the model to prevent information leakage;

[0216] S91: Divide the time series data after feature selection into training set and test set in a ratio of 5:3;

[0217] S92: Perform VMD denoising on the training set and input it into the model to train the model parameters;

[0218] S93: Set model parameters and sliding window size L E , which is also the input sequence length of the encoder, sets the input sequence length of the decoder to L D , set the overlapping sequence length L Token , set the model hyperparameters d_model;

[0219] S94: Use a small batch strategy for batch training; set the batch size batch_size, divide the training set data into multiple batches to train the model;

[0220] S95: construct the loss function through formula (29);

[0221]

[0222] Where n is the number of samples in a batch; y i Output the true value for the sample; is the model's predicted value.

[0223] S96: Use the Adam optimization algorithm to optimize the loss function and adopt the strategy of attenuating the learning rate;

[0224] S97: Save the network weight parameters and obtain the complex multivariable system prediction model;

[0225] S98: Test the test set using the retraining strategy. The specific operations are as follows:

[0226] C1: Set the length of the retraining interval to L retrain .

[0227] C2: For the test set after feature selection, split the first sample sequence VMD technology is used to decompose the eigenmodes of each dimension of S1 input and weaken the high-frequency noise, and then recombined to obtain the denoised samples.

[0228] C3: Load the model and make predictions for S1′.

[0229] C4: Add S1′ to the training set and perform VMD denoising on the new training set again.

[0230] C5: Retrain the model for the new training set after denoising.

[0231] C6: For each sample in the test set Repeat the process from C2 to C5.

[0232] As a preference, in S91 in step nine, the ratio is set to 5:3.

[0233] As a preferred embodiment, in step S93 of step nine, the sliding window size L is set E is 256, the decoder input sequence length is L D is 33, and the overlapping sequence length is L Token is 32, and the model hyperparameter d_model is set to 64.

[0234] Furthermore, in order to effectively improve the training effect, during the model training in step S94 in step nine, the batch size batch_size is set to 128 and the rounds are set to 50.

[0235] Furthermore, in order to effectively ensure the optimization effect, in the process of optimizing the loss function using the Adam optimization algorithm in step nine S96, the initial learning rate is set to 0.002.

[0236] Furthermore, in order to facilitate the subsequent calculation process, in the process of adopting the strategy of attenuating the learning rate in step nine S96, the attenuation step size is set to 15 and the attenuation factor is set to 0.1.

[0237] Verification analysis:

[0238] The present invention uses the high and low temperature converter process of the industrial ammonia synthesis process to verify the effectiveness and applicability of the network. The ammonia synthesis process involves 26 input variables and an output variable about the amount of carbon monoxide synthesis. The invented network is constructed using the Pycharm software platform. For the 4000 groups of time series data collected, the first 2500 groups are selected as training sets, and the remaining 1500 groups are selected as test sets. The training and test batch sizes are set to 128. The number of iterations is set to 50 rounds. The Adam network optimizer is selected. The initial value of the learning rate is set to 0.002, and the strategy of learning rate attenuation is selected. After parameter adjustment, the update step of the learning rate is selected to be 20; the attenuation factor is set to 0.1. For the weight of the high-frequency signal when the noise is weakened after VMD decomposition, a comparative experiment is designed, and the weights are set to 0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8 and 0.9 respectively to compare the fitting effect. At the same time, Informer and LSTM networks are selected to predict the experimental data. In order to quantitatively evaluate the prediction effects of different models, the mean square error (MSE) and the determination coefficient R are defined according to formulas (30) and (31), respectively. 2 ;

[0239]

[0240] In the formula, n is the number of samples; is the network prediction output; y i is the real sampling output; is the average value of the actual sample output.

[0241] For the test set, the MSE and R of different models 2 The values ​​are shown in Table 1, which shows that the proposed model has the highest prediction accuracy. When VMD is used for noise reduction, the determination coefficient of the model fitting results of the present invention under different weights of high-frequency modes is as follows: Figure 2 As shown in the bar graph. It can be seen that when the high-frequency mode is weakened by 0.1 weight, the model has the best prediction effect. For the test data, the loss function value of the proposed network changes with the number of iterations in each round of retraining as shown in the figure below. Figure 3 As shown in , it can be seen that the proposed model has a fast convergence speed in each round of retraining. For the test set, the relative error curves of the fitting results of different models are as follows: Figure 4 The fitting curves of different models are shown in Figure 5 As shown in the figure, the model proposed in this paper has the most accurate prediction effect for the output of the system. VMD denoising and ElasticNet key variable selection also provide better data for the model of the present invention, making the model more robust.

[0242] In summary, the present invention proposes a method for building a complex multivariable system network prediction model based on the Informer architecture and integrating VMD denoising and ElasticNet variable selection. The VMD technology is used to separate the high-frequency signal from the low-frequency signal in the time series, and the high-frequency signal is recombined with the low-frequency signal with a certain weight to obtain a noise-weakened signal. The ElasticNet technology is used to eliminate redundant input variables. The encoding of time series data is realized by Multi-head ProbSparseAttention and wavelet activation function. In the decoder, the data is passed through the masked Multi-head ProbSparse Attention to capture the correlation. The result of the decoder is mapped by the fully connected layer to obtain the prediction result. Through experimental comparison, it is verified that the proposed model has higher prediction accuracy. The present invention effectively solves the shortcomings of large prediction errors and poor adaptability of traditional networks for systems containing input noise and redundant variables, and accurately predicts the key variables of complex multivariable processes, providing an accurate model foundation for the subsequent model-based production process controller design and operation monitoring.

[0243] Table 1 Calculation results of prediction error evaluation indexes of each model

[0244]

Claims

1. A method for constructing a complex multivariable system network prediction model based on the Informer architecture, characterized in that: The following steps are involved: Step 1: Obtain production data of complex industrial processes; Use various sensors to measure and collect various parameters in complex production processes to obtain production data of complex work production processes; Step 2: Perform ElasticNet feature selection on the collected time series data to screen out redundant variables; S21: Construct a linear regression model for time series data using formula (1); In the formula, X(i) and is the input feature and predicted output of the i-th sample; ω is the coefficient vector matrix; S22: define the objective function with L1 regularization term and L2 regularization term in formula (2), and minimize the objective function to obtain the optimal parameters of the fitting time series; Where Y(i) is the true output of the i-th sample; α is the regularization strength coefficient; ρ is the L1 regularization strength; α and ρ are used together to control the L1 and L2 regularization strengths; Step 3: Perform VMD decomposition and noise reduction on the sequence data obtained after feature selection; S31: The sample dimension of the sequence data after feature selection is N-dimensional, where the first m dimensions are input features, expressed as X′={x1,x2,...,x m }, and the Nm dimension is the system output, expressed as Y = {y m+1 ,y m+2 ,...,y N }; VMD for each dimension feature x i Perform modal decomposition, where i = 1, ..., m, and set the number of modal components obtained by decomposition of each dimension to K = 2. The specific process is as follows: A1: VMD technology iteratively calculates x i (t) is solved; before iteration, the K modal component signals are initialized by wavelet transform or Fourier transform, and the modal component signals are obtained as v k (t), where k = 1,…,K; A2: For the modal component v k (t) Analysis and elimination of negative frequencies, the specific process is as follows: A21: According to formula (3), v k (t) performing Hilbert transform; In the formula, * is the convolution operation; Among them, sgn(ω) is the sign function, A22: Convert formula (3) to the frequency domain to obtain formula (4); Where F(ω) is v k Fourier transform of (t); for is the Fourier transform of h(t); h(ω) is the Fourier transform of h(t); A23: Transform formula (4) to obtain formula (5); In the formula, j satisfies j 2 = -1; A24: Define v according to formula (6) k (t) is the analytical signal z(t); A25: Combining formula (3), according to the commutative law and distributive law of convolution, formula (6) is transformed to obtain formula (7); Where δ(t) is the Dirac function; A3: Let the modal component v k The center frequency of (t) is ω k , according to formula (8), the formula (7) is frequency modulated to convert v k The spectrum of (t) is modulated to the corresponding baseband; A4: Using Gaussian smoothing technology, calculate the gradient and corresponding L2 norm of formula (8), and take the square root to obtain the modal component v in formula (9): k (t) bandwidth estimation; A5: VMD establishes the constrained variational optimization problem in formula (10) based on the principle of minimizing the sum of bandwidth estimates of each modal component while ensuring that the sum of each modal component is still the original signal. In the formula, v k (k=1,...,K) are the modal components; ω k (k=1,...,K) is the center frequency of each modal component; A6: Introduce the second-order multiplication factor and Lagrange multiplier, and use the augmented Lagrangian function in formula (11) to transform the constrained variational problem shown in formula (10) into an unconstrained variational problem; A7: The problem in the time domain shown in formula (11) is converted to the frequency domain for solution. At the same time, the alternating direction multiplier method is used to calculate the modal components Center frequency of the modal component and the Lagrange multiplier Perform iterative calculations, and The iterative formulas are formula (12), formula (13) and formula (14) respectively; Where, τ is the noise tolerance; n is the number of iterations; and are the original signals x i (t), modal component v k (t) and the Fourier transform of the Lagrange multiplier λ(t); A8: Repeat the calculation using formula (12) to formula (14) until the modal component v k (t) Satisfy the iteration constraints in formula (15); Where ε is the given error constant; S32: According to formula (16), the characteristic signals x after noise reduction are obtained i ′(t), where i=1,…,m; x i ′(t)=ηv i1 (t)+v i2 (t)(16); In the formula, v i1 (t) and v i2 (t) are the original characteristic signals x i (t) High-frequency mode and low-frequency mode obtained after VMD decomposition with K = 2; S33: Let the new input feature after VMD denoising be represented as X″={x″1,x″2,...,x″ m }, the output is Y; Step 4: Window setting and sequence division; Use the sliding window method and the single-step prediction method, that is, only predict one data point each time based on historical data; set the sliding window length to L E , that is, take the front length L when predicting E The historical data of E ; At the same time, the historical data sequence S E Middle back L Token Data points are merged with 1 prediction point, with a length of L D , and the sequence is denoted as S D ; Step 5: Embed the sequence data, that is, perform preliminary feature extraction to capture the local features and position features; S51: setting an embedding layer, including 1 convolution layer and 1 position embedding layer, and arranging the two in parallel; the convolution kernel size of the convolution layer is 3, the step length is 1, and the left and right paddings are 1 respectively; the position embedding layer uses the trigonometric functions in formula (17) and formula (18) to capture the position features existing in the sequence data, so as to convert the position information of the sequence data into a feature matrix; after the sequence is extracted by the convolution layer and the position embedding layer in the embedding layer, the two are added; In the formula, pos is the position of the point in the sequence; i starts from 0; 2i and 2i+1 represent the even-dimensional features and odd-dimensional features of the point respectively; d_model is the hyperparameter of the model; S52: Embedding operation on sequence data; for S E , firstly capture the long-term dependency through a layer of LSTM network, and then enter the embedding layer for feature extraction; for S D , directly enter the embedding layer for feature extraction; Step 6: Build the encoder and E Encoding; S61: stack three coding layers, the coding layer structure is as follows: B1: Use Multi-head ProbSparse Attention technology to extract correlation features from sequences; B11: The Q matrix and K matrix of the attention mechanism are respectively composed of S E The causal convolution is performed, that is, two zero paddings are added at the beginning of the sequence, and then a convolution operation with a convolution kernel size of 3 is performed, and the number of convolution kernels is set to d_model, that is, the feature dimension is mapped to d_model; the V matrix is ​​obtained by adding two zero paddings ... E We can obtain it by linear mapping, and the dimension of the mapping is also set to d_model; then we can obtain that the dimension is L E ×Q, K, V matrices of d_model; B12: Set the number of heads of the attention mechanism to n_head, that is, divide the feature dimensions of Q, K and V into n_head parts respectively, and the feature dimension of each head is d=d_model / n_head, and the length is l=L E ; B13: For the i-th data point in the feature sequence of length l, its q, k, and v values ​​are q i , k i and v i ; For q in the time series i With k j , calculate its similarity according to formula (19); B14: For k j Use formula (19) to calculate and get q i The similarity matrix Σ i ,Σ i =[S1,S2,...S l ], where j = 1, 2, ..., l, and then use the Softmax function to Σ i Normalize it and convert it into a probability distribution to obtain the probability distribution p(k j |q i ) is shown in formula (20); B15: Note Calculate the distribution p(k j |q i ) and uniform distribution q(k j |q i )=1 / L K The Kullback-Leibler divergence of the distribution is used to express the difference from the uniform distribution and to measure the q i The volatility of K is the number of k values, i.e. l; p(k j |q i ) and q(k j |q i )’s Kullback-Leibler divergence; B16: Discard the constant term lnL K , according to formula (22) define q i The sparsity M(q i ,K); B17: Exploitation replace Rewrite q by formula (23): i The sparsity of B18: Calculate the q of each item i Corresponding Score, where i = 1, 2, ..., l, retain the highest score U = 30 q i , the remaining positions are replaced by the mean, and a new Q matrix is ​​obtained, denoted as Q′; B19: For the i-th item in the sequence, calculate q according to formula (24) i ′ and k j The similarity S j ′; B110: for k j Formula (24) is used to calculate in sequence, where j = 1, 2, ..., l, to obtain the similarity between the i-th item in the sequence and each item, which is recorded as the similarity vector Σ i ′=[S1′,S2′,...S l ′], and then use the Softmax function to calculate the attention weight matrix of the i-th item, as shown in formula (25); B111: α i Multiply it by V to get the attention score A of the i-th item i , as shown in formula (26); A i =a i V(26); B112: For each item in the sequence, repeat B19 to B111 to obtain the attention score of each item, and then obtain the attention score matrix Λ=(A1,A2,...A l ); B2: Use the Morlet mother wavelet basis function in formula (27) to activate the result of the attention mechanism and obtain its first-order derivative As shown in formula (28); Where, t is time; C and m are constants; B3: Decompose the feature sequence, that is, F = [x1, x2, ..., x L ] is evenly divided into three parts, and a 1-layer LSTM network is used to extract time series features to obtain F1′, F2′ and F3′, and then the three feature sequences are merged and recorded as F′; B4: Use a convolution kernel of size 3, with a stride of 1, and pad with zeros at the beginning and end to gather information in the feature matrix F′; then perform maximum pooling with a size of 3, a stride of 2, and a zero padding number of 1 to reduce the length of the feature vector to 1 / 2 of the original length to improve computational efficiency. The feature matrix is ​​F Conv ; S62: Same as B1, for F Conv Perform Multi-head ProbSparse Attention to obtain the context information in the feature sequence, and then activate it using the wavelet function shown in formula (27); S63: Get the output feature sequence F of the encoder E ; Step 7: Build a decoder for S D Decode; S71: Use Multi-head ProbSparse Attention with mask to feature sequence S D In the above method, correlation modeling is performed to learn the correlation features in the sequence, and then the wavelet function shown in formula (27) is used to activate it to obtain the feature sequence F Att ; S72: Use Multi-head Attention for feature extraction, combined with F Att The encoder output F E , are input into the Multi-head Attention layer together, and a new feature sequence F is obtained according to formulas (24) to (26) Comb ; S73: Use 1 convolutional layer to aggregate the features of the attention mechanism output; S74: Obtain the output feature sequence F of the decoder D ; Step 8: Use 1 linear layer to transform the decoder output sequence F D Mapping, get the prediction result; Step 9: Use the training set data to train the constructed model; for the test set, use the retraining strategy to evaluate the model to prevent information leakage; S91: Divide the time series data after feature selection into training set and test set in a ratio of 5:3; S92: Perform VMD denoising on the training set and input it into the model to train the model parameters; S93: Set model parameters and sliding window size L E , which is also the input sequence length of the encoder, sets the input sequence length of the decoder to L D , set the overlapping sequence length L Token , set the model hyperparameters d_model; S94: Use a small batch strategy for batch training; set the batch size batch_size, divide the training set data into multiple batches to train the model; S95: construct the loss function through formula (29); Where n is the number of samples in a batch; y i Output the true value for the sample; is the model prediction value; S96: Use the Adam optimization algorithm to optimize the loss function and adopt the strategy of attenuating the learning rate; S97: Save the network weight parameters and obtain the complex multivariable system prediction model; S98: Test the test set using the retraining strategy. The specific operations are as follows: C1: Set the length of the retraining interval to L retrain ; C2: For the test set after feature selection, split the first sample sequence S1 = {(X1′, Y1), ..., (X L ' retrain ,Y Lretrain )}, use VMD technology to decompose the eigenmode of each dimension of S1 and weaken the high-frequency noise, and then recombine to obtain the denoised sample S1′={(X1″,Y1),...,(X L ″ retrain ,Y Lretrain )}; C3: load the model and make predictions for S1′; C4: Add S1′ to the training set and perform VMD denoising on the new training set again; C5: Retrain the model for the new training set after denoising; C6: For each sample in the test set Repeat the process from C2 to C5.

2. The method for constructing a complex multivariable system network prediction model based on the Informer architecture according to claim 1, characterized in that: In step S91 of step nine, the ratio is set to 5:

3.

3. The method for constructing a complex multivariable system network prediction model based on the Informer architecture according to claim 2, characterized in that: In step 9 S93, set the sliding window size L E is 256, the decoder input sequence length is L D is 33, and the overlapping sequence length is L Token is 32, and the model hyperparameter d_model is set to 64.

4. The method for constructing a complex multivariable system network prediction model based on the Informer architecture according to claim 3 is characterized in that: During the model training in step S94 in step nine, the batch size batch_size is set to 128 and the rounds are set to 50 rounds.

5. The method for constructing a complex multivariable system network prediction model based on the Informer architecture according to claim 4 is characterized in that: In the process of optimizing the loss function using the Adam optimization algorithm in step nine S96, the initial learning rate is set to 0.

002.

6. The method for constructing a complex multivariable system network prediction model based on the Informer architecture according to claim 5, characterized in that: In the process of adopting the strategy of attenuating the learning rate in step nine S96, the attenuation step size is set to 15 and the attenuation factor is set to 0.1.

Citation Information

Patent Citations

  • Wind speed prediction method based on variational mode decomposition and attention mechanism

    CN114218870A

  • Oil temperature long-term prediction method and device based on VMD-Informer model, equipment and medium

    CN115759376A

  • Small-scale drought time series data prediction method based on VMD-Informer

    CN117076865A

  • Transform-based comprehensive load prediction method and system

    CN118195103A

  • Non-Intrusive Load Decomposition Method Based on Informer Model Coding Structure

    US20220397874A1

Cited By

  • Secondary circuit error state evaluation method, system, equipment and medium

    CN119005014A

  • Multivariable time sequence prediction method, device and system and model training method

    CN120632637A

  • Multivariate time series prediction method, device, system and model training method

    CN120632637B