Multi-output soft measurement method based on characteristic regularization stacked auto-encoder
Through feature regularized stacked autoencoders and multi-output feature learning networks, the problems of blindness in model pre-training and high computational burden in the existing technology are solved, and high-precision multi-output quality variable prediction is achieved.
Patent Information
- Application Number
- CN202411159541.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-08-22
AI Technical Summary
Existing soft measurement methods based on stacked autoencoders are blind in the model pre-training process, making it difficult to ensure parameter-constrained learning. In addition, the computational burden is large in multi-output prediction models, making it difficult to effectively predict multiple quality variables.
A multi-output soft measurement method based on feature regularized stacked autoencoders is used to collect and normalize industrial production data to construct a multi-output feature learning training set, calculate the average Spearman coefficient of hidden features and quality variables, and update Network parameters to obtain deep common features and build a multi-output feature learning network for prediction.
It realizes the extraction of deep common features of process variables with clear constraints, improves the prediction accuracy of multi-sampling rate multi-output quality variables, and has high precision and accuracy.
Smart Images

Figure 00000000_0000
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of soft measurement modeling, and in particular to a multi-output soft measurement method based on characteristic regularized stacked autoencoders. Background Art
[0002] Currently, soft sensing methods based on stacked autoencoders have shown great advantages, but existing methods still have some problems. First, in terms of model pre-training, the unsupervised pre-training process of stacked autoencoders is somewhat blind, making it difficult to ensure constrained learning of important parameters, limiting the improvement of prediction accuracy. Second, when building multi-output prediction models, existing methods generally predict only one quality variable. However, in reality, there are many quality variables that need to be predicted, and they have different sampling rates. A single independent model would bring a heavy computational burden. Summary of the Invention
[0003] Based on this, it is necessary to provide a multi-output soft sensing method based on feature regularized stacked autoencoders, which includes: S1: Collect and normalize industrial production process data and divide it into a training set and a test set; the industrial production process data includes process variables and quality variables; S2: The training set is used to construct a multi-output feature learning training set according to different sampling rates of quality variables; S3: Construct a feature regularized stacked autoencoder, input the multi-output feature learning training set into the feature regularized stacked autoencoder, calculate the implicit features; calculate the average Spearman coefficient of the implicit features and the quality variable; calculate the feature regularization objective function based on the average Spearman coefficient, update the network parameters of the feature regularized stacked autoencoder, and obtain deep common features; S4: constructing a multi-output feature learning network, and training the multi-output feature learning network based on the deep common features to obtain a multi-output soft measurement model based on feature regularized stacked autoencoders; S5: Input the process variables in the test set into the multi-output soft sensor model, and output the predicted values of the multi-output quality variables corresponding to the process variables.
[0004] Beneficial effects: This method is based on the feature-regularized stacked autoencoder model. It can extract important deep common features of process variables layer by layer with clear constraints through the stacking of feature-regularized autoencoders. Finally, based on the acquired deep common features, a multi-output feature learning network is added to learn the characteristics of multi-sampling rate multi-output quality variables and complete the prediction task of multi-output quality variables. It has the characteristics of accurate extraction of common and characteristic features and high prediction accuracy. This method can improve the prediction accuracy of multi-sampling rate multi-output process quality variables in industrial processes. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0006] Figure 1 This is a flowchart of a multi-output soft sensing method based on a feature-regularized stacked autoencoder according to an embodiment of the present application.
[0007] Figure 2 Schematic diagram of the network structure of the multi-output soft measurement method based on the characteristic regularized stacked autoencoder in an embodiment of the present application.
[0008] Figure 3 Flow chart of the hydrocracking process according to an embodiment of the present application.
[0009] Figure 4 This is a prediction curve of the 50% diesel recovery temperature in the hydrocracking process of the embodiment of the present application.
[0010] Figure 5 This is a cetane number prediction curve diagram for the hydrocracking process of an embodiment of the present application. DETAILED DESCRIPTION
[0011] To make the above-mentioned objects, features, and advantages of the present application more clearly understood, the specific embodiments of the present application are described in detail below with reference to the accompanying drawings. The following description sets forth many specific details to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar improvements without violating the scope of the present application. Therefore, the present application is not limited to the specific embodiments disclosed below.
[0012] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of such features. Throughout the description of this application, "plurality" means at least two, for example, two, three, etc., unless otherwise specifically defined.
[0013] like Figure 1 、 2 As shown, this embodiment provides a multi-output soft sensing method based on a feature regularized stacked autoencoder, the method comprising: S1: Collect and normalize industrial production process data and divide it into a training set and a test set; the industrial production process data includes process variables and quality variables.
[0014] Specifically, the normalization process includes normalizing the process variables and the quality variables respectively. The normalization formula is: ; ; in, Indicates the i The first sample j process variables; Indicates the j The minimum value of a process variable; Indicates the j The maximum value of a process variable; Indicates the i The first sample q quality variables; Indicates the q The minimum value of a quality variable; Indicates the q The maximum value of a quality variable.
[0015] S2: The training set is constructed into a multi-output feature learning training set according to different sampling rates of quality variables.
[0016] Specifically, the multi-output feature learning training set includes multiple data sets; the number of data sets is the number of samples, and each data set is composed of common process variables in the corresponding samples and quality variables with different sampling rates; the data sets are recorded as: ;in, x represents the process variable in the sample, The quality variable representing the first sampling rate in the sample, The quality variable representing the second sampling rate in the sample, The sample Q The quality of the sampling rate is variable.
[0017] S3: Construct a feature regularized stacked autoencoder, input the multi-output feature learning training set into the feature regularized stacked autoencoder, and calculate the implicit features; calculate the average Spearman coefficient of the implicit features and the quality variables; calculate the feature regularization objective function based on the average Spearman coefficient, update the network parameters of the feature regularized stacked autoencoder, and obtain deep common features.
[0018] Specifically, the feature regularized autoencoder includes an encoder and a decoder; the encoder transforms the process variable into an implicit feature through a first nonlinear mapping function, and the decoder maps the implicit feature into a second process variable through a second nonlinear mapping function; the calculation formula is: ; ; in, Indicates implicit features; represents the encoder; represents the first nonlinear mapping function; W represents the weight matrix of the encoder; b represents the bias vector of the encoder; represents the second process variable; Represents a decoder; represents the second nonlinear mapping function; represents the weight matrix of the decoder; Represents the bias vector of the decoder.
[0019] Furthermore, the feature regularized stacked autoencoder is formed by stacking multiple feature regularized autoencoders in sequence. The first feature regularized autoencoder takes the process variables in the multi-output feature learning training set as input and calculates the implicit features in the first feature regularized autoencoder. The remaining feature regularized autoencoders all use the implicit features obtained by the previous feature regularized autoencoder as the second input. Each feature regularized autoencoder calculates the average Spearman coefficient of the input / the second input and the quality variable; the loss function is calculated based on the average Spearman coefficient, and the network parameters of the feature regularized encoders of each layer are updated to obtain deep common features.
[0020] Furthermore, the process of obtaining deep common features includes: Step 1: For the first feature regularized autoencoder, calculate the average Spearman coefficient between each process variable and the quality variable; construct the first feature regularized objective function based on the average Spearman coefficient of the first feature regularized autoencoder; The expression of the first characteristic regularization objective function is: ; Optimizing the first feature regularization objective function to obtain a first pre-trained weight and a first latent feature of an encoder in a first feature regularization autoencoder; Step 2: For the second feature regularized autoencoder, calculate the average Spearman coefficient between the first latent feature and the quality variable; construct a second feature regularization objective function based on the average Spearman coefficient of the second feature regularized autoencoder; The expression of the second characteristic regularization objective function is: ; ; in, represents the first characteristic regularization objective function; N Indicates the total number of samples; Indicates the i The second process variable of samples; Indicates the i Process variables of samples; represents the number of variables in the hidden layer of the first feature regularized autoencoder; Indicates the number of process variables input; Represents process variables average Spearman coefficients with quality variables; represents the sparsity parameter; represents the number of hidden neurons in the hidden layer of the first feature regularized autoencoder; represents KL divergence; represents the activity of hidden neurons; represents the first feature regularized autoencoder s The average activity of hidden neurons in the hidden layer; represents the number of the second latent features; represents the number of the first latent features; represents the number of hidden neurons in the hidden layer of the second feature regularized autoencoder; represents the second feature regularized autoencoder s The average activity of hidden neurons in the hidden layer; Indicates the i The first sample j the ranks of the observed values of the process variables; Indicates the i The first sample q the rank of the observations of the quality variables; Q Indicates the number of quality variables; represents the trade-off parameter; represents the first feature regularized autoencoder in the input layer j neurons and hidden layers l The connection weights of neurons, represents the second feature regularized self-encoder in the input layer j neurons and hidden layers l The connection weights of neurons.
[0021] Optimizing the second characteristic regularization objective function to obtain a second pre-trained weight and a second latent feature of the encoder in the second characteristic regularization autoencoder; Step 3: Repeat step 2 for the remaining feature regularized autoencoders until all feature regularized autoencoders are traversed to obtain the final implicit feature, and use the final implicit feature as the deep common feature.
[0022] Among them, the k Take the feature regularized autoencoder as an example, for the k feature regularized autoencoder, calculate the k -1The average Spearman coefficient between latent features and quality variables; based on the k The average Spearman coefficient of the feature regularized autoencoder is constructed k Feature regularization objective function; No. k The expression of the feature regularization objective function is: ; in, Indicates the k Feature regularization objective function; Indicates the k The number of latent features; Indicates the k -1 is the number of implicit features; Indicates the k The number of hidden neurons in the hidden layer of the feature regularized autoencoder; Indicates the k The first feature regularized autoencoder s The average activity of hidden neurons in the hidden layer; Indicates the k The input layer of the feature regularized autoencoder j neurons and hidden layers l The connection weights of neurons; Optimize the k Characteristic regularization objective function, get the k The first encoder in the feature regularized autoencoder k Pre-trained weights and k Implicit features; S4: Construct a multi-output feature learning network, and train the multi-output feature learning network based on the deep common features to obtain a multi-output soft measurement model based on feature regularized stacked autoencoders.
[0023] Specifically, the multi-output feature learning network is composed of a plurality of single-connection networks that are not connected to each other, and the single-connection network includes only one hidden layer;q The forward propagation process of a multi-output feature learning network is: ; in, Indicates the q Among the quality variables p Type of estimate; represents the activation function; represents the q The weight matrix of a multi-output feature learning network; Indicates the q The bias of a multi-output feature learning network; Indicates deep common features; K Represents the number of feature regularized autoencoders.
[0024] Furthermore, training the multi-output feature learning network includes adjusting the network parameters of the multi-output feature learning network until the prediction error converges; the prediction error expression is: ; in, Indicates the q Prediction error in a multi-output feature learning network; Indicates the q the number of types in a quality variable; Indicates the q Among the quality variables p Type of estimate; Indicates the q Among the quality variables p The actual value of a type.
[0025] S5: Input the process variables in the test set into the multi-output soft sensor model, and output the predicted values of the multi-output quality variables corresponding to the process variables.
[0026] The method provided in this embodiment is based on a feature-regularized stacked autoencoder model. It can extract important deep common features of process variables layer by layer with clear constraints through the stacking of feature-regularized autoencoders. Finally, based on the acquired deep common features, a multi-output feature learning network is added to learn the characteristics of multi-sampling rate multi-output quality variables, and complete the prediction task of multi-output quality variables. It has the characteristics of accurate extraction of common and characteristic features and high prediction accuracy. This method can improve the prediction accuracy of multi-sampling rate multi-output process quality variables in industrial processes.
[0027] The following is an example of an industrial hydrocracking process to illustrate the effectiveness of the method provided in this embodiment. Figure 3The first step is to select diesel 50% recovery temperature and cetane number as multi-output quality variables based on production process requirements, and select 43 process variables that have the greatest impact on multi-output prediction as input variables, which are recorded as x (1) , x (2) ,…, x (43) A total of 2000 data samples of the hydrocracking process were obtained, and all variables were normalized.
[0028] In this embodiment, the network structure based on the feature regularized stacked autoencoder (ARSAE) is specifically 43-20-20-10. The input layer has a total of 43 neurons, representing 43 process variables, and the three hidden layers have 20, 20 and 10 neurons respectively. In the multi-output feature learning network, the network structure of the 50% recovery temperature of diesel is 10-5-1, which means that its hidden layer has 5 neurons and the output layer has 1 neuron; the network structure of the cetane number is 10-6-1, which means that its hidden layer has 6 neurons and the output layer has 1 neuron. In this embodiment, the prediction curve of the 50% recovery temperature of diesel in the hydrocracking process is as follows Figure 4 As shown in the figure, the prediction curve of cetane number is as follows Figure 5 shown.
[0029] For comparative analysis, a multi-layer neural network (MLP) and a primitive stacked autoencoder (SAE) were also applied to this process for soft sensor modeling. The experimental results are shown in Table 1. It can be seen that the ARSAE prediction root mean square error (RMSE) is the smallest for both diesel 50% recovery temperature and cetane number, indicating that ARSAE has the highest prediction accuracy.
[0030] Table 1 is the prediction results of each method; ; It can be seen from Table 1 that the prediction root mean square error (RMSE) of ARSAE is the smallest in both diesel 50% recovery temperature and cetane number, which indicates that ARSAE has the highest prediction accuracy.
[0031] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0032] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. A multi-output soft-sensing method based on feature regularized stacked autoencoders, It is characterized in that include: S1: Collect and normalize industrial production process data and divide it into training set and test set; The industrial production process data includes process variables and quality variables; S2: The training set is used to construct a multi-output feature learning training set according to different sampling rates of quality variables; S3: construct a feature regularized stacked autoencoder, input the multi-output feature learning training set into the feature regularized stacked autoencoder, and calculate implicit features; Calculating the average Spearman coefficient of the implicit feature and the quality variable; calculating the feature regularization objective function based on the average Spearman coefficient, updating the network parameters of the feature regularization stacked autoencoder, and obtaining the deep common feature; S4: constructing a multi-output feature learning network, and training the multi-output feature learning network based on the deep common features to obtain a multi-output soft measurement model based on feature regularized stacked autoencoders; S5: Input the process variables in the test set into the multi-output soft sensor model, and output the predicted values of the multi-output quality variables corresponding to the process variables.
2. The multi-output soft sensing method based on characteristic regularized stacked autoencoder according to claim 1, It is characterized in that Normalization processing includes normalizing process variables and quality variables respectively. The normalization formula is: ; ; in, Indicates i The sample j process variables; Indicates j The minimum value of a process variable; Indicates j The maximum value of a process variable; Indicates i The sample q quality variables; Indicates q The minimum value of a quality variable; Indicates q The maximum value of a quality variable.
3. The multi-output soft sensing method based on characteristic regularized stacked autoencoder according to claim 1, It is characterized in that The multi-output feature learning training set includes multiple data sets; The number of data sets is the number of samples, and each data set is composed of common process variables in the corresponding samples and quality variables with different sampling rates; the data sets are recorded as: ; in, x represents the process variable in the sample, The quality variable representing the first sampling rate in the sample, The quality variable representing the second sampling rate in the sample, The sample Q The quality of the sampling rate is variable.
4. The multi-output soft sensing method based on characteristic regularized stacked autoencoder according to claim 1, It is characterized in that The characteristic regularized autoencoder includes an encoder and a decoder; the encoder transforms the process variable into an implicit feature through a first nonlinear mapping function, and the decoder maps the implicit feature into a second process variable through a second nonlinear mapping function; the calculation formula is: ; ; in, Indicates implicit features; represents the encoder; represents the first nonlinear mapping function; W represents the weight matrix of the encoder; b represents the bias vector of the encoder; represents a second process variable; represents a decoder; represents the second nonlinear mapping function; represents the weight matrix of the decoder; Represents the bias vector of the decoder.
5. The multi-output soft sensing method based on characteristic regularized stacked autoencoder according to claim 4, It is characterized in that The feature regularized stacked autoencoder is formed by stacking multiple feature regularized autoencoders in sequence. The first feature regularized autoencoder takes the process variables in the multi-output feature learning training set as input and calculates the implicit features in the first feature regularized autoencoder. The remaining feature regularized autoencoders all use the implicit features obtained by the previous feature regularized autoencoder as the second input. Each feature regularized autoencoder calculates the average Spearman coefficient of the input / the second input and the quality variable; the loss function is calculated based on the average Spearman coefficient, and the network parameters of each layer of feature regularized encoders are updated to obtain deep common features.
6. The multi-output soft sensing method based on characteristic regularized stacked autoencoder according to claim 5, It is characterized in that The process of obtaining deep common features includes: Step 1: For the first feature regularized autoencoder, calculate the average Spearman coefficient between each process variable and the quality variable; construct the first feature regularized objective function based on the average Spearman coefficient of the first feature regularized autoencoder; Optimizing the first characteristic regularization objective function to obtain a first pre-trained weight and a first implicit feature of an encoder in a first characteristic regularization autoencoder; Step 2: For the second feature regularized autoencoder, calculate the average Spearman coefficient between the first latent feature and the quality variable; construct a second feature regularized objective function based on the average Spearman coefficient of the second feature regularized autoencoder; Optimizing the second characteristic regularization objective function to obtain a second pre-trained weight and a second implicit feature of the encoder in the second characteristic regularization autoencoder; Step 3: For the remaining feature regularized autoencoders, repeat step 2 until all feature regularized autoencoders are traversed to obtain the final implicit features, and use the final implicit features as the deep common features.
7. The multi-output soft sensing method based on characteristic regularized stacked autoencoder according to claim 6, It is characterized in that The expression of the first characteristic regularization objective function is: ; The expression of the second characteristic regularization objective function is: ; ; in, represents the first characteristic regularization objective function; N Indicates the total number of samples; Indicates i The second process variable of samples; Indicates i process variables of samples; represents the number of variables in the hidden layer of the first feature regularized autoencoder; Indicates the number of process variables input; Represents process variables average Spearman coefficients with quality variables; represents the sparsity parameter; represents the number of hidden neurons in the hidden layer of the first feature regularized autoencoder; represents KL divergence; represents the activity of hidden neurons; represents the first feature regularized autoencoder s The average activity of hidden neurons in the hidden layer; represents the number of the second latent features; represents the number of the first latent features; represents the number of hidden neurons in the hidden layer of the second feature regularized autoencoder; represents the second feature regularized autoencoder s The average activity of hidden neurons in the hidden layer; Indicates i The sample j the ranks of the observed values of the process variables; Indicates i The sample q the rank of the observed values of the quality variables; Q Indicates the number of quality variables; represents the trade-off parameter; represents the first feature regularized autoencoder in the input layer j neurons and hidden layers l The connection weights of neurons, represents the second feature regularized autoencoder in the input layer j neurons and hidden layers l The connection weights of neurons.
8. The multi-output soft sensing method based on characteristic regularized stacked autoencoder according to claim 1, It is characterized in that The multi-output feature learning network is composed of a plurality of single-connection networks that are not connected to each other, and the single-connection network includes only one hidden layer; q The forward propagation process of a multi-output feature learning network is: ; in, Indicates q Among the quality variables p type of estimate; represents the activation function; represents the q The weight matrix of a multi-output feature learning network; Indicates q The bias of a multi-output feature learning network; Indicates deep common features; K Represents the number of feature regularized autoencoders.
9. The multi-output soft sensing method based on characteristic regularized stacked autoencoder according to claim 8, It is characterized in that Training the multi-output feature learning network includes: adjusting the network parameters of the multi-output feature learning network until the prediction error converges; the prediction error expression is: ; in, Indicates q Prediction error in a multi-output feature learning network; Indicates q The number of types in a quality variable; Indicates q Among the quality variables p type of estimate; Indicates q Among the quality variables p The actual value of a type.
10. The multi-output soft sensing method based on characteristic regularized stacked autoencoder according to claim 1, It is characterized in that The industrial production process data includes industrial hydrocracking process data.
Citation Information
Patent Citations
Botnet detection method based on multi-mode stacked automatic encoder
CN117640190A
Soft measurement method and system based on data enhancement and prediction combined learning
CN117688388A
Non-stationary multi-sampling industrial process soft measurement method based on multi-cycle recursive network
CN117932241A
Industrial data enhancement method based on self-attention variation auto-encoder
CN118426414A
SDAE-DBN algorithm-based online prediction method for surface roughness of part
WO2021128577A1
Cited By
Quality prediction method and module based on conversion gating deep network
CN121278679A
