본문 펼치기
## OPEN
# Machine learning dislocation density correlations and solute effects in Mg‑based alloys
H. Salmenjoki <sup>1</sup> , S. Papanikolaou <sup>2</sup> , D. Shi <sup>3</sup> , D. Tourret <sup>3</sup> , C. M. Cepeda‑Jiménez <sup>4</sup> ,
M. T. Pérez‑Prado <sup>3</sup> , L. Laurson <sup>5</sup> & M. J. Alava <sup>1</sup> <sup>*</sup>
Magnesium alloys, among the lightest structural materials, represent excellent candidates for
lightweight applications. However, industrial applications remain limited due to relatively low
strength and ductility. Solid solution alloying has been shown to enhance Mg ductility and formability
at relatively low concentrations. Zn solutes are significantly cost effective and common. However,
the intrinsic mechanisms by which the addition of solutes leads to ductility improvement remain
controversial. Here, by using a high throughput analysis of intragranular characteristics through data
science approaches, we study the evolution of dislocation density in polycrystalline Mg and also, Mg–
Zn alloys. We apply machine learning techniques in comparing electron back-scatter diffraction (EBSD)
images of the samples before/after alloying and before/after deformation to extract the strain history
of individual grains, and to predict the dislocation density level after alloying and after deformation.
Our results are promising given that moderate predictions (coefficient of determination _R_ <sup>2</sup> ranging
from 0.25 to 0.32) are achieved already with a relatively small dataset ( ∼ 5000 sub-millimeter grains).
Plastic deformation of crystalline materials is a problem of many length-scales. From the atomic level of
dislocation core to the meso-scale collective dislocation dynamics, and ultimately to the grain boundary dynamics
in polycrystals, dislocation mechanisms determine mechanical and physical properties. In single-crystalline hcp
magnesium, the interplay between basal and non-basal slip mechanisms, leads to low strength and ductility,
thus restricting possible applications. However, due to the compelling low weight of magnesium, improving the
strength and ductility of Mg-based materials by alloying, is highly pursued <sup>1</sup> .
Meanwhile, materials informatics has become an emerging paradigm in the study and design of advanced
materials <sup>2–4</sup> . Data science and machine learning tools can expedite, for instance, the experimental search for
optimal compositions of Mg-based alloys with respect to target mechanical properties <sup>5,6</sup> . More generally, this
quantitative perspective can give more insight into microstructural and local dislocation density evolution <sup>7,8</sup> . In
polycrystals, machine learning can enable prediction of grain-wise properties from stress response <sup>9–11</sup> to twin
nucleation <sup>12–14</sup> and, recently, graph-based representation of the granular structure has shown promise <sup>11,15,16</sup> .
In the quest of improving the ductility and strength of Mg-based alloys, it is imperative to capture the precise
mechanisms that dictate mechanical properties. In this context, this article promotes a data science approach
towards the understanding of dislocation density evolution, the key component of mechanical response in
advanced metals. We pursue this data science approach with respect to how common experimental protocols
proceed. For this purpose, we compare EBSD images from pure Mg and a polycrystalline Mg–Zn alloy (2wt.%
Zn) samples depicted in Fig. 1 which were originally introduced in <sup>17</sup> (along with the sample preparation details).
The dog-bone-shaped samples had final size with ∼ 3 mm thickness and 10 mm gage length and the EBSD images
covered an area of approximately 1.0 × 0.7 mm <sup>2</sup> with around 4000 and 6000 initial grains in the pure Mg and
the alloy samples, respectively. The average grain size in both samples was similar, ≈ 13 µm . The samples were
also deformed to 10% strain and low-resolution EBSD images were produced post-deformation, thus yielding
four classes, total, of EBSD images, the core of the investigations in this work.
We analyze dislocation densities together with grain boundary properties in the two samples before and after
tensile tests with a true strain rate of 10 <sup>−3</sup> s <sup>−1</sup>, reaching approximately 10% strain. Notice that we look at the
samples post-mortem at zero elastic strain. The aim for the study is twofold: First, to deduce the strain history of
1Department of Applied Physics, Aalto University, PO Box 11000, 00076 Aalto, Finland. 2Present address:
NOMATEN Centre of Excellence, National Centre for Nuclear Research, A. Soltana 7, 05‑400 Otwock‑Swierk,
Poland. <sup>3</sup> IMDEA Materials Institute, C/ Eric Kandel, 2, Getafe, 28906 Madrid, Spain. <sup>4</sup> Department of Physical
Metallurgy, CENIM-CSIC, Avda. Gregorio del Amo 8, 28040 Madrid, Spain. <sup>5</sup> Computational Physics Laboratory,
Tampere University, P.O. Box 692, 33014 Tampere, Finland. <sup>*</sup> email: mikko.alava@aalto.fi
Figure 1. EBSD imaging for machine learning. ( a,d ) 225µm × 450µm snapshots of the grain structure of the
pure Mg and Mg alloy samples, respectively. The samples were characterised by their ρGND before ( b,e ) and after
deformation ( c,f ), see text for more information. The images in ( b,c,e,f ) are representative of the images used for
machine learning purposes, in the four classes studied in this manuscript.
single grains from measured dislocation densities <sup>18–20</sup> . And second, to formulate predictions of dislocation density
evolutions on the granular level <sup>21,22</sup>, due to the combined effects of deformation and alloying. Especially the latter
is vital in deciphering possible dislocation density hotspots that may have major impact on work hardening.
However, due to having access to only few low-resolution EBSD images, the scope of our study is to show the
possibilities of the mentioned data science approaches while more detailed implementation is left for future work.
Methods
The EBSD maps use a field emission gun (FEG) SEM (Helios NanoLab 600i, FEI) furnished with an HKL EBSD
system, a CCD camera and the software package Channel 5.0 for data acquisition and analysis. The measuring
conditions include parameters of 15 kV and 2.7 nA. The sample holder was tilted at 70 <sup>◦</sup> with respect to the
horizontal in order to increase the backscattered signal.
The EBSD data was analyzed through the use of the MTEX toolbox for MATLAB <sup>23</sup> and was further analyzed
using cluster analysis and dimensionality reduction through sklearn Python libraries <sup>24</sup> . MTEX is able to infer
the grain structure and local lattice orientation tensor κ from the EBSD image, although the latter excludes the
κi3 components which would require intrusive measurements. The MTEX-inferred κ tensor across the material
surface is the information that is used for this work <sup>23</sup> . With the local orientation tensor, one is able to obtain
the Nye’s dislocation tensor α <sup>25</sup>,
αij = κji − δjiκkk, (1)
where δji is the Kronecker delta function. Furthermore, α is connected to the geometrically necessary dislocation
(GND) density ρGND <sup>26</sup>
ρGND = b <sup><u>1</u></sup> <sup>||α||1</sup> (2)
where _b_ is the magnitude of the Burgers vector. Notably due to the missing components of κ, the presented values
here express only a lower limit of e.g. ρGND <sup>27</sup> . Moreover, the estimated ρGND from the pure Mg and Mg alloy were
not directly comparable, as the imaging step size differed between the two samples <sup>28</sup> .
We characterized every grain by the sum of the GND density over the pixels of the grain. In addition, we
computed parameters capturing local GND structures, i.e.
dρGND,1(r) =
dρGND,2(r) =
dρGND,3(r) =
(ρGND(x, y) − ρGND(x + r, y)) <sup>2</sup>,
- <sup>~~<u>�</u>~~</sup>
(ρGND(x, y) − ρGND(x, y + r)) <sup>2</sup>,
- <sup>~~<u>�</u>~~</sup>
(ρGND(x, y) − ρGND(x + r, y + r)) <sup>2</sup>,
- <sup>~~�~~</sup>
where _r_ is the shift in pixels times the step size. When varying the parameter _r_, grains with dimensions smaller
than _r_ are excluded from the analysis as the features are not defined for those grains. With grain size _s_, these
parameters form a vector of five elements describing every grain: ( _s_, ρGND, dρGND,1,dρGND,2 and dρGND,3 ). In
Fig. 2, the grain features for both pure and alloy Mg are illustrated with reduced dimensionality by principal
component analysis (PCA) (Fig. 2a–d) and t-distributed stochastic neighborhood embedding (t-SNE) <sup>29</sup>
(Fig. 2e–h) and varying _r_ .
Figure 2. Clustering and unsupervised machine learning for EBSD images, using dislocation densities. ( a,b )
Pure Mg grains from both before and after deformation in the space of the two first principal components
(PC) with r = 1.5 µ m and r = 18 µ m. ( c,d ) Mg alloy grains in PC space with r = 0.95 µ m and r = 22.8 µ m.
( e - h ) Same grains with t-SNE. ( i ) Example result of agglomerative clustering of grains seen in ( h ). ( j ) Adjusted
Rand index R <sup>′</sup> as a function of _r_ after PCA (closed symbols) and t-SNE (open symbols). Due to t-SNE having
stochastic nature, the results were obtained by repeating the dimensionality reduction and clustering three times
per value of _r_ and the errorbars show the standard deviation.
The linear transformation of the PCA does not distinguish the grains by their strain history in neither pure
nor Mg alloy, but t-SNE and sufficiently large _r_ the grains form two distinct clusters with good correspondence
with the EBSD image they were extracted from.
Results
We quantified the distinguishability by first clustering the grains in the space of reduced dimensionality (e.g.
Fig. 2i) and then measuring how well the found clusters coincide with the actual labels (before and after loading).
For clustering we used hierarchical agglomerative clustering (bottom-up) with single linkage distance measure
and the correspondence between the clusters and actual labels was measured with adjusted Rand index R <sup>′</sup>, <sup>30,31</sup>
R <sup>′</sup> = <sup><u>R −</u></sup> <sup><u>Rrandom</u></sup>, (3)
1 − Rrandom
where _R_ (Rand index) is the fraction of correctly labeled pairs of datapoints (either correctly same or different
labels) of all possible pairs and Rrandom is the expected _R_ with totally random clustering (i.e. R <sup>′</sup> = 1 perfect
correspondence; R <sup>′</sup> = 0 random clustering). Fig. 2j shows R <sup>′</sup> as a function of _r_ for both samples and the results
are similar: With r ≈ 18 µ m the clustering achieves close to perfect success. This arises from two effects, namely
the smaller grains that are harder to interpret get excluded from the analysis and long range dislocation structures
emerge. Thus, as previous simulation results have shown, the strain history of grains is distinguishable in the Mg
samples from the GND density evolution <sup>18</sup> . Both the dimensionality reduction and clustering were implemented
with _scikit-learn_ <sup>24</sup> .
In addition to distinguishing the strain history, the data set provided the classic setup for supervised prediction
of properties of the sample—e.g. the evolution of ρGND—from the initial image before loading. To elucidate,
Fig. 3a is a schematic showing grain _i_ for which we can compute features Xi before loading, similarly as above
for the unsupervised clustering, and we can try to map the features to target value Yi which we set as log ρGND/s
i.e. logarithm of the average GND density of the grain in the image after loading (more about data collection in
Supplementary Note 1). Due to the noisiness in the EBSD image of the pure Mg sample after loading (Fig. 1c),
we were unable to collect a proper target set for the sample and, thus, the supervised machine learning was done
only with the alloy sample. We added simple features describing the grains and their neighbors to the feature set
used above for clustering such as the orientation of the grain, average misorientation at the boundary and number
of neighbors (full list of features for ρGND prediction is found in Supplementary Table I). The sample was then
divided into training, validation and testing grains as shown in Fig. 3b and, as we had only a single sample, we
chose a considerably small validation set (5% of grains) to ensure as large training set (75%) as possible. Rest of
the grains (20%) were used to test the model fit. The mapping was implemented with Support Vector Machine
(SVM) (Supplementary Note 2), chosen due to the comparatively small number of hyperparameters; we have
tried also other, more complex ML models such as artificial neural networks, obtaining similar results. We note
that the number of grains in the dataset is relatively small, and hence the limiting factor might not be the ML
model but rather the limited amount of training data.
Figure 3c illustrates the true versus predicted log ρGND . The correlation between the target and the prediction
are moderate as implied by the coefficient of determination R <sup>2</sup> = 0.32 and Spearman rank correlation coefficient
rS = 0.61 for the test grains. Moreover, Fig. 3d–e shows the predicted ρGND/s compared to the true values as a
map of the test grains. Clearly the SVM is able to find hotspots with high ρGND with good accuracy although
some errors exist and for some cases the high densities are predicted for neighboring grains (e.g. bottom left
edge grain with high true ρGND/s ). Overall, the results are remarkable considering only a single sample was used.
Obviously our prediction success suffers from some properties of the dataset and used features. Firstly, our
tracking algorithm does not always find the exact pixels of the image after loading corresponding to certain grain
in the initial image. Also the noisiness and missing ρGND pixels in the after image cause imprecision to the target
values (Supplementary Note 3). And more importantly, the defined grain features do not capture all relevant
characteristics of the sample: they neglect most information about the grain boundaries between the neighboring
grains and the well-known grain boundary effect of impeding dislocation motion <sup>32,33</sup> .
For instance ρGND/s shows visible dependence on the average misorientation ⟨θ⟩ at the grain boundary for
grains after loading in both samples as seen in Fig. 4a–c. The data shows that the relative increase in ρGND/s vs ⟨θ⟩
seems to be steeper in the alloyed sample, although the above mentioned difference in the imaging protocol (step
size) can have an effect too. Moreover, Fig. 4d–f presents analysis of ρGND correlation across grain boundaries,
corrρGND (x, y) = <sup>�(ρGND(x′, y′) −</sup> <sup><u>ρGND)(ρGND(x′</u></sup> <sup>+ x, y′</sup> <sup>+ y) −</sup> <sup><u>ρGND)�</u></sup>, (4)
�ρGND − <u>ρGND�</u> <sup>2</sup>
Figure 3. Predicting intra-grain dislocation contents in deformed specimens, using EBSD images. ( a )
Predicting grain-level dislocation density evolution starts by representing grains by their features Xi before
deformation and building the target by collecting ρGND/s after deformation. ( b ) Train-test split of the grains
in the alloy sample. The grains colored in red are bordering grains which were partially outside the image after
loading and had target unavailable. ( c ) The SVM predicted versus the true values of log(ρGND/s) for both the
training and test grains. ( d,e ) Grains in the test set (axes transposed compared to ( b )) colored by the true and
predicted ρGND/s . The red (blue) highlighted grains correspond to those in top (bottom) 10% of all data.
(a)
<u>pure</u> <u>Mg</u>
0 _._ 04
0 _._ 02
(b)
<u>Mg</u> <u>alloy</u>
0 _._ 050
0 _._ 025
10 <sup>1</sup>
0 _._ 00
0 30 60
_θn/nnbr_ ( <sup>_◦_</sup> )
0 30 60
_θn/nnbr_ ( <sup>_◦_</sup> )
0 _._ 000
<u>pure</u> <u>Mg</u>
Mg alloy
0 50
_θn/nnbr_ ( <sup>_◦_</sup> )
(d) <u>0.0</u> <sup>_o_</sup> _<u>≤</u>_ _<u>θ</u>_ _<u><</u>_ <u>7.5</u> <sup>_o_</sup>
5
0
_−_ 5
_−_ 10 0 10
_x_ (pixels)
(e) <u>15.0</u> <sup>_o_</sup> _<u>≤</u>_ _<u>θ</u>_ _<u><</u>_ <u>22.5</u> <sup>_o_</sup>
5
0
_−_ 5
_−_ 10 0 10
(c)
1 _._ 5
1 _._ 0
(f)
10 <sup>0</sup>
10 <sup>_−_</sup> <sup>2</sup>
10 <sup>_−_</sup> <sup>4</sup>
_d_ (pixels)
0.0 <sup>_o_</sup> _≤_ _θ_ _<_ 7.5 <sup>_o_</sup>
7.5 <sup>_o_</sup> _<u>≤</u>_ _θ_ _<_ 15.0 <sup>_o_</sup>
15.0 <sup>_o_</sup> _<u>≤</u>_ _θ_ _<_ 22.5 <sup>_o_</sup>
_< −_ 0 _._ 5 0 _._ 0 _>_ 0 _._ 5
_corrρGND_
Figure 4. Dislocation correlations, extracted from EBSD images. ( a,b ) Boxplots showing the distribution of
grain-wise ρGND/s after deformation binned according to average misorientation at boundary θn/nnbr, i.e. the
total misorientation summed over neighbor grains divided by the number of neighbors, for pure and Mg alloy,
respectively. The green lines show the distribution average. ( c ) The average seen in the boxplots as a function of
θn/nnbr scaled to start from unity. ( d,e ) Correlation (Eq. 4) of pixel ρGND in Mg alloy sample after deformation
across grain boundaries ( _x_, _y_ the distance from the boundary) for neighboring grains with misorientation
0 <sup>◦</sup> ≤ θ < 7.5 <sup>◦</sup> or 15 <sup>◦</sup> ≤ θ < 22.5 <sup>◦</sup>, respectively. ( f ) The correlation along the diagonal x = y for three
consecutive misorientation ranges. The dashed line shows d <sup>−3/4</sup> as a guide to eye.
where the coordinate (x <sup>′</sup>, y <sup>′</sup> ) lies inside grain _i_ and (x <sup>′</sup> + x, y <sup>′</sup> + y) lies inside grain _j_ which is a neighbor of _i_, in
grains of the Mg alloy after loading. The data is computed for grain pairs (where grains with size smaller than
64 pixels were omitted) with misorientation angle in a given range. As is evident from comparing the low-angle
grain pairs with 0 <sup>◦</sup> ≤ θ < 7.5 <sup>◦</sup> in (d) and high-angle grain pairs with 15 <sup>◦</sup> ≤ θ < 22.5 <sup>◦</sup> in ( e), the correlations
diminish when the misorientation angle increases. More generally, Fig. 4f illustrates the decay of the correlation
(along x = y ) for three subsequent ranges of θ . The overall decay somewhat follows corrρGND (x = y) ∝ d <sup>−3/4</sup>
where _d_ is the distance from the neighbor grain. And the difference in the misorientation angle between the
grains shifts the correlation curve, i.e. correlations decrease when θ increases and vice versa
To incorporate the grain boundary effect into the prediction problem, we formed a graph of the granular
structure, as in Fig. 5a, collected features Eij characterising the boundaries between neighbouring grains (e.g.
misorientation; see Supplementary Table II) and applied graph networks (GN) to predict log ρGND/s <sup>34</sup> . The GN
architecture followed the encode-process-decode network which has been used on e.g. glassy systems with some
success <sup>34,35</sup> (More details on the GN training procedure and results are presented in Supplementary Note 4).
Figure 5b shows the true versus GN predicted ρGND . Conversely, the goodness of the model prediction is slightly
worse than with SVM and without grain boundary properties, R <sup>2</sup> = 0.25 and rS = 0.54 . But, as mentioned earlier,
the data set has its limitations: Fig. 5c presents the learning curves for SVM and GN obtained by fitting the models
with reduced training set (i.e. excluding part of the training grains) and measuring the mean squared error (MSE)
for the test set. The figure highlights the smallness of the training set as the prediction success has not converged.
By fitting a decreasing power law, MSE ∝ Ngrains <sup>−α</sup> <sup>, to the learning curves, it seems that the GN loss is decreasing</sup>
with steeper slope and, therefore could outperform SVM with proper data set encompassing multiple samples.
Discussion
In conclusion, we have applied machine learning methods to study and predict dislocation density evolution in
Mg samples. Observing only the GND density obtained by low-resolution EBSD, we were able to distinguish the
strain histories of individual grains. Moreover by using the grain-wise information of the Mg alloy sample before
tensile loading, we trained SVM and GN to predict GND density after loading. Both SVM and GN produced
predictions with adequate success and, although the SVM outperformed the GN which used also the grain
Figure 5. Prediction of post-deformation dislocation densities using grain-based graph neural networks.
( a ) Schematic showing the grain structure represented as a graph. Every graph forms a node and grains with
common boundary have a connection edge. The node features correspond to the Xi used for SVM while the
edge features Eij include e.g. misorientation between the grains. ( b ) Graph network prediction versus the true
value of log(ρGND/s) for training and test sets. ( c ) The mean squared error between the true and predicted
values of test set as a function of number of grains Ngrains used to train both SVM and GN models.
boundary information, the GN showed possibility of more significant improvement with larger datasets which
gives a natural direction for future research. In addition, for future studies of GNDs (as well as statistically stored
dislocations), it might be interesting to explore the use of methods which probe a larger depth of the material,
such as microLaue diffraction <sup>36</sup> . Overall, the used machine learning methods show promise in the study of the
plastic deformation on the granular level, and in the long run, machine learning can assist in optimising granular
properties to achieve desired material properties. Here, we have shown this by looking at two cases and our
results show how these samples exhibit different signatures. On one hand, the strain history is distinguishable
regardless of the alloying procedure. But on the other hand, some differences are seen in the grain boundary
effect between the pure Mg and alloy cases as the dislocation density inside a grain increases more rapidly with
the average misorientation at the boundary in the alloyed sample.
Data availibility
The data supporting the findings of this paper are available from the corresponding author upon reasonable
request.
Received: 22 January 2023; Accepted: 24 June 2023
References
1. Pérez-Prado, M.-T. _et al._ Emerging hot topics and research questions in wrought magnesium alloy development. _JOM_ 72 (7),
2561–2567 (2020).
2. Bock, F. E. _et al._ A review of the application of machine learning and data mining approaches in continuum materials mechanics.
_Front. Mater._ 6, 110 (2019).
3. Frydrych, K. _et al._ Materials informatics for mechanical deformation: A review of applications and challenges. _Materials_ 14 (19),
5764 (2021).
4. Guo, K., Yang, Z., Yu, C.-H. & Buehler, M. J. Artificial intelligence and machine learning in design of mechanical materials. _Mater._
_Horizons_ 8 (4), 1153–1172 (2021).
5. Chen, Y. _et al._ Machine learning assisted multi-objective optimization for materials processing parameters: A case study in Mg
alloy. _J. Alloys Compds._ 844, 156159 (2020).
6. Liu, Y. _et al._ Accelerated development of high-strength magnesium alloys by machine learning. _Metall. Mater. Trans. A_ 52 (3),
943–954 (2021).
7. Frankel, A., Tachida, K. & Jones, R. Prediction of the evolution of the stress field of polycrystals undergoing elastic–plastic
deformation with a hybrid neural network model. _Mach. Learn. Sci. Technol._ 1 (3), 035005 (2020).
8. Foley, D. L. _et al._ Geometrically necessary dislocation density evolution as a function of microstructure and strain rate. _Mater. Sci._
_Eng. A_ 831, 142224 (2021).
9. Mangal, A. & Holm, E. A. Applied machine learning to predict stress hotspots II: Hexagonal close packed materials. _Int. J. Plast._
114, 1–14 (2019).
10. Saunders, R. _et al._ Mechanical behavior predictions of additively manufactured microstructures using functional Gaussian process
surrogates. _npj Comput. Mater._ 7 (1), 1–11 (2021).
11. Pagan, D.C., Pash, C.R., Benson, A.R. & Kasemer, M.P. Graph neural network modeling of grain-scale anisotropic elastic behavior
[using simulated and measured microscale data. arXiv:2205.06324 (2022).](http://arxiv.org/abs/2205.06324)
12. Orme, A. D., Fullwood, D. T., Miles, M. P. & Giraud-Carrier, C. Evolution of Mg AZ31 twin activation with strain: A machine
learning study. _Mater. Discov._ 12, 20–29 (2018).
13. Tong, Z., Wang, L., Zhu, G. & Zeng, X. Predicting twin nucleation in a polycrystalline Mg alloy using machine learning methods.
_Metall. Mater. Trans. A_ 50 (12), 5543–5560 (2019).
14. Gui, Y., Li, Q., Zhu, K. & Xue, Y. A combined machine learning and EBSD approach for the prediction of {10-12} twin nucleation
in an Mg–Re alloy. _Mater. Today Commun._ 27, 102282 (2021).
15. Xie, C., Pan, Z. & Shu, C. Microstructure representation knowledge graph to explore the twinning formation. _Crystals_ 12 (4), 466
(2022).
16. Shu, C., He, J., Xue, G. & Xie, C. Grain knowledge graph representation learning: A new paradigm for microstructure-property
prediction. _Crystals_ 12 (2), 280 (2022).
17. Shi, D., Pérez-Prado, M. & Cepeda-Jiménez, C. Effect of solutes on strength and ductility of Mg alloys. _Acta Mater._ 180, 218–230
(2019).
18. Yang, Z. _et al._ Learning to predict crystal plasticity at the nanoscale: Deep residual networks and size effects in uniaxial compression
discrete dislocation simulations. _Sci. Rep._ 10 (1), 1–14 (2020).
19. Salmenjoki, H., Alava, M. J. & Laurson, L. Machine learning plastic deformation of crystals. _Nat. Commun._ 9 (1), 1–7 (2018).
20. Papanikolaou, S. Learning local, quenched disorder in plasticity and other crackling noise phenomena. _npj Comput. Mater._ 4 (1),
1–7 (2018).
21. Papanikolaou, S., Tzimas, M., Reid, A. C. & Langer, S. A. Spatial strain correlations, machine learning, and deformation history
in crystal plasticity. _Phys. Rev. E_ 99 (5), 053003 (2019).
22. Papanikolaou, S. & Tzimas, M. Effects of rate, size, and prior deformation in microcrystal plasticity. _Mech. Phys. Solids Micro-_
_Nano-Scales_ 9, 25–54 (2019).
23. Bachmann, F., Hielscher, R. & Schaeben, H. Texture analysis with mtex—Free and open source software toolbox. in _Solid State_
_Phenomena_ . Vol. 160. 63–68. (Trans Tech Publications Ltd, 2010).
24. Pedregosa, F. _et al._ Scikit-learn: Machine learning in Python. _J. Mach. Learn. Res._ 12, 2825–2830 (2011).
25. Nye, J. F. Some geometrical relations in dislocated crystals. _Acta Metall._ 1 (2), 153–162 (1953).
26. Arsenlis, A. & Parks, D. Crystallographic aspects of geometrically-necessary and statistically-stored dislocation density. _Acta Mater._
47 (5), 1597–1611 (1999).
27. Leff, A., Weinberger, C. & Taheri, M. Estimation of dislocation density from precession electron diffraction data using the Nye
tensor. _Ultramicroscopy_ 153, 9–21 (2015).
28. Jiang, J., Britton, T. & Wilkinson, A. Measurement of geometrically necessary dislocation density with high resolution electron
backscatter diffraction: Effects of detector binning and step size. _Ultramicroscopy_ 125, 1–9 (2013).
29. Van der Maaten, L. & Hinton, G. Visualizing data using t-SNE. _J. Mach. Learn. Res._ 9 (11), 2579 (2008).
30. Rand, W. M. Objective criteria for the evaluation of clustering methods. _J. Am. Stat. Assoc._ 66 (336), 846–850 (1971).
31. Hubert, L. & Arabie, P. Comparing partitions. _J. Classif._ 2 (1), 193–218 (1985).
32. Hirth, J. P. & Lothe, J. _Theory of Dislocations_ (Krieger, 1983).
33. Hansen, N. Hall–Petch relation and boundary strengthening. _Scr. Mater._ 51 (8), 801–806 (2004).
34. Battaglia, P. W., Hamrick, J. B., Bapst, V., Sanchez-Gonzalez, A., Zambaldi, V., Malinowski, M., Tacchetti, A., Raposo, D., Santoro,
A. & Faulkner, R. _et al_ [. Relational inductive biases, deep learning, and graph networks. arXiv preprint arXiv:1806.01261 (2018).](http://arxiv.org/abs/1806.01261)
35. Bapst, V. _et al._ Unveiling the predictive power of static structure in glassy systems. _Nat. Phys._ 16 (4), 448–454 (2020).
36. Ice, G. E. & Pang, J. W. Tutorial on X-ray micro Laue diffraction. _Mater. Character._ 60 (11), 1191–1201 (2009).
Acknowledgements
HS acknowledges the support from Finnish Foundation for Technology Promotion. MA and SP acknowledge
support from the European Union Horizon 2020 research and innovation programme under grant agreement
No 857470 and from European Regional Development Fund via Foundation for Polish Science International
Research Agenda PLUS programme grant No MAB PLUS/2018/8. LL acknowledges the support of the Academy
of Finland via the Academy Project COPLAST (Project no. 322405). DT gratefully acknowledges support from the
Spanish Ministry of Science through a Ramon y Cajal Fellowship (Ref. RYC2019-028233-I). CMCJ acknowledges
the financial support from the Spanish Ministry of Science, Innovation and Universities under project PID2020118626RB-I00. The research leading to these results has received funding from the Spanish Ministry of Science,
Innovation and Universities under project PID2019-111285RB-I00. The authors acknowledge the computational
resources provided by the Aalto University School of Science “Science-IT” project.
Author contributions
H.S. performed the data analysis and wrote the initial version of the manuscript. H.S., S.P., L.L., M.T.P.P. and M.A.
contributed to project conception. D.S., D.T., C.C.-J. and M.P.-P. contributed the experimental data analyzed
in this study. All authors contributed to discussions during the project and writing of the final version of the
manuscript.
Competing interests
The authors declare no competing interests.
Additional information
Supplementary Information [The online version contains supplementary material available at https://doi.org/](https://doi.org/10.1038/s41598-023-37633-9)
[10.1038/s41598-023-37633-9.](https://doi.org/10.1038/s41598-023-37633-9)
Correspondence and requests for materials should be addressed to M.J.A.
Reprints and permissions information is available at www.nature.com/reprints.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and
institutional affiliations.
Open Access This article is licensed under a Creative Commons Attribution 4.0 International
License, which permits use, sharing, adaptation, distribution and reproduction in any medium or
format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the
Creative Commons licence, and indicate if changes were made. The images or other third party material in this
article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the
material. If material is not included in the article’s Creative Commons licence and your intended use is not
permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from
[the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.](http://creativecommons.org/licenses/by/4.0/)
© The Author(s) 2023