A method for predicting loss data of galvanized steel sheet
The distance-weighted self-adjusting neural network and Kruskal-Wallis sampling method are used to process galvanized steel plate loss data, which solves the shortcomings of existing models in rare loss prediction, improves prediction accuracy and robustness, adapts to unbalanced data, and achieves Effective prediction of galvanized steel plate loss.
Patent Information
- Application Number
- CN202410612024.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-05-17
AI Technical Summary
Existing models have insufficient performance when dealing with rare but severe loss situations of galvanized steel sheets, and are difficult to effectively learn and predict, resulting in data imbalance problems that increase the difficulty of prediction. Deep learning methods are not suitable for directly predicting the loss data of galvanized steel sheets. And research is less focused on such issues.
A distance weighted self-adjusting neural network (DSN) is proposed, which uses polar representation learning and Gaussian mixed probability modeling, combined with the Kruskal-Wallis sampling method to process unbalanced data, and uses multiple loss mechanisms and gating control vectors to construct the loss of galvanized steel sheets. Data prediction model.
It improves the accuracy and model robustness of galvanized steel plate loss prediction, enhances the adaptability to imbalanced data, and ensures high-quality prediction of rare but critical loss events.
Smart Images

Figure CN118194049B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of machine learning, and in particular relates to a method for predicting loss data of galvanized steel plates. Background Art
[0002] Galvalume steel sheets have been widely used in industries such as construction, automobiles, and home appliances due to their excellent corrosion resistance and cost-effectiveness. The unique coating of this material not only provides excellent weather resistance, but also effectively resists chemical corrosion and thermal damage, making it perform well in harsh environments. With the growth of market demand and the expansion of production scale, it is particularly important to improve the production efficiency and cost control of galvalume steel sheets. However, the loss problem of galvalume steel sheets is particularly prominent during production and storage, mainly due to physical and chemical damage such as oxidation and color change of steel sheets caused by environmental factors such as high humidity or drastic temperature changes. These losses not only affect product quality, but also increase production costs. Effectively predicting the loss of galvalume steel sheets is crucial to optimizing storage conditions, reducing resource waste, and improving economic benefits. Accurate loss prediction can help companies adjust the storage environment, take preventive measures to reduce losses, and plan production and supply chain operations more accurately, thereby reducing unnecessary maintenance costs and improving resource utilization efficiency.
[0003] Existing models often perform poorly when dealing with rare but severe loss situations caused by environmental factors, and it is difficult to effectively learn and predict specific conditions that may lead to losses. In loss data sets, there is often less data on such extreme loss situations, resulting in data imbalance, which further increases the difficulty of prediction. Existing deep learning methods are not suitable for directly predicting loss data of galvanized steel plates with rare situations and data imbalance, and current research work rarely focuses on solving such problems. Therefore, ensuring that the prediction model pays sufficient attention to these rare but critical loss situations and significantly improves the prediction accuracy of these events is the key to improving the efficiency of galvanized steel plate production and storage management. Summary of the invention
[0004] The present invention provides a method for predicting loss data of galvanized steel plates, aiming to propose a distance-weighted self-regulating neural network (DSN). DSN is an extremely adaptive model that performs long-term prediction through polarity representation learning and utilizes multiple loss mechanisms to dynamically refine the indicator sequence from the original galvanized steel plate loss data. The robustness of the galvanized steel plate loss prediction is improved through Gaussian mixture probability modeling. In addition, the present invention introduces the Kruskal-Wallis sampling method to process unbalanced galvanized steel plate loss data.
[0005] The present invention aims to propose a distance-weighted self-regulating neural network and provide a method for predicting loss data of galvanized steel sheets, comprising the following steps:
[0006] S1. Data collection related to the loss of galvanized steel sheets, including characteristics and target variables;
[0007] S2, Kruskal-Wallis sampling method is used to process unbalanced raw data, and the focus on rare events is strengthened during the sampling process. The maximum-minimum normalization method is used to process the data, and the processed data is cut into multiple sequence blocks for training and validation sets;
[0008] S3. Build a DSN prediction model. The specific steps are as follows:
[0009] S31, generating a probability indicator from the sequence of step S2 using a Gaussian mixture model (GMM);
[0010] S32. Introduce a polar coordinate representation learning mechanism, which is a new mechanism for polarity representation, indicator generation and information exchange to improve prediction. The specific steps are:
[0011] The learning mechanism of polar coordinate representation is to define the points in the loss data of galvanized steel sheets that are far away from the mean of the sequence as far points. , the conventional point in the loss data of galvanized steel sheet, referred to as the near point, is defined as , the DSN model's Gen module encodes the far and near points in the sequence separately, captures the spatial and temporal dependency characteristics of the sequence data, and generates feature representations for the far and near points. Then, the output of Gen is retained in the Merg module, which merges the representations of the far and near points into a unified output sequence. The gated control vector is used to dynamically adjust the model's weights when merging different representations, combining the representations of the far and near points to form the final time series prediction output. Through the polar coordinate representation learning mechanism, the DSN model can improve the prediction accuracy and model robustness in the loss prediction task of galvanized steel sheets;
[0012] S33, using CNN-LSTM network to build three parallel encoders and decoders as Gen modules to learn the spatial and temporal features of sequence data, and using dual CNN network to build indicator refinement layer to refine and optimize indicator information;
[0013] S34, using an LSTM network and a fully connected layer (FC) as a Merg module, merging and outputting the multi-source data representations generated by the Gen module in step S32, and dynamically adjusting the model weights using a gated control vector module;
[0014] S35, introduce multiple loss functions, including a distance-weighted multi-loss method, to handle different degrees of prediction errors and increase the focus on predicted events during model training;
[0015] S4, inputting the time characteristics, probability index and cut sequence training set of the loss-related data of the galvanized steel sheet into the DSN prediction model constructed in step S3 for training;
[0016] S5. Validate the trained model on the validation set and make adjustments to improve its accuracy and robustness to obtain a trained prediction model;
[0017] S6. Input the loss-related data of the galvanized steel sheet into the prediction model, and perform denormalization on the output result of the model to obtain the final prediction data of the loss of the galvanized steel sheet.
[0018] Furthermore, in step S1, the loss-related data of the aluminum-zinc-coated steel plate includes four characteristics, namely, environmental parameters of the steel plate, physical storage conditions, material properties and loss record data, wherein the environmental parameters mainly include the temperature, humidity, ventilation conditions, and chemical exposure conditions of the storage area; the physical storage conditions mainly include the steel plate stacking method and the surface treatment status of the steel plate before storage; the material properties are mainly detailed specification parameters of the steel plate including steel plate thickness, width, length, and coating type; in terms of loss records, the present invention mainly considers three types of steel plate loss conditions: pitting corrosion, stress corrosion cracking, and corrosion fatigue.
[0019] Furthermore, in step S2, the data collected in step S1 are subjected to data balancing using the Kruskal-Wallis sampling method, and multiple groups of data sequences are checked according to the median. The data are first ranked, and the sum of the rankings of each group is calculated. The value of Kruskal-Wallis sampling method is as follows:
[0020] ;
[0021] In the formula, are groups of subsequences of equal length, is the Kruskal-Wallis test statistic, is the total number of samples in all groups, For the The rank sum of the groups, For the The sample size for the group.
[0022] Furthermore, the data processed by the Kruskal-Wallis sampling method has the problem of inconsistent scale. The maximum-minimum normalization method is used to process the data so that the data is mapped to the (0,1) interval and all input features are adjusted to the same scale. The maximum-minimum normalization method formula is as follows:
[0023] ;
[0024] In the formula, is the original data value, is the minimum value in the data, is the maximum value in the data, is the normalized value.
[0025] Furthermore, in step S3, S31 uses the GMM model to learn a set of distributions from the input sequence, and then, according to the weights learned in the model fitting process, calculates an indicator feature for each value in the sequence as the weighted sum of all component probabilities to generate a probability indicator of the DSN prediction model input sequence. The GMM formula is as follows: ;
[0026] In the formula, is the data point, is the number of Gaussian distribution, For the The weights of the mixture are Gaussian distributions, The mean is , the variance is The probability density function of the Gaussian distribution.
[0027] Furthermore, in step S3, the Gen module in step S32 is composed of three parallel encoder-decoder sub-networks, and the sub-networks are constructed by a CNN network and an LSTM network. Responsible for To study, Responsible for predicting indicators ( ) to learn the representation, study The hidden features of the index refinement layer are composed of a two-layer CNN network. The first layer of CNN captures the initial feature changes, while the second layer of CNN further refines these features to process and optimize the prediction indicators from the sequence of step S31. , these indicators reflect the model's prediction of upcoming changes. The formula of the CNN network is as follows:
[0028] ;
[0029] In the formula, is the input matrix, is the convolution kernel matrix, is the output feature map, is the row and column index of the convolution kernel, and the LSTM network formula is as follows:
[0030] ;
[0031] ;
[0032] ;
[0033] ;
[0034] ;
[0035] ;
[0036] In the formula, is the time step Input, is the time step The output, is the time step The unit status, and are the weight matrix and bias vector, is the sigmoid activation function, is the hyperbolic tangent activation function, is the element-wise product.
[0037] Furthermore, in step S3, the Merge module in S33 is composed of an LSTM network and an FC layer. The Merge module is responsible for transferring the and The representations are merged into a unified output sequence ,in, is the prediction index of the output of the third sub-network in the three parallel encoder-decoder sub-networks of Gen, and uses the gated control vector module Vector Weighted Approximation of ,akin, The vector is The complement of the vector, whose weighted approximation is of Indicates that the gate control vector module is and Dynamically adjust the representation merging weights of far and near points, and the final output prediction is:
[0038] ;
[0039] In the formula, is the weighted prediction output of the model, and is the gate vector, is the model’s predicted output for distant points, is the model's predicted output for the near point.
[0040] Furthermore, in step S3, the multiple loss functions are introduced in step S35. Different from the conventional use of regularization loss as a penalty term to prevent the model from overfitting with the training data, multiple distance weighted loss functions are used when training the DSN model to enable the model to learn more information representation. Defined as the weight of the far point, where As the reference point for calculating the loss function, is defined as the weight of the near point, where As a reference point for calculating the loss function, these weight definitions help the DSN prediction model to predict the accuracy of long-term time series. Based on these weights, the multi-adjustment loss is established as shown in the following formula:
[0041] ;
[0042] ;
[0043] ;
[0044] ;
[0045] In the formula, , , , are different loss items, and Regulates bipolar representation learning, and By setting equal , so that the prediction index reflects the change of the predicted value, The square root of express, is the model's predicted value for far and near points, is the comprehensive prediction value calculated by the gating weight, is the predicted value of the indicator, is the real target value and the real indicator value.
[0046] Furthermore, in step S3, the overall loss of the multi-loss function in step S35 is as follows:
[0047] ;
[0048] In the formula, is the output value predicted by the model, is the actual target value, is the weight factor of the regularization term , , , , For different loss items.
[0049] In summary, due to the adoption of the above-mentioned technical method, the beneficial effects of the present invention are as follows: the technical solution provided by the present invention proposes a distance-weighted self-regulating neural network (DSN), which innovatively uses the distance-weighted multiple loss method to simultaneously extract polarity representation from the data, thereby improving the robustness of the model for the loss prediction of aluminum-zinc-coated steel plates. At the same time, the Kruskal-Wallis sampling method is introduced to process unbalanced data and gate control vectors, thereby enhancing the adaptability of the model to unbalanced data. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 The present invention is a flow chart of a method for predicting loss data of galvanized steel sheets.
[0051] Figure 2 This is the structural flow chart of the DSN network.
[0052] Figure 3 This is the structural flow chart of the Gen module and the Merge module.
[0053] Figure 4 This is the LSTM network structure diagram of the DSN network Gen module and Merge module.
[0054] Figure 5 This is the structure diagram of the gate control vector module.
[0055] Figure 6 This is a comparison chart of the predicted values and actual values of the DSN model. DETAILED DESCRIPTION
[0056] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0057] See also Figure 1-Figure 6 , the present invention provides a technical solution.
[0058] The present invention aims to propose a distance-weighted self-regulating neural network and provide a method for predicting the loss data of galvanized steel sheets. Figure 1 The following steps are shown:
[0059] S1. Data collection related to the loss of galvanized steel sheets, including characteristics and target variables;
[0060] S2, Kruskal-Wallis sampling method is used to process unbalanced raw data, and the focus on rare events is strengthened during the sampling process. The maximum-minimum normalization method is used to process the data, and the processed data is cut into multiple sequence blocks for training and validation sets;
[0061] S3. Build a DSN prediction model. The specific steps are as follows:
[0062] S31, generating a probability indicator from the sequence of step S2 using a Gaussian mixture model (GMM);
[0063] S32. Introduce a polar coordinate representation learning mechanism, which is a new mechanism for polarity representation, indicator generation and information exchange to improve prediction. The specific steps are:
[0064] The learning mechanism of polar coordinate representation is to define the points in the loss data of galvanized steel sheets that are far away from the mean of the sequence as far points. , the conventional point in the loss data of galvanized steel sheet, referred to as the near point, is defined as , the DSN model's Gen module encodes the far and near points in the sequence separately, captures the spatial and temporal dependency characteristics of the sequence data, and generates feature representations for the far and near points. Then, the output of Gen is retained in the Merg module, which merges the representations of the far and near points into a unified output sequence. The gated control vector is used to dynamically adjust the model's weights when merging different representations, combining the representations of the far and near points to form the final time series prediction output. Through the polar coordinate representation learning mechanism, the DSN model can improve the prediction accuracy and model robustness in the loss prediction task of galvanized steel sheets;
[0065] S33, using CNN-LSTM network to build three parallel encoders and decoders as Gen modules to learn the spatial and temporal features of sequence data, and using dual CNN network to build indicator refinement layer to refine and optimize indicator information;
[0066] S34, using an LSTM network and a fully connected layer (FC) as a Merg module, merging and outputting the multi-source data representations generated by the Gen module in step S32, and dynamically adjusting the model weights using a gated control vector module;
[0067] S35, introduce multiple loss functions, including a distance-weighted multi-loss method, to handle different degrees of prediction errors and increase the focus on predicted events during model training;
[0068] S4, inputting the time characteristics, probability index and cut sequence training set of the loss-related data of the galvanized steel sheet into the DSN prediction model constructed in step S3 for training;
[0069] S5. Validate the trained model on the validation set and make necessary adjustments to improve its accuracy and robustness to obtain a trained prediction model;
[0070] S6. Input the loss-related data of the galvanized steel sheet into the prediction model, and perform denormalization on the output result of the model to obtain the final prediction data of the loss of the galvanized steel sheet.
[0071] Furthermore, in step S1, the loss-related data of the aluminum-zinc-coated steel plate includes four characteristics, namely, environmental parameters of the steel plate, physical storage conditions, material properties and loss record data, wherein the environmental parameters mainly include the temperature, humidity, ventilation conditions, and chemical exposure conditions of the storage area; the physical storage conditions mainly include the steel plate stacking method and the surface treatment status of the steel plate before storage; the material properties are mainly detailed specification parameters of the steel plate including steel plate thickness, width, length, and coating type; in terms of loss records, the present invention mainly considers three types of steel plate loss conditions: pitting corrosion, stress corrosion cracking, and corrosion fatigue.
[0072] Furthermore, in step S2, the data collected in step S1 are subjected to data balancing using the Kruskal-Wallis sampling method, multiple groups of data sequences are checked according to the median, the data are first ranked, and the sum of the rankings of each group is calculated, and then the sum of the rankings is calculated based on these ranks. The value of Kruskal-Wallis sampling method is as follows:
[0073] ;
[0074] In the formula, are groups of subsequences of equal length, is the Kruskal-Wallis test statistic, is the total number of samples in all groups, For the The rank sum of the groups, For the The sample size for the group.
[0075] Furthermore, the data processed by the Kruskal-Wallis sampling method has the problem of inconsistent scale. The maximum-minimum normalization method is used to process the data so that the data is mapped to the (0,1) interval and all input features are adjusted to the same scale. The maximum-minimum normalization method formula is as follows:
[0076] ;
[0077] In the formula, is the original data value, is the minimum value in the data, is the maximum value in the data, is the normalized value.
[0078] Furthermore, in step S3, S31 uses the GMM model to learn a set of distributions from the input sequence, and then, according to the weights learned in the model fitting process, calculates an indicator feature for each value in the sequence as the weighted sum of all component probabilities to generate a probability indicator of the DSN prediction model input sequence. The GMM formula is as follows: ;
[0079] In the formula, is the data point, is the number of Gaussian distribution, For the The weights of the mixture are Gaussian distributions, The mean is , the variance is The probability density function of the Gaussian distribution.
[0080] Further, in step S3, the Gen module in S32 is as follows: Figure 3 As shown in Figure 1, it consists of three parallel encoder-decoder sub-networks, which are constructed by CNN network and LSTM network. The LSTM network structure is as follows: Figure 4 As shown in the Gen module Responsible for To study, Responsible for predicting indicators ( ) to learn the representation, study The hidden features of the index refinement layer are composed of a two-layer CNN network. The first layer of CNN captures the initial feature changes, while the second layer of CNN further refines these features, thereby processing and optimizing the prediction indicators from the sequence of step S31. , where three CNN layers produce 256 channels each, and the kernel sizes used in these layers are 11, 7, and 3 respectively. The stride, padding, and activation function remain the same across the three layers, with the stride equal to the kernel size, no padding, and the activation function being tanh. Two dual CNN layers are used for metric refinement, with the kernel size and padding set to 7 for the first layer and 3 for the second layer. The formula for the CNN network is as follows:
[0081] ;
[0082] In the formula, is the input matrix, is the convolution kernel matrix, is the output feature map, is the row and column index of the convolution kernel, and the LSTM network structure is as follows Figure 4 As shown, the formula is as follows:
[0083] ;
[0084] ;
[0085] ;
[0086] ;
[0087] ;
[0088] ;
[0089] In the formula, is the time step Input, is the time step The output, is the time step The unit status, and are the weight matrix and bias vector, is the sigmoid activation function, is the hyperbolic tangent activation function, is the element-wise product.
[0090] Further, in step S3, the Merge module in S33 is as follows: Figure 3 As shown in the figure, it consists of an LSTM network and a FC layer. The Merg module is responsible for transferring the and The representations are merged into a unified output sequence ,in, is the prediction index of the output of the third sub-network in the three parallel encoder-decoder sub-networks of Gen, and uses the gated control vector module Vector Weighted Approximation of ,akin, The vector is The complement of the vector, whose weighted approximation is of Indicates that the gate control vector module is and Dynamically adjust the representation merging weights of far and near points, and the gate control vector module structure flow is as follows Figure 5 As shown, the final output prediction is:
[0091] ;
[0092] In the formula, is the weighted prediction output of the model, and is the gate vector, is the model’s predicted output for distant points, is the model's predicted output for the near point.
[0093] Furthermore, in step S3, the multiple loss functions are introduced in step S35. Different from the conventional use of regularization loss as a penalty term to prevent the model from overfitting with the training data, multiple distance weighted loss functions are used when training the DSN model to enable the model to learn more information representation. Defined as the weight of the far point, where As the reference point for calculating the loss function, is defined as the weight of the near point, where As a reference point for calculating the loss function, these weight definitions help the DSN prediction model to predict the accuracy of long-term time series. Based on these weights, the multi-adjustment loss is established as shown in the following formula:
[0094] ;
[0095] ;
[0096] ;
[0097] ;
[0098] In the formula, , , , are different loss items, and Regulates bipolar representation learning, and By setting equal , so that the prediction index reflects the change of the predicted value, The square root of express, is the model's predicted value for far and near points, is the comprehensive prediction value calculated by the gating weight, is the predicted value of the indicator, is the real target value and the real indicator value.
[0099] Furthermore, in step S3, the overall loss of the multi-loss function in step S35 is as follows:
[0100] ;
[0101] In the formula, is the output value predicted by the model, is the actual target value, is the weight factor of the regularization term , , , , For different loss items.
[0102] The comparison between the predicted value and the actual value of the DSN prediction model is shown in the figure below. Figure 6 As shown in Figure 2, the curve is the real data and the dots are the predicted data. According to the problem definition, h = 350 (3 days) is set, and different values of t∈{350,672,1440} (3,7,15 days) are tested. Among them, t = 350 produces the best results for all data streams. Figure 6 It can be seen that the predicted value is basically consistent with the actual value, which shows that the DSN network proposed in the present invention has a good prediction effect on the loss data of galvanized steel sheets.
Claims
1. A method for predicting loss data of galvanized steel sheets, characterized in that: The following steps are involved: S1. Collection of data related to loss of galvanized steel sheets, including characteristics and target variables; S2. Use Kruskal-Wallis sampling to process unbalanced raw data, strengthen the focus on rare events during the sampling process, and use the maximum-minimum normalization method to process the data, cutting the processed data into multiple sequence blocks for training and validation sets; S3. Build a DSN prediction model. The specific steps are as follows: S31, using a Gaussian mixture model to generate a probability indicator from the sequence of step S2; S32. Introduce a polar coordinate representation learning mechanism, which is a new mechanism for polarity representation, indicator generation, and information exchange to improve prediction. The specific steps are as follows: The learning mechanism of polar coordinate representation is to define the points in the loss data of galvanized steel sheets that are far away from the sequence mean, referred to as far points, as The regular point in the loss data of galvanized steel sheet, referred to as the near point, is defined as The DSN model's Gen module encodes distant and near points in the sequence separately, capturing the spatial and temporal dependencies of the sequence data and generating feature representations for distant and near points. The Gen output is then retained in the Merg module, which merges the representations of distant and near points into a unified output sequence. The Merg module uses a gated control vector to dynamically adjust the model's weights when merging different representations, combining the representations of distant and near points to form the final time series prediction output. Through the polar coordinate representation learning mechanism, the DSN model can improve prediction accuracy and model robustness in the loss prediction task of galvanized steel sheets. S33, using CNN-LSTM network to build three parallel encoders and decoders as Gen modules to learn the spatial and temporal features of sequence data, while using dual CNN network to build indicator refinement layer to refine and optimize indicator information; S34, using the LSTM network and the fully connected layer as the Merg module to merge and output the multi-source data representations generated by the Gen module in step S32, and using the gated control vector module to dynamically adjust the model weights; S35. Introducing multiple loss functions, including a distance-weighted multi-loss method, to handle different degrees of prediction error and increase the focus on predicted events during model training; S4, inputting the time characteristics, probability index and cut sequence training set of the loss-related data of the galvanized steel sheet into the DSN prediction model constructed in step S3 for training; S5. Validate the trained model on the validation set and make adjustments to improve its accuracy and robustness to obtain a trained prediction model. S6. Input the loss-related data of the galvanized steel sheet into the prediction model, and perform denormalization on the output of the model to obtain the final prediction data of the loss of the galvanized steel sheet.
2. The method for predicting loss data of galvanized steel sheet according to claim 1, characterized in that: In step S2, the Kruskal-Wallis sampling method is used to process the unbalanced original data. Multiple groups of data sequences are checked according to the median. The data are first ranked and the sum of the ranks of each group is calculated. The value of H is calculated based on these rank sums and compared with the critical value to determine whether there is a significant difference between the groups. The Kruskal-Wallis sampling method formula is as follows: Where k is a group of subsequences of equal length, H is the Kruskal-Wallis test statistic, n is the total number of samples in all groups, and R j is the rank sum of the jth group, n j is the number of samples in group j; The maximum-minimum normalization method is used to map the data to the (0,1) interval and adjust all input features to the same scale. The maximum-minimum normalization formula is as follows: In the formula, x is the original data value, x min is the minimum value in the data, x max is the maximum value in the data, X new is the normalized value.
3. The method for predicting loss data of galvanized steel sheet according to claim 1, characterized in that: In step S31, a set of distributions is learned from the input sequence using the GMM model. Then, based on the weights learned during the model fitting process, an indicator feature is calculated for each value in the sequence. This is the weighted sum of all component probabilities to generate a probability indicator for the input sequence of the DSN prediction model. The GMM formula is as follows: Where x is the data point, K is the number of Gaussian distributions, and π k is the mixing weight of the k-th Gaussian distribution, The mean is μ k , the probability density function of the Gaussian distribution with variance ∑k.
4. The method for predicting loss data of galvanized steel sheet according to claim 1, characterized in that: The step S33 is to construct a Gen module, which is composed of three parallel encoder-decoder sub-networks. The sub-network is constructed by a CNN network and an LSTM network. In the Gen module, f-ED is responsible for To learn, i-ED is responsible for predicting the Perform learning representation, n-ED learning The hidden features of the index refinement layer are composed of a two-layer CNN network. The first layer of CNN captures the initial feature changes, while the second layer of CNN further refines these features, thereby processing and optimizing the prediction indicators from the step S31 sequence. These indicators reflect the model's prediction of upcoming changes. The formula of the CNN network is as follows: Where x is the input matrix, K is the convolution kernel matrix, y is the output feature map, m and n are the row and column indices of the convolution kernel, and the LSTM network formula is as follows: f t =σ(W f ·[h t-1 ,x t ]+b f ); i t =σ(W i ·[h t-1 ,x t ]+b i ); C t =tanh(W c ·[h t-1 ,x t ]+b c ); The t =σ(W o ·[h t-1 ,x t ]+b o ); Where x t is the input at time step t, h t is the output at time step t, is the cell state at time step t, W and b are the weight matrix and bias vector, σ is the sigmoid activation function, tanh is the hyperbolic tangent activation function, and * is the element-wise product.
5. The method for predicting loss data of galvanized steel sheet according to claim 1, characterized in that: In step S34, a Merge module is constructed, which is composed of an LSTM network and an FC layer. The Merge module is responsible for transferring the and The representations are merged into a unified output sequence in, is the prediction index of the output of the third sub-network in the three parallel encoder-decoder sub-networks of Gen, and the m of the gate control vector module is used. far Vector Weighted Approximation of Similarly, m near Vector is m far The complement of the vector, whose weighted approximation is of Indicates that the gate control vector module passes m far and m near Dynamically adjust the representation merging weights of far and near points, and the final output prediction is: Where, is the weighted prediction output of the model, m far and m near is the gate vector, is the model’s predicted output for the far point, is the model's predicted output for the near point.
6. The method for predicting loss data of galvanized steel sheet according to claim 1, characterized in that: In step S35, multiple loss functions are introduced. Different from the conventional use of regularization loss as a penalty term to prevent the model from overfitting with the training data, multiple distance weighted loss functions are used when training the DSN model to enable the model to learn more information representation. f =(tanh(y)) 2 Defined as the weight of the far point, where y is the reference point for calculating the loss function, and ω n =(1-|tanh(y)|) 2 Defined as the weight of the near point, where y is the reference point for calculating the loss function. These weight definitions help the DSN prediction model to improve its accuracy in long-term time series predictions. Based on these weights, the multi-adjustment loss is established as shown in the following formula: Where L1, L2, L3, and L4 are different loss terms. L1 and L2 adjust bipolar representation learning, and L3 and L4 are adjusted by setting y i Equal to y, so that the prediction index reflects the change of the predicted value, ω f The square root of ω p express, is the model’s predicted value for far and near points, is the comprehensive prediction value calculated by the gating weight, is the predicted value of the indicator, y, y i is the true target value and the true index value; in step S3, the overall loss of the multi-loss function in step S35 is as follows: Where, is the output value predicted by the model, y is the true target value, and λ is the weight factor of the regularization term L1, L2, L3, and L4 are different loss items.
Citation Information
Patent Citations
Fluid motion boundary prediction method based on Gaussian mixture model in underwater acoustic sensor network
CN112307685A
Analysis method and device for open pool division
CN116151663A
Residual life prediction method based on convolutional neural network and long short-term memory network
CN117010263A
Unsupervised model building for clustering and anomaly detection
US20190228312A1
