Composition design for (PrNd–La–Ce)2Fe14B melt-spun magnets by machine learning technique
Li Rui1, 2, Liu Yao1, 2, Zuo Shu-Lan1, 2, Zhao Tong-Yun1, 2, Hu Feng-Xia1, 2, Sun Ji-Rong1, 2, Shen Bao-Gen1, 2, †
State Key Laboratory of Magnetism, Institute of Physics, Chinese Academy of Sciences, Beijing 100190, China
University of Chinese Academy of Sciences, Beijing 100049, China

 

† Corresponding author. E-mail: shenbg@iphy.ac.cn

Abstract

Data-driven technique is a powerful and efficient tool for guiding materials design, which could supply as an alternative to trial-and-error experiments. In order to accelerate composition design for low-cost rare-earth permanent magnets, an approach using composition to estimate coercivity (Hcj) and maximum magnetic energy product ((BH)max) via machine learning has been applied to (PrNd–La–Ce)2Fe14B melt-spun magnets. A set of machine learning algorithms are employed to build property prediction models, in which the algorithm of Gradient Boosted Regression Trees is the best for predicting both Hcj and (BH)max, with high accuracies of and 0.89, respectively. Using the best models, predicted datasets of or (BH)max in high-dimensional composition space can be constructed. Exploring these virtual datasets could provide efficient guidance for materials design, and facilitate the composition optimization of 2:14:1 structure melt-spun magnets. Combined with magnets’ cost performance, the candidate cost-effective magnets with targeted properties can also be accurately and rapidly identified. Such data analytics, which involves property prediction and composition design, is of great time-saving and economical significance for the development and application of LaCe-containing melt-spun magnets.

PACS: ;75.47.Np;;75.50.Ww;
1. Introduction

Due to the excellent magnetic properties, Nd2Fe14B magnets have been widely applied in sensors, motors, and generators since discovered in 1984.[1,2] With the ever-rising price of Nd element, substituting inexpensive rare-earth metals La and Ce for Nd in melt-spun magnets has recently drawn continuing interests.[36] Although the cost of magnets can be reduced, their magnetic properties (coercivity Hcj and maximum magnetic energy product decrease simultaneously as La or Ce content increases.[7] In fact, the magnets would be unable to satisfy desired application requirement while the replacement of La or Ce exceeding a certain threshold. Thus, optimizing materials composition to balance the trade-off between cost and performance in LaCe-containing melt-spun magnets is crucially important to their further development and application. Traditionally, Nd–Fe–B typed magnets design has been guided by human intuition or trial-and-error experiments. With increasing chemical complexity due to the introduction of La or Ce, the number of potential compositions with targeted properties to explore is too large for the traditional method to be practical. Intuition would cause great composition prediction errors and become unreliable. Experiments, on the other hand, would suffer from lengthy and laborious Edisonian synthesis-test cycles. Hence, an approach that allows us to design cost-effective LaCe-containing magnets in an accurate, fast and economical manner is highly desirable.

Fortunately, the successful application of data-driven techniques in multicomponent materials provides an inspiration for the materials design with such requirements.[813] Using machine learning tools, a predictive model connecting composition with property can be constructed by the statistical rules and inferences learnt from massive experimental data. It offers an opportunity to navigate high-dimensional composition space for targeted property, and provides clear guidance for materials design. For example, Austin et al.[11] built a model to predict ionic conductivity of solid lithium-ion conductor sorting out the best 21 compounds with high cost performance from 12831 candidates. Xue et al.[12] captured the relationship between composition and thermal hysteresis ( ) in shape memory alloy discovering 14 new compounds having from a potential space of compositions. However, such efficient data analytics has not been reported on the materials design of permanent magnets. Here, we target this question and focus on developing a predictive data-driven capability to accelerate composition design for (PrNd–La–Ce)2Fe14B melt-spun magnets.

In the present work, four machine learning techniques are attempted to build predictive models by deciphering magnets nonlinear composition-property (Hcj or relationships. After model evaluation and ranking, the model with the highest accuracy is selected for future property prediction and composition design. Furthermore, we illustrate how to design the low-cost magnets with targeted properties in a composition space with two concerned dimensions: total rare-earth content and Ce content. These researches would serve as a valuable reference for the design of LaCe-containing magnets with good cost-effectiveness.

2. Data-driven method

Figure 1 depicts our overall dataset preparation, model training, model evaluation, and best-model prediction scheme. Firstly, a dataset of 2:14:1 structure melt-spun magnets containing the information of materials composition and magnetic properties is built. Each magnet data is labelled via material descriptors or features X (composition here) and a specific objective y (Hcj or (BH)max here). Next, considering that learning algorithms exhibit various advantages on different datasets due to their respective characteristics, four regression algorithms are employed to do data learning in this work: Linear Regression, Decision Trees Regression[14] (DTR), Support Vector Regression with a radial basis function kernel[15] (SVR.rbf), and Gradient Boosted Regression Trees[16] (GBRT). During the model training process, the algorithm parameters, such as the decision tree depth and the minimum number of data required to split a node in DTR, the penalty factor and the kernel function coefficient in SVR.rbf, and the learning rate and the number of boosting stages in GBR, are adjusted to optimize the model performance by the grid-search method.[17] All constructed models are evaluated using k-fold Cross-Validation (CV) with respect to a performance metric of for predictive accuracy. represents the variance explained by the model (higher the better), whose maximal value is equal to 1. After comparing their predictive capabilities, the model with the highest value is defined as the best predictive model. Finally, the best model is used to estimate magnets properties from the inputs of composition. In turn, these virtual properties data can be applied to guide magnets composition design. Machine learning modeling and predictive analytics are implemented in Python 3.6 with the scikit-learn open-source package.[18]

Fig. 1. Schematic diagram of our data-driven approach to property prediction and composition design of 2:14:1 structure melt-spun magnets using machine learning technique.
3. Results and discussion

The dataset of 2:14:1 structure melt-spun magnets collected in this work contains 413 data from the published literatures and the experiments[5,6,19] in our laboratory. There are 204 stoichiometric and rich-rare-earth magnets (single-phase magnet), including 149 La/Ce-containing ones, and 209 lean-rare-earth magnets (composite magnet), among which 40 are La/Ce-replaced ones. The data are preprocessed for consistency using the chemical composition with a form of ( , where , , and TM represents the sum of Zr, Nb, Ga or Ti. The material feature vector , , , , Fe, Co, TM, B). Figure 2 shows the Pearson correlation coefficients between the magnetic properties (Hcj or of magnets and each variable in X. Pearson correlation coefficient is a statistic measure of the linear correlation between two variables and . It has a value between +1 and −1, where +1 is total positive linear correlation, 0 is no linear correlation, and −1 is total negative linear correlation.[20] Here the relative magnitude of the coefficient indicates the chemical elementʼs importance to Hcj or (BH)max. Each element in the composition has its physical basis in terms of their influence on magnets properties, which agrees with the prior knowledge of rare-earth permanent magnets:

Fig. 2. Pearson correlation coefficients between Hcj or (BH)max and all features in (PrNd–La–Ce)2(Fe-Co-TM)14B melt-spun magnets.

(i) The increase of rare-earth content is accompanied by the decrease of iron content, which results in the weakening of intergranular interaction and the decline of saturation magnetization ( ). Correspondingly, Hcj of magnets increases while (BH)max decreases. Therefore, Hcj and (BH)max have a positive (or negative) and a negative (or positive) correlation with the sum of rare-earth (or Fe content), respectively.

(ii) Because both magnetocrystalline anisotropy field and of La2Fe14B and Ce2Fe14B are lower than those of Nd2Fe14B, the substitution of La or Ce would reduce Hcj and (BH)max of magnets. Both Hcj and (BH)max thus show positive correlations with Nd content but negative correlations with La/Ce content.

(iii) Adding a small amount of Co, Zr, Nb, Ga, and Ti in magnets can not only refine grain or optimize grain boundary, that is beneficial to the improvement of Hcj, but also slightly increase or enhance the squareness of the demagnetization curve, thereby resulting in the improvement of (BH)max. So both Hcj and (BH)max are positively correlated with Co or TM content.

(iv) Because rich-B magnets contain much non-magnetic phases, which leads to the decrease of , (BH)max shows a negative correlation with the content of B. However, the positive or negative effect of B on Hcj depends on the position of non-magnetic phases in the microstructure of magnets. Those non-magnetic phases may act as pinning points that hinder the domain wall movement increasing Hcj or as nucleation points of the reversal magnetic domains reducing Hcj. Thus, the statistical correlation between Hcj and B content is almost equal to zero.

Not too high correlation coefficients in Fig. 2 imply that there are complex nonlinear relationships between composition and magnetic properties in 2:14:1 structure melt-spun magnets. To decipher these relationships, an appropriate fitting model f can be learnt from the data to map the features X to one target y, i.e., . In turn, it can be used to predict y for unexplored X. Before modeling, dataset is divided into two parts. One part is used to train the model, and the other is used to test quality of the model. Our machine learning algorithms are trained and 5-fold cross-validated using a training set containing 80% of our data. As shown in Fig. 3, -CV of predictive models for based on Linear, DTR, SVR, and GBRT is 0.71, 0.69, 0.82, and 0.88, respectively. Correspondingly, -CV of predictive models for (BH)max is 0.74, 0.70, 0.84, and 0.89, respectively. It can be seen that the models estimating Hcj or (BH)max using GBRT all exhibit the highest scores, which are then thinked as the best models. Next, the predicted accuracies of these two models need to be tested to determine whether they are feasible. A simple way to do this is to use an untrained data for evaluation. Figure 4 displays the predicted results from the four models on the test set with the remaining 20% of our data. If the model is perfect, the predicted Hcj or (BH)max will be exactly the same as the measured one and all data points will align along the 45° diagonal line. of Hcj and (BH)max in Fig. 4 are close to those on the training set (shown in Fig. 3), respectively. This indicates that all the models have good generalization abilities. Compared with the other three algorithms, the data based on GBRT show the highest convergence along the 45° diagonal line, and mean absolute errors (MAE) of Hcj and (BH)max are the smallest, with the value of 1.04 kOe ( ) and 1.13 MGOe, respectively. It is reasonable to believe that such errors are comparable to that caused by preparation process and absolutely far less than that from human intuition. Thus, they are acceptable to the performance estimation of LaCe-containing melt-spun magnets.

Fig. 3. Performance ( ) of different predictive models for Hcj or (BH)max on the training dataset. For each model, a 5-fold cross-validation is applied.
Fig. 4. Predicted scatter plots on the test dataset by the four modeling techniques, (a) linear regression, (b) Decision Trees Regression, (c) Support Vector Regression with a radial basis function kernel, and (d) Gradient Boosted Regression Trees. X axis and Y axis denote the measured and predicted values, respectively.

Now two accurate and robust prediction models (GBRT) for Hcj and (BH)max have been constructed. They are capable of building a property prediction dataset in an arbitrary rational composition space with one or more dimensions, such as the variables in X. Figure 5 presents the predicted maps of Hcj and (BH)max for (PrNd1-Ce_pCeCe_P)REsFe93-REsTM1B6 melt-spun magnets and their corresponding performance-cost ratio contours. (The cost of magnets is calculated merely by rare-earth elements because of their high prices. As of December 2017, the prices of Ce and Nd are approximately 5.6 $/kg and 72.7 $/kg, respectively.) From Fig. 5, we can clearly observe the changes of magnetic properties with the sum of rare-earth as well as the content of Ce. These virtual data in this space help to quickly locate composition regions with targeted Hcj or (BH)max. Considering the cost of materials, inexpensive small composition space with the same properties can also be easily sought out. For example, the melt-spun magnet powders with a stoichiometry of Nd12.5Fe80.5TM1B6 ) are often used to prepare bonded magnets. From the economical perspective, this kind of magnets can be replaced by the new Ce-containing magnets with the same Hcj. In order to avoid the decrease of Hcj after adding Ce element, empirical guides tell us that we can increase total rare-earth content to compensate for the loss of Hcj at the expense of (BH)max, but it is difficult to accurately determine the composition that is needed. However, the small composition regions of , e.g., centered on (Nd0.7Ce0.3)13Fe80TM1B6, (Nd0.5Ce0.5)14Fe79TM1B6, or (Nd0.3Ce0.7)15Fe78TM1B6, can be directly located from Fig. 5(a), without requiring experimental guess-and-check in such a two-dimensional space. On the whole, this data analytics can significantly reduce the time and cost of materials design. It will be an efficient tool for promoting the development of 2:14:1 structure melt-spun magnets.

Fig. 5. Predicted maps of (a) and (b) (BH)max using the best models (GBRT) for (PrNd1-Ce_pCeCe_P)REsFe93-REsTM1B6 melt-spun magnets, and their corresponding cost performances. Circle represents a pure Nd magnet with Hcj about 11.0 kOe, which can be replaced by the economical Ce-containing magnets with the same Hcj at the expense of (BH)max (Star).
4. Conclusion

In summary, we have demonstrated a machine learning approach that involves property prediction to accelerate composition design of (PrNd–La–Ce)2Fe14B melt-spun magnets. The model constructed via the Gradient Boosted Regression Trees algorithm performs a powerful predictive capability for both Hcj and (BH)max of magnets. Exploring the virtual composition space by the model, cost-effective magnets can be accurately and quickly identified according to different performance requirements.

Besides the composition of magnets, some microstructural parameters (e.g., grain size or alignment degree) greatly affecting Hcj or (BH)max should be added as material features to enhance models’ predicted accuracies. But because melt-spun magnets prepared under the optimum conditions reported usually exhibit almost the same microstructure, and the differences in grain size or orientation degree are very small, these material features are neglected while modeling. That is why such high predicted accuracies can be obtained in this work just by the composition of magnets. However, for the magnets using other technologies, like hot-deformed or sintered magnets, they form a variety of microstructure as composition or preparation process changes, and would present more complex “property-composition-structure-process” relationships. In this regard, our follow-up work is focus on the feature engineering and to collect microstructural or process parameters of hot-formed and sintered magnets, and eventually to build high-performance property prediction models of 2:14:1 structure permanent magnets.

Reference
[1] Sagawa M Fujimura S Togawa N Yamamoto H Matsuura Y 1984 J. Appl. Phys. 55 2083
[2] Gutfleisch O Willard M A Bruck E Chen C H Sankar S G Liu J P 2011 Adv. Mater. 23 821
[3] Pathak A K Khan M Gschneidner K A McCallum R W Zhou L Sun K Kramer M J Pecharsky V K 2016 Acta Mter. 103 211
[4] Pathak A K Khan M Gschneidner K A Jr. McCallum R W Zhou L Sun K Dennis K W Zhou C Pinkerton F E Kramer M J Pecharsky V K 2015 Adv Mater. 27 2663
[5] Zuo W L Zuo S L Li R Zhao T Y Hu F X Sun J R Zhang X F Liu J P Shen B G 2017 J. Alloys Compd. 695 1786
[6] Li Z B Shen B G Zhang M Hu F X Sun J R 2015 J. Alloys Compd. 628 325
[7] Herbst J F 1991 Rev. Mod. Phys. 63 819
[8] Nosengo N 2016 Nature 533 22
[9] Agrawal A Choudhary A 2016 APL Mater 4 053208
[10] Agrawal A Deshpande P D Cecen A Basavarsu G P Choudhary A N Kalidindi S R 2014 Interg. Mater. Manuf. Innov. 3 8
[11] Sendek A D Yang Q Cubuk E D Duerloo K-A N Cui Y Reed E J 2017 Energ. Environ. Sci. 10 306
[12] Xue D Balachandran P V Hogden J Theiler J Xue D Lookman T 2016 Nat. Commun. 7 11241
[13] Meredig B Agrawal A Kirklin S Saal J E Doak J W Thompson A Zhang K Choudhary A Wolverton C 2014 Phys. Rev. 89 094104
[14] Kaminski B Jakubczyk M Szufel P 2018 Cent. Eur. J. Oper. Res. 26 135
[15] Smola A J Scholkopf B 2004 Stat. Comput. 14 199
[16] Friedman J H 2001 Ann. Stat. 29 1189
[17] Sun Y T Bai H Y Li M Z Wang W H 2017 J. Phys. Chem. Lett. 8 3434
[18] Pedregosa F Varoquaux G Gramfort A Michel V Thirion B Grisel O Blondel M Prettenhofer P Weiss R Dubourg V Vanderplas J Passos A Cournapeau D Brucher M Perrot M Duchesnay E 2011 J. Mach. Learn. Res. 12 2825 WOS:000298103200003
[19] Li R Shang R X Xiong J F Liu D Kuang H Zuo W L Zhao T Y Sun J R Shen B G 2017 AIP Adv. 7 056207
[20] Rodgers J L Nicewander W A 1988 Am. Stat. 42 59