A multi-output soft-sensing method based on feature-regularized stacked autoencoders

Through feature regularization stacked autoencoders and multi-output feature learning networks, the problems of blindness in model pre-training and multi-output prediction calculation burden in the existing technology are solved, and high-precision multi-output quality variable prediction is achieved.

CN118690792BActive Publication Date: 2024-10-29XIANGJIANG LAB
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411159541.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-10-29
Estimated Expiration
2044-08-22

AI Technical Summary

Technical Problem

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.

Method used

A multi-output soft measurement method based on feature regularized stacked autoencoders is used to collect and normalize industrial production data to build a multi-output feature learning training set, calculate implicit features and deep common features, and build multi-output feature learning training sets based on these features. Output feature learning network to achieve prediction of multiple output quality variables.

Benefits of technology

This method can extract deep common features of process variables with clear constraints, improve the prediction accuracy of multi-sampling rate multi-output process quality variables, and has high precision and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690792B_ABST
    Figure CN118690792B_ABST
Patent Text Reader

Abstract

The present application relates to a multi-output soft measurement method based on a characteristic regularized stacked autoencoder, which collects and normalizes industrial production process data; constructs a multi-output characteristic learning training set according to different sampling rates of quality variables; inputs the multi-output characteristic learning training set into the characteristic regularized stacked autoencoder to calculate implicit features; calculates the average Spearman coefficient of implicit features and quality variables; calculates the characteristic regularized objective function based on the average Spearman coefficient, updates the network parameters of the characteristic regularized stacked autoencoder, and obtains deep common features; trains a multi-output characteristic learning network based on deep common features to obtain a multi-output soft measurement model based on the characteristic regularized stacked autoencoder; inputs the process variables in the test set into the multi-output soft measurement model, and outputs the predicted values ​​of the multi-output quality variables corresponding to the process variables. This method can improve the prediction accuracy of multi-sampling rate multi-output process quality variables in industrial processes.
Need to check novelty before this filing date? Find Prior Art

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] At present, the soft measurement method based on stacked autoencoders has shown great advantages, but the existing methods still have some problems. First, in terms of model pre-training, there is a certain degree of blindness in the unsupervised pre-training process of stacked autoencoders, which makes it difficult to ensure the constrained learning of important parameters, limiting the improvement of prediction accuracy; second, in terms of building multi-output prediction models, the existing methods usually intelligently predict one quality variable, but in fact there are many quality variables that need to be predicted, and they have different sampling rates, and a single independent model will bring a large computational burden. Summary of the invention

[0003] Based on this, it is necessary to provide a multi-output soft sensing method based on characteristic regularized stacked autoencoder, which includes:

[0004] S1: Collect and normalize industrial production process data and divide them into a training set and a test set; the industrial production process data includes process variables and quality variables;

[0005] S2: The training set is used to construct a multi-output feature learning training set according to different sampling rates of quality variables;

[0006] 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 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 the deep common features;

[0007] 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;

[0008] 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.

[0009] 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

[0010] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 paying creative work.

[0011] Figure 1 This is a flowchart of a multi-output soft-sensing method based on a characteristic regularized stacked autoencoder according to an embodiment of the present application.

[0012] Figure 2 Schematic diagram of the network structure of a multi-output soft-sensing method based on characteristic regularized stacked autoencoders according to an embodiment of the present application.

[0013] Figure 3 This is a flow chart of the hydrocracking process of an embodiment of the present application.

[0014] Figure 4 This is a prediction curve of the 50% diesel recovery temperature in the hydrocracking process of the embodiment of the present application.

[0015] Figure 5 This is a cetane number prediction curve diagram in the hydrocracking process of the embodiment of the present application. DETAILED DESCRIPTION

[0016] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present application, so the present application is not limited by the specific embodiments disclosed below.

[0017] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0018] like Figure 1 , 2 As shown, this embodiment provides a multi-output soft measurement method based on characteristic regularized stacked autoencoder, the method comprising:

[0019] S1: Collect and normalize industrial production process data and divide them into a training set and a test set; the industrial production process data includes process variables and quality variables.

[0020] Specifically, the normalization process includes normalizing the process variables and the quality variables respectively. The normalization formula is:

[0021] ;

[0022] ;

[0023] 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.

[0024] S2: The training set constructs a multi-output feature learning training set according to different sampling rates of quality variables.

[0025] Specifically, the multi-output characteristic 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 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.

[0026] 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 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.

[0027] Specifically, 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:

[0028] ;

[0029] ;

[0030] 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.

[0031] 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, calculates the implicit features in the first feature regularized autoencoder, and the remaining feature regularized autoencoders all use the implicit features obtained by the previous feature regularized autoencoder as the second input, and 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.

[0032] Furthermore, the process of obtaining deep common features includes:

[0033] 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;

[0034] The expression of the first characteristic regularization objective function is:

[0035] ;

[0036] 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;

[0037] 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;

[0038] The expression of the second characteristic regularization objective function is:

[0039] ;

[0040] ;

[0041] 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 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 autoencoder in the input layer j neurons and hidden layers l The connection weights of neurons.

[0042] 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;

[0043] 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.

[0044] Among them, k Take the feature regularized autoencoder as an example. k feature regularized autoencoder, calculate the k -1The average Spearman coefficient between latent features and quality variables; based on k The average Spearman coefficient of the feature regularized autoencoder is constructed k Feature regularization objective function;

[0045] No. k The expression of the feature regularization objective function is:

[0046] ;

[0047] in, Indicates k Feature regularization objective function; Indicates k The number of latent features; Indicates k -1 the number of implicit features; Indicates kThe number of hidden neurons in the hidden layer of the feature regularized autoencoder; Indicates k The first feature regularized autoencoder s The average activity of hidden neurons in the hidden layer; Indicates k The input layer of the feature regularized autoencoder j neurons and hidden layers l The connection weights of neurons;

[0048] Optimize the k Characteristic regularization objective function, get the k The first feature of the regularized autoencoder k Pre-trained weights and k Implicit features;

[0049] 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.

[0050] 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:

[0051] ;

[0052] 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.

[0053] 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:

[0054] ;

[0055] in, Indicates q Prediction error in a multi-output feature learning network; Indicates qThe 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.

[0056] 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.

[0057] The method provided in this embodiment is based on a feature regularized stacked autoencoder model, and 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.

[0058] The effectiveness of the method provided in this embodiment is illustrated below by combining an industrial hydrocracking process example. Figure 3 The first step: Based on the production process requirements, the diesel 50% recovery temperature and cetane number are selected as multi-output quality variables, and the 43 process variables with the greatest impact on multi-output prediction are selected 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.

[0059] In this embodiment, the network structure based on the characteristic 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 characteristic 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 Figure 2, the prediction curve of cetane number is as follows: Figure 5 shown.

[0060] For comparative analysis, multi-layer neural network MLP and original stacked autoencoder SAE were also applied to the process for soft sensor modeling, and the experimental results are shown in Table 1. It can be seen 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.

[0061] Table 1 is the prediction result table of each method;

[0062] ;

[0063] 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 quality indicators, which indicates that ARSAE has the highest prediction accuracy.

[0064] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described 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.

[0065] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.

Claims

1. A multi-output soft-sensing method based on characteristic regularized stacked autoencoders, 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, 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, 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, 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, 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, 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, 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 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 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, 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; Indicates 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, 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, 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