<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Accelerated materials design using batch Bayesian optimization: A case study for solving the inverse problem from materials microstructure to process specification</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>07/01/2022</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10356847</idno>
					<idno type="doi">10.1016/j.commatsci.2022.111417</idno>
					<title level='j'>Computational Materials Science</title>
<idno>0927-0256</idno>
<biblScope unit="volume">210</biblScope>
<biblScope unit="issue">C</biblScope>					

					<author>P. Honarmandi</author><author>V. Attari</author><author>R. Arroyave</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Microstructure-based process design is one of the main ingredients for materials design, under the integrated computational materials engineering paradigm, which relies on inverting process-structure-property linkages. The specific inverse problem connecting microstructure to processing conditions is exceedingly difficult to solve, even in a computational setting. The difficulty arises from the challenges associated with properly representing the microstructure space as well as the computational cost of the simulations used to connect process conditions to microstructure evolution. In this work, we attempt to invert a process-microstructure problem by implementing and deploying a search scheme based on multi-scale batch Bayesian optimization. We employ this framework to efficiently navigate the microstructure manifold in two examples involving phasefield simulations. In these examples, the volume fraction and characteristic length scale of phases resulting from spinodal decompositions are considered in different objective functions to find synthetic target microstructures. We show how this batch Bayesian optimization can be used to efficiently uncover process-microstructure connections through optimal parallel querying of the process space, providing a new pathway for solving inverse problems in materials design.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>Materials are at the forefront of new technologies, and the design/discovery of better materials enables technological innovation and economic prosperity. Goal-oriented systematic materials design, as opposed to the Edisonian approach, is central in understanding and exploiting desired properties in materials and increasing the development rate of new materials. In this regard, one of the main tasks is establishing the process-structure-property-performance (PSPP) relationship under the integrated materials computational engineering (ICME) framework. While building the forward computational relationship is straightforward due to existing modeling/simulation tools and physical knowledge about the materials systems, the backward (inverse) linkages along the PSPP chain in the context of materials design/discovery are extremely challenging. These challenges involve:</p><p>(1) the model parameterization and uncertainty quantification in the presence of expensive high-fidelity models and the typical lack of data in materials science problems and (2) the absence of one-toone mapping in the inverse problems from property/performance to microstructure to processing, meaning the same property/performance * Correspondence to: Texas A&amp;M University, Department of Materials Science and Engineering, 3003 TAMU, College Station, TX 77843-3003, USA. E-mail address: hona107@tamu.edu (P. <ref type="bibr">Honarmandi)</ref>. may result from multiple microstructures, as well as, the same microstructural features (descriptors) may result from multiple processing conditions in a material system.</p><p>A more noticeable lack of studies and hindering factors in inverting microstructure to processing are the main motivation of this work. Here, the extra hindering factors are mainly identified as the difficulties in the proper selection and determination of representative microstructure descriptors in these inverse (design) problems <ref type="bibr">[1]</ref> and the additional complexity and cost associated with the application of the microstructure simulations. The latter factor makes the application of conventional high-throughput or trial-and-error approaches in the exploration of typically huge process space almost impractical <ref type="bibr">[2]</ref><ref type="bibr">[3]</ref><ref type="bibr">[4]</ref>. This matter emphasizes the need for an efficient optimization technique to guide the spatial search toward the solution(s) with the lowest possible model evaluations.</p><p>A data-driven machine learning technique in the Bayesian framework, known as Bayesian optimization (BO) <ref type="bibr">[5]</ref>, has recently become popular in the materials science community to tackle the mentioned <ref type="url">https://doi.org/10.1016/j.commatsci</ref>. <ref type="bibr">2022</ref> issue related to optimization efficiency and cost for the sake of accelerated materials design/discovery. Generally, this approach provides an efficient scheme to find the global optimum in the design space based on the target quantities of interest (QoIs). Unlike conventional methods, BO actively learns and updates the current state of knowledge in a sequential manner. Moreover, it searches the space with an optimal policy that keeps a balance between exploitation and exploration, rather than a non-optimal uniform search usually provided by the design of experiments (DOE) approaches, such as Latin-hypercube, sparse grid, or full grid sampling <ref type="bibr">[6]</ref>. In standard BO approaches, a probabilistic surrogate model, mainly a Gaussian process (GP), is constructed over some initial input-output data obtained from the given expensive model. Then, this probabilistic information is input to an acquisition function to find the possibility of improvement as a result of the future model evaluation at each point of the input (design) space. The point that maximizes the acquisition function, i.e., the possibility of improvement, is suggested for the next model evaluation. As the surrogate model is updated by the new evaluated point, the algorithm is iterated until the model input corresponding to the target output is obtained <ref type="bibr">[3,</ref><ref type="bibr">[6]</ref><ref type="bibr">[7]</ref><ref type="bibr">[8]</ref>.</p><p>Despite the efficiency of the standard BO approaches, the one-ata-time selection of points restricts their practicality in the case of extremely large (high-dimensional) design space and/or super-expensive models where each model evaluation may take days or weeks. For this reason, batch BO techniques have been developed based on the computational parallelization capabilities as alternatives to accelerate the optimization process in the above cases by reaching the optimal solution with a smaller number of iterations. Different batch BO methods have been implemented during recent years that can be categorized mainly into multi-step look-ahead (hallucination) <ref type="bibr">[1,</ref><ref type="bibr">9,</ref><ref type="bibr">10]</ref>, pure exploration <ref type="bibr">[11]</ref>, and local penalization <ref type="bibr">[12]</ref> techniques.</p><p>The first approach uses the standard one-at-a-time BO method in each iteration with consideration of the GP predictive mean responses at the suggested points instead of the expensive model results to obtain a batch of points from the design space for the subsequent evaluations. Although this approach is very straightforward, there is no statistical guarantee for convergence. The second category includes the variancebased and distance-based exploration approaches. The variance-based method works the same way as the multi-step look-ahead approach, except expected improvement (EI) is replaced by an acquisition function reflecting the GP predictive variance. The distance-based approach selects points with a maximum distance from their closest data point in an iterative way, while the first batch point is still suggested by the standard BO technique. Despite a slightly higher exploration efficiency of the variance-based approach, the iterative construction of the GP models makes this approach more costly than the distance-based approach, where only one GP model is built for the identification of the first point. However, these approaches neglect the spatial exploitation that can diminish their efficiency in optimization processes. In the last approach, the first batch point is again determined by the standard BO. Then, the next points are selected by maximizing the same acquisition function after excluding regions around the previously suggested points using local penalizations. This BBO approach is fast due to the construction of only one GP model. However, sometimes, the penalizer may not completely exclude the region around the maximum peak of the acquisition function, which leads to less diversity of the batch points.</p><p>Recently, Joy et al. <ref type="bibr">[13]</ref> proposed a multi-scale search BBO method with none of the issues mentioned above. The main idea in this approach is to tackle the batch problem through the fundamental aspect of the GP surrogate modeling, which is the strong dependency of the surrogate accuracy on the proper selection of the length-scale hyperparameter values. Since the appropriate values are not usually determinable due to the lack of data, a large number of GP models are generated in this BBO approach by sampling the length-scale hyperparameters from their reasonable ranges. In this scenario, there will be some GP models that can approximately emulate the true response of the objective function. Therefore, at least one of the batch points resulting from clustering the points obtained by applying the standard BO method on each of these GP models might have a greater chance of being close to the global optimum of the objective function. For this reason, the multi-scale search BBO technique can be more efficient in optimization compared to the other three BBO approaches in theory. Although each iteration of this BBO approach is more expensive than its counterpart in the other approaches, the cost reduction associated with the optimization efficiency of this approach outweighs the higher cost of its optimization iterations. This becomes more evident when each model evaluation is more expensive than each BBO iteration, which seems to be the case in most materials design/discovery problems.</p><p>In the relevant literature, many works have used standard BO methods to tackle inverse problems in materials, mostly from property/performance to processing <ref type="bibr">[2,</ref><ref type="bibr">6,</ref><ref type="bibr">[14]</ref><ref type="bibr">[15]</ref><ref type="bibr">[16]</ref><ref type="bibr">[17]</ref><ref type="bibr">[18]</ref><ref type="bibr">[19]</ref><ref type="bibr">[20]</ref><ref type="bibr">[21]</ref><ref type="bibr">[22]</ref><ref type="bibr">[23]</ref><ref type="bibr">[24]</ref><ref type="bibr">[25]</ref><ref type="bibr">[26]</ref><ref type="bibr">[27]</ref><ref type="bibr">[28]</ref>. However, as mentioned earlier, there are very few works for microstructure-informed process design linking microstructure to processing. Tran et al.'s work <ref type="bibr">[1]</ref> is the only significant study, to the best of our knowledge, in materials science and engineering that targets the inverse structure-process linkage in the PSPP chain through the application of a hallucination BBO technique. In their work, multiple batch sets are proposed through different acquisition functions to efficiently solve inverse problems across kMC simulations based on the given target microstructures represented with various descriptors <ref type="bibr">[1]</ref>.</p><p>In this work, the multi-scale search BBO approach is used for the efficient design of microstructures obtained through phase-field simulations. Here, the design input variables are efficiently identified given the microstructure descriptors of interest. Before solving these design problems, the better efficiency of the applied BBO method compared to the standard BO is verified using a simple sinusoidal case study. This novel framework can be the beginning of a new era in accelerated materials design/discovery due to its capability to tackle complicated inverse problems that are time-consuming or sometimes impossible to solve through conventional design approaches.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Model description and methodology</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">Phase-field modeling</head><p>The process-structure-property link is the core of materials science in which the properties of a material will be designated in the mesoscopic space due to topological and interfacial arrangements in between the existing phases. There are different methods to study the evolution of the mesoscale structure of a material. We used a coarsegrain category phase-field method in this study as a powerful tool to handle the free-boundary problems for arbitrarily complex interfaces. It describes the mesoscale state of a matter in both compositional (conserved), structural (non-conserved), and interfacial manner using a set of continuous field variables. The generality and flexibility in phasefield approach makes it convenient to use in broad range of phenomena across materials science, and beyond, including fracture <ref type="bibr">[29]</ref>, liquid metal dealloying <ref type="bibr">[30]</ref>, tumor growth studies <ref type="bibr">[31]</ref>, and many other applications. In this approach, the total free energy functional (&#8497; &#119905;&#119900;&#119905; ) for a heterogeneous solid medium as the sum of contributing fields over the domain (&#120570;) is:</p><p>where bulk free energy, &#119891; &#119887;&#119906;&#119897;&#119896; , and interfacial free energy, &#119891; &#119894;&#119899;&#119905;&#119890;&#119903;&#119891; &#119886;&#119888;&#119894;&#119886;&#119897; are given below, respectively, and &#119891; &#119900;&#119905;&#8462;&#119890;&#119903; represents nonlocal contributions from any long-range interactions, (e.g., elastic, electric, magnetic effects, etc.). The main differences among different phase-field models lie in the treatment of various contributions to the total free energy.</p><p>where &#119888; is the composition field (conserved), &#120578; is the non-conserved field order parameter, &#119903; &#119903; &#119903; is the position vector, &#119891; 0 (&#119888;, &#120578;, &#119879; ) is the free energy of a unit volume of homogeneous material for a given temperature (&#119879; ), &#120581; &#119888; is the composition-gradient energy coefficient, and &#120581; &#120578; &#119894;&#119895; is the symmetric tensor of field-order-gradient energy coefficients. With the total free energy of a microstructure discussed above, the evolution of field variables in a phase-field model can be obtained by solving the Cahn-Hilliard (4) and Allen-Cahn <ref type="bibr">(5)</ref>  </p><p>where &#119872; &#119894;&#119895; and &#119871; &#119901;&#119902; are related to atom or interface mobility, and &#120575; is the variational derivative operator. Two phase-field models are considered in this work for developing the inverse PSP framework. Here, we briefly describe these models. A (i) low-fidelity, benchmark-type 2D model for a simple case of phase separation that only involves chemical and interfacial interactions is initially used to develop the framework, and later (ii) a high-fidelity 3D elasto-chemical phase-field model that also considers elastic interactions during phase separation in a ternary alloy is used. These models are described as follows:</p><p>Low-fidelity phase-field model. A chemical-only phase-field model based on the model of Cahn-Hilliard (C-H) <ref type="bibr">[32]</ref> is initially used for developing the framework as well as testing our BBO approach. We consider this basic C-H model as an inexpensive low-fidelity model since it only considers chemical and curvature effects. The model treats the process of spontaneous phase separation in an incompressible isotropic solution of constant molar volume. The boundary value problem is given as: By using the Fourier-spectral approximation to C-H equation, and, treating the linear fourth-order operators implicitly and the nonlinear terms explicitly, the first-order semi-implicit Fourier-spectral scheme <ref type="bibr">[33,</ref><ref type="bibr">34]</ref> is used to solve this equation. The resulting first-order semi-implicit Fourier spectral scheme is:</p><p>where &#119844; = (&#119896; 1 , &#119896; 2 ) is a frequency vector in the Fourier space, &#119896; = &#8730; &#119896; 2 1 + &#119896; 2 2 is the magnitude of this vector and &#966;(&#119844;, &#119905;) represents the Fourier transform of &#120601;(&#119851;, &#119905;). &#120583; is the driving force for phase transformation and is given as the first derivative of the nonlinear term (bulk free energy):</p><p>This free-energy function has two degenerate minima represented at &#120601; = -1 and &#120601; = +1 corresponding to the products of the process of phase separation. &#120601; * and &#119905; * will be determined by the BBO method during the optimization process, given a synthetic target microstructure shown in Fig. <ref type="figure">1(a)</ref>.</p><p>High-fidelity phase-field model. In our second case study, we illustrate the microstructure-based inverse problem using an elasto-chemical phase-field that attributes the prescribed elastic contractions to solidstate phase transitions in addition to the chemical and interfacial interactions. In addition, the bulk free energy term is a CALPHAD form free energy function optimized by experimental equilibrium data for the ternary alloy under study. Accordingly, the thermodynamic driving force for microstructural evolution is associated with chemical interactions resulting from compositional fluctuations and local contractions/expansions caused by composition-and temperature-dependent elastic constants and lattice parameters. Furthermore, in this section we perform 3D simulations to test the capability of the framework with real structures. We study the TiAlZrN alloy that is known to decompose into its stable binary nitrite compounds (i.e., TiN, AlN, ZrN) during isothermal thermal annealing and is thermodynamically treated as a pseudoternary system. This system has been previously investigated by some of the authors in this article and the results were published in <ref type="bibr">[35]</ref>. The evolution of the conserved order parameters (&#119888; &#120572; ) are given by:</p><p>For the ternary alloy, the system of kinetic equations for the evolution of the composition of species (&#120572; = AlN, ZrN, TiN) follows three sets of kinetic equations. However, since the composition is a conserved order parameter and the relationship of (&#119888; TiN = 1 -&#119888; AlN -&#119888; ZrN ) holds, we only solve two equations for AlN and ZrN. The bulk free energy &#119891; &#119887;&#119906;&#119897;&#119896; , has the form of a CALPHAD free energy given below:</p><p>where &#119866; &#119900; &#120572; is the reference Gibbs energy, &#119877; is the ideal gas constant, and &#119871; &#120584;  &#120572;&#120573; are the excess binary interaction parameters, and &#120582; = 1 represents a sub-regular thermodynamic system. &#119866; &#119909;&#119904; is a higher order interaction parameter defined as:</p><p>where &#119871; &#120572;&#120573;&#120574; is the excess ternary interaction parameter taken to be &#119871; &#120572;&#120573;&#120574; = &#119888; &#120572; &#120572; &#119871; &#120572;&#120573;&#120574; + &#119888; &#120573; &#120573; &#119871; &#120572;&#120573;&#120574; + &#119888; &#120574; &#120574; &#119871; &#120572;&#120573;&#120574; . In this system, none of these interaction parameters are zero. All these thermodynamic parameters are obtained from <ref type="bibr">[36,</ref><ref type="bibr">37]</ref> and are summarized in Table <ref type="table">1</ref> (the thermodynamic parameters used in the free energy model) of <ref type="bibr">[35]</ref>.</p><p>The elastic potential (&#120583; &#119890;&#119897;&#119886;&#119904;&#119905;&#119894;&#119888; = &#119889;&#119891; &#119890;&#119897;&#119886;&#119904; &#119889;&#119888; ) will be obtained by expressing the elastic free energy in linear elasticity theory as:</p><p>where &#119862; &#119894;&#119895;&#119896;&#119897; is the elastic stiffness tensor, &#119864; &#119894;&#119895; is the average homogeneous strain tensor in the domain &#120570;, &#120576; * &#119894;&#119895; is the periodic fluctuation strain field (&#120576; &#119905;&#119900;&#119905; &#119894;&#119895; = &#119864; &#119894;&#119895; +&#120576; * &#119894;&#119895; ), and &#120576; 0 &#119894;&#119895; is the dilatational eigenstrain derived from the lattice misfit. Since the composition field is periodic, the elastic moduli and the eigenstrains are thus periodic on the material domain &#120570;. Therefore, the total strain field &#120576; &#119905;&#119900;&#119905; &#119894;&#119895; is periodic and can be expressed as the sum of &#119864; &#119894;&#119895; and &#120576; * &#119894;&#119895; . The elastic stiffness tensor is obtained by interpolating across the simulation unit cell through the interpolation function &#119892;(&#119888; &#120572; ) taken from <ref type="bibr">[38]</ref>: where &#119862; &#119890;&#119891; &#119891; &#119894;&#119895;&#119896;&#119897; represents the effective elastic stiffness tensor and is selected to be the average of the elastic tensors of the product phases of the spinodal decomposition. &#119862; 0 &#119894;&#119895;&#119896;&#119897; and &#119862; &#120572; &#119894;&#119895;&#119896;&#119897; represent the elastic tensor of the reference phase and the other phases, respectively. The mechanical equilibrium equation given below <ref type="bibr">[35]</ref>:</p><p>is efficiently solved by transforming it into the &#119865; &#119900;&#119906;&#119903;&#119894;&#119890;&#119903; space and solving it through the standard FFT based iterative solvers described by Khachaturyan <ref type="bibr">[39]</ref>, Mura <ref type="bibr">[40]</ref>, Moulinec-Suquet <ref type="bibr">[41]</ref>, Gururajan et al. <ref type="bibr">[42]</ref>, Lebensohn et al. <ref type="bibr">[43]</ref>, and our previously published article <ref type="bibr">[35]</ref>. On the other hand, the numerical solution of the boundary value problem shown in Eq. ( <ref type="formula">9</ref>) was obtained by the semi-implicit &#119865; &#119900;&#119906;&#119903;&#119894;&#119890;&#119903; spectral scheme developed in <ref type="bibr">[35]</ref>. For each iteration (i.e., at each time step of the phase-field solver), we solve the microelasticity problem for a given composition at a given time. The size of the 3D simulation cell is chosen to be 50 &#215; 50 &#215; 11.9 nm 3 , and it is discretized with 64 &#215; 64 &#215; 16 mesh points. The simulations were performed at 1200 &#8226; C and all temperature-dependent elastic parameters for the TiAlZrN system were obtained from <ref type="bibr">[35]</ref> and enclosed references in this article. Except &#119888; * &#120572; and &#119905; * , all other parameters are fixed in this model and &#119888; * &#120572; and &#119905; * will be determined by the BBO framework during the optimization process, given a synthetic target microstructure shown in Fig. <ref type="figure">1(b</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.">Microstructure representation</head><p>One challenge in the inverse design of material microstructure is the compact representation of microstructure images for effective optimization of material and/or process variables. An image of the microstructure containing bulk and interfacial features often reflected in different color thresholds is a valuable source of information about the material. Consequently, every pixel of the image represents a degree of freedom, causing the dimensionality of the information space to be extremely high. There have been numerous studies on how to reduce high-dimensionality and represent images properly. A brief review is provided here <ref type="bibr">[44]</ref>. In addition to the conventional physical descriptors (e.g., area/volume fraction of phases), other features have been proposed to aggregate local information into global descriptors. Some of these include, but are not limited to, Haralick texture statistics <ref type="bibr">[45]</ref>, and other contrast features, as well as local binary patterns. There is also a method known as Visual Bag of Words <ref type="bibr">[46]</ref>, which constructs a dictionary of commonly occurring visual keypoints and stores a descriptor for an image by counting the occurrence of each of these commonly occurring visual keypoints. A different but widely used method is the auto-and cross-correlation function (e.g., two-point correlations) of a binary image. An example application of two-point correlations can be found in <ref type="bibr">[47]</ref> and also articles published by a portion of the authors in this article <ref type="bibr">[48,</ref><ref type="bibr">49]</ref>.</p><p>In this study, we avoid further complicating the problem and aim to build the framework using conventional physical descriptors (i.e., area fraction for (2D) calculations and volume fraction for (3D) calculations, both indicated by &#119881; &#119891; , and Fourier scattering intensity of microstructures) that are readily accessible to metallurgists. Indeed, more complex microstructure image representation methods can be embedded when necessary. &#119881; &#119891; of phases in 2D simulations is estimated by computing a global image threshold using Otsu's method <ref type="bibr">[50]</ref> from grayscale images. The method works well for semi-and fully-decomposed microstructures where the area fractions of the phases are approximately greater than 0.2. However, it cannot be used at the early stages of decomposition when the structure is still uniform. The volume fraction of phases in 3D calculations is estimated by phase composition thresholding over grid points. Fig. <ref type="figure">2(a)</ref> shows the calculated area fraction of phases as a function of time for the case where the average field order parameter at time zero (&#120601; * ) is zero. The final point at &#119905; * = 30 is the designated 2D target microstructure shown in Fig. <ref type="figure">1(a)</ref>. In Fig. <ref type="figure">2(b)</ref>, the change in 2D microstructures corresponding to the annealing duration of &#119905; * = 30 as a function of &#120601; * is depicted. As indicated, &#119881; &#119891; of yellow phases increases as the value of &#120601; increases from -0.4 to +0.4 when annealing time is fixed in a binary system. Fig. <ref type="figure">2</ref> indicates that the area/volume fraction is not unique for each microstructure in time and &#120601; * space and additional quantities of interest are necessary to identify each unique microstructure.</p><p>The second quantity of interest that we use is calculated by means of circularly averaged Fast Fourier Transform (FFT) of the field order parameters (i.e., low fidelity model: &#120601;(&#119909;, &#119910;), high-fidelity model: &#119888; &#120572; (&#119909;, &#119910;, &#119911;)). Fig. <ref type="figure">3(a)</ref> shows the circularly averaged magnitude of the FFT as a function of time for a 2D simulation. FFT is shifted to the center for both 2D and 3D field order or composition arrays. The calculations show a unique curve for each image at a fixed time where the curve and  its peak shifts to the right-hand side as the annealing time increases. The corresponding frequency to the peak in these curves is extracted and used to calculate a length scale (&#119871; &#119904; ). Likewise, the circularly averaged magnitude of the FFT for different microstructures corresponding to different &#120601; * values annealed equally until &#119905; * = 30 is shown in Fig. <ref type="figure">3(b)</ref>. While the &#119871; &#119904; value is close in these cases, the zoomed section of the peak area shows that there are small differences in the peak location corresponding to each microstructure. Later on in this paper, we show that the consideration of length scale besides area/volume fraction can help for the unique representation of microstructures.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3.">Design methodology: Multi-scale search batch Bayesian optimization</head><p>Analogous to the standard BO, the Multi-scale Search BBO method takes advantage of the data-driven machine learning (ML) models, specifically GP surrogate models, as substitutes for expensive models to accelerate the optimization process in computational materials design. GPs are non-parametric stochastic ML models in the context of the Bayesian statistics that consider a multivariate Gaussian distribution for any given sample ({&#119891; (&#119857; 1 ), &#119891; (&#119857; 2 ), &#8230; , &#119891; (&#119857; &#119899; )}) from the objective function &#119891; (&#8901;). This Gaussian distribution over the functions is defined as &#119891; (&#119857;) &#8764; GP(&#120583;(&#8901;), &#119896;(&#8901;, &#8901;)), where &#120583;(&#8901;) and &#119896;(&#8901;, &#8901;) are the mean function and covariance (kernel) function, respectively. The kernel function is commonly expressed in the squared exponential (radial basis) form for any given pair points in the space, such as &#119857; and &#119857; &#8242; , as follows:</p><p>where &#119889; is the dimension of the input space, and &#119845;, known as the lengthscale hyperparameter, is a 1 &#215; &#119889; vector that determines the smoothness of the predictive function.</p><p>Given the data corresponding to the objective function, i.e., &#119811; = {&#119857; &#119903; , &#119910; &#119903; } &#119877; &#119903;=1 such that &#119910; &#119903; = &#119891; (&#119857; &#119903; ) + &#120598; and &#120598; &#8764; &#57914; (0, &#120590; 2 ), the GP prior with a typically zero mean function is updated to a GP posterior by maximizing the marginal likelihood with respect to the GP hyperparameters, i.e., &#120637; = {&#120590;, &#119845;}. Therefore, a posterior predictive distribution can be obtained at any given spatial point (&#119857; &#119877;+1 , &#119858; &#119877;+1 ) based on the existing joint Gaussian distribution between &#119858; 1&#8758;&#119877; and &#119910; &#119877;+1 , as follows,</p><p>P. Honarmandi et al.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>&#119901;(&#119910;</head><p>where</p><p>&#8230; , &#119896;(&#119857; &#119877; , &#119857; &#119877;+1 )}, and &#119816; denote the &#119877; &#215; &#119877; identity matrix <ref type="bibr">[13,</ref><ref type="bibr">51]</ref>.</p><p>As mentioned earlier, the length-scale hyperparameter that controls the smoothness of the predictive surrogate surface is an important factor to emulate the response of the black-box objective function. However, the correct estimation of this parameter is usually impossible due to the lack of data for the objective function. For this reason, Joy et al. <ref type="bibr">[13]</ref> incorporated the idea of building lots of surrogate models by sampling the length-scale hyperparameter from a reasonable range of values into the standard BO technique to propose a multi-scale search BBO approach. Considering this strategy in the BO scheme ensures that some of the constructed surrogate surfaces are close to the response of the objective function, which makes this BBO approach highly robust and super-efficient.</p><p>Assuming &#119866; length-scale samples ({&#119845; &#119892; } &#119866; &#119892;=1 ) and the corresponding &#119866; surrogate models (GP &#119866; &#119892;=1 ), then &#119866; points ({&#119857; * &#119892; } &#119866; &#119892;=1 ) can be suggested using the maximization of the acquisition function (&#120572;), as follows,</p><p>Expected improvement (EI) is considered as the acquisition function in this work in order to hold a balance between exploitation and exploration of the optimization space. It is expressed as the expected value of the improvement (&#119868;) at any given spatial point (&#119857;), as follows <ref type="bibr">[5]</ref>,</p><p>&#120590; &#119901;&#119903;&#119890;&#119889; (&#119857;)</p><p>)</p><p>which is an expression specifically for the minimization cases. Here, &#119910; &#119898;&#119894;&#119899; = arg min &#119910; &#119903; &#8712;&#119858; &#120783;&#8758;&#119825; &#119910; &#119903; is the minimum &#119910; value of the current data points. The second line in Eq. ( <ref type="formula">19</ref>) shows a closed analytic solution for the expected value in the case of single-objective problems where the objective function response is one-dimensional. &#120567;(&#8901;) and &#120601;(&#8901;) denote the standard normal cumulative distribution function (CDF) and probability distribution function (PDF), respectively. In this closed-form expression, the first term provides the exploitation search while the second term accounts for the exploration search.</p><p>The &#119866; points proposed through the above process are reduced to the batch size of interest by clustering the points into &#119870; groups through the K-medoids clustering method (see <ref type="bibr">[52]</ref> for the method description). In this context, the medoid of each cluster-that is an actual point among the proposed points (unlike the centroid in the K-means clustering method, which corresponds to a point in the design space that may not correspond to an actual sample)-is taken into account as the next point to evaluate. ; then, the next optimization iteration is performed in the same way with the updated data. The optimization process continues in this sequential manner until a point with the optimum response is identified <ref type="bibr">[13]</ref>. The flowchart in Fig. <ref type="figure">4</ref> also shows how this BBO approach works.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Results and discussion</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Standard vs. batch Bayesian optimization: A 2D sinusoidal case study</head><p>Before applying the multi-scale search BBO technique in a practical design problem, the efficiency of this approach is compared with the standard BO through a simple sinusoidal example to show the importance of the BBO in the accelerated materials design/discovery when the parallel computing capability is available.</p><p>Let &#119910;(&#119857;) = &#8721; 2 &#119894;=1 &#119909; &#119894; sin(&#119909; &#119894; )+50 be the objective function with 2D input (&#119857; = (&#119909; 1 , &#119909; 2 )) and 1D output (&#119910;). Fig. <ref type="figure">5</ref>(a) shows a 3D demonstration of how this function changes over the input space ranging from 0 to 20 in each dimension. As can be observed in this figure, there are several local minima that make finding the global minimum difficult through conventional techniques such as gradient-based optimization methods. The color 2D projection in Fig. <ref type="figure">5</ref>(b) shows this global minimum in dark blue around the coordinate <ref type="bibr">(17.4, 17.4)</ref>.</p><p>The standard BO and the multi-scale search BBO with different batch sizes are applied to find the global optimum of the above sinusoidal function, i.e., arg min &#119857; &#119910;(&#119857;). For these optimization processes, the posterior predictive distributions and the acquisition function values are obtained at a number of discrete coordinates over the &#119857;-input space, { (&#119909; 1 , &#119909; 2 )|&#119909; &#119894;=1,2 &#8712; {0, 0.5, 1.0, &#8230; , 19.5, 20} } . In this discrete space, the closest point to the global optimum is located at <ref type="bibr">(17.5,17.5</ref>) that can be assumed to be the optimization solution. However, the range of (17, 17) &#8804; &#119857; &#8804; <ref type="bibr">(18,</ref><ref type="bibr">18)</ref>, which includes 9 points in the discrete input space, is considered as the optimization stopping criterion for the sake of time reduction. It should be noted that 100 random three-point sample sets from the input space excluding the mentioned objective range are selected as the initial data and used one by one for each optimization approach.</p><p>The mean value and standard deviation of the number of iterations required to achieve the optimal result for each optimization approach are plotted in Fig. <ref type="figure">6</ref>. As observed in this figure, the standard BO with one-at-a-time evaluations has a higher mean number of iterations to the optimal result compared to the BBO with more than one-at-a-time evaluations. Regardless of the stochastic nature of the applied BBO approach causing small fluctuations in the mean number of iterations, there is an overall decreasing trend for this mean value as the optimization batch size increases. However, this reduction has a sharp decreasing rate, such that there are almost no differences in the mean number of iterations at batch sizes larger than 20. Interestingly, while the mean number of iterations for the BBO with batch size 2 is slightly smaller than the standard BO, its corresponding standard deviation is much larger. Similar to the mean number of iterations, the standard deviation also decreases with a sharp decreasing rate as the BBO batch size increases. Again, the stochastic nature of the applied BBO approach results in some small fluctuations in the standard deviation trend, but they are ineffective on the overall decreasing trend.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Application of the multi-scale search batch Bayesian optimization in inverse structure-process problems</head><p>In this section, the multi-scale search BBO method is applied to two different phase-field models explained in detail in Section 2.1 in order to solve the inverse structure-process problems in the context of accelerated materials design. In this regard, the BBO technique described in Section 2.3 is used here to search composition-time input spaces for the given target microstructures. Besides the application of the BBO technique, the importance of the proper definition of the objective function in terms of microstructure descriptors and the proper weighting of these descriptors is also demonstrated in these phase-field studies.   </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.1.">Computational microstructure-based process design using the lowfidelity model</head><p>Process design is performed by considering a synthetic microstructure generated through the low-fidelity phase-field simulation as the design target. The BBO method with different batch sizes are applied to identify the model input values, i.e., order parameter (&#120601;) and time (&#119905;), which deliver the target microstructure. Here, the target input values are (&#120601; * , &#119905; * ) = (0, 30) and the respective microstructure is shown in Fig. <ref type="figure">1(a)</ref>. Two objective functions are defined for these optimization processes. The first objective function includes just one of the microstructure descriptors, where the volume fraction of the spinodal phases at any given point in the design space are compared with their It should be noted that the volume fraction of just one phase is taken into account in the optimizations due to the correlation between the volume fraction of the two phases. However, the second objective function contains the characteristic length scale of phases besides their volume fractions and compares these two microstructure descriptors at any given point in the design space with their counterparts at the target point as</p><p>Again, the correlation between the descriptors of the spinodal phases justifies an objective function with the descriptors of just one of the phases. The phase volume fractions are calculated by incorporating Otsu's image thresholding method <ref type="bibr">[50]</ref>. Their characteristic length scale is obtained by calculating the radial basis power spectrum of the Fourier transform of the composition map (log |{&#119888; &#119896; }| 2 ) for 2-D and 3-D microstructures. These two sets of minimization problems with different objective functions are initialized with three objective-function values obtained by the phase-field simulations at three same data points randomly sampled from a discrete input space, where &#120601; and &#119905; change from -0.5 to +0.5 (based on the predefined composition range for the spinodal decomposition in the total Gibbs free energy) and 10 to 300 with the interval of 0.02 and 5, respectively. These data points are used to train the GP models used in the first iteration of the optimizations. The rest of the spatial points are considered as the test points at which the posterior predictive distributions and the acquisition function values are obtained to propose the next points to evaluate. It is also worth noting that 1000 length-scale hyperparameter samples of size 2 are generated in order to perform these batch optimizations, according to Section 2.3.</p><p>In Table <ref type="table">1</ref>, the numbers of the optimization iterations required to reach the target input (&#119899; * ) are listed for different optimization batch sizes and objective functions. As expected, there is a decreasing trend for the number of iterations as the batch size increases, regardless of the choice of the objective function. However, the decreasing trend can be identified more accurately if the average number of iterations after the execution of several BBOs with different initial samples is considered for each batch size case, similar to the evaluations in Section 3.1. These analyses are avoided here since the phase-field model involvement in the mentioned optimizations for each batch size case makes the whole process computationally very expensive. Moreover, the main points in this section are to show how to efficiently perform microstructurebased process design from a random initial data set in the design space and how the computational parallelization capability can considerably accelerate design by reducing the number of iterations during the optimization process.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Table 1</head><p>The number of optimization iterations required to obtain the target input using the low-fidelity phase-field model, considering different optimization batch sizes and two objective functions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Batch size (&#119870;)</head><p>Number of optimization iterations (&#119899; * )</p><p>Objective-1 (&#119891; Another important point observed in Table <ref type="table">1</ref> is that the number of iterations to the design solution for each batch size case is much lower when the second objective is taken into account. This can be attributed to the fact that the volume fraction of phases alone is not generally a sufficient feature for the unique representation of microstructures. However, the volume fraction and characteristic length scale of phases together provide a better representation for microstructures in this design case with the low-fidelity phase-field Model.</p><p>Fig. <ref type="figure">7</ref> provides a better understanding of why objective function &#119891; 2 is more informative than objective function &#119891; 1 in this case study. In this figure, the values of both objective functions at points suggested by the BBOs with batch size 10 have been plotted in terms of field order parameter and time-where the colors show the points suggested in different optimization iterations for each objective function case. It should be noted that the three initial points for optimizations are also included in this figure in a different color. As observed in Fig. <ref type="figure">7</ref>(a) and (b), there are many combinations of order parameter and time that results in objective function values very close to zero. Therefore, the BBO approach most likely spends some time searching the local minima until it finds the global optimum. On the other hand, as shown in Fig. <ref type="figure">7(c</ref>) and (d), the global optimum is more defined and differentiated from the rest of the spatial points for the second objective case. For this reason, the global optimum can be identified much faster by the BBO approach. In this regard, Hardy and Voorhees <ref type="bibr">[53]</ref> showed that the volume fraction and characteristic length scale are correlated at any given time, indicating if one is known, the other one can be calculated. It was also indicated that the same value of volume fraction can be obtained at different times, differentiated by different length scale values. This is the case in the present work, where just the volume fraction of phases in objective function &#119891; 1 results in solution degeneracy, i.e., objective values very close to zero for different microstructures obtained from different combinations of order parameter and time (Fig. <ref type="figure">7</ref>(a) and (b)). This solution degeneracy can also be inferred through Fig. <ref type="figure">2</ref>. It should be noted that the same story exists for the characteristic length scale of phases alone, based on Fig. <ref type="figure">3</ref>. On the other hand, as shown in Fig. <ref type="figure">7(c</ref>) and (d), considering the phase volume fraction and characteristic length scale in objective function &#119891; 2 gets rid of the degeneracy issue and direct the BBO method toward a unique point in the composition-process space, yielding the target microstructure. In conclusion, it seems the integration of the volume fraction and characteristic length scale of phases in the objective function provides a more unique representation of microstructures in this phase-field case study, which highlights the importance of choosing proper microstructure descriptors in process design. However, it should be noted that objective function &#119891; 2 in this work is not necessarily the best for all microstructure-based inverse problems, and a different (more complicated) one can be defined using more microstructural features or QoIs if required.</p><p>As an example, the probabilistic GP models obtained during the entire BBO process with the second objective function and the batch size 100 are shown in Fig. <ref type="figure">8</ref>. The starting GP model in Fig. <ref type="figure">8</ref>(a) with three initial points are followed by the GP models after the first and second BBO iterations in Fig. <ref type="figure">8</ref>(b) and (c). Blue and green surfaces in each  plot also indicate the predictive mean values and 95% credible interval boundaries at any given point in the input space, respectively. Again, a relatively steep gradient toward the optimum solution is observed in the GP predictive mean surface at the end of the optimization process, as shown in Fig. <ref type="figure">8(c</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.2.">Computational microstructure-based process design using the highfidelity model</head><p>In this case study, the design input space includes AlN composition (&#119888; AlN ) from 0.24 to 0.7 incremented by 0.02, ZrN composition (&#119888; ZrN ) from 0.02 to 0.08 incremented by 0.005, and time (&#119905;) from 10 to 50 incremented by 2, while TiN composition (&#119888; TiN ) is ignored due to its dependency on the other two elemental compositions. The output space is defined based on the second objective function in the previous study (&#119891; 2 ) as it was shown that it better represents the microstructures and leads to the optimum solution in less iterations. Similarly, the microstructural descriptors of two phases are taken into account here as the third phase descriptors are dependent on the descriptors of the other two phases. However, this objective function weights both microstructure descriptors equally, which is not necessarily the most optimal metric for the optimization processes. Therefore, a dynamic objective function (&#119891; 3 ) is defined in terms of the weights of the microstructure descriptors. In other words, dynamic weighting is performed by considering &#119908; and 1 -&#119908; as the coefficients of the characteristic length scale and volume fraction of phases in the objective function, respectively, i.e.,</p><p>Here, &#119908; is a hyperparameter that is sampled from 0 to 1 incremented by 0.05 besides the design input variables during the BBO process.</p><p>To evaluate the efficiency of this dynamic objective function compared to the equally weighted objective function in the BBO approach, a synthetic microstructure generated by the input values of (&#119888; * AlN , &#119888; * ZrN , &#119905; * ) = (0.36, 0.05, 38) is considered as the design target and this structure is shown in Fig. <ref type="figure">1(b)</ref>. For both objective function cases, the BBO starts by fitting the GP models over the objective-function values obtained by the phase-field simulations at the same 50 initial points generated through Latin Hypercube Sampling (LHS) in the 3-D input space. The weight hyperparameter in the case of BBO with &#119891; 3 is considered to be 0.5 for all the 50 points in order to initialize both optimizations with exactly the same conditions. The optimization processes continue with batch size 50 in an iterative way until a microstructure associated with the target input point or its neighboring points in the 3-D space is achieved. A less strict stopping criterion is selected in this study to reduce the required number of optimization iterations since the applied high-fidelity phase-field model is computationally expensive to run. While only 1000 length-scale hyperparameters were sampled in the case of the low-fidelity model, 10000 length-scale hyperparameters are sampled here for the BBOs on the high-fidelity model due to the larger hyperparameter space in this study.</p><p>In Fig. <ref type="figure">9</ref>, a 2-D t-distributed stochastic neighbor embedding (t-SNE) plot is shown for the 3-D design input space in yellow and samples suggested during the BBO iterations with objective function &#119891; 2 in different colors. In this plot, the target input point is also marked by a red pentagram. It is worth noting that t-SNE is a nonlinear, unsupervised ML technique, mainly used to visualize high-dimensional data in 2-D or 3-D space based on the pairwise distances between the data points in high-dimensions. The same t-SNE representation of the 3-D design input space is shown in Fig. <ref type="figure">10</ref> As shown in Figs. 9 and 10, it takes 7 and 3 iterations or 7 &#215; 50 = 350 and 3 &#215; 50 = 150 phase-field evaluations in addition to the 50 initial evaluations to achieve the optimal result. The number of evaluations until the optimal results implies the BBO with dynamic objective function &#119891; 3 is almost twice as efficient as the one with an objective function that equally weights the microstructure descriptors in this case study. The optimal microstructures obtained from these two optimizations have been shown in Fig. <ref type="figure">11</ref>. As observed in this figure, these microstructures are very close to the target microstructure, indicating no specific changes in morphologies and the values of microstructure descriptors for the neighboring points in the design input space. Fig. <ref type="figure">11</ref> also shows that the target microstructure (part a) has closer descriptor values to the optimal microstructure obtained from optimization with objective function &#119891; 3 (part c) than the optimal microstructure obtained from optimization with objective function &#119891; 2 (part b) since the first two neighboring points are spatially closer.</p><p>Recently, the idea of using inexpensive ML models, such as deep neural networks (DNNs), as emulators of microstructure evolution simulations has become a hot topic in accelerated microstructure-based process design <ref type="bibr">[33,</ref><ref type="bibr">[54]</ref><ref type="bibr">[55]</ref><ref type="bibr">[56]</ref>. However, it is suspected that the number of phase-field evaluations required to train such ML models is higher than the evaluations suggested by the BBO approach. The reason is that the surrogate ML models can closely emulate the ground truth model only if trained with a relatively high number of data points throughout the entire input space, while the BBO technique guides the spatial search through the regions in the input space that are likely to deliver optimal results. Moreover, to the best of our knowledge, such ML models have yet to be applied to complex multi-physics models, where the model training becomes more challenging. This discussion indicates potentially higher power and efficiency of the applied BBO approach with the dynamic objective function than the competing cutting-edge approaches for materials process design based on the microstructure of interest. However, the claim above needs to be investigated practically by comparing the BBO approach with the other fast-acting design approaches in different materials design problems. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Conclusions</head><p>In this work, a multi-scale search BBO method is proposed to address one of the most important challenges and concerns in the context of the ICME framework, i.e., the slow rate of materials design/discovery due to typically large (high-dimensional) composition-process spaces and/or super-expensive ground truth models and experiments. The proposed BBO method provides a parallel efficient search scheme in the materials composition-process spaces in order to tackle this problem. It was shown that the parallelization capability makes this method much more efficient than the commonly used standard BO method, where the one-at-a-time iterative selection of points restricts its application in most materials design problems. Also, the application of this BBO approach in the microstructure-based process design using two phase-field models-that is one of the most challenging inverse problems along the materials PSPP chain-indicated the importance of the proper definition of objective functions in such design problems. In the first example with the low-fidelity model for a binary spinodal decomposition, it is shown that the phase volume fractions are not enough to uniquely represent the spinodal microstructures, and their combination with the characteristic length scales is required to have a better objective function in BBO. In the second example with the high-fidelity model for a ternary spinodal decomposition, BBO with a dynamic objective function-where the weights for the microstructure descriptors, i.e., phase volume fractions and characteristic length scales, are considered random variables (or hyperparameters) and their values are selected beside the model input variables during the BBO process-is more efficient than the BBO with an objective function that equally weights these descriptors. In the end, this work attempts to highlight the value of the applied BBO approach as a promising pathway in accelerated materials design/discovery. However, this approach can be studied further using even more sophisticated multi-objective optimization algorithms in more complex design problems.   </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>CRediT</head></div></body>
		</text>
</TEI>
