A method for predicting the mooney viscosity of a rubber compound based on multivariate time series adaptive learning
By constructing a multivariate time-series adaptive learning model, the problem of inaccurate Mooney viscosity prediction in rubber compounding was solved, the accurate prediction of the end time of rubber compounding was achieved, and the yield of rubber compounding was improved.
Patent Information
- Application Number
- CN202311383446.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-24
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-10-24
AI Technical Summary
In the rubber compounding process, existing technologies rely on human experience to predict the end time of rubber compounding, which leads to inaccurate Mooney viscosity prediction and affects the yield of good rubber products.
A multivariate time-series adaptive learning approach is adopted to construct a static covariate extraction module, a time-series variable evolution module, and a time distribution representation module. Combined with maximum entropy theory and a Transformer model optimized by relative position, the Mooney viscosity of rubber is predicted.
It improved the accuracy of predicting the end time of rubber mixing, increased the yield of good rubber products, and demonstrated stronger robustness and prediction accuracy.
Smart Images

Figure CN117524360B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of online automatic measurement methods and time series prediction in the rubber manufacturing industry, and specifically to a method for predicting the Mooney viscosity of rubber compounding based on multivariate time series adaptive learning. Background Technology
[0002] Rubber compounding is the process of dispersing and mixing various compounding agents in raw rubber within an internal mixer. It mainly includes three stages: crushing and mixing, dispersion and mixing, and kneading and plasticizing. The early stage of compounding focuses on mixing, the later stage on dispersion, and kneading and shaping is the key stage for determining the final Mooney viscosity. Compounding imparts a certain degree of plasticity to the rubber compound, and Mooney viscosity is a key performance indicator for rubber compound processing.
[0003] Each stage of rubber compounding involves different processing operations, resulting in significant differences in dynamic time-series variables (such as power, current, and temperature). Furthermore, the static characteristics of the pre-compounding processing (such as raw material ratios and equipment numbers) also determine the variations during the compounding process. Therefore, predicting the Mooney viscosity of rubber compounding is essentially a multivariate time-series prediction problem.
[0004] Currently, in the rubber compounding process, production relies primarily on manual experience. This involves observing changes in power, current, and temperature to estimate the Mooney viscosity, thereby determining the end point of the compounding process and completing the batch operation. However, the Mooney viscosity, a key performance indicator for this batch of rubber, is obtained after offline sampling and laboratory analysis. The subjectivity of manual experience and the varying skill levels among different work shifts significantly impact the yield rate of the compounded rubber. Therefore, accurate prediction of Mooney viscosity during rubber compounding would greatly facilitate precise forecasting of the compounding endpoint, playing a crucial role in optimizing compounding operations and improving the yield rate. Summary of the Invention
[0005] The purpose of this invention is to propose a method for predicting the Mooney viscosity of rubber compounding based on multivariate time-series adaptive learning, comprising the following steps:
[0006] Step (1): Obtain multivariate time series data based on rubber compounding and corresponding sample labels; construct and initialize the model network; the basic modules include a static covariate extraction module, a time series variable evolution module, and a time distribution representation module. The static covariate extraction module is constructed from feature selection units and dynamic residual units. The time series variable evolution module includes feature selection units, linear projection layers, LSTM encoders, and gating and normalization layers. The time distribution representation module periodically divides the distribution of time series data based on the maximum entropy theory, making the model... By learning the common knowledge of distributions across different periods, the generalization ability of the model is enhanced. It is an improved Transformer using a fully connected directed graph method;
[0007] The input to the static covariate extraction module is the set of static covariate features X from multivariate time series data. s The output of the static covariate extraction module is four context vectors c. e c s c c c h The input to the time series variable evolution module is the set of time series variables X in multivariate time series data. t T(k) is the output of the time series variable evolution module;
[0008] Where X s Let N represent the set of static covariate features in a multivariate time series, where i indicates that the current static covariate feature is the i-th feature in the set, and N represents the set of static covariate features. s This represents the total number of static covariate features in a multivariate time series.
[0009] Where X t Let N represent the set of time series variable features in a multivariate time series, where j indicates that the current static covariate feature is the j-th feature in the set of static covariate features. t This represents the total number of static covariate features in a multivariate time series.
[0010] c s It is a choice of time series variables, c c c h It is a local processing of temporal features, c e It is static information with rich temporal characteristics;
[0011] This indicates the relationship between X and the time-series variable evolution module. t The corresponding data sample.
[0012] Step (2): Select X s The input static covariate extraction module generates c after passing through the feature selection unit and the dynamic residual unit. e c s c c c h , where c s c c c h Integrating into various positions within the temporal variable evolution module, c e As an external environment variable for the next dynamic residual unit;
[0013] Step (3): Select Xt Input timing variable evolution module, c s As an external environmental variable and X t After passing through the feature selection unit and the linear projection layer, the input is fed into the LSTM encoder, where the static covariate extraction module generates c. c c h Used to initialize the input and hidden states of the LSTM encoder, then entering the gating and normalization layer, while simultaneously setting X... t The jump connects to the gating and normalization layers, ultimately generating T(k);
[0014] Step (4): Place c e As external environmental variables and T(k) are simultaneously input into the dynamic residual unit, multivariate time series data G(y) is obtained after being processed by the static covariate extraction module and the time series variable evolution module.
[0015] Step (5): The time distribution representation module divides G(y) into K least dissimilar distribution segments according to the maximum entropy principle;
[0016] Step (6): Use a Transformer with relative position optimization as the training model to learn the K least dissimilar multivariate temporal distributions;
[0017] Step (7): Repeat steps (1) to (4) for the multivariate time series data based on rubber compounding to be predicted, and use the model trained in steps (5) and (6) to calculate the predicted value of Mooney viscosity.
[0018] Preferably, the static covariate features in step (1) include the total time of rubber smelting, equipment number, sub-category number of rubber production, time of finished product discharge, and opening duration of the unloading gate; the time-series variable features in step (1) include the real-time temperature of the equipment, the real-time rotation speed of the equipment, the real-time power of the equipment, the real-time pressure of the top bolt of the equipment, the real-time energy of the equipment, and the real-time current of the equipment.
[0019] In step (1), the time series variable features of each data sample are complete time series sampling sequences. The time series variable features are discretized using the binning method. The discretized features are still used as time series variable features. Normalization is performed on all features. The operation steps are as follows:
[0020] Step (1.1): Traverse each time series variable feature and count the longest length of the time series sampling sequence in each feature;
[0021] Step (1.2): Based on the longest length of each feature, pad or fill the time-series sampling sequence corresponding to the remaining sample data of that feature column with zeros;
[0022] Step (1.3): Set the optimal number of bins for each feature column to 10 and perform block calculation;
[0023] Step (1.4): Perform Min-Max normalization on each feature column.
[0024] Preferably, the static covariate extraction module described in steps (2) and (4) includes one feature selection unit and one dynamic residual unit; the dynamic residual unit includes a main input a and an optional context vector c, and the output formula of the unit can be expressed as:
[0025]
[0026] hid2 = W3hid1 + b2
[0027] DRU out =LN(a+GLU(hid2))
[0028] Where ELU is the exponential linear unit activation function, and hid i Representing the intermediate layer, LN is layer normalization, and DRU is... out The output of the dynamic residual unit (ELU) is represented by the formula: When W1a + W2c + b1 >> 0, the ELU acts as an identity function; when W1a + W2c + b1 ≤ 0, the ELU produces a constant output. The formula for the GLU is:
[0029] GLU=σ(W4hid2+b3)⊙(W5hid2+b4)
[0030] Where σ(.) is the activation function, W (.) and b (.) These represent the weights and biases of the hidden layer, respectively. Through GLU modulation, the influence of the dynamic residual unit on the original input a can be controlled. This layer can be skipped when necessary. In the case of no context vector, the dynamic residual unit will be set to 0.
[0031] Preferably, the feature selection unit in steps (2) and (3) includes the number of input features + 1 dynamic residual unit. For categorical features, entity embedding is used as the feature representation, and for continuous features, a linear transformation is used to convert each input variable into d. model A dimension vector is used to accommodate the skip connection dimension in subsequent layers, where d model The dimension of the word vector after the embedding layer is represented by... This represents the input of the j-th feature at time t. Representing a flat vector of all past inputs at time t, Ξ is simultaneously input through the dynamic residual unit. t and context vector c sThe generated feature selection weights can be expressed as the formula:
[0032]
[0033] in, It is a vector of feature selection weights, which, at each time step, are obtained by... The input is fed into the corresponding dynamic residual unit and expressed as a formula using an additional nonlinear processing layer:
[0034]
[0035] in, This is the feature vector of variable j after processing. The formula is obtained by weighting and combining the processed features using feature selection weights:
[0036]
[0037] in, It is a vector v x The j-th element.
[0038] Preferably, the temporal variable evolution module in step (3) includes a feature selection unit, a linear projection layer, an LSTM encoder, and a gated weighting and normalization layer. The original input is fed into the gated weighting and normalization layer through a jump connection with the output of the LSTM encoder.
[0039] Preferably, the time distribution representation module in step (5) is based on the maximum entropy principle. Under time covariate shift, it maximizes the use of shared knowledge in the time series. This can be achieved by finding the least similar periods, thus achieving the goal of segmenting the time series by solving an optimization problem. This goal is expressed as:
[0040]
[0041]
[0042] Here, Δ1 and Δ2 are predefined parameters to avoid capturing distribution information with very small or very large values, K0 is a hyperparameter to avoid over-segmenting the time series data, K represents the Kth period of the segmentation, and N... i d(S) represents the length of the i-th period in the segment, N represents the total length of the time series, and d(S) represents the length of the i-th period in the segment. i ,S j () represents the distribution distance between two periods, which is calculated by cosine similarity;
[0043] Given a time series divided into 12 segments, each segment being an indivisible minimum period, a value of K is randomly selected from the set {2,3,5,7,10,12}. After determining K, a greedy strategy is used to select each segment of length N. j The period of the time series. Let A and B represent the start and end points of the time series, respectively. First, consider K=2, and maximize the distribution distance d(S). AC ,S CB From 9 candidate points, select 1 split point C. After determining C, consider K=3 and use the same strategy to select another split point D. Similar strategies are applied to different K values. The optimal K value of this invention is 4. When K is too large or too small, the final performance of the prediction model will deteriorate.
[0044] Preferably, in step (6), the Transformer optimized based on relative position uses a directed graph fully connected approach to enhance relative position information. Each element in the time series data is treated as a node, and directed edges are used to describe the relative positional relationship between elements. For any two elements x i and x j Set two opposite edges and By making connections, each node's two edges represent a trainable weight, adding relative positional information to the model during training. The relative positional relationship between elements can be expressed by the formula:
[0045]
[0046]
[0047] clip(x,k) = max(-k,min(k,x))
[0048] in, and It stores the relative position information of each element in the time series data, and and These represent the relative edge weights of elements i and j, respectively.
[0049] The output element z of each attention head of the Transformer with improved relative positioning i Expressed by the following formula:
[0050]
[0051] x = (x1, ..., x) i ,…,x m ) indicates that the sequence of input attention heads consists of m elements, α ijrepresents the weight coefficients of the i-th and j-th elements obtained after passing through the softmax layer, W V is the parameter matrix;
[0052] The Transformer improved based on relative position adopts different heads for different representation subspaces, and the multi-head attention mechanism can be expressed as:
[0053] Multi-Head(Q,K,V)=[H1,…,H h W H
[0054]
[0055] where H i , 1<i≤h represents the i-th head of the multi-head attention mechanism, W H is the weight matrix, represent the parameter matrices corresponding to Q, K, and V of the i-th head respectively, and Attention(.) is the self-attention mechanism improved based on relative position.
[0056] The prediction trend of the method of the present invention is more consistent with the true value, showing that the method of the present invention has stronger robustness, and its performance on the Mooney viscosity prediction dataset is far superior to that of the Transformer. Description of Drawings
[0057] Figure 1 is an overall training flow chart of a rubber mixing Mooney viscosity prediction method based on multivariate time series adaptive learning;
[0058] Figure 2 is a network structure diagram of the feature selection unit of the present invention;
[0059] Figure 3 is a network structure diagram of the dynamic residual unit of the present invention;
[0060] Figure 4 is a schematic diagram of improving relative position relationships by adopting a directed graph fully connected graph method in the present invention;
[0061] Figure 5 is a schematic diagram of the Transformer structure improved based on relative position relationships of the present invention;
[0062] Figure 6 is a representative time series variable feature sample of a certain rubber mixing process in the Mooney viscosity prediction dataset;
[0063] Figure 7 is a test effect diagram of the method of the present invention and two strong baseline models using the Mooney viscosity dataset. Detailed Embodiments
[0064] The specific embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0065] Reference Figure 1 This embodiment proposes a method for predicting the Mooney viscosity of rubber compounding based on multivariate time-series adaptive learning. The method is used to predict the Mooney viscosity of rubber compounding. The basic modules of the Mooney viscosity prediction method include a static covariate extraction module, a time-series variable evolution module, and a time-series distribution characterization module. The training phase includes the following steps (1) to (6), and the prediction phase is step (7).
[0066] Step (1): Obtain multivariate time series data based on rubber compounding and corresponding sample labels, construct the model network and initialize it.
[0067] Specifically, the static covariate characteristics in step (1) include the total time of rubber smelting, equipment number, subcategory number of rubber produced, time of finished product discharge, and opening duration of the unloading gate; refer to Figure 6 The time-series variable features in step (1) include the real-time temperature of the equipment, the real-time rotation speed of the equipment, the real-time power of the equipment, the real-time pressure of the top bolt of the equipment, the real-time energy of the equipment, and the real-time current of the equipment.
[0068] In step (1), the time-series variable features of each data sample are complete time-series sampling sequences. The time-series variable features are discretized using a binning method. The discretized features are still considered as time-series variable features, and normalization is performed on all features. The operation steps are as follows:
[0069] Step (1.1): Traverse each time series variable feature and count the longest length of the time series sampling sequence in each feature;
[0070] Step (1.2): Based on the longest length of each feature, pad or fill the time-series sampling sequence corresponding to the remaining sample data of that feature column with zeros;
[0071] Step (1.3): Set the optimal number of bins for each feature column to 10, and perform block calculation.
[0072] Step (1.4): Perform Min-Max normalization on each feature column.
[0073] The input to the static covariate extraction module is the set of static covariate features X from multivariate time series data. s The output of the static covariate extraction module is four context vectors c. e c s c x c h The input to the time series variable evolution module is the set of time series variables X in multivariate time series data.t T(k) is the output of the time series variable evolution module.
[0074] c s It is a choice of time series variables, c x c h It is a local processing of temporal features, c e It is static information with rich temporal characteristics.
[0075]
[0076]
[0077]
[0078] Among them, X s Let N represent the set of static covariate features in a multivariate time series, where i indicates that the current static covariate feature is the i-th feature in the set, and N represents the set of static covariate features. s X represents the total number of static covariate features in a multivariate time series. t Let N represent the set of time series variable features in a multivariate time series, where j indicates that the current static covariate feature is the j-th feature in the set of static covariate features. t This represents the total number of static covariate features in a multivariate time series. This indicates the relationship between X and the time-series variable evolution module. t The corresponding data sample.
[0079] Step (2): Refer to Figure 1 The static covariate extraction module includes one feature selection unit and one dynamic residual unit. Select X s The input static covariate extraction module generates c after passing through the feature selection unit and the dynamic residual unit. e c s c c c h , where c s c c c h Integrating into various positions within the temporal variable evolution module, c e As an external environment variable for the next dynamic residual unit.
[0080] Specifically, refer to Figure 2 The dynamic residual unit includes a main input 'a' and an optional context vector 'c'. The output formula of this unit can be expressed as:
[0081]
[0082] hid2 = W3hid1 + b2
[0083] DRU out =LN(a+GLU(hid2))
[0084] Where ELU is the exponential linear unit activation function, and hid i Representing the intermediate layer, LN is layer normalization, and DRU is... out This represents the output of the dynamic residual unit. When W1a + W2c + b1 >> 0, the ELU will act as an identity function; when W1a + W2c + b1 ≤ 0, the ELU will produce a constant output. The formula for the GLU is:
[0085] GLU=σ(W4hid2+b3)⊙(W5hid2+b4)
[0086] Where σ(.) is the activation function, W (.) and b (.) These represent the weights and biases of the hidden layer, respectively. Through GLU modulation, the influence of the dynamic residual unit on the original input 'a' can be controlled. This layer can be skipped when necessary, and in the case of no context vector, the dynamic residual unit will be set to 0.
[0087] Specifically, refer to Figure 3 The feature selection unit includes the number of input features + 1 dynamic residual unit. For categorical features, entity embedding is used as the feature representation, and for continuous features, a linear transformation is used to convert each input variable into d. model A dimension vector is used to accommodate the skip connection dimension in subsequent layers, where d model This represents the dimension of the word vector after the embedding layer. (Used...) This represents the input of the j-th feature at time t. Representing a flat vector of all past inputs at time t, Ξ is simultaneously input through the dynamic residual unit. t and context vector c s The generated feature selection weights can be expressed as the formula:
[0088]
[0089] in, It is a vector of feature selection weights, which, at each time step, are obtained by... The input is fed into the corresponding dynamic residual unit and expressed as a formula using an additional nonlinear processing layer:
[0090]
[0091] in, The feature vector of variable j after processing is obtained by weighting the processed features with feature selection weights and combining them.
[0092]
[0093] in, It is a vector v x The j-th element.
[0094] Step (3): Refer to Figure 1 Choose X t Input timing variable evolution module, c s As an external environmental variable and X t After passing through the feature selection unit and the linear projection layer, the input is fed into the LSTM encoder, where the static covariate extraction module generates c. c c h Used to initialize the input and hidden states of the LSTM encoder, then entering the gating and normalization layer, while simultaneously setting X... t The jump connects to the gating and normalization layers, ultimately generating T(k).
[0095] Specifically, the temporal variable evolution module in step (3) includes a feature selection unit, a linear projection layer, an LSTM encoder, and a gated weighting and normalization layer. The original input is fed into the gated weighting and normalization layer through a jump connection with the output of the LSTM encoder.
[0096] Step (4): Refer to Figure 1 , will c e As external environmental variables and T(k) are simultaneously input into the dynamic residual unit, multivariate time series data G(y) is obtained after being processed by the static covariate extraction module and the time series variable evolution module.
[0097] Step (5): Refer to Figure 1 The time distribution representation module divides G(y) into K least dissimilar distribution segments based on the maximum entropy principle.
[0098] Specifically, the time distribution representation module in step (5) is based on the maximum entropy principle. It maximizes the use of shared knowledge within the time series under time covariate shifting, which can be achieved by finding the least similar periods. The goal of segmenting the time series is achieved by solving an optimization problem, which is expressed as:
[0099]
[0100]
[0101] Here, Δ1 and Δ2 are predefined parameters to avoid capturing distribution information with very small or very large values, K0 is a hyperparameter to avoid over-segmenting the time series data, K represents the Kth period of the segmentation, and N... id(S) represents the length of the i-th period in the segment, N represents the total length of the time series, and d(S) represents the length of the i-th period in the segment. i ,S j The distance between the two periods is represented by the cosine similarity.
[0102] Given a time series, it is divided into 12 segments, each of which is an indivisible minimum period. A value for K is randomly selected from the set {2, 3, 5, 7, 10, 12}. After determining K, a greedy strategy is used to select each segment of length N. j The period of the time series. Let A and B represent the start and end points of the time series, respectively. First, consider K=2, and maximize the distribution distance d(S). AC ,S CB From the nine candidate points, select one split point C. After determining C, consider K=3 and use the same strategy to select another split point D. Similar strategies are applied to different K values. The optimal K value in this invention is 4. When K is too large or too small, the final performance of the prediction model will deteriorate.
[0103] Step (6): Refer to Figure 1 and Figure 5 We use a Transformer with relative position optimization as the training model to learn K least dissimilar multivariate time series distributions.
[0104] For details, please refer to Figure 4 In step (6), the Transformer optimized based on relative position uses a directed graph fully connected approach to enhance relative position information. Each element in the time series data is treated as a node, and directed edges are used to describe the relative positional relationships between elements. For any two elements x... i and x j Set two opposite edges and Connecting elements, each node's two edges represent a trainable weight, adding relative positional information to the model during training. The relative positional relationships between elements can be expressed by the formula:
[0105]
[0106]
[0107] clip(x,k) = max(-k,min(k,x))
[0108] in, and It stores the relative position information of each element in the time series data, and and These represent the relative edge weights of elements i and j, respectively.
[0109] The output element z of each attention head of the Transformer improved based on relative position i is expressed by the following formula:
[0110]
[0111] x = (x1,..., x i ,..., x m ) represents that the sequence input into the attention head consists of m elements, and α ij represents the weight coefficient of the i-th element and the j-th element obtained after passing through the softmax layer, W V is the parameter matrix.
[0112] The Transformer improved based on relative position adopts different heads for different representation subspaces, and the multi-head attention mechanism can be expressed as:
[0113] Multi-Head(Q, K, V) = [H1,..., H h W H
[0114]
[0115] where H i , 1 < i ≤ h represents the i-th head of the multi-head attention mechanism, W H is the weight matrix, respectively represent the parameter matrices corresponding to Q, K, V of the i-th head, and Attention(.) is the self-attention mechanism improved based on relative position.
[0116] Step (7): Repeat steps (1) to (4) for the multivariate time series data based on rubber mixing to be predicted, and calculate the predicted value of Mooney viscosity using the model trained in steps (5) and (6).
[0117] The method of the present invention is verified below in conjunction with specific embodiments.
[0118] In this embodiment, in order to verify the performance of the method for predicting Mooney viscosity of rubber mixing based on multivariate time series adaptive learning provided by the invention, the method provided by the invention is compared with the Transformer model in combination with the Mooney viscosity prediction data set.
[0119] The Mooney viscosity prediction methods selected in this embodiment are respectively:
[0120] Transformer: This is currently the mainstream international method for multivariate time series prediction. The model consists of stacked encoders and decoders. All inputs are embedded and weighted with corresponding positional codes. The encoder generates context variables, and then a fully connected layer follows the decoder to output the final prediction result. The hyperparameter settings (such as learning rate) of this model are exactly the same as those proposed in this invention.
[0121] The method of this invention: Training and prediction are performed according to the training process provided by this invention.
[0122] In this embodiment, the method for validating different models on the dataset is as follows: First, the dataset is divided into a training set and a test set in a 7:3 ratio. The training set is used to train two models, and the test set is used to validate the metrics of the two models.
[0123] In this embodiment, MAE and RMSE are used as evaluation metrics to evaluate the performance of different models on the dataset, which can objectively evaluate the model performance. For the Mooney viscosity prediction problem in the Mooney viscosity dataset, no feature engineering is added, and only the original prediction performance of the model is considered.
[0124] The predictive performance of the method in this invention is reduced by 35.8% compared to the strong baseline model Transformer in terms of MAE, and by 37.6% compared to the strong baseline model Transformer in terms of RMSE. (Refer to...) Figure 7 To more intuitively observe the model's prediction performance without reducing image resolution, 25 samples were randomly selected from the prediction samples and renumbered. It can be seen that the prediction trend of the method of the present invention is more consistent with the true value, demonstrating that the method of the present invention has stronger robustness and performs far better than Transformer on the Mooney viscosity prediction dataset.
[0125] The above specific embodiments are used to explain and illustrate the present invention, and are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made to the present invention within the spirit and scope of the claims shall fall within the protection scope of the present invention.
Claims
1. A method for predicting the Mooney viscosity of rubber compounding based on multivariate time-series adaptive learning, characterized in that: Step (1): Obtain multivariate time series data based on rubber compounding and corresponding sample labels; construct and initialize the model network; the basic modules include a static covariate extraction module, a time series variable evolution module, and a time distribution representation module. The static covariate extraction module is constructed from feature selection units and dynamic residual units. The time series variable evolution module includes feature selection units, linear projection layers, LSTM encoders, and gating and normalization layers. The time distribution representation module periodically divides the distribution of time series data based on the maximum entropy theory, making the model... By learning the common knowledge of distributions across different periods, the generalization ability of the model is enhanced. It is an improved Transformer using a fully connected directed graph method; The input to the static covariate extraction module is the set of static covariate features X from multivariate time series data. s The output of the static covariate extraction module is four context vectors c. e c s c c c h The input to the time series variable evolution module is the set of time series variables X in multivariate time series data. t T(k) is the output of the time series variable evolution module; Where X s Let N represent the set of static covariate features in a multivariate time series, where i indicates that the current static covariate feature is the i-th feature in the set, and N represents the set of static covariate features. s This represents the total number of static covariate features in a multivariate time series. Where X t Let N represent the set of time series variable features in a multivariate time series, where j indicates that the current static covariate feature is the j-th feature in the set of static covariate features. t This represents the total number of static covariate features in a multivariate time series. c s It is a choice of time series variables, c c c h It is a local processing of temporal features, c e It is static information with rich temporal characteristics; This indicates the relationship between X and the time-series variable evolution module. t The corresponding data sample; Step (2): Select X s The input is a static covariate extraction module, which generates c after passing through a feature selection unit and a dynamic residual unit. e c s c c c h , where c s c c c h Integrating into various positions within the temporal variable evolution module, c e As an external environment variable for the next dynamic residual unit; Step (3): Select X t Input timing variable evolution module, c s As an external environmental variable and X t After passing through the feature selection unit and the linear projection layer, the input is fed into the LSTM encoder, where the static covariate extraction module generates c. c c h Used to initialize the input and hidden states of the LSTM encoder, then entering the gating and normalization layer, while simultaneously setting X... t The jump connects to the gating and normalization layers, ultimately generating T(k); Step (4): Place c e As external environmental variables and T(k) are simultaneously input into the dynamic residual unit, multivariate time series data G(y) is obtained after being processed by the static covariate extraction module and the time series variable evolution module. Step (5): The time distribution representation module divides G(y) into K least dissimilar distribution segments according to the maximum entropy principle; Step (6): Use a Transformer with relative position optimization as the training model to learn the K least dissimilar multivariate temporal distributions; Step (7): Repeat steps (1) to (4) for the multivariate time series data based on rubber compounding to be predicted, and use the model trained in steps (5) and (6) to calculate the predicted value of Mooney viscosity.
2. The method for predicting Mooney viscosity of rubber compounding based on multivariate time-series adaptive learning according to claim 1, characterized in that, The static covariate features in step (1) include the total time of rubber smelting, equipment number, sub-category number of rubber production, time of finished product discharge, and opening duration of the unloading gate; the time series features in step (1) include the real-time temperature of the equipment, the real-time rotation speed of the equipment, the real-time power of the equipment, the real-time pressure of the top bolt of the equipment, the real-time energy of the equipment, and the real-time current of the equipment. In step (1), the time series variable features of each data sample are complete time series sampling sequences; the time series variable features are discretized using the binning method, and the discretized features are still used as time series variable features. Normalization is then performed on all features. The operation steps are as follows: Step (1.1): Traverse each time series variable feature and count the longest length of the time series sampling sequence in each feature; Step (1.2): Based on the longest length of each feature, pad or fill the time-series sampling sequence corresponding to the remaining sample data of that feature column with zeros; Step (1.3): Set the optimal number of bins for each feature column to 10 and perform block calculation; Step (1.4): Perform Min-Max normalization on each feature column.
3. The method for predicting Mooney viscosity of rubber compounding based on multivariate time-series adaptive learning according to claim 1, characterized in that, The static covariate extraction module described in steps (2) and (4) includes one feature selection unit and one dynamic residual unit; the dynamic residual unit includes a main input a and an optional context vector c, and the output formula of the unit can be expressed as: hid2 = W3hid1 + b2 DRU out =LN(a+GLU(hid2)) Where ELU is the exponential linear unit activation function, and hid i Representing the intermediate layer, LN is layer normalization, and DRU is... out The output of the dynamic residual unit (ELU) is represented by the formula: When W1a + W2c + b1 >> 0, the ELU acts as an identity function; when W1a + W2c + b1 ≤ 0, the ELU produces a constant output. The formula for the GLU is: GLU=σ(W4hid2+b3)⊙(W5hid2+b4) Where σ(.) is the activation function, W (.) and b (.) These represent the weights and biases of the hidden layer, respectively. Through GLU modulation, the influence of the dynamic residual unit on the original input a can be controlled. This layer can be skipped when necessary. In the case of no context vector, the dynamic residual unit will be set to 0.
4. The method for predicting Mooney viscosity of rubber compounding based on multivariate time-series adaptive learning according to claim 1, characterized in that, The feature selection unit described in steps (2) and (3) includes the number of input features + 1 dynamic residual unit. For categorical features, entity embedding is used as the feature representation, and for continuous features, a linear transformation is used to convert each input variable into d. mode A dimension vector is used to accommodate the skip connection dimension in subsequent layers, where d model The dimension of the word vector after the embedding layer is represented by... This represents the input of the j-th feature at time t. Representing a flat vector of all past inputs at time t, Ξ is simultaneously input through the dynamic residual unit. t and context vector c s The generated feature selection weights can be expressed as the formula: Among them, v xt It is a vector of feature selection weights, which, at each time step, are obtained by... The input is fed into the corresponding dynamic residual unit and expressed as a formula using an additional nonlinear processing layer: in, This is the feature vector of variable j after processing. The formula is obtained by weighting and combining the processed features using feature selection weights: in, It is a vector v x The j-th element.
5. The method for predicting Mooney viscosity of rubber compounding based on multivariate time-series adaptive learning according to claim 1, characterized in that, The temporal variable evolution module in step (3) includes a feature selection unit, a linear projection layer, an LSTM encoder, and a gated weighting and normalization layer. The original input is fed into the gated weighting and normalization layer through a jump connection with the output of the LSTM encoder.
6. The method for predicting Mooney viscosity of rubber compounding based on multivariate time-series adaptive learning according to claim 1, characterized in that, The time distribution representation module in step (5) is based on the maximum entropy principle. It maximizes the use of shared knowledge in time series under time covariate shifting. This can be achieved by finding the least similar periods, and by solving an optimization problem to achieve the goal of segmenting the time series. This goal is expressed as: Here, Δ1 and Δ2 are predefined parameters to avoid capturing distribution information with very small or very large values, K0 is a hyperparameter to avoid over-segmenting the time series data, K represents the Kth period of the segmentation, and N... i d(S) represents the length of the i-th period in the segment, N represents the total length of the time series, and d(S) represents the length of the i-th period in the segment. i ,S j () represents the distribution distance between two periods, which is calculated by cosine similarity; Given a time series divided into 12 segments, each segment being an indivisible minimum period, a value of K is randomly selected from the set {2,3,5,7,10,12}. After determining K, a greedy strategy is used to select each segment of length N. j Let A and B represent the start and end points of the time series, respectively. First, consider K=2, and maximize the distribution distance d(S). AC ,S CB From 9 candidate points, select 1 split point C. After determining C, consider K=3 and use the same strategy to select another split point D. Similar strategies are applied to different K values. The optimal K value of this invention is 4. When K is too large or too small, the final performance of the prediction model will deteriorate.
7. The method for predicting Mooney viscosity of rubber compounding based on multivariate time-series adaptive learning according to claim 1, characterized in that, In step (6), the Transformer optimized based on relative position uses a directed graph fully connected approach to enhance relative position information. Each element in the time series data is treated as a node, and directed edges are used to describe the relative positional relationship between elements. For any two elements x i and x j Set two opposite edges and Connecting elements, each node's two edges represent a trainable weight, adding relative positional information to the model during training. The relative positional relationship between elements can be expressed by the formula: clip(x,k) = max(-k,min(k,x)) in, and It stores the relative position information of each element in the time series data, and and These represent the relative edge weights of elements i and j, respectively. The output element z of each attention head of the Transformer with improved relative positioning i Expressed by the following formula: x = (x1, ..., x) i ,…,x m ) indicates that the sequence of input attention heads consists of m elements, α ij W represents the weight coefficients of the i-th and j-th elements obtained after passing through the softmax layer. V It is a parameter matrix; The Transformer, improved based on relative position, uses different heads for different representation subspaces. The multi-head attention mechanism can be represented as follows: Multi-Head(Q,K,V)=[H1,…,H h ]W H Wherein, H i , 1<i≤h denotes the i-th head of the multi-head attention mechanism, W H is a weight matrix, represent the parameter matrices corresponding to Q, K, and V of the i-th head, respectively, and Attention(.) is a self-attention mechanism improved based on relative positions.
