Symbolic regression ensemble-based interpretable hybrid prediction and uncertainty quantification method

By combining symbolic regression ensemble and probabilistic long short-term memory networks, the problem of interpretability and uncertainty quantification in soft measurement modeling of industrial processes is solved, enabling real-time estimation and process monitoring of quality variables in industrial processes, and providing detailed methods for uncertainty decomposition and quantification.

CN123178818APending Publication Date: 2026-11-27BEIJING INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611274488.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-21
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing soft measurement modeling methods for industrial processes struggle to balance interpretability and uncertainty quantification. Symbolic regression methods lack multi-solution expressiveness, deep learning models lack interpretability, and hybrid modeling methods fail to effectively integrate uncertainty.

Method used

The symbolic regression ensemble method is adopted, and a symbolic regression ensemble model is constructed through multi-population evolutionary search. The residuals are fitted by a probabilistic long short-term memory network, and uncertainty is decomposed and fused based on the law of total variance to achieve interpretability and uncertainty quantification.

Benefits of technology

It maintains model interpretability, achieves hierarchical decomposition and quantification of uncertainty, improves prediction accuracy and interval calibration, and supports independent diagnosis and improvement of model components.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178818A_ABST
    Figure CN123178818A_ABST
Patent Text Reader

Abstract

The application discloses a kind of symbol regression integrated explainable hybrid prediction and uncertainty quantification method, belong to industrial process soft measurement technical field.The defects that present method is difficult to consider explainability and uncertainty quantification, the main model with explicit algebraic expression is constructed using symbol regression integration in the application to keep explainability, fitting and probability reasoning are carried out to prediction residual by probability long short-term memory network, and based on total variance law, total uncertainty is decomposed into marginal cognitive uncertainty, conditional cognitive uncertainty and accidental uncertainty, the hierarchical additive fusion of three is realized.The application can quantize prediction total uncertainty completely and construct well-calibrated prediction interval while keeping the explainability of model, and can be applied to the quality index prediction and decision support of petroleum chemical industry, gas power generation and other industrial processes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of industrial process soft measurement technology, specifically involving an interpretable hybrid prediction and uncertainty quantification method based on symbolic regression integration, and a hierarchical uncertainty quantification method based on the law of total variance. This invention can be applied to scenarios such as product quality indicator prediction, process monitoring, and decision support in industrial processes such as petrochemicals, gas-fired power generation, and pharmaceuticals. Background Technology

[0002] In modern chemical, petrochemical, and gas-fired power generation industries, many key indicators reflecting product quality, such as the concentration of products at the bottom of distillation columns, the concentration of hydrogen sulfide in the tail gas of sulfur recovery units, and the concentration of nitrogen oxides in the flue gas emitted by gas turbines, are difficult to measure in real time using online analyzers. The main reasons include: the high cost and difficult maintenance of online analyzers, significant measurement lag, and harsh working environments for sensors. Soft measurement technology, by establishing mathematical models between process state variables (temperature, pressure, flow rate, etc.) and quality variables, enables real-time estimation of these difficult-to-measure variables and has become an important means of industrial process control and quality improvement.

[0003] Existing soft measurement modeling methods can be mainly classified into the following categories:

[0004] 1. Single Data-Driven Model Approaches. Common methods include partial least squares, support vector regression, and artificial neural networks. These methods can achieve high prediction accuracy under specific conditions, but they have the following drawbacks: the models are mostly black-box structures, lacking interpretability, making it difficult for engineers to understand the relationships between variables revealed by the model; the uncertainty of model parameters cannot be quantified, making it difficult to assess the reliability of the prediction results.

[0005] 2. Symbolic Regression Method. Symbolic regression can automatically discover analytical expressions with explicit algebraic forms from data, exhibiting good interpretability. However, existing symbolic regression methods typically output only a single optimal expression, ignoring the possibility of multiple equivalent or approximately equivalent expressions existing during the symbolic regression search process. This results in the model lacking representation of the uncertainty in expression selection. Furthermore, pure symbolic regression models are limited by the expressive power of the predefined set of operators, making it difficult to capture complex nonlinear dynamic patterns remaining in the process.

[0006] 3. Uncertainty Quantification Methods in Deep Learning. In recent years, some studies have used Bayesian neural networks, deep ensembles, or Monte Carlo dropout methods for uncertainty quantification. However, these methods typically quantify uncertainty into a single cognitive uncertainty or accidental uncertainty, lacking a refined decomposition of the sources of uncertainty; moreover, the models themselves remain black-box structures with insufficient interpretability.

[0007] 4. Hybrid Modeling Approaches. Some studies have attempted to combine mechanistic models with data-driven models, but most existing hybrid modeling methods use a simple serial or parallel superposition approach, failing to achieve organic integration at the level of uncertainty quantification; in particular, for the coupling uncertainty between symbolic regression models and deep learning models, there is a lack of a theoretically rigorous decomposition and fusion framework.

[0008] In summary, existing soft sensor modeling methods face a dilemma in balancing interpretability and uncertainty quantification: highly interpretable models struggle to quantify prediction uncertainty, while models capable of quantifying uncertainty lack interpretability. Therefore, a hybrid prediction method is urgently needed that can maintain model interpretability while simultaneously achieving a complete decomposition and quantification of total prediction uncertainty. Summary of the Invention

[0009] To address the technical challenge of existing industrial process soft measurement modeling methods in simultaneously achieving interpretability and uncertainty quantification, this invention provides a symbolic regression ensemble-based interpretable hybrid prediction and uncertainty quantification method. The method aims to maintain interpretability by providing a master model with an explicit algebraic expression through symbolic regression ensemble; to capture complex residual dynamics by fitting and probabilistically inferring the prediction residuals of the symbolic model using a probabilistic long short-term memory network; and to achieve hierarchical decomposition and additive fusion of marginal cognitive uncertainty, conditional cognitive uncertainty, and accidental uncertainty based on the law of total variance, thereby achieving complete quantification of total uncertainty while maintaining model interpretability.

[0010] To achieve the above objectives, the present invention adopts the following technical solution:

[0011] This invention provides an interpretable hybrid prediction and uncertainty quantification method based on symbolic regression ensemble, comprising the following steps:

[0012] Step S1: Obtain measurable state variable data and corresponding historical mass variable data of the industrial process, and construct a training dataset;

[0013] Step S2: Using a symbolic regression algorithm based on multi-population evolutionary search, the training dataset constructed in step S1 is used to run independently K times. The K selected symbolic models are then combined to form a symbolic regression ensemble. ;

[0014] Step S3: Calculate the prediction residuals of the K symbolic models on each training sample;

[0015] Step S4: Construct a corresponding probabilistic long short-term memory network for each symbolic model, using the historical window of the residual sequence as input and the current residual as the prediction target for training;

[0016] Step S5: During the inference phase, perform M random forward propagations for each probabilistic long short-term memory network, and extract residual correction point estimates, conditional cognitive uncertainty, and accidental uncertainty based on M sets of predicted values.

[0017] Step S6: Calculate the ensemble mean as the final point prediction value based on the expected total prediction value of each ensemble member, and calculate the marginal cognitive uncertainty;

[0018] Step S7: Based on the law of total variance, marginal cognitive uncertainty, conditional cognitive uncertainty and accidental uncertainty are additively fused to obtain the total prediction variance, construct the prediction interval and output it.

[0019] Further, step S1 includes:

[0020] S101: Collect measurable state variable data and corresponding true values ​​of mass variables at multiple sampling times in the industrial process;

[0021] S102: Construct the collected data into an original time series dataset according to the time order, and perform data cleaning operation on the original time series dataset;

[0022] S103: Take the cleaned dataset, use the d-dimensional process state variables at the current time and the quality variable values ​​at the previous time as input feature vectors, and use the quality variable values ​​at the current time as output targets to construct a training sample set.

[0023] S104: Divide the constructed training sample set into training set, validation set and test set in chronological order;

[0024] S105: Perform standardization on the input feature vectors of the training set, and apply the same standardization transformation to the validation and test sets using the mean and variance parameters of the training set.

[0025] Further, step S2 includes:

[0026] S201: Employ the symbolic regression algorithm based on multi-population evolutionary search, using the training dataset constructed in step S1, set the algorithm parameters, and run it independently K times;

[0027] S202: In each run, the symbolic regression algorithm searches for candidate algebraic expressions in the expression space composed of the operator set and the combination of input variables based on multi-population parallel evolution and expression tree mutation / crossover operations; after each generation of evolution, the algorithm evaluates the fitness of each candidate expression based on the weighted sum of the prediction mean square error and the expression complexity.

[0028] S203: After each run, output the Pareto front. From the Pareto front, select the expression that satisfies the following conditions: it uses all d+1 dimensions of input feature vectors and has the smallest mean square error on the validation set; if there is no expression that uses all input features, select the expression that uses the most input features and has the smallest validation mean square error.

[0029] S204: Combine the K symbolic models obtained from K independent runs to form a symbolic regression ensemble. .

[0030] Further, step S3 includes:

[0031] S301: For each sample t=1,2,…,N in the training set, calculate the predicted value using the K symbolic models obtained in step S2. ;

[0032] S302: For the k-th symbolic model, calculate its prediction residual on each training sample:

[0033] ;

[0034] S303: Perform a stationarity test on the residual sequence of each symbolic model. If the residual sequence does not meet the stationarity condition, perform a first-order difference transformation on the residual sequence to obtain the differenced residual sequence:

[0035] , ;

[0036] Where N represents the total number of samples.

[0037] Further, in step S4, for each symbolic model k=1,2,…,K, a corresponding Long Short-Term Memory network is independently constructed, denoted as… The Long Short-Term Memory (LSTM) network uses a historical difference residual window of length W. As input, the original residual As a prediction objective, the network output includes residual mean estimates. and residual variance estimation .

[0038] Further, step S5 includes:

[0039] S501: During the inference phase, for the input feature vector of the test sample... Keep all dropout layers in the Long Short-Term Memory network active.

[0040] S502: For the test sample, for each long short-term memory network Perform M random forward propagations;

[0041] S503: Record the predicted residual mean value of the forward propagation output for the m-th, m=1,2,…,Mth propagation. and residual variance predicted values ;

[0042] S504: Based on the M groups of predicted values, calculate respectively:

[0043] Residual correction point estimation:

[0044] ;

[0045] Conditional cognitive uncertainty:

[0046] ;

[0047] Random uncertainty:

[0048] .

[0049] Further, step S6 includes:

[0050] S601: Calculate the expected total prediction value for each ensemble member:

[0051] , ;

[0052] S602: Calculate the predicted final point value:

[0053] ;

[0054] S603: Computing Marginal Cognitive Uncertainty:

[0055] ;

[0056] S604: Calculating Cognitive Uncertainty Based on Sample Conditions

[0057] ;

[0058] S605: Calculate the random uncertainty of the sample:

[0059] .

[0060] Further, step S7 includes:

[0061] S701: Using the law of total variance, the marginal cognitive uncertainty, conditional cognitive uncertainty, and accidental uncertainty obtained in step S6 are additively fused to obtain the total prediction variance:

[0062] ;

[0063] S702: Using the predicted value of the final point As the point prediction value of the quality variable of the sample to be tested, the square root of the total prediction variance is used. As the prediction standard deviation, a confidence level of is constructed. Prediction interval:

[0064] ;

[0065] in, For standard normal distribution Upper quantile; ;

[0066] S703: Output the predicted value and prediction interval of the point.

[0067] Furthermore, the measurable state variables include one or more of temperature, pressure, flow rate, liquid level, and component concentration, and the mass variables include the concentration of the product at the bottom of the distillation column, the concentration of pollutants in the tail gas of the sulfur recovery unit, or the concentration of nitrogen oxides in the flue gas emitted by the gas turbine.

[0068] Furthermore, the symbolic regression integrated interpretable hybrid prediction and uncertainty quantification method is applied to real-time estimation of quality variables, process monitoring, and decision support in industrial processes.

[0069] Compared with the prior art, the present invention has the following advantages:

[0070] 1. The interpretability of the model is maintained. This invention uses symbolic regression as the main model, and the output algebraic expression has an explicit mathematical form. Engineers can directly understand the functional relationship between quality variables and process variables, which facilitates process analysis and knowledge accumulation.

[0071] 2. Achieved a hierarchical and complete decomposition of uncertainty. Based on the law of total variance, this invention systematically decomposes the total uncertainty of prediction into three components with clear physical meaning: marginal cognitive uncertainty (symbolic model divergence), conditional cognitive uncertainty (residual correction uncertainty), and random uncertainty (inherent noise in the data). This overcomes the shortcomings of the prior art in which the sources of uncertainty are unclear.

[0072] 3. Balancing point prediction accuracy and interval calibration. This invention provides stable basic predictions through symbolic regression ensemble, captures complex residual dynamics through probabilistic long short-term memory networks, and constructs well-calibrated prediction intervals through additive fusion of three uncertainties. Experiments on multiple industrial benchmark processes show that the prediction interval coverage can accurately reach the nominal confidence level.

[0073] 4. Components can be independently diagnosed and improved. Since the three uncertainty components correspond to different components of the model, engineers can improve the model in a targeted manner according to the relative magnitude of each component. When marginal cognition is dominant, the symbolic regression search strategy can be improved; when conditional cognition is dominant, the residual network training data can be increased or the network structure can be adjusted; when chance is dominant, sensor accuracy can be improved or data preprocessing optimization can be considered. Attached Figure Description

[0074] Figure 1 This is a schematic diagram of the process of an interpretable hybrid prediction and uncertainty quantification method based on symbolic regression integration according to the present invention.

[0075] Figure 2 This is a schematic diagram of the symbolic regression integration construction process in the method described in this invention.

[0076] Figure 3 This is a schematic diagram of the point prediction results and prediction interval prediction results in the butane removal tower process in Embodiment 1 of the present invention.

[0077] Figure 4 This is a schematic diagram illustrating the uncertain separation in the butane removal tower process of Embodiment 1 of the present invention. Detailed Implementation

[0078] The technical solution of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. The following embodiments are only used to illustrate the present invention and should not be regarded as limiting the scope of the present invention.

[0079] This invention provides an interpretable hybrid prediction and uncertainty quantification method based on symbolic regression ensemble, such as... Figure 1 and Figure 2 As shown, it includes the following steps:

[0080] Step S1: Obtain measurable state variable data and corresponding historical data of quality variables for the industrial process, and construct a training dataset.

[0081] S101: Collect measurable state variable data and corresponding true values ​​of quality variables from industrial distributed control systems, historical databases, or sensor networks at multiple sampling times. The measurable state variables include, but are not limited to, process variables that can be obtained in real time through online instruments, such as temperature, pressure, flow rate, liquid level, and component concentration. The true values ​​of quality variables include, but are not limited to, key quality indicators obtained intermittently through offline laboratory testing or online analyzers, such as the concentration of products at the bottom of distillation columns, the concentration of pollutants in the tail gas of sulfur recovery units, and the concentration of nitrogen oxides in the flue gas emitted by gas turbines.

[0082] S102: Construct the collected data into an original time series dataset according to the time order, and perform data cleaning operations on the original time series dataset, including: identifying and removing outliers based on the 3-standard deviation criterion; filling in the missing data after removal using linear interpolation or spline interpolation methods; and aligning the filled data with timestamps to ensure that the input features and output targets strictly correspond in time.

[0083] S103: Using the cleaned dataset, with the current d-dimensional process state variables and the previous time step's quality variable values ​​as input feature vectors, and the current time step's quality variable values ​​as the output target, construct a training sample set. Specifically, the sample format at time t is as follows:

[0084] Input feature vector: Indicates inclusion The d+1 dimension eigenvector, where Let d be the d-dimensional process state variables input at time t. The value of the mass variable at time t-1;

[0085] Output target: Let t be the value of the mass variable at time t.

[0086] S104: Divide the constructed training sample set into a training set, a validation set, and a test set in chronological order. The training set is used for learning model parameters, the validation set is used for selecting symbolic regression expressions and adjusting the hyperparameters of the long short-term memory network, and the test set is used for final performance evaluation. The preferred partitioning ratio is 70%:15%:15%.

[0087] S105: Standardize the input feature vectors of the training set to have zero mean and unit variance; use the mean and standard deviation parameters of the training set to perform the same standardization transformation on the input feature vectors of the validation and test sets. The output target variable is also standardized in the same way.

[0088] Step S2: Perform symbolic regression ensemble construction.

[0089] S201: Employ a symbolic regression algorithm based on multi-population evolutionary search, using the training dataset constructed in step S1, set the algorithm parameters, and run it independently K times. Here, K is a positive integer, preferably... More preferably, K=10. A different random seed is used for each run to ensure the independence of the search process in each run.

[0090] The initial settings for each run are as follows:

[0091] Population size was set at 30-200;

[0092] The number of evolution iterations is set to 100~500;

[0093] The basic set of operators includes: binary operators and unary operators In particular, for chemical processes where the reaction rate is related to the reaction temperature and conforms to the Arrhenius equation, additional special operators can be added. ;

[0094] The maximum size of the equation is set to 50;

[0095] The simplicity factor is set to 1×10 −6 Up to 1×10 −4 .

[0096] S202: In each run, the symbolic regression algorithm searches for candidate algebraic expressions in the expression space composed of the operator set and the combination of input variables, based on multi-population parallel evolution and expression tree mutation / crossover operations. After each generation of evolution, the algorithm evaluates the fitness of each candidate expression based on a weighted sum of the prediction mean square error and the expression complexity; where complexity is defined as the total number of nodes in the expression tree.

[0097] S203: After each run, output the Pareto front, which contains multiple candidate expressions that achieve Pareto optimality between prediction accuracy and expression complexity. From the Pareto front, select expressions that satisfy the following conditions:

[0098] (1) All d+1 dimensions of the input feature vector were used, that is, every input variable appears in the expression. ;

[0099] (2) The mean square error on the validation set is minimized.

[0100] If there is no expression in the Pareto front that uses all d+1 input features, then the expression that uses the most input features and has the smallest mean squared error in validation is selected as the symbolic model for this run.

[0101] S204: Combine the K symbolic models obtained from K independent runs to form a symbolic regression ensemble. Each symbolic model All are univariate or multivariate analytic expressions with explicit algebraic form, representing the mapping from input feature vectors to predicted values ​​of quality variables. The output of the k-th symbolic model is expressed as... Also recorded as .

[0102] Step S3: Symbolic model prediction and residual calculation.

[0103] S301: For each sample t=1,2,…,N in the training set, calculate the predicted value using the K symbolic models obtained in step S2. .

[0104] S302: For the k-th symbolic model, calculate its prediction residual on each training sample:

[0105]

[0106] The prediction residuals reflect the dynamic information and noise remaining in the data that the k-th symbolic model failed to capture.

[0107] S303: Perform a stationarity test on the residual sequence of each symbolic model, preferably using a unit root test. If the residual sequence does not meet the stationarity condition, perform a first-order difference transformation on the residual sequence to obtain the differenced residual sequence:

[0108] ,

[0109] The difference transformation, where N represents the total number of samples, is used to eliminate the time trend in the residual sequence, satisfying the long short-term memory network's requirement for the stationarity of the input sequence.

[0110] Step S4: Construct corresponding probabilistic long short-term memory networks for each of the K symbolic models and perform residual fitting.

[0111] S401: For each symbolic model k=1,2,…,K, construct a corresponding Long Short-Term Memory network independently, denoted as… The Long Short-Term Memory (LSTM) network takes a historical window of the differential residual sequence as input and the original residual value as the prediction target. Specifically:

[0112] Input is That is, a historical difference residual window of length W, where W is a positive integer, preferably... More preferably, W=36;

[0113] The output is the predicted residual at the current time step. The conditional distribution parameters are used to record the residual mean estimate of the output for each forward propagation. and residual variance estimation .

[0114] S402: The structure of the Long Short-Term Memory network includes:

[0115] The input layer is used to receive differential residual window data of shape (1, W);

[0116] At least one long short-term memory layer, preferably one to two layers, each layer containing 32 to 128 hidden units;

[0117] Dropout layer, dropout rate set to The preferred value is 0.2;

[0118] Two parallel fully connected output heads: the first output head is used to output the residual mean estimate, and the second output head is used to output the residual logarithmic variance estimate.

[0119] S403: For each Long Short-Term Memory network, train it using the negative log-likelihood loss function:

[0120]

[0121] During training, a mini-batch stochastic gradient descent optimizer is used, preferably the Adam optimizer, with a learning rate set to 1×10⁻⁶. −4 Up to 5×10 −4 An early stopping strategy (patience = 10~20 rounds) is adopted to prevent overfitting.

[0122] Step S5: Perform probabilistic reasoning and uncertainty extraction based on Monte Carlo dropout method on the probabilistic long short-term memory network of step S4.

[0123] S501: During the inference phase, for the input feature vector of the test sample... This keeps all dropout layers in the Long Short-Term Memory network active, ensuring that the dropout mechanism is completely consistent with that used during the training phase.

[0124] S502: For the test sample, for each long short-term memory network Perform M random forward propagations, where M is a positive integer, preferably... More preferably, M=50. In each forward propagation, the dropout layer randomly generates a different set of binary masks, which are applied to the output of the network neurons, so that each forward propagation corresponds to a different network substructure.

[0125] S503: Record the output of the m-th forward propagation (m=1,2,…,M):

[0126] Residual mean predicted value:

[0127] Residual variance predicted values:

[0128] S504: Based on the predicted values ​​of M groups, calculate the following three statistics:

[0129] (1) Residual correction point estimation (expected value of residual mean):

[0130]

[0131] (2) Conditional cognitive uncertainty (uncertainty in residual corrected mean estimation):

[0132]

[0133] (3) Random uncertainty (expectation of inherent noise in the data):

[0134]

[0135] Step S6: Calculate marginal cognitive uncertainty.

[0136] S601: Based on the predicted values ​​of the symbolic model obtained in step S3 and the residual correction point estimates obtained in step S5, calculate the expected total predicted value for each ensemble member:

[0137] ,

[0138] S602: Calculate the average of the expected total forecast values ​​of all ensemble members, i.e., the final point forecast value:

[0139]

[0140] S603: The divergence in the computational integrated residual compensation symbolic model, i.e., marginal cognitive uncertainty:

[0141]

[0142] The marginal cognitive uncertainty characterizes the systematic divergence in the overall prediction between different symbolic models and their corresponding residual corrections, reflecting the uncertainty of the model's cognition of the underlying process laws.

[0143] S604: Calculating Cognitive Uncertainty Based on Sample Conditions

[0144]

[0145] S605: Calculate the random uncertainty of the sample:

[0146]

[0147] Step S7: Based on the law of total variance, fuse the total uncertainty and output the prediction results.

[0148] S701: Using the law of total variance, the marginal cognitive uncertainty obtained in step S603, the conditional cognitive uncertainty obtained in step S604, and the random uncertainty calculated in step S605 are additively fused to obtain the total prediction variance:

[0149]

[0150] S702: Obtained from step S602 As the predicted point value of the quality variable of the sample to be tested, the square root of the total prediction variance obtained in step S701. As the prediction standard deviation, a confidence level of is constructed. Prediction interval:

[0151]

[0152] in, For standard normal distribution Upper quantile; Preferably, The prediction interval corresponds to a 95% confidence level.

[0153] S703: Output the predicted value and prediction interval of the point for real-time estimation of quality variables, process monitoring and operation decision-making in industrial processes.

[0154] Example 1:

[0155] This embodiment uses the soft measurement of butane concentration at the bottom of a butane removal tower in the petroleum refining industry as an example to describe the method of the present invention in detail. This embodiment includes the following steps:

[0156] 1. Data acquisition and preprocessing.

[0157] Process state variable data and corresponding bottom butane concentration values ​​were collected from the industrial site of the butane removal tower. There are N training samples at various sampling times. Each sample contains d-dimensional process state variables (including top temperature, bottom temperature, top pressure, reflux flow rate, and temperature of each tray) and a one-dimensional mass variable (bottom butane concentration). Data cleaning and standardization were performed. The dataset was then divided into training, validation, and test sets in chronological order.

[0158] 2. Symbolic regression ensemble construction.

[0159] The symbolic regression algorithm PySR, based on multi-population evolutionary search, is used and run independently K times (K=10 in this embodiment). The input for each run is the normalized process state variable and the quality variable from the previous time step (d+1 dimensions in total), and the output is the target quality variable.

[0160] In each run, the symbolic regression algorithm generates a Pareto front containing multiple candidate algebraic expressions that weigh different trade-offs between prediction accuracy and expression complexity. The expression from the Pareto front that uses all d+1 input variables and has the smallest validation mean squared error is selected as the symbolic model for that run. If no expression using all input variables exists in the Pareto front, the expression using the most variables and having the smallest validation mean squared error is chosen.

[0161] After K independent runs, K symbolic models are obtained. This constitutes a symbolic regression ensemble. Each symbolic model is an analytical expression with explicit algebraic form, such as:

[0162]

[0163] In this embodiment, This represents the 6-dimensional process state variables of the input. This represents the mass variable value from the previous moment.

[0164] 3. Residual calculation and probabilistic long short-term memory network training.

[0165] For each sample in the training set, calculate the prediction residual of the k-th symbolic model:

[0166]

[0167] Perform a first-order difference transform on the residual sequence to obtain The sliding window of the differential residual sequence is used as the input to the long short-term memory network, and the original residual value is used as the prediction target.

[0168] For each symbolic model k, an independent Long Short-Term Memory (LSTM) network is constructed. The network structure is as follows: input layer (window length W=36), single-layer LSM layer (number of hidden units H=64), dropout layer (dropout rate p). drop =0.2), two parallel fully connected output heads (outputting the residual mean and log residual variance, respectively). The network is trained using the negative log-likelihood loss function:

[0169]

[0170] 4. Monte Carlo discarding reasoning and uncertainty extraction.

[0171] For the test samples, perform M random forward propagations (M=50 in this example) on each Long Short-Term Memory network, applying a different dropout mask each time. Record the residual mean estimate of the output of each forward propagation. and residual variance estimation .

[0172] Based on the M sets of predicted values, calculate:

[0173] Residual correction point estimation:

[0174] Conditional cognitive uncertainty:

[0175] Random uncertainty:

[0176] 5. Total uncertainty fusion and prediction output.

[0177] Calculate the expected total prediction value for each integration member:

[0178]

[0179] Calculate the final point prediction value:

[0180]

[0181] Calculate marginal cognitive uncertainty:

[0182]

[0183] Calculate the total conditional cognitive uncertainty:

[0184]

[0185] Calculate the total random uncertainty:

[0186]

[0187] Calculate the total prediction variance:

[0188]

[0189] Finally, with As the point prediction value, As the standard deviation of the forecast, construct the forecast interval at the 95% confidence level:

[0190]

[0191] 6. Implementation Results:

[0192] The results of point prediction and interval prediction were verified using actual industrial data from the butanizer tower. Figure 3 As shown in the attached diagram, the uncertainty separation is illustrated. Figure 4 As shown. The root mean square error of the method of the present invention is 0.01555, and the coefficient of determination R0 is... 2The accuracy was 0.99284, and the 95% prediction interval coverage was 0.95223 (close to the nominal confidence level of 0.95). All indicators were better than those of the single symbolic regression model, the single long short-term memory network model, and the deep ensemble model.

[0193] It should be noted that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A symbolic regression ensemble method for interpretable mixed prediction and uncertainty quantification, characterized in that, Includes the following steps: Step S1: Obtain measurable state variable data and corresponding historical mass variable data of the industrial process, and construct a training dataset; Step S2: Using a symbolic regression algorithm based on multi-population evolutionary search, the training dataset constructed in step S1 is used to run independently K times. The K selected symbolic models are then combined to form a symbolic regression ensemble. ; Step S3: Calculate the prediction residuals of the K symbolic models on each training sample; Step S4: Construct a corresponding probabilistic long short-term memory network for each symbolic model, using the historical window of the residual sequence as input and the current residual as the prediction target for training; Step S5: During the inference phase, perform M random forward propagations for each probabilistic long short-term memory network, and extract residual correction point estimates, conditional cognitive uncertainty, and accidental uncertainty based on M sets of predicted values. Step S6: Calculate the ensemble mean as the final point prediction value based on the expected total prediction value of each ensemble member, and calculate the marginal cognitive uncertainty; Step S7: Based on the law of total variance, marginal cognitive uncertainty, conditional cognitive uncertainty and accidental uncertainty are additively fused to obtain the total prediction variance, construct the prediction interval and output it.

2. The interpretable hybrid prediction and uncertainty quantification method of symbolic regression ensemble as described in claim 1, characterized in that, Step S1 includes: S101: Collect measurable state variable data and corresponding true values ​​of mass variables at multiple sampling times in the industrial process; S102: Construct the collected data into an original time series dataset according to the time order, and perform data cleaning operation on the original time series dataset; S103: Take the cleaned dataset, use the d-dimensional process state variables at the current time and the quality variable values ​​at the previous time as input feature vectors, and use the quality variable values ​​at the current time as output targets to construct a training sample set. S104: Divide the constructed training sample set into training set, validation set and test set in chronological order; S105: Perform standardization on the input feature vectors of the training set, and apply the same standardization transformation to the validation and test sets using the mean and variance parameters of the training set.

3. The interpretable hybrid prediction and uncertainty quantification method of symbolic regression ensemble as described in claim 1, characterized in that, Step S2 includes: S201: Employ the symbolic regression algorithm based on multi-population evolutionary search, using the training dataset constructed in step S1, set the algorithm parameters, and run it independently K times; S202: In each run, the symbolic regression algorithm searches for candidate algebraic expressions in the expression space composed of the operator set and the combination of input variables based on multi-population parallel evolution and expression tree mutation / crossover operations; after each generation of evolution, the algorithm evaluates the fitness of each candidate expression based on the weighted sum of the prediction mean square error and the expression complexity. S203: After each run, output the Pareto front. From the Pareto front, select the expression that satisfies the following conditions: it uses all d+1 dimensions of input feature vectors and has the smallest mean square error on the validation set; if there is no expression that uses all input features, select the expression that uses the most input features and has the smallest validation mean square error. S204: Combine the K symbolic models obtained from K independent runs to form a symbolic regression ensemble. .

4. The interpretable hybrid prediction and uncertainty quantification method of symbolic regression ensemble as described in claim 1, characterized in that, Step S3 includes: S301: For each sample t=1,2,…,N in the training set, calculate the predicted value using the K symbolic models obtained in step S2. ; S302: For the k-th symbolic model, calculate its prediction residual on each training sample: ; S303: Perform a stationarity test on the residual sequence of each symbolic model. If the residual sequence does not meet the stationarity condition, perform a first-order difference transformation on the residual sequence to obtain the differenced residual sequence: , ; Where N represents the total number of samples.

5. The interpretable hybrid prediction and uncertainty quantification method of symbolic regression ensemble as described in claim 4, characterized in that, In step S4, for each symbolic model k=1,2,…,K, a corresponding Long Short-Term Memory (LSTM) network is independently constructed, denoted as […]. The Long Short-Term Memory (LSTM) network uses a historical difference residual window of length W. As input, the original residual As a prediction objective, the network output includes residual mean estimates. and residual variance estimation .

6. The interpretable hybrid prediction and uncertainty quantification method of symbolic regression ensemble as described in claim 5, characterized in that, Step S5 includes: S501: During the inference phase, for the input feature vector of the test sample... Keep all dropout layers in the Long Short-Term Memory network active. S502: For the test sample, for each long short-term memory network Perform M random forward propagations; S503: Record the predicted residual mean value of the forward propagation output for the m-th, m=1,2,…,Mth propagation. and residual variance predicted values ; S504: Based on the M groups of predicted values, calculate respectively: Residual correction point estimation: ; Conditional cognitive uncertainty: ; Random uncertainty: 。 7. The interpretable hybrid prediction and uncertainty quantification method of symbolic regression ensemble as described in claim 6, characterized in that, Step S6 includes: S601: Calculate the expected total prediction value for each ensemble member: , ; S602: Calculate the predicted final point value: ; S603: Computing Marginal Cognitive Uncertainty: ; S604: Calculating Cognitive Uncertainty Based on Sample Conditions ; S605: Calculate the random uncertainty of the sample: 。 8. The interpretable hybrid prediction and uncertainty quantification method of symbolic regression ensemble as described in claim 7, characterized in that, Step S7 includes: S701: Using the law of total variance, the marginal cognitive uncertainty, conditional cognitive uncertainty, and accidental uncertainty obtained in step S6 are additively fused to obtain the total prediction variance: ; S702: Using the predicted value of the final point As the point prediction value of the quality variable of the sample to be tested, the square root of the total prediction variance is used. As the prediction standard deviation, a confidence level of is constructed. Prediction interval: ; in, For standard normal distribution Upper quantile; ; S703: Output the predicted value and prediction interval of the point.

9. The interpretable hybrid prediction and uncertainty quantification method of symbolic regression ensemble as described in claim 1, characterized in that, The measurable state variables include one or more of temperature, pressure, flow rate, liquid level, and component concentration, and the mass variables include the concentration of the product at the bottom of the distillation column, the concentration of pollutants in the tail gas of the sulfur recovery unit, or the concentration of nitrogen oxides in the flue gas emitted by the gas turbine.

10. The interpretable hybrid prediction and uncertainty quantification method of symbolic regression ensemble as described in claim 1, characterized in that, The method is applied to real-time estimation of quality variables, process monitoring, and decision support in industrial processes.