Multi-input multi-output soft measurement method and device and medium

By using a feature-interactive hybrid expert network model, the problem of information loss and error caused by inconsistent sampling frequencies and irregular sampling in multi-input multi-output soft measurement methods is solved, and high-precision online prediction of multiple quality variables is achieved.

CN121959494AActive Publication Date: 2026-05-01湖南工商大学

Patent Information

Application Number
CN202610437008.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-04-03
Publication Date
2026-05-01
Estimated Expiration
2046-04-03

AI Technical Summary

Technical Problem

Existing multi-input multi-output soft measurement methods are prone to information loss, time alignment errors, and negative task transfer when the sampling frequencies of different variables are inconsistent. This results in low prediction accuracy for multiple quality indicators and difficulty in handling irregular sampling phenomena.

Method used

A hybrid expert network model with feature interaction is adopted. The expert layer is pre-trained at multiple time scales for specific tasks through an asynchronous block training strategy. The output related feature interaction layer is optimized by quality-driven regularization and dynamic masking mechanism. The MLP output tower network is trained to adapt to the asynchronous structure with multiple sampling rates and to mine the historical cross-task shared interaction features of multiple quality variable prediction tasks.

Benefits of technology

It effectively mitigates information loss and time alignment errors, improves the accuracy and stability of online prediction of multiple quality variables, and enhances the prediction precision of multiple quality indicators.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121959494A_ABST
    Figure CN121959494A_ABST
Patent Text Reader

Abstract

The invention provides a multiple-input-multiple-output soft measurement method and device and a medium. The method comprises the steps that historical multi-sampling-rate process variable data and historical multi-quality variable data are acquired; obtaining a plurality of historical task specific features from the historical multi-sampling-rate process variable data; inputting the plurality of historical task specific features to obtain historical cross-task sharing interaction features; training according to the historical cross-task sharing interaction features, the plurality of historical task specific features and historical multi-quality variable data to obtain a trained feature interaction hybrid expert network model; and obtaining a plurality of online prediction results according to the trained feature interaction hybrid expert network model. According to the method, the device and the medium, the problems that information loss, time alignment errors and task negative migration are easily caused when different variable sampling frequencies are inconsistent in an existing multi-input multi-output soft measurement method, an irregular sampling phenomenon exists, and the prediction precision of multiple quality indexes is not high can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

A method, apparatus and medium for multiple input multiple output soft measurement Technical Field

[0001] This invention relates to the field of soft measurement technology in process industries, and in particular to a multi-input multi-output soft measurement method, device and medium. Background Technology

[0002] In modern process industries, the real-time and accurate measurement and monitoring of multiple key quality variables are crucial for effectively evaluating product performance, optimizing production processes, and maintaining safe production standards. However, key quality indicators in actual production are often difficult to detect online, while easily measurable process variables possess rich dynamic information. Softsensor technology has emerged to address this need. By establishing a mapping relationship between measurable process variables and difficult-to-measurable quality variables, it enables real-time estimation and prediction of quality indicators, and has become an important tool for industrial process monitoring and optimization control.

[0003] In process industries, products often possess multiple quality indicators that collectively represent product quality; therefore, Multiple-Input Multiple-Output (MIMO) soft sensor models have become a research focus. MIMO soft sensor models can simultaneously model the dynamic relationships between multiple input variables and multiple output quality indicators, improving the overall prediction accuracy and robustness of the model. However, existing MIMO soft sensor methods are mostly based on the assumption of a uniform sampling rate. When the sampling frequencies of different variables are inconsistent, problems such as information loss, time alignment errors, and negative task transfer can easily occur. Furthermore, due to differences in factors such as manual sampling cycles and equipment maintenance cycles, irregular sampling phenomena with unequal sampling intervals exist, limiting the application of the model in multi-rate irregular industrial data scenarios and resulting in low prediction accuracy for multiple quality indicators. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to address the above-mentioned shortcomings of the prior art by providing a multi-input multi-output soft measurement method, device and medium to solve the problems that existing multi-input multi-output soft measurement methods are prone to information loss, time alignment error and negative task migration when the sampling frequencies of different variables are inconsistent, as well as the existence of irregular sampling phenomena, which leads to low prediction accuracy of multiple quality indicators.

[0005] In a first aspect, the present invention provides a multi-input multi-output soft measurement method, comprising: acquiring historical multi-sampling rate process variable data and historical multi-quality variable data of a process industry; obtaining historical task-specific features corresponding to multiple quality variable prediction tasks from the historical multi-sampling rate process variable data based on a pre-built feature interaction hybrid expert network model with task-specific multi-timescale pre-trained expert layers, wherein the task-specific multi-timescale pre-trained expert layers are pre-trained using an asynchronous block training strategy; inputting the multiple historical task-specific features into an optimized output-related feature interaction layer of the feature interaction hybrid expert network model to obtain historical cross-task shared interaction features between multiple quality variable prediction tasks, wherein the optimized output-related feature interaction layer is optimized based on quality-driven regularization; training the MLP output tower network corresponding to multiple quality variable prediction tasks of the feature interaction hybrid expert network model through a dynamic masking mechanism based on the historical cross-task shared interaction features, multiple historical task-specific features, and historical multi-quality variable data to obtain the trained feature interaction hybrid expert network model; and obtaining online prediction results for multiple quality variable prediction tasks based on the trained feature interaction hybrid expert network model.

[0006] Furthermore, the task-specific multi-timescale pre-trained expert layer includes multiple pre-trained expert networks corresponding to multiple quality variable prediction tasks. Before obtaining historical task-specific features corresponding to multiple quality variable prediction tasks from historical multi-sampling rate process variable data, the method further includes: dividing the weight matrix of each expert network in the multiple expert networks into blocks according to the sampling rate to obtain each expert network after block division; and pre-training each expert network after block division according to historical multi-sampling rate process variable data to obtain the task-specific multi-timescale pre-trained expert layer.

[0007] Furthermore, before inputting multiple historical task-specific features into the optimized output-related feature interaction layer of the feature interaction hybrid expert network model to obtain historical cross-task shared interaction features among multiple quality variable prediction tasks, the method further includes: calculating the average correlation coefficient between each historical task-specific feature and each quality variable in the historical multi-quality variable data; and optimizing the output-related feature interaction layer through quality-driven regularization based on the average correlation coefficient between each historical task-specific feature and each quality variable in the historical multi-quality variable data to obtain the optimized output-related feature interaction layer, wherein each quality variable in the historical multi-quality variable data corresponds one-to-one with each quality variable prediction task.

[0008] Further, the step of training the MLP output tower network corresponding to multiple quality variable prediction tasks of the feature interaction hybrid expert network model through a dynamic masking mechanism based on the historical cross-task shared interaction features, multiple historical task-specific features, and historical multi-quality variable data to obtain the trained feature interaction hybrid expert network model specifically includes: for each quality variable prediction task, fusing the historical task-specific features corresponding to the quality variable prediction task with the historical cross-task shared interaction features through the MLP output tower network corresponding to the quality variable prediction task to obtain the fused features corresponding to the quality variable prediction task; and training the MLP output tower network corresponding to each quality variable prediction task using a dynamic masking loss function based on the fused features corresponding to each quality variable prediction task and the historical multi-quality variable data to obtain the trained feature interaction hybrid expert network model.

[0009] Furthermore, obtaining online prediction results for multiple quality variable prediction tasks based on the trained feature-interaction hybrid expert network model specifically includes: collecting real-time multi-sampling rate process variable data from the process industry; inputting the real-time multi-sampling rate process variable data into the trained feature-interaction hybrid expert network model to output online normalized prediction values ​​for multiple quality variable prediction tasks; and restoring the online normalized prediction values ​​for multiple quality variable prediction tasks to the online prediction results for multiple quality variable prediction tasks.

[0010] Further, the step of inputting the real-time multi-sampling rate process variable data into the trained feature interaction hybrid expert network model and outputting online normalized prediction values ​​for multiple quality variable prediction tasks specifically includes: inputting the real-time multi-sampling rate process variable data into the trained feature interaction hybrid expert network model; obtaining real-time task-specific features corresponding to multiple quality variable prediction tasks from the real-time multi-sampling rate process variable data through the task-specific multi-timescale pre-trained expert layer of the feature interaction hybrid expert network model; obtaining real-time cross-task shared interaction features between multiple quality variable prediction tasks based on the real-time task-specific features corresponding to multiple quality variable prediction tasks through the optimized output related feature interaction layer of the feature interaction hybrid expert network model; and outputting online normalized prediction values ​​for multiple quality variable prediction tasks based on the real-time cross-task shared interaction features and multiple real-time task-specific features through the MLP output tower network corresponding to multiple quality variable prediction tasks of the feature interaction hybrid expert network model.

[0011] Furthermore, after restoring the online normalized predicted values ​​of multiple quality variable prediction tasks to the online prediction results of multiple quality variable prediction tasks, the method further includes: displaying the online prediction results of multiple quality variable prediction tasks on a preset terminal.

[0012] Secondly, the present invention provides a multi-input multi-output soft measurement device, comprising: an acquisition module for acquiring historical multi-sampling rate process variable data and historical multi-quality variable data of a process industry; a first obtaining module connected to the acquisition module for obtaining historical task-specific features corresponding to multiple quality variable prediction tasks from the historical multi-sampling rate process variable data by pre-training an expert layer of a pre-constructed feature interaction hybrid expert network model at multiple time scales, wherein the task-specific multi-time scale pre-trained expert layer is pre-trained using an asynchronous block training strategy; and an input obtaining module connected to the first obtaining module for inputting the multiple historical task-specific features into the optimized output correlation of the feature interaction hybrid expert network model. A feature interaction layer obtains historical cross-task shared interaction features among multiple quality variable prediction tasks, wherein the optimized output-related feature interaction layer is based on quality-driven regularization optimization; a training module, connected to the input module, is used to train the MLP output tower network corresponding to multiple quality variable prediction tasks of the feature interaction hybrid expert network model through a dynamic masking mechanism based on the historical cross-task shared interaction features, multiple historical task-specific features, and historical multi-quality variable data, to obtain the trained feature interaction hybrid expert network model; a second obtaining module, connected to the training module, is used to obtain the online prediction results of multiple quality variable prediction tasks based on the trained feature interaction hybrid expert network model.

[0013] Thirdly, the present invention provides a multiple-input multiple-output (MIMO) soft measurement device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to implement the MIMO soft measurement method described in the first aspect above.

[0014] Fourthly, the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the multiple-input multiple-output soft measurement method described in the first aspect.

[0015] The multi-input multi-output soft measurement method, apparatus, and medium provided by this invention first acquire historical multi-sampling rate process variable data and historical multi-quality variable data from the process industry; based on a pre-built feature interaction hybrid expert network model with task-specific multi-timescale pre-trained expert layers, historical task-specific features corresponding to multiple quality variable prediction tasks are obtained from the historical multi-sampling rate process variable data, wherein the task-specific multi-timescale pre-trained expert layers are pre-trained using an asynchronous block training strategy; the multiple historical task-specific features are input into the optimized output-related feature interaction layer of the feature interaction hybrid expert network model to obtain historical cross-task shared interaction features between multiple quality variable prediction tasks, wherein the optimized output-related feature interaction layer is optimized based on quality-driven regularization; based on the historical cross-task shared interaction features, multiple historical task-specific features, and historical multi-quality variable data, the MLP output tower network corresponding to multiple quality variable prediction tasks of the feature interaction hybrid expert network model is trained through a dynamic masking mechanism to obtain the trained feature interaction hybrid expert network model; based on the trained feature interaction hybrid expert network model, online prediction results for multiple quality variable prediction tasks are obtained. This invention collects historical multi-sampling rate process variable data and historical multi-quality variable data from the process industry. It employs a task-specific multi-timescale pre-trained expert layer based on an asynchronous block training strategy, effectively adapting to the asynchronous structure of multi-sampling rates. It mines historical task-specific features corresponding to multiple quality variable prediction tasks from historical multi-sampling rate process variable data, avoiding information loss and time alignment errors. By utilizing a well-optimized output-related feature interaction layer incorporating quality-driven regularization, it inputs multiple historical task-specific features to capture historical cross-task shared interaction features between multiple quality variable prediction tasks, effectively mitigating negative transfer between tasks. Based on historical cross-task shared interaction features, multiple historical task-specific features, and historical multi-quality variable data, the invention achieves its goals. The system collects data and trains MLP output tower networks for multiple quality variable prediction tasks using a dynamic masking mechanism to handle irregular sampling problems. This results in a well-trained feature-interaction hybrid expert network model. Based on this model, online prediction results for multiple quality variable prediction tasks are obtained. This approach improves the accuracy and stability of online prediction for multiple quality variables without sacrificing the performance of high-sampling-rate variables, significantly enhancing the prediction accuracy of multiple quality indicators. It addresses the problems of existing multi-input multi-output soft measurement methods, which often suffer from information loss, time alignment errors, and negative task transfer when different variables have inconsistent sampling frequencies, as well as the existence of irregular sampling phenomena that lead to low prediction accuracy for multiple quality indicators. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of this drawing or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this drawing. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.

[0017] Figure 1 is a flowchart of a multi-input multi-output soft measurement method according to Embodiment 1 of the present invention; Figure 2 is a flowchart of another multi-input multi-output soft measurement method according to Embodiment 1 of the present invention; Figure 3 is a schematic diagram of multiple sampling rates of mass variables according to an embodiment of the present invention; Figure 4 is a schematic diagram of irregular sampling of mass variables according to an embodiment of the present invention; Figure 5 is a structural schematic diagram of the PFI-MoE model according to an embodiment of the present invention; Figure 6 is a box plot of the absolute value of prediction error of different algorithms at the initial boiling point of diesel according to an embodiment of the present invention; Figure 7 is a box plot of the absolute value of prediction error of different algorithms at the cetane index of diesel according to an embodiment of the present invention; Figure 8 is a structural schematic diagram of a multi-input multi-output soft measurement device according to Embodiment 2 of the present invention; Figure 9 is a structural schematic diagram of a multi-input multi-output soft measurement device according to Embodiment 3 of the present invention. Detailed Implementation

[0018] To enable those skilled in the art to better understand the technical solution of the present invention, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0019] It is understood that the specific embodiments and accompanying drawings described herein are merely for explaining the invention and are not intended to limit the invention.

[0020] It is understood that, without conflict, the various embodiments and features in the embodiments of the present invention can be combined with each other.

[0021] It is understood that, for ease of description, only the parts related to the present invention are shown in the accompanying drawings, while the parts unrelated to the present invention are not shown in the drawings.

[0022] It is understood that each unit or module involved in the embodiments of the present invention may correspond to only one entity structure, or may be composed of multiple entity structures, or multiple units or modules may be integrated into one entity structure.

[0023] It is understood that, without conflict, the functions and steps marked in the flowcharts and block diagrams of this invention may occur in a different order than that marked in the accompanying drawings.

[0024] It is understood that the flowcharts and block diagrams of this invention illustrate the possible architecture, functions, and operations of systems, apparatuses, devices, and methods according to various embodiments of this invention. Each block in the flowchart or block diagram may represent a unit, module, program segment, or code, containing executable instructions for implementing the specified function. Furthermore, each block or combination of blocks in the block diagram and flowchart can be implemented using a hardware-based system to achieve the specified function, or using a combination of hardware and computer instructions.

[0025] It is understood that the units and modules involved in the embodiments of the present invention can be implemented by software or by hardware. For example, the units and modules can be located in a processor.

[0026] Example 1: This example provides a multi-input multi-output soft measurement method, as shown in Figure 1. The method includes: Step S101: Acquire historical multi-sampling rate process variable data and historical multi-quality variable data of the process industry.

[0027] It should be noted that historical multi-sampling rate process variable data can refer to multiple historical process variables with different sampling frequencies collected during industrial production, and historical multi-quality variable data can refer to multiple historical quality variables used to characterize product quality collected during industrial production, corresponding to the aforementioned historical multi-sampling rate process variable data.

[0028] Specifically, historical multi-sampling rate process variable data and historical multi-quality variable data of the process industry system are collected, and the above data are preprocessed by normalization.

[0029] Step S102: Based on the pre-built feature interaction hybrid expert network model, the task-specific multi-timescale pre-trained expert layer is used to obtain historical task-specific features corresponding to multiple quality variables prediction tasks from historical multi-sampling rate process variable data. The task-specific multi-timescale pre-trained expert layer is pre-trained using an asynchronous block training strategy.

[0030] It should be noted that the historical task-specific features corresponding to multiple quality variable prediction tasks can refer to the features that are specifically related to each quality variable prediction task.

[0031] In an optional embodiment, the task-specific multi-timescale pre-trained expert layer includes multiple pre-trained expert networks corresponding to multiple quality variable prediction tasks. Before obtaining historical task-specific features corresponding to multiple quality variable prediction tasks from historical multi-sampling rate process variable data, the method further includes: dividing the weight matrix of each expert network in the multiple expert networks into blocks according to the sampling rate to obtain each expert network after block division; and pre-training each expert network after block division according to historical multi-sampling rate process variable data to obtain the task-specific multi-timescale pre-trained expert layer.

[0032] It should be noted that each expert network is built using a multi-timescale block autoencoder (MTB-SAE), which consists of an encoder and a decoder.

[0033] Specifically, to adapt to the multiple sampling rates of historical process variable data, the weight matrix of each MTB-SAE is divided into blocks according to the sampling rate. The core logic is to "dynamically adjust the weight update range according to the sampling rate", as shown in the following expression: ;in, Let be the weight matrix of the k-th expert network. This is the "active submatrix" of the k-th expert network (corresponding to the high sampling rate variable). This is the "frozen submatrix" of the k-th expert network (corresponding to the low sampling rate variable).

[0034] Specifically, using historical multi-rate process variable data as input, the expert network for each corresponding quality variable prediction task after block division is pre-trained. Each expert network learns and outputs historical task-specific features of the corresponding task through internal MTB-SAE. Assuming the input is... Let T be the number of samples, d be the number of process variables, and there are K quality variable prediction tasks. Each task will learn s features corresponding to a specific task from a pre-trained expert layer. Then, all task-specific features h output by the pre-trained expert layer are represented as: Where h represents all task-specific features output by the task-specific multi-timescale pre-trained expert layer. This represents the s-th specific task feature corresponding to the K-th task.

[0035] Each expert network Features (That is, the historical task-specific features corresponding to each quality variable prediction task) are obtained from the input x through MTB-SAE: ;in, For the first A multi-timescale autoencoder For the first A network of experts, For preprocessed process variables, the output is For the first Task-specific features of multi-timescale autoencoders.

[0036] The final combination of all pre-trained expert networks is the task-specific multi-timescale pre-trained expert layer.

[0037] It is worth mentioning that by constructing a task-specific multi-timescale pre-trained expert layer and adopting an asynchronous block training strategy, the traditional model's dependence on synchronous sampling of process variables is broken, and transient process features in multi-sampling rate data are preserved, providing high-quality task-specific features for subsequent use.

[0038] Step S103: Input multiple historical task-specific features into the optimized output-related feature interaction layer of the feature interaction hybrid expert network model to obtain historical cross-task shared interaction features between multiple quality variable prediction tasks, wherein the optimized output-related feature interaction layer is based on quality-driven regularization optimization.

[0039] It should be noted that historical cross-task shared interactive features can refer to historical features that can simultaneously reflect the correlation between multiple quality variable prediction tasks and are shared by all tasks.

[0040] In an optional embodiment, before inputting multiple historical task-specific features into the optimized output-related feature interaction layer of the feature interaction hybrid expert network model to obtain historical cross-task shared interaction features among multiple quality variable prediction tasks, the method further includes: calculating the average correlation coefficient between each historical task-specific feature and each quality variable in the historical multi-quality variable data; and optimizing the output-related feature interaction layer by quality-driven regularization based on the average correlation coefficient between each historical task-specific feature and each quality variable in the historical multi-quality variable data to obtain the optimized output-related feature interaction layer, wherein each quality variable in the historical multi-quality variable data corresponds one-to-one with each quality variable prediction task.

[0041] It should be noted that the preferred average correlation coefficient is the Spearman average correlation coefficient.

[0042] Specifically, for each historical task-specific feature output by the pre-trained expert layer at multiple time scales, the Spearman average correlation coefficient between the historical task-specific feature and each quality variable is calculated. Combined with the quality-driven regularization optimization parameters, the correlation of the module output is maximized, resulting in an optimized output related feature interaction layer that outputs historical cross-task shared interaction features.

[0043] Specifically, based on task-specific multi-timescale pre-trained expert layers, an output related feature interaction layer (ORFI layer) is designed, with the input being the feature set output by all expert networks. The output is cross-task shared interaction features. .

[0044] Specifically, this layer maps the task-specific features extracted from the lower layer (task-specific multi-timescale pre-trained expert layer) to a unified interaction space through a fully connected structure, and uses a quality-driven regularization mechanism to capture the process coupling correlation between different quality indicators. During the transformation process, the model dynamically adjusts the neuron connection weights based on the average correlation between the input variables and each prediction target (such as the Spearman correlation coefficient), aiming to strengthen common features across tasks and actively suppress redundant interference that leads to negative transfer. Finally, the expert representation is transformed into highly responsive cross-task shared interaction features, providing a precise collaborative information foundation for the upper output tower.

[0045] To uncover shared features across tasks and suppress interference from irrelevant features, a quality-driven regularization constraint is introduced, expressed as follows: ;in, The learning process of the network is adjusted by introducing correlation information between the input variables and multiple quality variables (i.e., regularization loss). The Output Related Feature Interaction Layer (ORFI) consists of multiple layers of neurons. express The number of variables (neuron nodes) in the layer (output layer of the lower-level task-specific multi-timescale pre-trained expert network (MTB-SAE)). The variable (neuron nodes) represents layer l (the hidden layer currently undergoing feature transformation), and α is a hyperparameter controlling the strength of regularization. yes The j-th variable of the layer (i.e., the j-th task-specific feature extracted from the bottom layer (task-specific multi-timescale pre-trained expert layer) and multiple quality variables The average Spearman correlation coefficient is used to measure the correlation between input and output variables. yes The connection weights from the i-th input neuron in layer l to the j-th hidden neuron in layer l.

[0046] Step S104: Based on the historical cross-task shared interaction features, multiple historical task-specific features, and historical multi-quality variable data, train the MLP output tower network corresponding to the multiple quality variable prediction tasks of the feature interaction hybrid expert network model through a dynamic masking mechanism to obtain the trained feature interaction hybrid expert network model.

[0047] Specifically, a dynamic masking mechanism is adopted, based on historical cross-task shared interaction features, multiple historical task-specific features, and historical multi-quality variable data, to train a multi-layer perceptron (MLP) output tower network configured for each quality variable prediction task, resulting in a trained feature interaction hybrid expert network (PFI-MoE) model.

[0048] In an optional embodiment, the step of training the MLP output tower network corresponding to multiple quality variable prediction tasks of the feature interaction hybrid expert network model through a dynamic masking mechanism based on the historical cross-task shared interaction features, multiple historical task-specific features, and historical multi-quality variable data to obtain the trained feature interaction hybrid expert network model specifically includes: for each quality variable prediction task, fusing the historical task-specific features corresponding to the quality variable prediction task with the historical cross-task shared interaction features through the MLP output tower network corresponding to the quality variable prediction task to obtain the fused features corresponding to the quality variable prediction task; and training the MLP output tower network corresponding to each quality variable prediction task using a dynamic masking loss function based on the fused features corresponding to each quality variable prediction task and the historical multi-quality variable data to obtain the trained feature interaction hybrid expert network model.

[0049] Specifically, an MLP output tower network is constructed, with each quality variable prediction task corresponding to an independent "dual-gated fusion + MLP prediction tower" structure. The dual-gated network includes task-specific expert gating. and ORFI layer gating After fusing task-specific features and cross-task shared interaction features through dual gating, each MLP output tower network is trained using a dynamic mask loss function based on each fused feature and historical multi-quality variable data, as follows: The fused features are input into the MLP prediction tower to obtain the predicted values ​​of the quality variables, as expressed below: ;in, For the output tower network corresponding to the k-th quality variable, For task k, a specific expert gating function, To output the gating function of the relevant feature interaction module, This represents the task-specific feature of the multi-timescale autoencoder corresponding to the k-th quality variable. This represents the shared features extracted by the output related feature interaction layer.

[0050] Because quality variables exhibit multiple sampling rates and irregular sampling characteristics, label values ​​for all tasks are not necessarily available at any given time. Traditional multi-task loss calculation methods often assume that all tasks have labels at every time step, which is clearly unsuitable in asynchronous sampling scenarios, easily introducing misleading gradients and affecting model convergence and generalization. To address this issue, a dynamic masking loss calculation mechanism was designed. Its core idea is to dynamically mask the loss term for each task based on the actual availability of labels, thus calculating only the loss corresponding to the task with the true label and avoiding invalid gradient propagation. Then, the model uses backpropagation to simultaneously transmit the gradient generated by the total loss back to the network parameters of all layers. In this way, the feature extraction capabilities of the expert layer and the sharing mechanism of the interaction layer are collaboratively adjusted according to the final prediction target.

[0051] The final result is a well-trained feature interaction hybrid expert network model.

[0052] It should be noted that the total loss is a weighted sum of the task loss (i.e., the dynamic masking loss function) and the quality-driven regularization loss, expressed as follows: ;in, This is a binary mask that indicates whether a label exists. The mask at time t is... : ; As the task weight, it is usually taken as... =1 / K, Let k be the loss function for task k. This is a regularization loss that suppresses the propagation of irrelevant features.

[0053] Step S105: Based on the trained feature interaction hybrid expert network model, obtain online prediction results for multiple quality variable prediction tasks.

[0054] In one optional embodiment, obtaining online prediction results for multiple quality variable prediction tasks based on the trained feature-interaction hybrid expert network model specifically includes: collecting real-time multi-sampling rate process variable data from the process industry; inputting the real-time multi-sampling rate process variable data into the trained feature-interaction hybrid expert network model to output online normalized prediction values ​​for multiple quality variable prediction tasks; and restoring the online normalized prediction values ​​for multiple quality variable prediction tasks to the online prediction results for multiple quality variable prediction tasks.

[0055] Specifically, multi-rate process variable data can be collected in real time using an industrial distributed control system (DCS) at the same sampling frequency as the training phase described above, to obtain real-time multi-rate process variable data, and then preprocessed.

[0056] Specifically, the real-time multi-sampling rate process variable data is input into the trained feature-interaction hybrid expert network model. The task-specific multi-timescale pre-trained expert layer of the feature-interaction hybrid expert network model obtains real-time task-specific features corresponding to multiple quality variable prediction tasks from the real-time multi-sampling rate process variable data. The optimized output-related feature interaction layer of the feature-interaction hybrid expert network model obtains real-time cross-task shared interaction features between multiple quality variable prediction tasks based on the real-time task-specific features corresponding to the multiple quality variable prediction tasks. Finally, the MLP output tower network corresponding to the multiple quality variable prediction tasks of the feature-interaction hybrid expert network model outputs online normalized prediction values ​​for multiple quality variable prediction tasks based on the real-time cross-task shared interaction features and the multiple real-time task-specific features. The specific process is as follows: The preprocessed... (That is, preprocessed real-time multi-sampling rate process variable data) is input into the converged PFI-MoE model, and sequentially passes through the bottom task-specific multi-timescale pre-trained expert layer, the middle output related feature interaction layer (optimized), and the upper MLP output tower network, performing forward propagation: bottom expert layer processing: K multi-timescale autoencoder expert networks (MTB-SAE) respectively process... Feature extraction is performed, and the task-specific features corresponding to each quality variable are output to obtain the feature set. (K is preferably 5), the feature extraction process expression is as follows: ;in, For the online prediction phase A network of experts, For the k-th multi-timescale autoencoder in the online prediction phase, This refers to the task-specific feature corresponding to the prediction task of the k-th quality variable in the online prediction phase.

[0057] Mid-level ORFI layer processing: based on feature set As input, cross-task feature interaction and filtering are performed through the Related Feature Interaction Layer (ORFI layer), outputting cross-task shared interactive features. (The online inference phase uses the ORFI layer parameters optimized during the training phase. This layer is subject to quality-driven regularization constraints during training, as shown in the formula.) ;in This is the quality-driven regularization term (i.e., regularization loss) for the online prediction phase.

[0058] Upper-level output tower processing: For each quality variable k, task-specific features and cross-task shared interaction features are first fused through a dual-gated network: Task-specific expert gating: For the k-th task, its gating function output is... ,right Weighted, with weights normalized using Softmax, the specific expression is: ;in, Let n be the number of experts and d be the input dimension, where n is the trainable parameter matrix. For input features.

[0059] ORFI layer gating: for The weights are then normalized using Softmax (in a manner consistent with task-specific expert gating). The dual-gated weighted fusion features are then input into the MLP tower to obtain the normalized predicted values ​​of the quality variables. As shown in the formula below: ;in, This is the MLP output tower network corresponding to the k-th quality variable in the online prediction stage (using a 3-layer fully connected structure with ReLU activation function in the hidden layers). For task k, a specific expert gating function, To output the gating function of the relevant feature interaction module, This represents the task-specific feature of the multi-timescale autoencoder corresponding to the k-th quality variable. This represents the shared features extracted by the output related feature interaction layer.

[0060] Specifically, through the reverse normalization operation, the normalized predicted values ​​are... The inverse normalization formula, which restores the actual physical quantities of the mass variables (i.e., the online prediction results of multiple mass variable prediction tasks), is as follows: ;in, , Let the k-th quality variable be the maximum and minimum values ​​in the historical data. This represents the final prediction result (i.e., the online prediction result) for the k-th quality variable.

[0061] In an optional embodiment, after restoring the online normalized predicted values ​​of multiple quality variable prediction tasks to the online prediction results of multiple quality variable prediction tasks, the method further includes: displaying the online prediction results of multiple quality variable prediction tasks on a preset terminal.

[0062] Specifically, the predicted values ​​of multiple quality variables after denormalization (i.e., the online prediction results of multiple quality variable prediction tasks) are displayed in real time on a preset terminal. The preset terminal is preferably a production monitoring terminal. At the same time, process thresholds for each quality variable can be preset. When the predicted value exceeds the threshold, the preset terminal can trigger an audible and visual warning to guide operators to adjust process parameters in a timely manner, thereby realizing online quality monitoring and process optimization of the industrial production process.

[0063] It is worth mentioning that the multi-input multi-output soft measurement method provided by this invention collects process variables and quality variables samples from the process industry at multiple sampling rates, constructs a pre-trained feature interaction hybrid expert network (PFI-MoE), and integrates multi-timescale pre-training, output-related feature interaction, and dynamic masking mechanisms to form a multi-input multi-output soft measurement method that adapts to asynchronous and irregular sampling. This method overcomes the shortcomings of traditional models, such as information loss due to reliance on time alignment, severe task negative transfer, and difficulty in handling irregular sampling. It can improve the prediction accuracy and stability of low-sampling-rate or weakly correlated quality variables without sacrificing the performance of high-sampling-rate variables. This invention constructs a multi-timescale pre-training layer (i.e., a task-specific multi-timescale pre-trained expert layer), an output-related feature interaction layer, and an MLP output tower network to form a pre-trained feature interaction hybrid expert network (PFI-MoE), solving the problems of multi-sampling-rate time alignment, severe task negative transfer, and irregular sampling, and improving the prediction accuracy of multiple quality indicators.

[0064] In a specific embodiment, as shown in Figure 2, this embodiment provides a multi-input multi-output soft measurement method based on a feature-interactive hybrid expert network for multi-quality variable multi-sampling rate MIMO soft measurement. This multi-input multi-output soft measurement method specifically includes: S1: collecting multi-sampling rate process variables and multi-quality variable data from the process industry, and performing normalization preprocessing on the sample data; S2: constructing a task-specific multi-timescale pre-trained expert layer (bottom layer), composed of multiple expert networks targeting different quality variables, pre-trained using an asynchronous block training strategy, thereby endowing each expert with robust modeling capabilities for the timescale corresponding to its target task, solving the asynchronous sampling adaptation problem of process variables through pre-training, and obtaining pre-trained features; S3: constructing output-related features... The first layer (middle layer) introduces an Output Related Feature Interaction Module (ORFI) and combines it with quality-driven regularization to optimize parameters. It calculates the Spearman average correlation coefficient between pre-trained features and quality variables, constrains the module output to maximize correlation, and obtains the interaction features. The second layer (upper layer, i.e., the MLP output tower network) is constructed, configuring a multilayer perceptron (MLP) output tower network for each quality variable. Two gating functions are designed to weight the pre-trained features and interaction features respectively, and a dynamic mask loss function is used for end-to-end training to obtain the Pre-trained Feature Interaction Hybrid Expert (PFI-MoE) model. The third layer (S5) inputs the process variables collected in real-time from the industrial site into the trained PFI-MoE model, performs forward propagation, and outputs online prediction results for multiple quality variables.

[0065] In another specific embodiment, this embodiment provides a multi-input multi-output soft measurement method, which performs multi-mass variable multi-sampling rate MIMO soft measurement based on a pre-trained feature interaction hybrid expert network (PFI-MoE) to solve problems such as information loss, time alignment error and negative task transfer when the sampling frequencies of different variables are inconsistent as shown in Figure 3 (taking multi-sampling rate of mass variables as an example), and the difficulty in handling irregular sampling phenomena with unequal sampling intervals as shown in Figure 4 (taking irregular sampling of mass variables as an example). This method is suitable for online estimation scenarios of multi-mass variables in process industries, and may specifically include the following steps: S11: Collect multi-sampling rate process variable data and multi-mass variable data (historical data) of process industry systems, and perform normalization preprocessing on the data.

[0066] Specifically, the mass variable data sample of the hydrocracking process is defined as... ,in Indicates the number of consecutive time steps. Indicates the number of quality variables; process variable data samples are defined as follows: ,in Indicates the number of process variables. This represents the number of sampling frequency categories for the process variable.

[0067] In the hydrocracking production scenario, after continuously collecting 1000 days of historical data, Min-Max normalization was used to map all process variables and quality variables to... The interval, normalized expression is: ;in, This is the original data. , This represents the maximum or minimum value of the variable in 1000 days of historical data. The preprocessed data is divided into training, validation, and test sets. The data from the first 750 days is used for model training and validation (600 days for training and 150 days for validation), and the data from the last 250 days is used as the test set.

[0068] S12: Specifically, by constructing a bottom layer (task-specific multi-timescale pre-trained expert layer) and adopting an asynchronous block training strategy, the dependence of traditional models on synchronous sampling of process variables is broken, and transient process features in multi-sampling rate data are preserved, providing high-quality task-specific features for subsequent mid-level feature interaction. The specific implementation method is as follows: Step 1: Each expert network is built using a multi-timescale block autoencoder (MTB-SAE), which includes an encoder and a decoder. The structural parameters and functions are as follows: Encoder: A 3-layer fully connected network is used. The input dimension is "the process variable subset dimension that adapts to the quality variable" (selected according to the process mechanism: distillation range variables such as diesel initial boiling point, heavy naphtha 90% recovery temperature / final boiling point correspond to 22-dimensional process variables; sulfur content variables correspond to 20-dimensional process variables). The process variables are 43 in total, including 15 samples taken at 1 hour, 10 samples taken at 3 hours, 10 samples taken at 4 hours, and 8 samples taken at 6 hours. The number of neurons in each layer is "input dimension → 64 → 32 → 16", and the activation function is uniformly ReLU, used to extract deep time-scale features of the process variables with multiple sampling rates (such as high-frequency transient features of the 1-hour sample variable and low-frequency steady-state features of the 6-hour sample variable). Decoder: A 3-layer fully connected network is used, with the input dimension being the encoder output dimension of 16. The number of neurons in each layer is "16 → 32 → 64 → input dimension", and the activation function is uniformly Sigmoid, used to reconstruct the process variables to verify the effectiveness of feature extraction and ensure that the extracted features can be back-mapped to the original process variable distribution. Step 2: To adapt to the multiple sampling rates (1 hour, 3 hours, 4 hours, 6 hours) of the 43 process variables, the weight matrix of each MTB-SAE is divided into blocks according to the sampling rate. The core logic is "dynamically adjusting the weight update range according to the sampling rate", and the expression is as follows: ;in, Let be the weight matrix of the k-th expert network. This is the "active submatrix" (corresponding to high sampling rate variables for 1 hour and 3 hours, dynamically updated in each round of training). For the "frozen submatrix" (corresponding to 4-hour and 6-hour low sampling rate variables, updated only when new sampling data is available for this variable, and maintaining the historical state at other times); Step 3: Assume the input is Let T be the number of samples and d be the number of process variables. There are K quality variable prediction tasks, and each task will learn s features corresponding to a specific task from a pre-trained expert layer. Let represent the task-specific feature of the k-th expert for the j-th task. Then, all task-specific features h output by the pre-trained expert layer are represented as: ; among them, each expert network Features Obtained from input x via MTB-SAE: ;in, For the first A multi-timescale autoencoder For preprocessed process variables, output Task-specific characteristics.

[0069] S13: Based on task-specific multi-timescale pre-trained expert layers, design a (mid-layer) output related feature interaction layer (ORFI layer), with the input being the feature set output by all expert networks. The output is cross-task shared interaction features. To uncover shared features across tasks and suppress interference from irrelevant features, a quality-driven regularization constraint is introduced, expressed as follows: ;in The learning process of the network can be adjusted by incorporating correlation information between input variables and multiple quality variables. yes Number of variables in a layer α is the number of variables in layer l, and α is a hyperparameter that controls the strength of regularization. yes The j-th variable of layer and multiple quality variables The average Spearman correlation coefficient is used to measure the correlation between input and output variables. yes The connection weights from the i-th input neuron in layer l to the j-th hidden neuron in layer l.

[0070] S14: Construct the upper layer (MLP output tower network), with each quality variable corresponding to an independent "dual-gated fusion + MLP prediction tower" structure. The dual-gated network includes task-specific expert gating. and ORFI layer gating After fusing task-specific features and cross-task shared interaction features through dual gating, the predicted values ​​of the quality variables are obtained by inputting them into the MLP prediction tower, as shown in the following expression: ;in, For the output tower network corresponding to the k-th quality variable, For task k, a specific expert gating function, This is a gate function for outputting relevant feature interaction modules.

[0071] The total loss, which is a weighted sum of task loss and quality-driven regularization loss, is expressed as follows: ;in As the task weight, it is usually taken as... =1 / K, For the first One mean square error This is a regularization loss that suppresses the propagation of irrelevant features.

[0072] S15: Input the process variables collected in real time from the industrial site into the trained PFI-MoE model, perform forward propagation, and output the online prediction results of multiple quality variables.

[0073] Specifically, this step is based on the converged PFI-MoE model to perform online inference on the multi-sampling rate process variables collected in real time at the industrial site, and output the predicted values ​​of the actual physical quantities of the multi-mass variables. The implementation process is as follows: Step 1: Real-time process variable acquisition and preprocessing. Through the industrial distributed control system (DCS), 43 process variable data of the hydrocracking unit are collected in real time at the same sampling frequency (1 hour, 3 hours, 4 hours, 6 hours) as in the offline training stage.

[0074] The same Min-Max normalization method as in step S11 is used (based on the minimum value of the variable obtained from 1000 days of historical data). Maximum value Mapping real-time process variable data to The interval is used to obtain the preprocessed real-time process variable matrix. .

[0075] Step 2: Forward propagation inference of the PFI-MoE model will transfer the preprocessed data... The input PFI-MoE model, after training and convergence, is sequentially passed through a bottom-level task-specific multi-timescale pre-trained expert layer, a middle-level output-related feature interaction layer, and an upper-level MLP output tower network for forward propagation. The PFI-MoE model structure is shown in Figure 5. Bottom-level expert layer processing: K multi-timescale autoencoder expert networks (MTB-SAE) respectively process... Feature extraction is performed, and the task-specific features corresponding to each quality variable are output to obtain the feature set. (In this embodiment, K=5), the feature extraction process expression is as follows: ;in, For the k-th multi-timescale autoencoder, Specific features for the 32-dimensional output task.

[0076] Mid-level ORFI layer processing: based on feature set Using the relevant feature interaction layer (ORFI layer) as input, cross-task feature interaction and filtering are performed, outputting 32-dimensional cross-task shared interaction features. (The online inference phase uses the ORFI layer parameters optimized during the training phase. This layer is subject to quality-driven regularization constraints during training, as shown in the formula.) Upper-level output tower processing: For each quality variable k, first fuse task-specific features and cross-task shared interactive features through a dual-gated network: Task-specific expert gating: for (Corresponding to the k-th task) Weighted, with weights normalized using Softmax, as shown in the following expression: ORFI layer gating: for The weights are then normalized using Softmax (in a manner consistent with task-specific expert gating). The dual-gated weighted fusion features are then input into the MLP tower to obtain the normalized predicted values ​​of the quality variables. As shown in the formula below: ;in, The output tower of the MLP corresponding to the k-th quality variable (using a 3-layer fully connected structure, with the hidden layer activation function being ReLU).

[0077] Step 3: Inverse normalization of prediction results and industrial applications. Through inverse normalization, the normalized prediction values ​​are converted to industrial values. The inverse normalization formula for the actual physical quantity reduced to a mass variable is: ;in, , These are the maximum and minimum values ​​of the k-th quality variable in 1000 days of historical data.

[0078] The predicted values ​​of multiple mass variables after denormalization (such as the initial boiling point of diesel) are displayed in real time on the production monitoring terminal. At the same time, process thresholds for each mass variable can be preset. When the predicted value exceeds the threshold, the monitoring terminal triggers an audible and visual alarm to guide operators to adjust process parameters in a timely manner (such as adjusting the reactor inlet temperature and optimizing the catalyst injection amount), thereby realizing online quality monitoring and process optimization of the hydrocracking production process.

[0079] The dataset used in this invention comes from the full-cycle monitoring of diesel products during the actual production process of hydrocracking, with a total collection period of 1000 consecutive days. To eliminate the interference of dimensional differences on model training, all process variables and quality variables are normalized to the [0,1] interval. The data is divided according to the scientific ratio of "training-validation-testing", that is, 600 days of data are used as the training set, 150 days of data are used as the validation set, and 250 days of data are used as the independent test set, which are respectively used for model parameter learning, hyperparameter optimization, and generalization ability verification. Among them, there are 43 process variables, which comprehensively cover the reactor operating status and key process parameters. They are collected at different sampling intervals: 15 variables are sampled every 1 hour (a total of 24,000 samples), 10 variables are sampled every 3 hours (a total of 8,000 samples, including parameters such as feed flow rate and hydrogen-to-oil ratio), 10 variables are sampled every 4 hours (a total of 6,000 samples, including indicators such as cooling water temperature and circulating hydrogen purity), and 8 variables are sampled every 6 hours (a total of 4,000 samples, including parameters such as product separation tower level and reflux flow rate). Because the sampling frequency of process variables is significantly higher than that of mass variables, it is necessary to adapt the sampling time of mass variables through resampling to ensure the correspondence between input and output data. The quality variables focus on core performance indicators of diesel fuel, including the initial boiling point (reflecting the content of light components and affecting evaporation and low-temperature start-up performance, sampled at 12-hour intervals, collected at 8:00 and 20:00 daily, with a total of 2000 valid samples) and the cetane index (measuring ignition performance and related to engine combustion efficiency, sampled at 24-hour intervals, collected at 8:00 daily, with a total of 1000 valid samples). This dataset is used to validate the performance of the proposed pre-trained feature interaction hybrid expert network (PFI-MoE) in the collaborative prediction of multiple quality variables of diesel fuel in multi-sampling rate scenarios.

[0080] Table 1 aims to verify the effectiveness of the proposed Pre-trained Feature Interaction Hybrid Expert Network (PFI-MoE) in multi-sample rate multiple-input multiple-output (MIMO) soft measurement tasks in the process industry. The experiment focuses on the prediction scenario of key quality indicators for diesel fuel in the hydrocracking process, using the initial boiling point of diesel fuel sampled over 12 hours and the cetane index of diesel fuel sampled over 24 hours as target variables, with 43 multi-sample rate process variables as inputs. The data were mapped to the [0,1] interval after Min-Max normalization and divided into 75% and 25% segments. To address the issue that single-task models cannot handle asynchronous data, the inputs were downsampled to align with the sampling times of the quality variables.

[0081] The comparison models cover single-task methods (PLS, SAE, LSTM, TCN, independently predicting a single indicator, serving as the baseline) and multi-task methods (MT-SAE / MT-LSTM / MT-TCN hard-shared models, MMoE gated models, simultaneously predicting two indicators). Root mean square error (RMSE, lower values ​​indicate higher accuracy) and coefficient of determination (R², closer to 1 indicates stronger fitting ability) are used to evaluate performance. Results show that among traditional single-task models, TCN performs best but cannot utilize cross-task information; traditional multi-task models generally suffer from a "seesaw effect"; while MMoE mitigates interference through gating, it does not adapt to multiple sampling rates, and its performance remains limited. The PFI-MoE algorithm of this application achieves optimal results in both metrics: diesel initial boiling point RMSE 0.0495 (a 15.2% reduction compared to MMoE) and R² 0.7593 (a 14.2% improvement); diesel cetane index RMSE 0.0929 (a 12.5% ​​reduction) and R² 0.7019 (a 15.0% improvement), with no negative migration issues. This fully demonstrates its technical advantages in multi-sampling rate adaptation, task interference mitigation, and prediction accuracy, providing crucial data support for industrial applications. Box plots of the absolute values ​​of prediction errors for diesel initial boiling point and diesel cetane index using different algorithms are shown in Figures 6 and 7. Detailed performance data are shown in Table 1.

[0082] Table 1: Performance comparison of different baseline methods and the PFI-MoE model

[0083] It is worth mentioning that this method employs a task-specific multi-timescale pre-trained expert network based on MTB-SAE (combined with an asynchronous weight block update strategy), which effectively adapts to the asynchronous structure of multiple sampling rates of quality variables and mines process data features at different time scales. At the same time, it utilizes an output-related feature interaction mechanism (incorporating quality-driven regularization) to capture potential shared representations among multiple quality variables and alleviate negative transfer between tasks. Furthermore, it uses dynamic mask loss calculation to handle the irregular sampling problem of quality variables. Finally, it obtains a multi-input multi-output (MIMO) soft measurement method based on a pre-trained feature interaction hybrid expert network (PFI-MoE), which helps to improve the accuracy and stability of online prediction of multiple quality variables such as diesel initial boiling point and diesel cetane index in hydrocracking industrial systems.

[0084] The multi-input multi-output soft measurement method provided in this invention first acquires historical multi-sampling rate process variable data and historical multi-quality variable data from the process industry; based on the task-specific multi-timescale pre-trained expert layer of the pre-constructed feature interaction hybrid expert network model, historical task-specific features corresponding to multiple quality variable prediction tasks are obtained from the historical multi-sampling rate process variable data, wherein the task-specific multi-timescale pre-trained expert layer is pre-trained using an asynchronous block training strategy; the multiple historical task-specific features are input into the optimized output-related feature interaction layer of the feature interaction hybrid expert network model to obtain historical cross-task shared interaction features between multiple quality variable prediction tasks, wherein the optimized output-related feature interaction layer is optimized based on quality-driven regularization; based on the historical cross-task shared interaction features, multiple historical task-specific features, and historical multi-quality variable data, the MLP output tower network corresponding to multiple quality variable prediction tasks of the feature interaction hybrid expert network model is trained through a dynamic masking mechanism to obtain the trained feature interaction hybrid expert network model; based on the trained feature interaction hybrid expert network model, the online prediction results of multiple quality variable prediction tasks are obtained. This invention collects historical multi-sampling rate process variable data and historical multi-quality variable data from the process industry. It employs a task-specific multi-timescale pre-trained expert layer based on an asynchronous block training strategy, effectively adapting to the asynchronous structure of multi-sampling rates. It mines historical task-specific features corresponding to multiple quality variable prediction tasks from historical multi-sampling rate process variable data, avoiding information loss and time alignment errors. By utilizing a well-optimized output-related feature interaction layer incorporating quality-driven regularization, it inputs multiple historical task-specific features to capture historical cross-task shared interaction features between multiple quality variable prediction tasks, effectively mitigating negative transfer between tasks. Based on historical cross-task shared interaction features, multiple historical task-specific features, and historical multi-quality variable data, the invention achieves its goals. The system collects data and trains MLP output tower networks for multiple quality variable prediction tasks using a dynamic masking mechanism to handle irregular sampling problems. This results in a well-trained feature-interaction hybrid expert network model. Based on this model, online prediction results for multiple quality variable prediction tasks are obtained. This approach improves the accuracy and stability of online prediction for multiple quality variables without sacrificing the performance of high-sampling-rate variables, significantly enhancing the prediction accuracy of multiple quality indicators. It addresses the problems of existing multi-input multi-output soft measurement methods, which often suffer from information loss, time alignment errors, and negative task transfer when different variables have inconsistent sampling frequencies, as well as the existence of irregular sampling phenomena that lead to low prediction accuracy for multiple quality indicators.

[0085] Example 2: As shown in Figure 8, this example provides a multi-input multi-output (MIMO) soft measurement device for executing the above-described MIMO soft measurement method, including: an acquisition module 11 for acquiring historical multi-sampling rate process variable data and historical multi-quality variable data of the process industry; a first obtaining module 12, connected to the acquisition module 11, for obtaining historical task-specific features corresponding to multiple quality variable prediction tasks from the historical multi-sampling rate process variable data based on a pre-built feature interaction hybrid expert network model with task-specific multi-timescale pre-trained expert layers, wherein the task-specific multi-timescale pre-trained expert layers are pre-trained using an asynchronous block training strategy; and an input obtaining module 13, connected to the first obtaining module 12, for inputting the multiple historical task-specific features into the feature interaction hybrid expert network model. The optimized output-related feature interaction layer of the home network model is used to obtain historical cross-task shared interaction features between multiple quality variable prediction tasks. The optimized output-related feature interaction layer is based on quality-driven regularization optimization. The training module 14, connected to the input module 13, is used to train the MLP output tower network corresponding to multiple quality variable prediction tasks of the feature interaction hybrid expert network model through a dynamic masking mechanism based on the historical cross-task shared interaction features, multiple historical task-specific features, and historical multi-quality variable data, to obtain the trained feature interaction hybrid expert network model. The second module 15, connected to the training module 14, is used to obtain the online prediction results of multiple quality variable prediction tasks based on the trained feature interaction hybrid expert network model.

[0086] Furthermore, the task-specific multi-timescale pre-trained expert layer includes multiple pre-trained expert networks corresponding to multiple quality variable prediction tasks. The device further includes: a block-based acquisition module, used to divide the weight matrix of each expert network in the multiple expert networks into blocks according to the sampling rate, to obtain each expert network after block-based acquisition; and a pre-training acquisition module, used to pre-train each expert network after block-based acquisition based on historical multi-sampling rate process variable data, to obtain the task-specific multi-timescale pre-trained expert layer.

[0087] Furthermore, the device further includes: a calculation module for calculating the average correlation coefficient between each historical task-specific feature and each quality variable in the historical multi-quality variable data; and an optimization module for optimizing the output related feature interaction layer by quality-driven regularization based on the average correlation coefficient between each historical task-specific feature and each quality variable in the historical multi-quality variable data, to obtain the optimized output related feature interaction layer, wherein each quality variable in the historical multi-quality variable data corresponds one-to-one with each quality variable prediction task.

[0088] Further, the training module 14 specifically includes: a fusion unit, used to fuse the historical task-specific features and the historical cross-task shared interaction features corresponding to each quality variable prediction task through the MLP output tower network corresponding to the quality variable prediction task, to obtain the fused features corresponding to the quality variable prediction task; and a training unit, used to train the MLP output tower network corresponding to each quality variable prediction task using a dynamic mask loss function based on the fused features corresponding to each quality variable prediction task and historical multi-quality variable data, to obtain the trained feature interaction hybrid expert network model.

[0089] Furthermore, the second obtaining module 15 specifically includes: a collection unit for collecting real-time multi-sampling rate process variable data of the process industry; an input-output unit for inputting the real-time multi-sampling rate process variable data into the trained feature interaction hybrid expert network model and outputting online normalized prediction values ​​for multiple quality variable prediction tasks; and a restoration unit for restoring the online normalized prediction values ​​of multiple quality variable prediction tasks to the online prediction results of multiple quality variable prediction tasks.

[0090] Further, the input / output unit is specifically used for: inputting the real-time multi-sampling rate process variable data into the trained feature interaction hybrid expert network model; obtaining real-time task-specific features corresponding to multiple quality variable prediction tasks from the real-time multi-sampling rate process variable data through the task-specific multi-timescale pre-trained expert layer of the feature interaction hybrid expert network model; obtaining real-time cross-task shared interaction features between multiple quality variable prediction tasks based on the real-time task-specific features corresponding to multiple quality variable prediction tasks through the optimized output related feature interaction layer of the feature interaction hybrid expert network model; and outputting online normalized prediction values ​​of multiple quality variable prediction tasks based on the real-time cross-task shared interaction features and multiple real-time task-specific features through the MLP output tower network corresponding to multiple quality variable prediction tasks of the feature interaction hybrid expert network model.

[0091] Furthermore, the second obtaining module 15 also includes a display unit, used to display the online prediction results of multiple quality variable prediction tasks in a preset terminal.

[0092] Example 3: Referring to FIG9, this example provides a multiple-input multiple-output soft measurement device, including a memory 21 and a processor 22. The memory 21 stores a computer program, and the processor 22 is configured to run the computer program to execute the multiple-input multiple-output soft measurement method in Example 1.

[0093] The memory 21 is connected to the processor 22. The memory 21 can be a flash memory, a read-only memory or other memory, and the processor 22 can be a central processing unit or a microcontroller.

[0094] Example 4: This example provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the multiple-input multiple-output soft measurement method described in Example 1 above.

[0095] The computer-readable storage medium includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, computer program modules or other data. Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other memory technologies, CD-ROM (Compact Disc Read-Only Memory), DVD or other optical disc storage, cartridges, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer.

[0096] In summary, the multi-input multi-output soft measurement method, apparatus, and medium provided in this embodiment of the invention first acquire historical multi-sampling rate process variable data and historical multi-quality variable data from the process industry; based on the task-specific multi-timescale pre-trained expert layer of the pre-constructed feature interaction hybrid expert network model, historical task-specific features corresponding to multiple quality variable prediction tasks are obtained from the historical multi-sampling rate process variable data, wherein the task-specific multi-timescale pre-trained expert layer is pre-trained using an asynchronous block training strategy; the multiple historical task-specific features are input into the optimized output-related feature interaction layer of the feature interaction hybrid expert network model to obtain historical cross-task shared interaction features between multiple quality variable prediction tasks, wherein the optimized output-related feature interaction layer is optimized based on quality-driven regularization; based on the historical cross-task shared interaction features, multiple historical task-specific features, and historical multi-quality variable data, the MLP output tower network corresponding to multiple quality variable prediction tasks of the feature interaction hybrid expert network model is trained through a dynamic masking mechanism to obtain the trained feature interaction hybrid expert network model; based on the trained feature interaction hybrid expert network model, online prediction results for multiple quality variable prediction tasks are obtained. This invention collects historical multi-sampling rate process variable data and historical multi-quality variable data from the process industry. It employs a task-specific multi-timescale pre-trained expert layer based on an asynchronous block training strategy, effectively adapting to the asynchronous structure of multi-sampling rates. It mines historical task-specific features corresponding to multiple quality variable prediction tasks from historical multi-sampling rate process variable data, avoiding information loss and time alignment errors. By utilizing a well-optimized output-related feature interaction layer incorporating quality-driven regularization, it inputs multiple historical task-specific features to capture historical cross-task shared interaction features between multiple quality variable prediction tasks, effectively mitigating negative transfer between tasks. Based on historical cross-task shared interaction features, multiple historical task-specific features, and historical multi-quality variable data, the invention achieves its goals. The system collects data and trains MLP output tower networks for multiple quality variable prediction tasks using a dynamic masking mechanism to handle irregular sampling problems. This results in a well-trained feature-interaction hybrid expert network model. Based on this model, online prediction results for multiple quality variable prediction tasks are obtained. This approach improves the accuracy and stability of online prediction for multiple quality variables without sacrificing the performance of high-sampling-rate variables, significantly enhancing the prediction accuracy of multiple quality indicators. It addresses the problems of existing multi-input multi-output soft measurement methods, which often suffer from information loss, time alignment errors, and negative task transfer when different variables have inconsistent sampling frequencies, as well as the existence of irregular sampling phenomena that lead to low prediction accuracy for multiple quality indicators.

[0097] It is understood that the above embodiments are merely exemplary implementations used to illustrate the principles of the present invention, and the present invention is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.

Claims

1. A multiple-input multiple-output soft measurement method, characterized in that, The method includes: acquiring historical multi-sampling rate process variable data and historical multi-quality variable data of the process industry; obtaining historical task-specific features corresponding to multiple quality variable prediction tasks from the historical multi-sampling rate process variable data based on the task-specific multi-timescale pre-trained expert layer of the pre-constructed feature interaction hybrid expert network model, wherein the task-specific multi-timescale pre-trained expert layer is pre-trained using an asynchronous block training strategy; inputting the multiple historical task-specific features into the optimized output-related feature interaction layer of the feature interaction hybrid expert network model to obtain historical cross-task shared interaction features between multiple quality variable prediction tasks, wherein the optimized output-related feature interaction layer is optimized based on quality-driven regularization; training the MLP output tower network corresponding to multiple quality variable prediction tasks of the feature interaction hybrid expert network model through a dynamic masking mechanism based on the historical cross-task shared interaction features, multiple historical task-specific features, and historical multi-quality variable data to obtain the trained feature interaction hybrid expert network model; and obtaining online prediction results for multiple quality variable prediction tasks based on the trained feature interaction hybrid expert network model.

2. The method according to claim 1, characterized in that, The task-specific multi-timescale pre-trained expert layer includes multiple pre-trained expert networks corresponding to multiple quality variable prediction tasks. Before obtaining historical task-specific features corresponding to multiple quality variable prediction tasks from historical multi-sampling rate process variable data, the method further includes: dividing the weight matrix of each expert network in the multiple expert networks into blocks according to the sampling rate to obtain each expert network after block division; and pre-training each expert network after block division according to historical multi-sampling rate process variable data to obtain the task-specific multi-timescale pre-trained expert layer.

3. The method according to claim 1, characterized in that, Before inputting multiple historical task-specific features into the optimized output-related feature interaction layer of the feature interaction hybrid expert network model to obtain historical cross-task shared interaction features among multiple quality variable prediction tasks, the method further includes: calculating the average correlation coefficient between each historical task-specific feature and each quality variable in the historical multi-quality variable data; and optimizing the output-related feature interaction layer through quality-driven regularization based on the average correlation coefficient between each historical task-specific feature and each quality variable in the historical multi-quality variable data to obtain the optimized output-related feature interaction layer, wherein each quality variable in the historical multi-quality variable data corresponds one-to-one with each quality variable prediction task.

4. The method according to claim 1, characterized in that, The step of training the MLP output tower network corresponding to multiple quality variable prediction tasks of the feature interaction hybrid expert network model using a dynamic masking mechanism based on the historical cross-task shared interaction features, multiple historical task-specific features, and historical multi-quality variable data to obtain the trained feature interaction hybrid expert network model specifically includes: for each quality variable prediction task, fusing the historical task-specific features and the historical cross-task shared interaction features corresponding to the quality variable prediction task with the MLP output tower network corresponding to the quality variable prediction task through the MLP output tower network corresponding to the quality variable prediction task to obtain the fused features corresponding to the quality variable prediction task; and training the MLP output tower network corresponding to each quality variable prediction task using a dynamic masking loss function based on the fused features corresponding to each quality variable prediction task and the historical multi-quality variable data to obtain the trained feature interaction hybrid expert network model.

5. The method according to claim 1, characterized in that, The step of obtaining online prediction results for multiple quality variable prediction tasks based on the trained feature-interaction hybrid expert network model specifically includes: collecting real-time multi-sampling rate process variable data from the process industry; inputting the real-time multi-sampling rate process variable data into the trained feature-interaction hybrid expert network model, and outputting online normalized prediction values ​​for multiple quality variable prediction tasks; and restoring the online normalized prediction values ​​for multiple quality variable prediction tasks to the online prediction results for multiple quality variable prediction tasks.

6. The method according to claim 5, characterized in that, The step of inputting the real-time multi-sampling rate process variable data into the trained feature-interaction hybrid expert network model and outputting online normalized prediction values ​​for multiple quality variable prediction tasks specifically includes: inputting the real-time multi-sampling rate process variable data into the trained feature-interaction hybrid expert network model; obtaining real-time task-specific features corresponding to multiple quality variable prediction tasks from the real-time multi-sampling rate process variable data through the task-specific multi-timescale pre-trained expert layer of the feature-interaction hybrid expert network model; obtaining real-time cross-task shared interaction features between multiple quality variable prediction tasks based on the real-time task-specific features corresponding to multiple quality variable prediction tasks through the optimized output related feature interaction layer of the feature-interaction hybrid expert network model; and outputting online normalized prediction values ​​for multiple quality variable prediction tasks based on the real-time cross-task shared interaction features and multiple real-time task-specific features through the MLP output tower network corresponding to multiple quality variable prediction tasks of the feature-interaction hybrid expert network model.

7. The method according to claim 5, characterized in that, After restoring the online normalized predicted values ​​of multiple quality variable prediction tasks to the online prediction results of multiple quality variable prediction tasks, the method further includes: displaying the online prediction results of multiple quality variable prediction tasks on a preset terminal.

8. A multiple-input multiple-output soft measurement device, characterized in that, include: The acquisition module is used to acquire historical multi-sampling rate process variable data and historical multi-quality variable data of the process industry; A first obtaining module, connected to the obtaining module, is used to obtain historical task-specific features corresponding to multiple quality variable prediction tasks from historical multi-sampling rate process variable data by pre-training an expert layer of a pre-constructed feature interaction hybrid expert network model at multiple time scales. The task-specific multi-time scale pre-trained expert layer is pre-trained using an asynchronous block training strategy. An input obtaining module, connected to the first obtaining module, is used to input multiple historical task-specific features into the optimized output-related feature interaction layer of the feature interaction hybrid expert network model to obtain historical cross-task shared interaction features between multiple quality variable prediction tasks. The optimized output-related feature interaction layer is optimized based on quality-driven regularization. A training obtaining module, connected to the input obtaining module, is used to train the MLP output tower network corresponding to multiple quality variable prediction tasks of the feature interaction hybrid expert network model using a dynamic masking mechanism based on the historical cross-task shared interaction features, multiple historical task-specific features, and historical multi-quality variable data, to obtain the trained feature interaction hybrid expert network model. A second obtaining module, connected to the training obtaining module, is used to obtain online prediction results for multiple quality variable prediction tasks based on the trained feature interaction hybrid expert network model.

9. A multiple-input multiple-output soft measurement device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to implement the multiple-input multiple-output soft measurement method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the multiple-input multiple-output soft measurement method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Multi-sampling-rate soft measurement method based on weighted quality driven auto-encoder

    CN116955902A

  • Ground and satellite observation constraint combined GPP multi-task learning estimation method, system, medium and equipment

    CN121072810A

  • Soft measurement method and device for industrial multi-rate acquisition and medium

    CN121352633A

  • Encoding device, decoding device, and storage medium

    US20250047834A1

Cited By

  • Soft measurement modeling method and device in industrial process and medium

    CN122022598A

  • A soft measurement modeling method, device, and medium for industrial processes

    CN122022598B