Skip to main content
Science and Technology of Advanced Materials logoLink to Science and Technology of Advanced Materials
. 2025 Jan 31;26(1):2449811. doi: 10.1080/14686996.2025.2449811

Machine learning approaches for predicting and validating mechanical properties of Mg rare earth alloys for light weight applications

Sandeep Jain a,b,, Ayan Bhowmik b, Jaichan Lee a,
PMCID: PMC11792136  PMID: 39906548

ABSTRACT

In this work, we have attempted to predict the mechanical behaviour of light weight Mg-based rare earth alloys fabricated through different mechanical and thermal processes. Our approach involves machine learning techniques across a range of different thermomechanical processes such as solution treatment, homogenization, extrusion and aging behaviour. The effectiveness of machine learning models is evaluated using performance metrics, including Coefficient of determination (R2), Mean Absolute Error (MAE) and Root Mean Square Error (RMSE). After modeling and selection of best model, the mechanical behaviour of new alloys was predicted in terms of ultimate tensile strength, yield strength and total elongation. The predicted results highlight the superior predictive accuracy of the K-Nearest Neighbors (KNN) machine learning model, demonstrating its better performance metrics compared with other machine learning approaches. This model has been found to predict the material properties with an effective evaluation matrix (R2 = 0.955, MAE = 3.4% and RMSE = 4.5%).

KEYWORDS: Thermomechanical behavior, light weight Mg alloys, rare earth elements, machine learning

GRAPHICAL ABSTRACT

graphic file with name TSTA_A_2449811_UF0001_OC.jpg

IMPACT STATEMENT

This research introduces a machine learning approach for rapidly developing magnesium-based rare earth alloys, enhancing mechanical properties and optimizing design through a comprehensive set of parameters and revealing that KNN model exhibited superior performance.

1. Introduction

In the past few decades, there has been a growing need for materials that are both light weight and possess high strength [1,2]. This demand has led to extensive research on aluminum (Al) and magnesium (Mg) alloys, representing a noteworthy advancement in the creation of advanced materials applicable in various fields [3–6]. In Al and Mg alloys, Mg alloys are gaining prominence in the automotive and electronic industries because they stand out as the lightest metals among all structural materials [7–9]. Their exceptional properties, such as high specific strength, machinability etc. make them a subject of considerable interest in these industrial sectors [10]. Mg alloys are widely used in various applications and numerous research are also currently ongoing across the world [7,11,12]. The application and publications from different parts of world on Mg alloy are shown in Figure 1. Nevertheless, their utilization is constrained by issues related to insufficient strength and limited ductility. These challenges impose limitations on their viability for use in structural components of vehicles. Expanding the use of magnesium alloys necessitates finding ways to improve their properties [11]. Numerous approaches exist for enhancing the mechanical properties of Mg alloys such as addition of alloying elements [13,14], different mechanical and thermomechanical processing conditions [15,16] and different heat treatment conditions [17]. These require conducting long-term experiments through careful design of experiments and ensure the data is repeatable and reliable – all of this causes the product cost very high.

Figure 1.

Figure 1.

(a) Distribution of publications related to Mg and its alloys from different parts of the world (b) applications of Mg-alloys in different industries.

In practice, the exploration for an ideal precipitation microstructure tailored to a particular application is typically challenging, time-consuming, and expensive [18]. This is due to the necessity of delineating the optimal process conditions through activities such as heat treatments, microstructure characterization, and mechanical testing. An economical alternative is presented through the use of machine learning (ML) models [19–21], numerical simulations [22], ab initio modelling [23], etc. In recent times, ML has gained prominence as a potential tool for expediting the discovery of materials [24–26]. Numerous studies in the field of material science have extensively explored the applications of machine learning (ML), highlighting its potential to revolutionize the approach to studying materials [27–30]. Utilizing the capabilities of advanced computing and algorithms, researchers have been able to analyze extensive datasets comprising of diverse set of variables. This often involves evaluating the mechanical behavior of material as a function of thermomechanical process to understand and predict the mechanical behaviour of Al and Mg alloys [31–33]. With sufficient precision, ML algorithms and statistical analysis are used to glean insights from inputs, comprehend the underlying data structure and construct models that align with the given data. These ML algorithms have the capability to execute automated decision-making procedures and formulate predictions in a well manner.

It is widely acknowledged that the mechanical behavior of all metals and alloys is fundamentally connected to their composition, with this relationship being particularly significant in Mg alloys due to their sensitivity in mechanical and structural response to alloying additions. Consequently, altering or designing the alloy composition proves to be a viable approach for enhancing the overall properties of Mg alloys. Many researchers have suggested that Zn is a good choice to improve the room and high temperature tensile properties with some other minor elements like Nd, Y, Zr and Cu [26]. The use of rare earth elements (REEs) as alloying components in biodegradable metals has drawn considerable attention due to their unique atomic configuration and inherent properties. The rare earth alloying elements has a great effect on the mechanical behaviour of Mg alloy instead of common alloying elements [34]. The incorporation of zinc into magnesium-based materials is known to boost their strength by refining the grain structure and promoting precipitation strengthening. Cerium (Ce) enhances room temperature deformability, Neodymium (Nd) reduces corrosion rates and improves mechanical properties, and Yttrium (Y) boosts ultimate tensile strength and elongation of Mg-based alloys [35]. Gadolinium (Gd) significantly enhances the strength and creep resistance of magnesium alloys when exposed to high temperatures. Rare earth magnesium alloys possess distinctive properties compared to other metals, such as high specific strength, low thermal conductivity, excellent damping capacity and superior castability. A large number of researchers have reported the influence of rare earth elements in Mg alloy and informed that Mg-based rare earth alloys has better mechanical properties compared to common Mg alloys [36]. Therefore, a lot of combination of these alloying elements have been made to collect the dataset for mechanical behaviour of Mg rare earth alloys.

There are many types of thermomechanical processes to increase the mechanical behaviour of cast magnesium alloys such as solution treatment, homogenization, extrusion and aging at various temperatures. Many researchers have tried one or two options from the abovementioned processes to evaluate the mechanical behaviour of magnesium alloys. Suh et al. [37] reported the effect of extrusion process on the mechanical behaviour of Mg-Zn-Al alloys with the help of ML algorithms. Sarmah et al. [38] has reported the modelling approach for predicting the mechanical behaviour of age hardened Mg alloys. Kang et al. [26] have shown the effect of extrusion and heat treatment to optimize the mechanical properties of biogradable Mg-Zn-Y-Nd alloys. Österreicher et al. [39] presented a quantitative estimate of the mechanical properties of precipitation hardened Al-Mg-Si alloys. The examination of existing literatures indicates that maximum work has been done related to one or two parameters. But there is no study of Mg alloys to predict the mechanical behaviour by considering all mechanical and heat treatment process parameters and therein lies the necessity of this study.

Those abovementioned finding inspire us to forecast the mechanical properties, especially tensile properties of magnesium rare earth alloys by considering different combination of alloying elements and thermomechanical processes parameters. In the present work, the mechanical behaviour has been predicted by considering Mg, Zn, Y, Zr, Nd, Ce and Gd alloying elements and different thermomechanical processing as descriptors such as solution treatment, aging, homogenization at different temperatures and times as well as extrusion behaviour at different ratio and temperatures. One of the objectives of the present study is to validate the most appropriate model from literatures and open inaugurate a novel avenue for the design and development of Mg rare earth alloys for light weight applications.

2. Modelling approach

The most important step needed for machine learning is the collection of datasets according to the requirement to train the model. Therefore, in the present study, total 389 datasets have been used to predict the mechanical behaviour of magnesium alloys with different heat treatment processes and mechanical process. The used dataset was collected from different literatures [37,40–44] The dataset comprises information on seven rare earth elements (Mg, Zn, Y, Zr, Nd, Ce and Gd) used in various applications. The goal is to predict the mechanical behavior of Mg rare earth alloys, considering various descriptors such as Solution heat treatment temperature and time, Homogenization heat treatment temperature and time, Aging temperature and time and the Extrusion process with temperature and extrusion ratio. Solution and homogenization heat treatments significantly influence mechanical properties by dissolving intermetallic phases, reducing chemical segregation, and promoting a more uniform microstructure. Aging, also known as precipitation hardening, is crucial for determining mechanical properties, as varying aging temperatures and times enhance yield strength through the precipitation of fine, coherent particles that hinder dislocation movement. Additionally, extrusion refines grains and introduces a specific crystallographic texture, both of which play crucial roles in enhancing the strength and ductility of the alloy. In the case of magnesium alloys, the crystallographic texture induced by extrusion has a dominant effect on ductility, as it influences the slip system activity and the overall deformation behavior of the material. The mathematical relationships between these processes and mechanical properties are detailed in the supplementary file. The details of the collected dataset are shown in Table 1.

Table 1.

Input and output parameters for the dataset used in the present study.

S.No.   Parameters Range of Values
1 Input Parameters Mg (wt%) 75.19–99.27
2 Zn (wt%) 0–15.17
3 Y (wt%) 0–18.14
4 Zr (wt%) 0–2
5 Nd (wt%) 0–4
6 Ce (wt%) 0–1.4
7 Gd (wt%) 0–20
8 Descriptors Solution Treatment Temperature (Tsol) (°C) 0–550
9 Solution Treatment Time (tsol) (hours) 0–48
10 Homogenization Temperature (Thom) (°C) 0–560
11 Homogenization Time (thom) (hours) 0–48
12 Extrusion Temperature (Textrusion) (°C) 0–500
13 Extrusion Ratio (ER) 0–78.9
14 Aging Temperature (Taging) (K) 0–250
15 Aging Time (taging) (hours) 0–126
16 Output Parameters UTS (MPa) 75–575
17 YS (MPa) 20.9–532.9
18 Elongation (%) 0.5–37.59

In this study, different Machine Learning (ML) algorithms were conducted for training with the aim of predicting mechanical behaviour by considering different aspect of dataset. The spectrum of algorithms investigated includes (i) Multilayer Perceptron (MLP), (ii) Gradient Boosting (XGB/XGBoost), (iii) Random Forest (RF), (iv) Extra Tree (ET), (v) K-Nearest Neighbors (KNN) and (vi) Polynomial regression models.

The choice of these ML models is driven by their unique strengths in addressing the challenges of predicting mechanical properties under diverse processing conditions. For instance, Decision Tree is employed for non-linear relationships and the model excels in handling feature interactions; while Random Forest, as an ensemble method, mitigates overfitting and copes well with non-linearity and high-dimensional data; KNN operates without assumptions about data distribution and is flexible with non-linear patterns; XGB is a specialized gradient boosting library designed for swift and efficient computation, emphasizing rapid performance. XGB often outperforms other implementations and has become a popular choice in various machine learning competitions; Extra Tree, with its advantages of reducing overfitting, fast training and adeptness in handling noisy data, is also considered; Polynomial regression introduces polynomial terms to capture non-linear relationships. In essence, each ML approach brings its distinct advantages to the table, contributing to a comprehensive exploration of the predictive capabilities for mechanical properties under diverse processing conditions.

After an initial evaluation of their performance, the top four machine learning models were determined for predicting mechanical behaviour based on their performance. The models which are showing more than 80% R2 value, have been selected for further prediction. After validating all top four models, one most appropriate model was chosen to predict the mechanical behaviour of reported alloys at various parameters and suggest the importance of different processing parameters to obtain better mechanical behaviour of Mg alloy. Evaluation metrics, including R-squared value, Mean Absolute Error (MAE) and Root Mean Square Error (RMSE), were used to evaluate the precision and effectiveness of the selected models. The basic structure which has been followed in the current study is shown in Figure 2. The figure shows a chart of the different steps involved in the present study from collection of data to prediction behaviour of new alloy based on literature to suggest the various optimized parameters for the mechanical behaviour of Mg alloys.

Figure 2.

Figure 2.

Different steps involved in the present study to predict the mechanical behaviour.

This modeling approach is used to predict the all three mechanical properties simultaneously. Performance of all models was checked based on multi-objective performance data. After that, the predictions of UTS, YS and % EL were shown one by one to show the predictability in a clear way.

3. Results and discussion

3.1. Correlation between different features

The dataset used for predicting the mechanical behavior of Mg rare earth alloys encompasses variations in alloying elements under different thermomechanical processing parameters. A total of 389 entries were gathered for this dataset, serving as the foundation for predicting mechanical behavior through the application of various ML techniques. All six models as mentioned previously – MLP, XGB, RF, ET, KNN and PR were explored in this study.

The parameters of each model were optimized through a grid search algorithm to fine-tune the hyperparameters. The analysis was conducted using the Python module ‘scikit-learn 1.4.1. post1’. During model development, 10% of the data was kept aside, and the remaining 90% was further divided into a ratio of 80:20 for training and testing the models. The data was normalized using the ‘min-max scaler’ from the used module before being fed into the models. After developing the model, we then denormalized the predicted data to obtain values in the original data format. The goal of assessing these machine learning techniques across diverse processing scenarios is to ascertain the most effective method for predicting mechanical properties.

Heat maps are essential tools in machine learning, providing visual representations of feature and label distributions in datasets. They facilitate the identification of correlations between features, aiding in the detection of redundant or highly correlated variables that can optimize model performance. The visualization often includes expressing feature importance through correlation coefficients, such as the widely used Pearson correlation coefficient. The statistical analysis utilized the ‘pandas 2.0.3’ package for computation. The correlation between any two features is assessed by Equation 1, which generates a correlation value between −1 and + 1, representing both the strength and direction of their relationship [45]:

rxy=CorrX,Y=covX,Yσxσy=i=1nXiXˉYiYˉσxσy (1)

In this equation, ‘n’ represents the sample size, xˉ and xˉ denote the mean values of the input features x and y, and σx and σy are representing their respective standard deviations. The heatmap provides a visual representation of how flow stress correlates with all features present in the dataset. Figure 3 specifically highlights essential features that have a notable impact on mechanical properties.

Figure 3.

Figure 3.

Heat map depicting correlations among all features.

It is clear from Figure 3 that out of all processing features, two features (extrusion and aging behaviour) show very good correlation with mechanical properties and other two features are also showing the acceptable correlation with mechanical properties. In Figure 3, the heat map shows a weak but positive correlation between the rare earth content and both UTS and YS, with correlation values slightly above 0.2. This suggests that rare earth elements do improve strength properties, but their effect is modest. Other factors in conjunction with the rare earth element, such as alloy composition and processing parameters, likely play a significant role in determining the overall mechanical properties. Thus, while the weak correlation does not rule out strengthening effects, it highlights the complexity of the influence of rare earth elements in these alloys. Therefore, all dataset has been considered to predict the mechanical behaviour without discounting any features.

3.2. Prediction of mechanical behaviour using different models

3.2.1. Selection of best hyperparameters

Choosing the most appropriate hyperparameters for a machine learning model is essential to attain the best possible performance. Hyperparameters refer to parameters that are established prior to the commencement of the training process and are not subject to adjustment during the training phase. They essentially control the learning process of the model. The performance of a model is heavily influenced by the hyperparameters chosen. Tuning hyperparameters can lead to better performance metrics of each model. Hyperparameter tuning is performed using grid search techniques algorithms. The process entails experimenting with various combinations of hyperparameter values and assessing the model’s performance to identify the optimal set of hyperparameters that yield the best results for a given task. The optimized best hyperparameters of each model have been selected, and these parameters are given in Table 2.

Table 2.

Optimized hyperparameters of all models.

S.No. Models Best Parameters
1 KNN {‘n_neighbors’: 5, ‘p’: 1, ‘weights’: ‘distance’}
2 RF {‘max_depth’: 10, ‘min_samples_leaf’: 1, ‘min_samples_split’: 2, ‘n_estimators’: 150}
3 MLP {‘activation’: ‘relu’, ‘alpha’: 0.01, ‘hidden_layer_sizes’: (100, 50, 25), ‘learning_rate’: ‘constant’}
4 Polynomial {‘linearregression__fit_intercept’: True, ‘polynomialfeatures__degree’: 1}
5 Extra Tree {‘max_depth’: 20, ‘min_samples_leaf’: 1, ‘min_samples_split’: 5, ‘n_estimators’: 150}
6 XGBoost {‘colsample_bytree’: 0.8, ‘learning_rate’: 0.1, ‘max_depth’: 5, ‘min_child_weight’: 5, ‘n_estimators’: 50, ‘subsample’: 0.8}

3.2.2. Models performance

After completing the training of the model, the performance of the trained model was checked on the base of testing data. The performance or accuracy of any model can be decided by three indices such as R2 value, MAE and RMSE.

R2 (R-squared) quantifies the predictability of the dependent variable (target) based on the independent variables (features), with values ranging from 0 to 1. A perfect fit is represented by an R2 of 1, and a higher R2 signifies an improved model fit to the data.

R2=1i=1Nσeiσpi2i=1Nσeiσˉei2 (2)

MAE measures the mean absolute difference between predicted and actual values, offering interpretability and equal treatment of errors without emphasizing outliers. It is less sensitive to extreme values compared to RMSE.

MAE=1Ni=1N|σeiσpi| (3)

RMSE assigns greater importance to significant errors through the squared term, offering an average error magnitude with increased penalty for larger discrepancies. Its sensitivity to outliers makes it more susceptible to influence from extreme data values.

RMSE=1Ni=1Nσeiσpi2 (4)

Here, σei is the representation of experimental values, σpi is the representation of predicted values, σˉei is the representation of the average of experimental values for each observation i respectively and N is the representation of the total number of samples used during machine learning.

The summary of the performance of all trained models is shown in Figure 4 wherein it is observed that MLP and Polynomial regression models are not suited for the prediction of different mechanical properties of Mg rare earth alloys. The performance of all 6 models on the base of training and testing data are shown in Figure 5 and supplementary file (Figure S1, S2 & S3). Figure 5 Showing that the KNN model is performing well during training as well as testing compare to all other models to predict the UTS, YS and %EL.

Figure 4.

Figure 4.

Overall performance of all models based on testing data.

Figure 5.

Figure 5.

Performance of models on training and testing data for (a, b, c) KNN model (d, e, f) RF model for UTS, YS and % elongation respectively.

In Figure 5, some differences between the actual and predicted values are noted, which can be attributed to several factors. First, machine learning models may not always predict individual data points accurately due to inherent variability in the data while they are effective in capturing overall trends. Second, experimental or measurement noise, as well as the complexity of the system, including non-linear interactions not fully represented in the model, can contribute to these deviations. Finally, the limited feature set used in the model may also fail to capture all relevant variables influencing the outcomes. Despite these discrepancies, the model successfully captures the general trends, and the validation remains robust.

3.2.3. Model validation

The validation process plays a pivotal role in the evolution of machine learning models. Validation is used to assess how well a model is expected to perform on data that was not used during training. This process helps estimate the model’s ability to generalize, indicating its error rate on new, unfamiliar data. This is crucial because the primary objective of a machine learning model is to generate precise predictions when presented with new, real-world data. Using the test data for validation doesn’t provide an independent assessment of the model’s generalization performance because the model has already seen the test data during the evaluation phase. Hence, a reserved 10% of the data was designated for validation purposes and remained untouched during the training of all models. The overall performance of all 6 models have been evaluated on validation data as depicted in Figure 6. Figures 4 & 6 show that the top 4 models such as Random Forest, KNN, XGBoosting and Extra Tree regression are performing well. Therefore, these 4 models are used to predict the mechanical properties separately and to select one most appropriate model to predict the mechanical properties and suggest the best processing parameters for design the Mg rare earth alloys.

Figure 6.

Figure 6.

Overall performance of all models based on validation data.

3.2.3.1. Ultimate tensile strength

The selected models were employed to forecast the UTS of magnesium alloy using novel data, which the trained model had not encountered during its training and testing phases. The disparity between the predicted UTS and the actual or experimental UTS is visually represented in Figure 7(a–d). Analysis of the graph indicates that the data points projected by the KNN model closely align with the actual data points, surpassing the performance of all other models which clearly indicates that the KNN model stands out as the most accurate and reliable among them. The comparison of actual and predicted UTS from 4 models is shown in supplementary data in Figure S4(a).

Figure 7.

Figure 7.

Variation between predicted and actual UTS for (a) KNN (b) RF (c) ET and (d) XGB models.

The graphical representation in Figure 8 illustrates the performance of selected models based on their distinct evaluation metrics. As depicted in Figure 8, it is evident that the KNN model emerges as the most suitable choice for accurately predicting the UTS of different Mg-based rare earth alloys.

Figure 8.

Figure 8.

Performance of all models for UTS prediction.

3.2.3.2. Yield strength

The chosen models were utilized to predict the yield strength (YS) of various Mg rare earth alloys using previously unseen data, ensuring that the models were evaluated on novel information not encountered during their training and testing phases. The divergence between the predicted YS through various models and the actual or experimental YS is visually depicted in Figure 9(a–d). A thorough examination of the plots reveals that the data points projected by the KNN model closely coincide with the actual data points, outperforming all other models which underscores the superior accuracy and reliability of the KNN model, establishing it as the most effective among the considered models. The comparison of actual and predicted YS from 4 models is shown in supplementary data in Figure S4(b).

Figure 9.

Figure 9.

Variation between predicted and actual YS for (a) KNN (b) RF (c) ET and (d) XGB models.

The visual depiction in Figure 10 showcases the performance of chosen models through their unique evaluation metrics. It is clearly observed in the figure that the KNN model stands out as the optimal selection for precisely forecasting the yield strength (YS) of various Mg-based rare earth alloys.

Figure 10.

Figure 10.

Performance of all models for YS prediction.

3.2.3.3. Elongation

The selected models were employed to forecast the elongation (EL) of Mg alloys similarly using previously unseen data, ensuring a rigorous evaluation on novel information not encountered during their training and testing phases. The disparity between the predicted EL and the actual or experimental EL is visually represented in Figure 11(a–d). A meticulous analysis of the graph reveals a remarkable alignment between the data points projected by the KNN model and the actual data points, superseding the performance of all other models which demonstrates superior accuracy and reliability, solidifying its position as the most effective among the considered models. The comparison of actual and predicted EL from 4 models is shown in supplementary data in Figure S4(c).

Figure 11.

Figure 11.

Variation between predicted and actual elongation for all (a) KNN (b) RF (c) ET and (d) XGB models.

The visual representation presented in Figure 12 highlights the performance of selected models based on their distinct evaluation metrics. As evident from the figure, the KNN model distinguishes itself as the preferred choice for accurately predicting the elongation (EL) of a range of Mg-based rare earth alloys selected.

Figure 12.

Figure 12.

Performance of all selected models for elongation prediction.

The performance of top 4 models for the prediction of UTS, YS and EL% are given in Table 3 with all evaluation matrices.

Table 3.

Performance of models based on new data.

S.No. Models UTS (MPa)
YS (MPa)
Elongation (%)
R2 RMSE MAE (%) R2 RMSE MAE (%) R2 RMSE MAE (%)
1 KNN 0.96 5.95 4.6 0.95 10.7 7.6 0.89 22.7 15.7
2 RF 0.94 7.8 6.1 0.93 13.3 10.2 0.77 31.4 21.9
3 Extra Tree 0.93 7.7 5.6 0.92 12.4 8.8 0.76 30.5 20.9
4 XGBoost 0.90 9.2 6.8 0.93 12.8 10.1 0.77 30.9 21.2

3.3. Prediction of mechanical behaviour based on literatures

After getting validation performance of top four models, the most appropriate model, KNN model, was chosen to predict the mechanical behaviour of five reported alloys in literatures remaining undisclosed to the model by considering different alloying elements and different processing parameters. Five alloys were meticulously chosen, each emphasizing a distinct processing parameter, including extrusion or solution treatment (ST), extrusion and aging, and an encompassing approach involving all processing parameters in the dataset features. To assess the reliability of the model more comprehensively, the mechanical properties of an alloy selected based on two processing parameters (only extrusion, only aging as well as extrusion and aging) were forecasted by systematically varying the parameter values. Consequently, these five alloys collectively represent a comprehensive exploration of all conceivable variations in processing parameters, providing valuable insights into the predictive capabilities of the model. The prediction of mechanical properties from KNN model with its performance is shown in Table 4. The performance of KNN model for the prediction of new alloys are given in Figure 13. Extrusion parameters exhibit the best prediction compared to the other parameters.

Table 4.

Validation of KNN model by predicting mechanical properties for 5 alloys.

S.No. Alloys Thermomechanical Processing Parameters
UTS (MPa)
YS (MPa)
EL (%)
Ref.
Tsol tsol Textrusion ER Taging taging Pred. Exp. Pred. Exp. Pred. Exp.  
1 Mg-2Zn-0.5Zr-0.5Nd 450 5 390 64 0 0 258.2 231 135.5 120 23.3 27 [44]
2 Mg-3Y–0.5Zr-12Gd 0 0 0 0 230 4 405.2 432.9 395 420.9 6.7 5.4
3 Mg-5.97Zn-0.47Zr 0 0 320 18 200 12 355 355 326 326 15.6 15.6 [46]
4 Mg-6.23Zn-0.49Zr-1.54Nd 0 0 290 18 0 0 421 421 402 402 6.7 6.7 [47]
5 Mg-8Zn-0.7Zr-7.9Y–1.9Nd-1.1Ce-2Gd 239 2.4 297.6 9 192.5 64.7 553 575 435 419.4 6.95 8.68 [44]

Figure 13.

Figure 13.

Comparison of KNN model for the prediction of (a) UTS (b) YS (c) elongation and performance of KNN model (d) R2 value (e) RMSE and MAE.

4. Conclusions

This research quantitatively explores the mechanical properties of Mg-based alloys through machine learning technique. The results provide valuable insights into the application of ML for predicting mechanical properties in magnesium alloys and identifying essential variables for the design of light weight structural metals. The primary outcomes are summarized as follows:

  1. Different ML algorithms have been tested to predict the mechanical properties of Mg-based rare earth alloys by considering different thermomechanical processing conditions according to the requirement.

  2. The validation of these models with new data has been highly effective, demonstrating excellent performance in accurately predicting mechanical properties of Mg-based rare earth alloys.

  3. The KNN (K-nearest neighbor) model proved to be the most reliable and robust algorithm for predicting mechanical (tensile) properties of Mg-based rare earth alloys.

  4. The second most robust algorithm identified in the study was the Random Forest and ExtraTree, demonstrating the least likelihood of overfitting and minimal disparity between train and test scores. The findings suggest that these models also hold promise as an effective algorithm for capturing patterns related to composition, processing, structure and property in Mg-based rare earth alloys. Further enhancement may be achieved by incorporating additional training data.

  5. The tensile mechanical properties of five alloys have been predicted using best KNN model, and the analysis shows a good predictability with high correlation (R2 = 0.955) and very little error (root mean square error, RMSE = 4.5%).

  6. These findings bear considerable implications for the design of advanced high-performance Mg-based rare earth alloys with potential applications across various industries through high throughput machine learning–based approach. It is believed that this will result in considerable reduction in time and financial resource requirements by significantly eliminating complexities in experiment design and cutting down experimental rigours.

Supplementary Material

Supplemental Material
TSTA_A_2449811_SM3933.docx (926.1KB, docx)

Funding Statement

This work was supported by the Basic Science Research Program through the National Research Foundation of Korea [No. NRF-2022R1A2C2004868], Computational resources were supported by KISTI supercomputing center [KSC-2024-CRE-0238]. The first author, Dr. Sandeep Jain, gratefully acknowledges the support and resources provided by Sungkyunkwan University, Republic of Korea which were instrumental in facilitating this research work.

Disclosure statement

No potential conflict of interest was reported by the author(s).

Credit statement for authorship contribution

Sandeep Jain: Investigation, Conceptualization, Methodology, Predictive Analysis, Writing- Review & Editing, Writing- original draft, Ayan Bhowmik: Formal Analysis, Writing- Review & Editing Jaichan Lee: Supervision, Formal Analysis, Funding Acquisition, Writing- Review & Editing.

Data availability statement

Data will be made available on request.

Supplementary material

Supplemental data for this article can be accessed online at https://doi.org/10.1080/14686996.2025.2449811

References

  • [1].Liu D, Dai X, Wen X, et al. Predictions on the compositions, structures, and mechanical properties of intermediate phases in binary Mg-X (X = Sn, Y, Sc, Ag) alloys. Comput Mater Sci. 2015;106:180–16. doi: 10.1016/j.commatsci.2015.04.038 [DOI] [Google Scholar]
  • [2].Zhang Z, Yu J, Xue Y, et al. Recent research and development on forming for large magnesium alloy components with high mechanical properties. J Magnesium Alloys. 2023;11(11):4054–4081. doi: 10.1016/j.jma.2023.09.038 [DOI] [Google Scholar]
  • [3].Jain S, Naveen L, Kumar V, et al. Effect of Ni and Si alloying elements on the phase evolution, mechanical properties, tribological behaviour of Al–Cu alloys. Mater Chem Phys. 2023;297:127421. doi: 10.1016/j.matchemphys.2023.127421 [DOI] [Google Scholar]
  • [4].Jain S, Patel M, Murugesan J, et al. Influence of friction stir processing on novel designed aluminium-based alloy to enhance strength and ductility. Arab J Sci Eng. 2023;49(2):1969–1976. doi: 10.1007/s13369-023-08063-6 [DOI] [Google Scholar]
  • [5].Chen T, Fu B, Shen J, et al. Application of novel constrained friction processing method to produce fine grained biomedical Mg-Zn-Ca alloy. J Magnesium Alloys. 2024;12(2):516–529. doi: 10.1016/j.jma.2023.10.007 [DOI] [Google Scholar]
  • [6].Park WW, You BS, Moon BG, et al. Microstructural change and precipitation hardening in melt–spun Mg–X–Ca alloys. Sci Technol Adv Mater. 2001;2(1):73–78. doi: 10.1016/S1468-6996(01)00028-6 [DOI] [Google Scholar]
  • [7].Zhang J, Miao J, Balasubramani N, et al. Magnesium research and applications: past, present and future. J Magnesium Alloys. 2023;11(11):3867–3895. doi: 10.1016/j.jma.2023.11.007 [DOI] [Google Scholar]
  • [8].Gumbmann E, De Geuser F, Sigli C, et al. Influence of Mg, Ag and Zn minor solute additions on the precipitation kinetics and strengthening of an Al-cu-li alloy. Acta Mater. 2017;133:172–185. doi: 10.1016/j.actamat.2017.05.029 [DOI] [Google Scholar]
  • [9].Gao J, Zhong J, Liu G, et al. Accelerated discovery of high-performance Al-Si-Mg-Sc casting alloys by integrating active learning with high-throughput CALPHAD calculations. Sci Technol Adv Mater. 2023;24(1):2196242. doi: 10.1080/14686996.2023.2196242 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [10].Xu W, Birbilis N, Sha G, et al. A high-specific-strength and corrosion-resistant magnesium alloy. Nat Mater. 2015;14(12):1229–1235. doi: 10.1038/nmat4435 [DOI] [PubMed] [Google Scholar]
  • [11].Yang Y, Xiong X, Chen J, et al. Research advances in magnesium and magnesium alloys worldwide in 2020. J Magnesium Alloys. 2021;9(3):705–747. doi: 10.1016/j.jma.2021.04.001 [DOI] [Google Scholar]
  • [12].Uddin MS, Hall C, Murphy P.. Surface treatments for controlling corrosion rate of biodegradable Mg and Mg-based alloy implants. Sci Technol Adv Mater. 2015;16:053501. doi: 10.1088/1468-6996/16/5/053501 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [13].Kania A, Nowosielski R, Gawlas-Mucha A, et al. Mechanical and corrosion properties of Mg-based alloys with Gd addition. Materials. 2019;12(11):1775. doi: 10.3390/ma12111775 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [14].Wang J-Y, Chang T-C, Chang L-Z, et al. Effect of Al and Mn content on the mechanical properties of various ECAE processed Mg-Li-Zn alloys. Mater Trans. 2006;47(4):971–976. doi: 10.2320/matertrans.47.971 [DOI] [Google Scholar]
  • [15].Masood Chaudry U, Tekumalla S, Gupta M, et al. Designing highly ductile magnesium alloys: current status and future challenges. Crit Rev Solid State Mater Sci. 2022;47(2):194–281. doi: 10.1080/10408436.2021.1947185 [DOI] [Google Scholar]
  • [16].Jain S. Phase equilibria study and mechanical properties of multicomponent alloys. 2023. Available from: http://hdl.handle.net/10603/544595
  • [17].Park GH, Kim JT, Park HJ, et al. Development of lightweight Mg-Li-Al alloys with high specific strength. J Alloys Compd. 2016;680:116–120. doi: 10.1016/j.jallcom.2016.04.109 [DOI] [Google Scholar]
  • [18].Jain S, Jain R, Patel M, et al. Harnessing machine learning for predicting mechanical properties of lightweight Mg alloys. Mater Lett. 2025;378:137597. doi: 10.1016/j.matlet.2024.137597 [DOI] [Google Scholar]
  • [19].Lu Z, Si S, He K, et al. Prediction of Mg alloy corrosion based on machine learning models. Adv Mater Sci Eng. 2022;2022:1–8. doi: 10.1155/2022/9597155 [DOI] [Google Scholar]
  • [20].Jain S, Jain R, Rao KR, et al. Leveraging machine learning to minimize experimental trials and predict hot deformation behaviour in dual phase high entropy alloys. Mater Today Commun. 2024;41:110813. doi: 10.1016/j.mtcomm.2024.110813 [DOI] [Google Scholar]
  • [21].Jain S, Jain R, Kumar V, et al. Data-driven design of high bulk modulus high entropy alloys using machine learning. J Alloys Metallurgical Syst. 2024;8:100128. doi: 10.1016/j.jalmes.2024.100128 [DOI] [Google Scholar]
  • [22].Jain S, Naveen L, Kumar V, et al. Solidification simulation and experimental validation of single-phase Fe–Co–Cr–Ni–V–Al High-Entropy Alloy. Trans Indian Inst Met. 2023;76(7):1719–1729. doi: 10.1007/s12666-022-02821-0 [DOI] [Google Scholar]
  • [23].Sandlöbes S, Pei Z, Friák M, et al. Ductility improvement of Mg alloys by solid solution: Ab initio modeling, synthesis and mechanical properties. Acta Mater. 2014;70:92–104. doi: 10.1016/j.actamat.2014.02.011 [DOI] [Google Scholar]
  • [24].Hua Deng Z, Qing Yin H, Jiang X, et al. Machine-learning-assisted prediction of the mechanical properties of Cu—Al alloy. Int J Min Metall Mater. 2020;27(3):362–373. doi: 10.1007/s12613-019-1894-6 [DOI] [Google Scholar]
  • [25].Dewangan SK, Jain R, Bhattacharjee S, et al. Enhancing flow stress predictions in CoCrFeNiV high entropy alloy with conventional and machine learning techniques. J Mater Res Technol. 2024;30:2377–2387. doi: 10.1016/j.jmrt.2024.03.164 [DOI] [Google Scholar]
  • [26].Kang Y, Du B, Li Y, et al. Optimizing mechanical property and cytocompatibility of the biodegradable Mg-zn-Y-Nd alloy by hot extrusion and heat treatment. J Mater Sci Technol. 2019;35(1):6–18. doi: 10.1016/j.jmst.2018.09.020 [DOI] [Google Scholar]
  • [27].Jain R, Jain S, Dewangan SK, et al. Prediction of hot deformation behavior in AlCoCrFeNi2.1 eutectic high entropy alloy by conventional and artificial neural network modeling. Trans Indian Natl Acad Eng. 2023;9(3):709–724. doi: 10.1007/s41403-023-00439-2 [DOI] [Google Scholar]
  • [28].Shariati M, Weber WE, Bohlen J, et al. Enabling intelligent Mg-sheet processing utilizing efficient machine-learning algorithm. Mater Sci Eng: A. 2020;794:139846. doi: 10.1016/j.msea.2020.139846 [DOI] [Google Scholar]
  • [29].Masood Chaudry U, Hamad K, Abuhmed T. Machine learning-aided design of aluminum alloys with high performance. Mater Today Commun. 2021;26:101897. doi: 10.1016/j.mtcomm.2020.101897 [DOI] [Google Scholar]
  • [30].Jain S, Jain R, Dewangan S, et al. A machine learning perspective on hardness prediction in multicomponent Al-Mg based lightweight alloys. Mater Lett. 2024;365:136473. doi: 10.1016/j.matlet.2024.136473 [DOI] [Google Scholar]
  • [31].Wen C, Zhang Y, Wang C, et al. Supplementary materials machine learning assisted design of high entropy alloys with desired property. Acta Materialia. 2019;170:109–117. doi: 10.1016/j.actamat.2019.03.010 [DOI] [Google Scholar]
  • [32].Li S, Chen W, Jain S, et al. Optimization of flow behavior models by genetic algorithm: a case study of aluminum alloy. J Mater Res Technol. 2024;31:3349–3363. doi: 10.1016/j.jmrt.2024.07.048 [DOI] [Google Scholar]
  • [33].Patel M, Jain S, Murugesan J. Investigation of mechanical properties, fretting wear, and corrosion behaviour of AA6063/Si3N4 nanocomposites fabricated via friction stir processing. Arab J Sci Eng. 2024. doi: 10.1007/s13369-024-09551-z [DOI] [Google Scholar]
  • [34].Li H, Wang P, Lin G, et al. The role of rare earth elements in biodegradable metals: a review. Acta Biomater. 2021;129:33–42. doi: 10.1016/j.actbio.2021.05.014 [DOI] [PubMed] [Google Scholar]
  • [35].Calado LM, Carmezim MJ, Montemor MF. Rare earth based magnesium alloys—A review on WE series. Front Mater. 2022;8:804906. doi: 10.3389/fmats.2021.804906 [DOI] [Google Scholar]
  • [36].Sivashanmugam N, Harikrishna KL. Influence of rare earth elements in magnesium alloy - a mini review. Mater Sci Forum. 2020;979:162–166. doi: 10.4028/www.scientific.net/MSF.979.162 [DOI] [Google Scholar]
  • [37].Suh JS, Kim YM, Yim CD, et al. Interpretable machine learning-based analysis of mechanical properties of extruded Mg-Al-Zn-Mn-Ca-Y alloys. J Alloys Compd. 2023;968:172007. doi: 10.1016/j.jallcom.2023.172007 [DOI] [Google Scholar]
  • [38].Sarmah S, Kumar N, Patil J, et al. A unified modeling approach and experimental validation to predict the mechanical properties in age hardened magnesium alloys. Mech Mater. 2022;166:104221. doi: 10.1016/j.mechmat.2022.104221 [DOI] [Google Scholar]
  • [39].Österreicher JA, Papenberg NP, Kumar M, et al. Quantitative prediction of the mechanical properties of precipitation-hardened alloys with special application to Al–Mg–Si. Mater Sci Eng: A. 2017;703:380–385. doi: 10.1016/j.msea.2017.07.080 [DOI] [Google Scholar]
  • [40].Hou H, Wang J, Ye L, et al. Prediction of mechanical properties of biomedical magnesium alloys based on ensemble machine learning. Mater Lett. 2023;348:134605. doi: 10.1016/j.matlet.2023.134605 [DOI] [Google Scholar]
  • [41].Chen Y, Xu Z, Smith C, et al. Recent advances on the development of magnesium alloys for biodegradable implants. Acta Biomater. 2014;10:4561–4573. doi: 10.1016/j.actbio.2014.07.005 [DOI] [PubMed] [Google Scholar]
  • [42].Wang J, Zhou H, Wang L, et al. Microstructure, mechanical properties and deformation mechanisms of an as-cast Mg–Zn–Y–Nd–Zr alloy for stent applications. J Mater Sci Technol. 2019;35(7):1211–1217. doi: 10.1016/j.jmst.2019.01.007 [DOI] [Google Scholar]
  • [43].Ghorbani M, Boley M, Nakashima PNH, et al. A machine learning approach for accelerated design of magnesium alloys. Part B: regression and property prediction. J Magnesium Alloys. 2023;11(11):4197–4205. doi: 10.1016/j.jma.2023.09.010 [DOI] [Google Scholar]
  • [44].Lu J, Chen Y, Xu M, et al. Prediction of mechanical properties of Mg-rare earth alloys by machine learning. Mater Res Express. 2022;9(10):106519. doi: 10.1088/2053-1591/ac99be [DOI] [Google Scholar]
  • [45].Jain R, Jain S, Dewangan SK, et al. Machine learning-driven insights into phase prediction for high entropy alloys. J Alloys Metallurgical Syst. 2024;8:100110. doi: 10.1016/j.jalmes.2024.100110 [DOI] [Google Scholar]
  • [46].Guan K, Li B, Yang Q, et al. Effects of 1.5 wt% samarium (Sm) addition on microstructures and tensile properties of a Mg−6.0Zn−0.5Zr alloy. J Alloys Compd. 2018;735:1737–1749. doi: 10.1016/j.jallcom.2017.11.315 [DOI] [Google Scholar]
  • [47].Qiu X, Yang Q, Cao ZY, et al. Microstructure and mechanical properties of Mg–Zn–(Nd)–Zr alloys with different extrusion processes. Rare Met. 2016;35(11):841–849. doi: 10.1007/s12598-016-0797-1 [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplemental Material
TSTA_A_2449811_SM3933.docx (926.1KB, docx)

Data Availability Statement

Data will be made available on request.


Articles from Science and Technology of Advanced Materials are provided here courtesy of National Institute for Materials Science and Taylor & Francis

RESOURCES