A method for predicting alloy properties based on machine learning model fusion

By using the fusion method of boosting and stacking models in alloy performance prediction, we work together to improve prediction accuracy and stability, and solve the problems of poor prediction accuracy and insufficient data volume in the existing technology, and achieve more efficient alloy performance predict.

CN114898821BActive Publication Date: 2024-11-05NINGBO POWERWAY ALLOY MATERIAL CO LTD +2
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202210520442.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-13
Publication Date
2024-11-05
Estimated Expiration
2042-05-13

AI Technical Summary

Technical Problem

In the prior art, the single machine learning model for alloy performance prediction has poor prediction accuracy, weak generalization ability, and high data volume requirements, making it difficult to meet the needs in material research and development.

Method used

Using boosting fusion and stacking fusion methods in machine learning, we use data to mine historical data of alloy composition, processing technology and performance, and establish multiple boosting models and stacking models to work together to improve prediction accuracy and stability.

Benefits of technology

It improves the accuracy and stability of alloy performance prediction, reduces the prediction error of the model, optimizes the overall model performance, and solves the problems of low accuracy and weak generalization ability of a single model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114898821B_ABST
    Figure CN114898821B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for predicting alloy properties based on machine learning model fusion. By mining the historical data of alloy composition-processing technology-performance, boosting fusion and stacking fusion in machine learning are coordinated, wherein boosting fusion can improve the accuracy of the model and reduce the deviation, and stacking fusion can make the model more robust. Through the coordination of these two models, the effect of different models complementing each other can be achieved. Through the training process fusion to the training result fusion, the relationship between "composition-processing technology-performance" is constructed to achieve the purpose of predicting alloy properties according to composition and processing technology. The present invention solves the problems of low accuracy and weak generalization ability of a single machine learning model, integrates the advantages of individual learning machines, reduces the prediction error of the model, optimizes the performance of the overall model, and has better model performance than a single data fusion method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention provides an alloy performance prediction method based on the fusion of machine learning models, which involves the composite field of computer and metal material technology design. By mining historical data of alloy composition-processing technology-performance, the relationship between "composition-processing technology-performance" is constructed to achieve the purpose of predicting alloy performance based on composition and processing technology. Background Art

[0002] The development of new materials measures a country's scientific and technological level and plays a vital supporting role in the development of high-end equipment manufacturing, new generation information technology, new energy, biotechnology and other industries. Metal materials have always been the materials with the widest application range and the most types. At present, in the design process of alloys, material research and development often relies on experiments. This research and development process is not only time-consuming and laborious, but also lacks accurate guidance on the impact of production environment and processing equipment on material production, and it is difficult to make good use of previous research accumulation and continuous improvement. Therefore, finding a method that can quickly find the optimal added elements or optimal process parameters to improve the performance of the alloy can greatly reduce experimental costs and improve experimental efficiency.

[0003] With the acceleration of a new round of scientific and technological revolution and industrial transformation, the cross-integration of the new materials industry with new generation information technologies such as artificial intelligence, big data, and the Internet of Things is becoming increasingly close. After the material informatics was proposed, people hope to use information science methods such as machine learning and statistical learning to improve material performance or develop new materials. Machine learning, as a typical data mining and analysis method, is an effective means to discover patterns and establish models from existing data. At present, existing research mainly uses a single model to predict composition to performance or process to performance, and a single machine learning model has the problems of poor prediction accuracy and weak generalization ability; or uses a neural network for learning prediction, but this method usually has high requirements for the amount of data, and the amount of data that can usually be obtained in material research and development is small, which does not meet the needs of deep learning modeling. Therefore, it is necessary to develop an alloy performance prediction method with high prediction accuracy and good stability to solve the above problems. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide an alloy performance prediction method based on machine learning model fusion in view of the shortcomings of the prior art. By data mining the historical data of alloy composition, processing technology and performance, the boosting fusion and stacking fusion in machine learning are used to construct the relationship between "composition-processing technology-performance", so as to achieve the purpose of predicting alloy performance according to composition and processing technology.

[0005] The technical solution adopted by the present invention to solve the above technical problems is: a method for predicting alloy properties based on machine learning model fusion, comprising the following steps:

[0006] S1. Design the alloy composition and processing technology of the target alloy. According to the alloy composition and processing technology of the designed target alloy, collect data on alloy composition, processing technology and performance from historical data, group the collected data according to the corresponding relationship between alloy composition, processing technology and performance to obtain data groups, randomly divide the data groups, use 70-80% of the data groups as training sets, and the remaining 20-30% of the data groups as test sets;

[0007] S2. Taking alloy composition, processing technology and performance as features, feature derivation and feature screening are performed on the training set and test set respectively. The alloy composition and processing technology obtained after feature derivation and feature screening are used as input features, and the performance is used as output features;

[0008] S3, using the data of input features in the training set as input and the data of output features in the training set as output, four boosting models are established, namely CatBoost, LightGBM, XGBoost and Adaboost;

[0009] S4. Use the data of the output features in the test set as the performance verification value E0; input the data of the input features in the test set into the four boosting models to obtain the performance prediction value E1; calculate the prediction error ΔE of the four boosting models using the formula:

[0010]

[0011] If the prediction errors ΔE of two or more models are within 10%, proceed to step S5, otherwise repeat steps S2 to S4;

[0012] S5, taking two or more models with prediction errors ΔE within 10% as target models, inputting the data of input features in the training set into each target model respectively, and obtaining the performance prediction value E2 of each target model;

[0013] S6, training and establishing a stacking model using the data of input features and output features in the training set and the performance prediction value E2 of each target model, wherein the stacking model is any one of a linear regression, a KNN, and a decision tree model;

[0014] S7, using the stacking model to further integrate the performance prediction values ​​E1 of each target model to obtain the final performance prediction value E;

[0015] S8, respectively calculating the ratio of the final performance prediction value E to the data E0 of the output feature in the test set, and taking the obtained ratio as the degree of fit;

[0016] S9. If more than 90% of all the degrees of fit calculated in step S8 are within the range of 0.95 to 1.05, the final performance prediction value E meets the design requirements;

[0017] If the degree of fit among all the degrees of fit calculated in step S8 within the range of 0.95 to 1.05 is less than 90%, the stacking model is reselected and steps S6 to S9 are repeated; if after repeating steps S6 to S9, the final performance prediction value E does not meet the design requirements, steps S1 to S9 are repeated until the final performance prediction value E meets the design requirements.

[0018] Preferably, the feature derivation method adopted in step S2 is at least one of feature cross-combination, statistical frequency, and statistical proportion, and the feature screening method adopted is the null importance feature selection algorithm.

[0019] Preferably, the specific steps of step S3 are:

[0020] S31, divide the training set into 5 subsets: train1, train2, train3, train4 and train5;

[0021] S32, using the data of input features in the training set as input and the data of output features in the training set as output, four boosting models are established respectively, namely CatBoost, LightGBM, XGBoost and Adaboost;

[0022] S33. For each boosting model, use one subset from train1, train2, train3, train4 and train5 as the validation subset, and the remaining four subsets as the training subsets, and use 5-fold cross validation to perform model training.

[0023] Preferably, the target alloy is a non-ferrous alloy.

[0024] Preferably, the nonferrous alloy is a copper alloy, a titanium alloy or a magnesium alloy.

[0025] Compared with the prior art, the present invention has the following advantages: the alloy performance prediction method of the present invention mines the historical data of alloy composition-processing technology-performance, and coordinates the boosting fusion and stacking fusion in machine learning, wherein boosting fusion can improve the accuracy of the model and reduce the deviation, and stacking fusion can make the model more robust. Through the collaboration of these two models, the effect of different models complementing each other can be achieved, and the training process is integrated into the training result fusion, and then the relationship between "composition-processing technology-performance" is constructed, so as to achieve the purpose of predicting alloy performance according to composition and processing technology. The alloy performance prediction method of the present invention solves the problems of low accuracy and weak generalization ability of a single machine learning model, integrates the advantages of individual learning machines, reduces the prediction error of the model, optimizes the performance of the overall model, and has better model performance than a single data fusion method. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 The figure is a flow chart of the alloy property prediction method of the present invention. DETAILED DESCRIPTION

[0027] The present invention is further described in detail below with reference to the accompanying drawings.

[0028] Example 1: A method for predicting alloy properties based on machine learning model fusion, such as Figure 1 As shown, the following steps are included:

[0029] S1. Take a copper alloy as the target alloy to predict its yield strength, design the alloy composition and processing technology of the target alloy, wherein the alloy composition includes Cu, Ni, Cr, Fe, and Ti, and the processing technology includes hot rolling temperature, holding time, and solid solution temperature; according to the alloy composition and processing technology of the designed target alloy, collect data on alloy composition, processing technology, and performance from historical data (such as enterprise self-test data, data recorded in publicly published patents, papers, books, and other literature materials), group the collected data according to the corresponding relationship between alloy composition, processing technology, and performance to obtain data groups, randomly divide the data groups, and use 80% of the data groups as training sets, and the remaining 20% ​​of the data groups as test sets;

[0030] S2, taking alloy composition, processing technology and performance as features, the feature cross-combination method is used to derive features for the training set and the null importance feature selection algorithm is used to screen features for the test set. The alloy composition and processing technology obtained after feature derivation and feature screening are used as input features, and the performance is used as the output feature.

[0031] S3, using the data of input features in the training set as input and the data of output features in the training set as output, four boosting models are established respectively, namely CatBoost, LightGBM, XGBoost and Adaboost; the specific steps of step S3 are:

[0032] S31, divide the training set into 5 subsets: train1, train2, train3, train4 and train5;

[0033] S32, using the data of input features in the training set as input and the data of output features in the training set as output, four boosting models are established respectively, namely CatBoost, LightGBM, XGBoost and Adaboost;

[0034] S33, for each boosting model, use one subset from train1, train2, train3, train4 and train5 as the validation subset, and the remaining four subsets as the training subsets, and use 5-fold cross validation to perform model training;

[0035] S4. Use the data of the output features in the test set as the performance verification value E0; input the data of the input features in the test set into the four boosting models to obtain the performance prediction value E1; calculate the prediction error ΔE of the four boosting models using the formula:

[0036]

[0037] If the prediction errors ΔE of two or more models are within 10%, proceed to step S5, otherwise repeat steps S2 to S4;

[0038] S5, taking two or more models with prediction errors ΔE within 10% as target models, inputting the data of input features in the training set into each target model respectively, and obtaining the performance prediction value E2 of each target model;

[0039] S6, training and establishing a stacking model using the data of input features and output features in the training set and the performance prediction value E2 of each target model, wherein the stacking model is any one of a linear regression, a KNN, and a decision tree model;

[0040] S7, using the stacking model to further integrate the performance prediction values ​​E1 of each target model to obtain the final performance prediction value E;

[0041] S8, respectively calculating the ratio of the final performance prediction value E to the data E0 of the output feature in the test set, and taking the obtained ratio as the degree of fit;

[0042] S9. If more than 90% of all the degrees of fit calculated in step S8 are within the range of 0.95 to 1.05, the final performance prediction value E meets the design requirements;

[0043] If the degree of fit among all the degrees of fit calculated in step S8 within the range of 0.95 to 1.05 is less than 90%, the stacking model is reselected and steps S6 to S9 are repeated; if after repeating steps S6 to S9, the final performance prediction value E does not meet the design requirements, steps S1 to S9 are repeated until the final performance prediction value E meets the design requirements.

[0044] The test set examples in Example 1 are shown in Table 1, and the model performance is shown in Table 2.

[0045] Table 1

[0046]

[0047] Table 2

[0048]

[0049] Embodiment 2: A method for predicting alloy properties based on machine learning model fusion, comprising the following steps:

[0050] S1. Take a titanium alloy as the target alloy to predict its elongation, design the alloy composition and processing technology of the target alloy, wherein the alloy composition includes Ti, C, Cr, H, O, N, Fe, and the processing technology includes heat treatment temperature and cooling rate; according to the alloy composition and processing technology of the designed target alloy, collect data on alloy composition, processing technology and performance from historical data (such as enterprise self-test data, data recorded in publicly published patents, papers, books and other literature materials), group the collected data according to the corresponding relationship between alloy composition, processing technology and performance to obtain data groups, randomly divide the data groups, use 70% of the data groups as training sets, and the remaining 30% of the data groups as test sets;

[0051] S2, taking alloy composition, processing technology and performance as features, the feature cross-combination method is used to derive features for the training set and the null importance feature selection algorithm is used to screen features for the test set, and the alloy composition and processing technology obtained after feature derivation and feature screening are used as input features, and the performance is used as the output feature;

[0052] S3, using the data of input features in the training set as input and the data of output features in the training set as output, four boosting models are established respectively, namely CatBoost, LightGBM, XGBoost and Adaboost; the specific steps of step S3 are:

[0053] S31, divide the training set into 5 subsets: train1, train2, train3, train4 and train5;

[0054] S32, using the data of input features in the training set as input and the data of output features in the training set as output, four boosting models are established respectively, namely CatBoost, LightGBM, XGBoost and Adaboost;

[0055] S33, for each boosting model, use one subset from train1, train2, train3, train4 and train5 as the validation subset, and the remaining four subsets as the training subsets, and use 5-fold cross validation to perform model training;

[0056] S4. Use the data of the output features in the test set as the performance verification value E0; input the data of the input features in the test set into the four boosting models to obtain the performance prediction value E1; calculate the prediction error ΔE of the four boosting models using the formula:

[0057]

[0058] If the prediction errors ΔE of two or more models are within 10%, proceed to step S5, otherwise repeat steps S2 to S4;

[0059] S5, taking two or more models with prediction errors ΔE within 10% as target models, inputting the data of input features in the training set into each target model respectively, and obtaining the performance prediction value E2 of each target model;

[0060] S6, training and establishing a stacking model using the data of input features and output features in the training set and the performance prediction value E2 of each target model, wherein the stacking model is any one of a linear regression, a KNN, and a decision tree model;

[0061] S7, using the stacking model to further integrate the performance prediction values ​​E1 of each target model to obtain the final performance prediction value E;

[0062] S8, respectively calculating the ratio of the final performance prediction value E to the data E0 of the output feature in the test set, and taking the obtained ratio as the degree of fit;

[0063] S9. If more than 90% of all the degrees of fit calculated in step S8 are within the range of 0.95 to 1.05, the final performance prediction value E meets the design requirements;

[0064] If the degree of fit among all the degrees of fit calculated in step S8 within the range of 0.95 to 1.05 is less than 90%, the stacking model is reselected and steps S6 to S9 are repeated; if after repeating steps S6 to S9, the final performance prediction value E does not meet the design requirements, steps S1 to S9 are repeated until the final performance prediction value E meets the design requirements.

[0065] The test set examples in Example 2 are shown in Table 3, and the model performance is shown in Table 4.

[0066] Table 3

[0067]

[0068] Table 4

[0069]

[0070] Embodiment 3: A method for predicting alloy properties based on machine learning model fusion, comprising the following steps:

[0071] S1. Take a magnesium alloy as the target alloy to predict its tensile strength, design the alloy composition and processing technology of the target alloy, wherein the alloy composition includes Mg, Zn, Ce, Ca, and the processing technology includes extrusion temperature, annealing temperature, and pass reduction; according to the designed alloy composition and processing technology of the target alloy, collect data on alloy composition, processing technology and performance from historical data (such as enterprise self-test data, data recorded in publicly published patents, papers, books and other literature materials), group the collected data according to the corresponding relationship between alloy composition, processing technology and performance to obtain data groups, randomly divide the data groups, use 80% of the data groups as training sets, and the remaining 20% ​​of the data groups as test sets;

[0072] S2, taking alloy composition, processing technology and performance as features, the feature cross-combination method is used to derive features for the training set and the null importance feature selection algorithm is used to screen features for the test set, and the alloy composition and processing technology obtained after feature derivation and feature screening are used as input features, and the performance is used as the output feature;

[0073] S3, using the data of input features in the training set as input and the data of output features in the training set as output, four boosting models are established respectively, namely CatBoost, LightGBM, XGBoost and Adaboost; the specific steps of step S3 are:

[0074] S31, divide the training set into 5 subsets: train1, train2, train3, train4 and train5;

[0075] S32, using the data of input features in the training set as input and the data of output features in the training set as output, four boosting models are established respectively, namely CatBoost, LightGBM, XGBoost and Adaboost;

[0076] S33, for each boosting model, use one subset from train1, train2, train3, train4 and train5 as the validation subset, and the remaining four subsets as the training subsets, and use 5-fold cross validation to perform model training;

[0077] S4. Use the data of the output features in the test set as the performance verification value E0; input the data of the input features in the test set into the four boosting models to obtain the performance prediction value E1; calculate the prediction error ΔE of the four boosting models using the formula:

[0078]

[0079] If the prediction errors ΔE of two or more models are within 10%, proceed to step S5, otherwise repeat steps S2 to S4;

[0080] S5, taking two or more models with prediction errors ΔE within 10% as target models, inputting the data of input features in the training set into each target model respectively, and obtaining the performance prediction value E2 of each target model;

[0081] S6, training and establishing a stacking model using the data of input features and output features in the training set and the performance prediction value E2 of each target model, wherein the stacking model is any one of a linear regression, a KNN, and a decision tree model;

[0082] S7, using the stacking model to further integrate the performance prediction values ​​E1 of each target model to obtain the final performance prediction value E;

[0083] S8, respectively calculating the ratio of the final performance prediction value E to the data E0 of the output feature in the test set, and taking the obtained ratio as the degree of fit;

[0084] S9. If more than 90% of all the degrees of fit calculated in step S8 are within the range of 0.95 to 1.05, the final performance prediction value E meets the design requirements;

[0085] If the degree of fit among all the degrees of fit calculated in step S8 within the range of 0.95 to 1.05 is less than 90%, the stacking model is reselected and steps S6 to S9 are repeated; if after repeating steps S6 to S9, the final performance prediction value E does not meet the design requirements, steps S1 to S9 are repeated until the final performance prediction value E meets the design requirements.

[0086] The test set examples in Example 3 are shown in Table 5, and the model performance is shown in Table 6.

[0087] Table 5

[0088]

[0089] Table 6

[0090]

Claims

1. A method for predicting alloy properties based on machine learning model fusion, characterized in that: The following steps are involved: S1. Designing the alloy composition and processing technology of the target alloy, wherein the target alloy is a nonferrous alloy, collecting data on alloy composition, processing technology and performance from historical data according to the designed alloy composition and processing technology of the target alloy, grouping the collected data according to the corresponding relationship among alloy composition, processing technology and performance to obtain a data group, randomly dividing the data group, taking 70-80% of the data group as a training set, and the remaining 20-30% of the data group as a test set; S2. Taking alloy composition, processing technology and performance as features, feature derivation and feature screening are performed on the training set and test set respectively. The alloy composition and processing technology obtained after feature derivation and feature screening are used as input features, and the performance is used as output features; The feature derivation method used in step S2 is at least one of feature cross-combination, statistical frequency, and statistical proportion, and the feature screening method used is the null importance feature selection algorithm; S3, using the data of input features in the training set as input and the data of output features in the training set as output, four boosting models are established, namely CatBoost, LightGBM, XGBoost and Adaboost; S4. Use the data of the output features in the test set as the performance verification value E0; input the data of the input features in the test set into the four boosting models to obtain the performance prediction value E1; calculate the prediction error ΔE of the four boosting models using the formula: If the prediction errors ΔE of two or more models are within 10%, proceed to step S5, otherwise repeat steps S2 to S4; S5, taking two or more models with prediction errors ΔE within 10% as target models, inputting the data of input features in the training set into each target model respectively, and obtaining the performance prediction value E2 of each target model; S6, training and establishing a stacking model using the data of input features and output features in the training set and the performance prediction value E2 of each target model, wherein the stacking model is any one of a linear regression, a KNN, and a decision tree model; S7, using the stacking model to further integrate the performance prediction values ​​E1 of each target model to obtain the final performance prediction value E; S8, respectively calculating the ratio of the final performance prediction value E to the data E0 of the output feature in the test set, and taking the obtained ratio as the degree of fit; S9. If more than 90% of all the degrees of fit calculated in step S8 are within the range of 0.95 to 1.05, the final performance prediction value E meets the design requirements; If the degree of fit among all the degrees of fit calculated in step S8 within the range of 0.95 to 1.05 is less than 90%, the stacking model is reselected and steps S6 to S9 are repeated; if after repeating steps S6 to S9, the final performance prediction value E does not meet the design requirements, steps S1 to S9 are repeated until the final performance prediction value E meets the design requirements.

2. The alloy property prediction method based on machine learning model fusion according to claim 1 is characterized in that: The specific steps of step S3 are: S31, divide the training set into 5 subsets: train1, train2, train3, train4 and train5; S32, using the data of input features in the training set as input and the data of output features in the training set as output, four boosting models are established respectively, namely CatBoost, LightGBM, XGBoost and Adaboost; S33. For each boosting model, use one subset from train1, train2, train3, train4 and train5 as the validation subset, and the remaining four subsets as the training subsets, and use 5-fold cross validation to perform model training.

3. The alloy property prediction method based on machine learning model fusion according to claim 1 is characterized in that: The nonferrous alloy is a copper alloy, a titanium alloy or a magnesium alloy.

Citation Information

Cited By

  • A system and method for 1100 battery aluminum foil performance prediction and inverse design

    CN122778880A