A machine learning prediction method for Young's modulus of biomedical β-titanium alloy

Through the multi-layer machine learning model architecture, the accuracy and robustness problems of Young's modulus prediction of biomedical β-titanium alloys are solved, achieving fast and accurate material prediction, reducing R&D costs and time, and improving the accuracy of prediction. and generalizability.

CN114596924BActive Publication Date: 2024-09-27XIAMEN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210242347.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-11
Publication Date
2024-09-27
Estimated Expiration
2042-03-11

AI Technical Summary

Technical Problem

Existing technology is difficult to quickly and accurately predict the Young's modulus of biomedical β-titanium alloys, resulting in high material development costs and long time. In addition, a single machine learning method has problems of over-fitting and poor generalization ability in the prediction process.

Method used

A multi-layer machine learning model architecture is adopted to filter non-β titanium alloys through the first-layer model. The second-layer model predicts Young's modulus from multiple base models, and the third-layer model performs fitting regression to improve prediction accuracy and generalization. It can replace repeated tests and reduce R&D costs.

Benefits of technology

The prediction accuracy and generalization are improved, and the functional relationship between Young's modulus, alloy composition and heat treatment process temperature is obtained, which accelerates the development of new biomedical β-titanium alloys and reduces time and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114596924B
    Figure CN114596924B
Patent Text Reader

Abstract

The present invention discloses a machine learning prediction method for the Young's modulus of a biomedical β-titanium alloy, and constructs a three-layer structure. The first-layer machine learning model is used to predict the microstructure phase composition of the biomedical titanium alloy, and the β-titanium alloy data is screened as the input of the next-layer model; the second-layer machine learning model includes a plurality of different base models, and outputs the preliminary prediction results of the Young's modulus of the β-titanium alloy; the third-layer machine learning model uses the results of the second-layer machine learning model as input to obtain the final prediction results of the Young's modulus of the β-titanium alloy. The multi-layer machine learning model structure proposed by the present invention can quickly and accurately predict the Young's modulus of the biomedical β-titanium alloy, and can replace a large number of repeated experiments, reducing time costs and R&D costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of material property prediction, and in particular to a machine learning prediction method for Young's modulus of a biomedical beta titanium alloy based on a multi-layer machine learning model. Background Art

[0002] At present, the biomedical materials used in clinical practice mainly include pure metal titanium, tantalum, niobium, zirconium, biomedical stainless steel, cobalt-based and titanium-based alloys, etc., which are mainly used for various artificial joints, skull defect repair surfaces and coronary artery bypass stents, etc. (He Baoming, Wang Yulin, Dai Zhenghong. Development and application progress of biomedical titanium and its alloy materials, market status and problem analysis [J]. Titanium Industry Progress, 2003 (5): 82-87). Titanium and titanium alloys have been widely used in the biomedical field, mainly because of their low density and good corrosion resistance in the atmosphere and corrosive liquid environment. Due to the non-magnetic nature of titanium alloys, they have better imaging capabilities in nuclear magnetic resonance imaging than stainless steel and cobalt-chromium-based alloys. Titanium and titanium alloys have good mechanical properties, corrosion resistance and biocompatibility, making them the preferred materials for implantation in the human body.

[0003] Young's modulus is an important performance index of biomedical materials. Although metal implanted in the human body requires a certain structural strength, if the Young's modulus of the implanted material is much higher than the modulus of human bones, a stress shielding effect will occur (that is, when two materials with different elastic moduli are stressed together, the one with a larger Young's modulus will bear more stress, and the bone with a lower Young's modulus will bear almost no stress), resulting in the inability of the bones to exercise after surgery and gradually atrophy.

[0004] Titanium alloys are mainly divided into α, α+β and β-type titanium alloys according to their organizational morphology at room temperature. The earliest titanium alloys used in biomedicine were mainly represented by pure titanium (α-type) and Ti-6Al-4V (α+β-type) alloys. However, the modulus of pure titanium and Ti-6Al-4V alloy (≈110GPa) is much higher than that of human bones (<35GPa). After implantation into the human body, a stress shielding effect will occur, causing abnormal degeneration of bones near the implant. Compared with α and α+β titanium alloys, β-type titanium alloys can have excellent biocompatibility, high strength and low modulus, and have great potential in biomedicine. In the process of designing new low-modulus titanium alloys, it is generally believed that it is difficult to achieve low modulus and high β stability in a simple alloy system. In addition, the effect of alloying elements on Young's modulus must be determined by mechanical testing, which is still complicated and basically undetermined. Therefore, people are eager to develop non-toxic titanium-based materials that match the modulus of natural bones as human implants. In recent years, the design of low modulus titanium alloys by adding non-toxic, β-stable alloying elements such as tantalum, niobium, zirconium, and molybdenum has attracted great attention from researchers.

[0005] The Young's modulus of the newly developed β-type titanium alloys for biological use is generally low, including Ti-13Nb-13Zr, Ti-35Nb-7Zr-5Ta, Ti-12Mo-6Zr-2Fe, Ti-15Nb, Ti-35.3Nb-5.1Ta-7.1Zr alloys developed in the United States, Ti-29Nb-13Ta-4.6Zr alloys developed in Japan, and Ti-24Nb-4Zr-7.5Sn alloys developed by the Institute of Metal Research, Chinese Academy of Sciences, etc. The Young's modulus of these alloys is between 55-85GPa.

[0006] Young's modulus often needs to be measured through mechanical property tests. When designing new β-titanium alloy materials, changes in alloy composition and heat treatment process will lead to changes in Young's modulus. However, the experimental trial and error method based on these empirical calculations and theoretical guidance is difficult to effectively obtain the relationship between alloy element composition and Young's modulus. Traditional experimental methods require huge scientific research costs and are time-consuming. There is an urgent need to provide a new material prediction method to quickly and accurately predict its Young's modulus.

[0007] Machine learning methods have been gradually applied to material modeling to more accurately predict material properties. The key is to find a mapping model that projects the input space to the output space for a class of problems. By using machine learning models, the research and development of materials can be accelerated. In the field of machine learning, commonly used machine learning method models include random forests, support vector machines, and other models. These methods provide advanced and effective means for material composition optimization, heat treatment process research, and performance research.

[0008] In the field of materials science, the experimental data that can be collected is often small, and good prediction results cannot be obtained through a single machine learning modeling method. In the actual material prediction process, a single machine learning method has problems such as overfitting and poor generalization ability in the modeling process.

[0009] Reference 1 (Yuan et al. Accelerated Search for BaTi-OB3ased Ceramics with Large Energy Storage at Low Fields Using Machine Learning and Experimental Design [J]. Advanced Science, 2019, 6 (21).) proposes a data-driven approach to explore high-performance materials through uncertainty iteration predicted by an integrated machine learning model.

[0010] Reference 2 (Wen et al. Accelerated Search for BaTi-OB3ased Ceramics with Large Energy Storage at Low Fields Using Machine Learning and Experimental Design [J]. Advanced Science, 2019, 6 (21).) proposed a data-driven method that combines machine learning, experimental design, and experimental feedback to accelerate the search for multi-component alloys with target properties. The machine learning method generates 500 models through a self-service sampling method, and conducts an active learning feedback loop through experiments. The successfully predicted alloys perform 10% better than the original trained alloys.

[0011] The characteristic of the above-mentioned integrated learning framework is that different machine learning models have different prediction biases when making predictions on the same data set. For the prediction of Young's modulus of titanium alloy, it is difficult to ensure the accuracy and robustness of the prediction results due to its diverse organizational morphology, complex characteristics, and large data set dimensions. Summary of the invention

[0012] The technical problem to be solved by the present invention is to provide a machine learning prediction method for Young's modulus of biomedical β-titanium alloy. Through the architecture of a multi-layer model, the accuracy and robustness of the model's prediction are improved, making the prediction result more accurate.

[0013] In order to achieve the above purpose, the technical solution of the present invention is:

[0014] A machine learning prediction method for Young's modulus of a biomedical β-titanium alloy, comprising:

[0015] Step A: collecting a first original data set related to the phase composition of the titanium alloy and a second original data set related to the Young's modulus, and using a part of the data in the first original data set and the second original data set as a training set and the other part as a test set respectively;

[0016] Step B: Generate a Pearson correlation heat map for the first original data set and the second original data set respectively to check the degree of correlation between the features;

[0017] Step C: normalizing the first original data set and the second original data set respectively to obtain a first data set and a second data set;

[0018] Step D: Use feature selection methods to eliminate irrelevant or redundant features;

[0019] Step E: Generate a first-layer machine learning model to predict the microstructure phase composition of the titanium alloy, and use the first data set for model training;

[0020] Step F: Use the first-layer machine learning model to predict whether the microstructure of the titanium alloy in the second data set is β phase. The screened second data set will serve as the input of the second-layer machine learning model.

[0021] Step G: Generate a second-layer machine learning model for preliminarily predicting the Young's modulus of β titanium alloy, the second layer includes N different base models; the fold number of the second-layer cross-validation is K2, and k2=1 and n=1 are initialized;

[0022] Step H: Perform k2-fold cross-validation training on the n-th model;

[0023] Step I: Determine whether k2 is less than or equal to K2. If so, execute step J; otherwise, execute step K;

[0024] Step J: k2=k2+1, return to step H;

[0025] Step K: Determine whether n is less than or equal to N. If yes, proceed to step L; if not, proceed to step M:

[0026] Step L: n=n+1, return to step H;

[0027] Step M: Generate a third-layer machine learning model to predict the Young's modulus of the β-titanium alloy, and use the output result of the second-layer machine learning model as input data of the third-layer machine learning model;

[0028] Step N: Output the prediction results of the third-layer machine learning model; at this point, the model training is completed.

[0029] Further improvement, the step C adopts the normalization process of the following formula:

[0030]

[0031] Among them, X represents the original initial value of the sample point in the feature column, X min Represents the minimum value in the feature column where the sample point is located, X max represents the maximum value in the feature column where the sample point is located, and X′ represents the dataset after the original dataset is normalized.

[0032] As a further improvement, the feature selection method in step D includes a recursive elimination method and a sequential selection forward method.

[0033] Further improvement, in step E, the training process is:

[0034] Step E1, the fold number of cross-validation of the first-layer machine learning model is K1, and k1 is initialized to 1;

[0035] Step E2: Perform k1-fold cross-validation training;

[0036] Step E3: Determine whether k1 is less than or equal to K1. If yes, execute step E4; otherwise, execute step F;

[0037] Step E4: k1=k1+1, return to step E2.

[0038] Further improvement, the first layer of machine learning model in step E is a random forest.

[0039] Further improvement, K1=5~10.

[0040] Further improvement, K2=5~10, N=5.

[0041] Further improvement, the base models of the second layer in step G are random forest, extra tree, support vector machine (SVM), gradient boost and ridge regression. Further improvement, the third layer of machine learning model in step M is LightGBM.

[0042] The beneficial effects of the present invention are:

[0043] 1. The prediction method of the present invention is a three-layer machine learning model structure. The non-β titanium alloy is filtered out by the first-layer machine learning model. The prediction results of the second-layer machine learning model are generated by the predictions of multiple different machine learning models. The third-layer machine learning model performs fitting regression on the prediction results of the second-layer model, which improves the prediction accuracy and generalization, and is more consistent with the experimental results.

[0044] 2. The present invention constructs a multi-layer integrated learning model and uses an integrated machine learning algorithm to predict the Young's modulus of the alloy, replacing a large number of repeated experiments and reducing time costs and R&D costs;

[0045] 3. The machine learning method proposed in the present invention obtains the functional relationship between Young's modulus and influencing factors such as alloy composition and heat treatment process temperature, which accelerates the research and development of new biomedical β-titanium alloys. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A flow chart of a machine learning prediction method for Young's modulus of a biomedical β-titanium alloy according to an embodiment of the present invention;

[0047] Figure 2 It is a Pearson correlation heat map between the characteristic values ​​of the titanium alloy microstructure phase composition data set in the embodiment of the present invention;

[0048] Figure 3 is a Pearson correlation heat map between the eigenvalues ​​of the titanium alloy Young's modulus data set in an embodiment of the present invention;

[0049] Figure 4 It is the prediction result of the first-layer machine learning model on the test set in the embodiment of the present invention;

[0050] Figure 5 This is the prediction result of the third-layer machine learning model on the test set in an embodiment of the present invention. DETAILED DESCRIPTION

[0051] The present invention is further explained below in conjunction with the accompanying drawings and specific embodiments.

[0052] The present invention is aimed at the existing biomedical β titanium alloy field. Changes in alloy composition and heat treatment process lead to changes in Young's modulus. Designing low Young's modulus titanium alloys through traditional experimental methods requires huge scientific research costs and takes a long time. It is urgent to provide a new material prediction method to quickly and accurately predict its Young's modulus.

[0053] refer to Figure 1 , the machine learning prediction method of the Young's modulus of the biomedical β-titanium alloy of the embodiment comprises:

[0054] Step A: Collect the first original data set related to the phase composition of titanium alloy and the second original data set related to Young's modulus, and use part of the data in the first original data set and the second original data set as the training set and the other part as the test set. The first original data set includes features and microstructure phase composition, and the second original data set includes features and Young's modulus values. Features include the chemical composition, heat treatment process and physical and chemical properties of the alloy, a total of 34. The first original data set has a total of 350 items, and the second original data set has a total of 242 items, and the training set and the test set are divided into 7:3 ratios.

[0055] Step B: Generate a Pearson correlation heat map for the first original data set and the second original data set respectively to check the degree of correlation between the features.

[0056] Figure 2 and Figure 3 The Pearson correlation heat map between the eigenvalues ​​of the first original data set and the second original data set of the present invention is shown respectively. The depth of the color represents the correlation between the two eigenvalues. The darker the color, the greater the positive correlation between the eigenvalues; the lighter the color, the greater the negative correlation between the eigenvalues. Figure 2 and Figure 3 As shown, there is an obvious correlation between the features. The existence of redundant features will lead to large model prediction errors. It is necessary to remove these features.

[0057] Step C: Normalizing the first original data set and the second original data set respectively to obtain a first data set and a second data set.

[0058] In this step, various normalization processing methods can be used. For example, each sample point in each column of the original data set is normalized using the following formula:

[0059]

[0060] Among them, X represents the original initial value of the sample point in the feature column, X min Represents the minimum value in the feature column where the sample point is located, X max represents the maximum value in the feature column where the sample point is located, and X′ represents the data set after the original data set is normalized.

[0061] Step D: Use feature selection methods to eliminate irrelevant or redundant features;

[0062] The feature selection method includes a recursive elimination method and a sequential selection forward method. Since the feature selection method is common knowledge in the art, it will not be described here. After using the feature selection method, the number of features of the first data set and the second data set are 12 and 9 respectively.

[0063] Step E: Generate a first-layer machine learning model and use the first data set to build the model. The first-layer machine learning model is a random forest model, which is used to predict the microstructure phase composition of the titanium alloy. The model training steps include:

[0064] Step E1, the fold number of cross-validation of the first-layer machine learning model is K1=10, and k1 is initialized to 1;

[0065] Step E2: Perform k1-fold cross-validation training;

[0066] Step E3: Determine whether k1 is less than or equal to K1. If yes, go to step E4; otherwise, go to step F;

[0067] Step E4: k1=k1+1, execute step E2.

[0068] Step F: Use the first-layer machine learning model to predict whether the titanium alloy microstructure in the Young's modulus dataset is β phase. If it is β phase, it passes the screening. The screened Young's modulus dataset will be used as the input of the second-layer machine learning model. The first-layer machine learning model is Random Forest.

[0069] Step G: Generate the second layer of machine learning models. The second layer includes 5 different base models, namely Random Forest, Extra Tree, Support Vector Machine (SVM), Gradient Boost and Ridge Regression; the fold number of the second layer cross validation is K2=10, initialization k2=1, n=1;

[0070] Step H: Perform k2-fold cross-validation training on the n-th model;

[0071] Step L: Determine whether k is less than or equal to K2. If so, execute step M; otherwise, execute step N;

[0072] Step M: k=k+1, return to step H;

[0073] Step N: Determine whether n is less than or equal to N. If yes, continue to step O; if not, execute step P:

[0074] Step O: n=n+1, return to step H;

[0075] Step P: Generate a third-layer machine learning model to predict the Young's modulus of β-titanium alloy, and use the output of the second-layer machine learning model as the input data of the third-layer machine learning model. The third-layer machine learning model is LightGBM;

[0076] Step Q: Output the prediction results of the third-layer machine learning model; at this point, the model training is completed.

[0077] Step R: After the model is trained, predictions are made on the test set; at this point, the model test is completed.

[0078] Figure 4 The ROC curve is obtained by the first layer model in the present invention on the test set. The ROC curve is used to evaluate the generalization performance of the machine learning model. The resolution ability of the model is specifically quantified by calculating the area value AUC enclosed by the ROC curve and the coordinate axis. Figure 4 As shown, the prediction accuracy AUC of the model on the test set is 0.96 (the value range of AUC is 0 to 1, the closer to 1, the more accurate the prediction), and the prediction accuracy on the test set is high.

[0079] Figure 5 This is a comparison chart of the predicted value and the actual value on the test set of the third-level machine learning model in the present invention. The prediction accuracy of the model is determined by the coefficient of determination R 2 , root mean square error RMSE (determination coefficient R 2 The closer it is to 1, the more accurate the model prediction is; the smaller the root mean square error RMSE is, the more accurate the model prediction is). Figure 5As shown, R on the test set 2 The error and RMSE are 4.79 GPa and 0.92 respectively. It can be concluded that the model has a low error on the test set and the prediction effect is very good.

[0080] The above embodiments are only used to further illustrate the machine learning prediction method for Young's modulus of a biomedical β-titanium alloy of the present invention, but the present invention is not limited to the embodiments. Any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention fall within the protection scope of the technical solution of the present invention.

Claims

1. A machine learning prediction method for Young's modulus of biomedical β-titanium alloy, characterized in that: include: Step A: collecting a first original data set related to the phase composition of the titanium alloy and a second original data set related to the Young's modulus, and using a part of the data in the first original data set and the second original data set as a training set and the other part as a test set respectively; Step B: Generate a Pearson correlation heat map for the first original data set and the second original data set respectively to check the degree of correlation between the features; Step C: normalizing the first original data set and the second original data set respectively to obtain a first data set and a second data set; Step D: Use feature selection methods to remove irrelevant or redundant features; Step E: Generate the first-layer machine learning model to predict the microstructure phase composition of the titanium alloy, and use the first data set for model training. The training process is as follows: Step E1: The number of cross-validation folds for the first-layer machine learning model is K 1 ,initialization k 1 = 1, Step E2: Perform the k 1 fold cross validation training, Step E3: Judgment k 1 Is it less than or equal to K 1 If yes, go to step E4; otherwise, go to step F. Step E4: k 1 = k 1 + 1, return to step E2; Step F: Use the first-layer machine learning model to predict whether the microstructure of the titanium alloy in the second data set is β phase. The screened second data set will serve as the input of the second-layer machine learning model. Step G: Generate a second-layer machine learning model to preliminarily predict the Young's modulus of β-titanium alloy. The second layer includes N different base models; the number of folds for the second cross-validation is K 2 ,initialization k 2 = 1, n = 1; Step H: n The model is k 2 fold cross validation training; Step I: Judgement k 2 Is it less than or equal to K 2 , if yes, go to step J; Otherwise, execute step K; Step J: k 2 = k 2 + 1, return to step H; Step K: Judgement n Is it less than or equal to N , if yes, proceed to step L; If no, go to step M: Step L: n = n + 1, return to step H; Step M: Generate a third-layer machine learning model to predict the Young's modulus of the β-titanium alloy, and use the output result of the second-layer machine learning model as input data of the third-layer machine learning model; Step N: Output the prediction results of the third-layer machine learning model; at this point, the model training is completed.

2. The machine learning prediction method for Young's modulus of biomedical β-titanium alloy according to claim 1, characterized in that: The step C adopts the normalization process of the following formula: in, Represents the original initial value of the sample point in the feature column, Represents the minimum value in the feature column where the sample point is located. Represents the maximum value in the feature column where the sample point is located. Represents the dataset after normalization of the original dataset.

3. The machine learning prediction method for Young's modulus of biomedical β-titanium alloy according to claim 1, characterized in that: The feature selection method in step D includes a recursive elimination method and a sequential selection forward method.

4. The machine learning prediction method for Young's modulus of biomedical β-titanium alloy according to claim 1, characterized in that: The first layer of machine learning model in step E is a random forest.

5. The machine learning prediction method for Young's modulus of biomedical β-titanium alloy according to claim 1, characterized in that: K 1 =5~10。 6. The machine learning prediction method for Young's modulus of biomedical β-titanium alloy according to claim 1, characterized in that: K 2 =5~10, N =5。 7. The machine learning prediction method for Young's modulus of biomedical β-titanium alloy according to claim 6, characterized in that: The base models of the second layer in the step G are random forest, extra tree, support vector machine (SVM), gradient boost and ridge regression.

8. The machine learning prediction method for Young's modulus of biomedical β-titanium alloy according to claim 1, characterized in that: The third-layer machine learning model in step M is LightGBM.