원시데이터 수집 시스템
선정목록으로

Modeling Material Stress Using Integrated Gaussian Markov Random Fields

관련 모빌리티 소재 · (2) 샤무드(인공피혁)

기본 정보

저자
  1. Marcy, Peter W.
  2. Wiel, Scott A. Vander
  3. Storlie, Curtis B
  4. Livescu, Veronica
  5. Bronkhorst, Curt A
DOI
10.48550/arxiv.1911.02629
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.1911.02629
토픽
Composite Material Mechanics
OpenAlex ID
W6910431134

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (2) 샤무드(인공피혁)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 샤무드(인공피혁)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

The equations of a physical constitutive model for material stress within tantalum grains were solved numerically using a tetrahedrally meshed volume. The resulting output included a scalar vonMises stress for each of the more than 94,000 tetrahedra within the finite element discretization. In this paper, we define an intricate statistical model for the spatial field of vonMises stress which uses the given grain geometry in a fundamental way. Our model relates the three-dimensional field to integrals of latent stochastic processes defined on the vertices of the one- and two-dimensional grain boundaries. An intuitive neighborhood structure of said boundary nodes suggested the use of a latent Gaussian Markov random field (GMRF). However, despite the potential for computational gains afforded by GMRFs, the integral nature of our model and the sheer number of data points pose substantial challenges for a full Bayesian analysis. To overcome these problems and encourage efficient exploration of the posterior distribution, a number of techniques are now combined: parallel computing, sparse matrix methods, and a modification of a block update strategy within the sampling routine. In addition, we use an auxiliary variables approach to accommodate the presence of outliers in the data.

본문 47,381자

본문 펼치기
1Introduction Scientists who study the mechanics of materials at Los Alamos National Laboratory are interested in the fracture properties of real as well as simulated tantalum. Physical experiments conducted at the macro-scale (i.e., much larger than single-crystal length) provide loading conditions to be used in meso-scale (where single crystals can be resolved) computational dynamic models of this material. The need for the computational models stems from the following reasoning. The outcome of the physical shock-loading experiments are tantalum plates with nucleated pores; the plates provide information on the end result, but provide no insight as to the mechanics of the process leading to the damage. Because the initiation mechanisms are not directly measurable but still of interest, scientists have developed constitutive models of the internal stress-strain relationships to partly bridge this gap. Owing to different phenomenology, models exist at both the meso- and macro-scales. The ultimate goal of the researchers is to link meso- and macro-scale computational models in order to understand pore nucleation in tantalum. A necessary first goal is to understand the spatial distribution of stress within the idealized meso-scale tantalum immediately preceding damage formation. This paper represents the first step in a recent collaboration of theoretical materials scientists and statisticians to better understand the non-stationary spatial distribution of stress within a simulated collection of tantalum grains that have been subjected to shock-loading conditions. The materials scientists initially sought out statisticians due to the fact that many material properties and mechanisms are statistical in nature. Further, while the materials modelers are able to write constitutive equations for the stress-strain relationships within tantalum, these equations do not naturally describe the spatial variability throughout a representative volume, and in particular, near grain boundaries. Because the three-dimensional distribution of stress throughout the grain network is important for the understanding of damage initiation, the authors have begun to explore empirical, data-driven (meta-)models. This work represents our initial attempt to parameterize the tantalum stress fields through a nontraditional spatial statistical model. Given the uniqueness of the dataset, the novel model it suggests, and the variety of practical computational techniques necessary to fit said model, we think this paper will be of general interest to a wider applied statistical audience. While there are many potential flavors of spatial model to choose from, there are three important aspects of the simulated tantalum dataset that narrow the search. First is the natural neighborhood structure provided by the finite element techniques used to calculate the stress: two spatial locations can be considered neighbors if their volume elements touch. The second consideration is the sheer amount of data: the huge amount of output produced by the materials codes is an immediate and sizable hurdle for the fitting of any potential spatial statistical model. The third consideration is the non-stationary nature of the stress fields: variability tends to increase near grain boundaries. All three of these aspects point to the use of Gaussian Markov random fields (GMRFs) for the tantalum stress fields. GMRF models can use a neighborhood structure to specify the entries of the precision (as opposed to the covariance) matrix. Not having to repeatedly invert the covariance matrix then leads to computationally efficient inference for large and possibly non-stationary spatial datasets [17, 15]. On the practical side, it is possible to fit a wide class of (latent) GMRF models using the R-INLA software. This R package facilitates approximate Bayesian inference using an integrated nested Laplace approximation [18]. However, this software cannot be used when there are more than four hyperparameters and/or the likelihood is sufficiently complicated. In addition, the methodology of [15] cannot be used for non-stationary models when lacking knowledge of stochastic partial differential equations (SPDEs). In this paper we define a unique and intricate Bayesian non-stationary GMRF model for simulated tantalum which precludes the use of R-INLA and does not use SPDEs. It is based on an equation relating the 3D stress field to integrals of latent stochastic processes defined on the vertices of 2D and 1D grain boundaries, and its Bayesian inference requires modified sampling strategies within the Markov chain Monte Carlo (MCMC) routine. The modifications we propose are directly generalizable to other high-dimensional GMRFs whose inference necessitates MCMC. We start by providing more details of the materials science background in Section 2. It will provide much needed context for the structure and nature of the dataset. Next we specify our intricate model in Sections 3 and 4. The sampling routines for a full Bayesian analysis are presented in Section 5, and results of the analysis are presented in Section 6. We end with conclusions and comment on the need for extensions. 2Computational Materials Science Background The data we analyze come from a physical model (to be distinguished from our statistical meta -model) of how tantalum crystallites (grains) respond to stress loading conditions. Specifically, it is a thermo-mechanically coupled elasto-viscoplastic single-crystal constitutive model in which the dominant physical feature is the interaction of crystals within the polycrystal volume. A more in-depth description of the mathematical equations can be found in [5, Sec. 3.2]. The collection of coupled differential equations were solved numerically on a representative volume of tantalum grains using Abaqus 6.12 [19]. Refer to caption Figure 1:A cutout of the full representative volume (left) showing the subset of 18 fully internal grains (right). Blue indicates low ( > 535 MPa) and red indicates high ( < 1147 MPa) vonMises stress. The finite element discretization and boundary conditions used by the numerical solvers were formulated using experimental measurements. A representative three-dimensional polycrystalline cube (sidelength 165 m) with 70 tantalum grains was generated with an open-source software utility Dream3D [9] using information derived from two-dimensional electron-backscatter diffraction data of [5]. In general, the experimental orientation image maps from the three primary orthogonal directions of a material are used by Dream3D to train a statistical model of the grain size, shape, and orientation for the microstructure. This model can be used by Dream3D to generate as many statistically equivalent microstructures as needed. In our case, the resulting volume contained 577,445 conformally meshed tetrahedral computational elements on 106,904 vertices/nodes. The finite elements along grain boundaries are smaller in order to provide a higher resolution of the spatio-temporal mechanics in these regions. The meshing algorithms within Dream3D are not perfect and are constantly being refined by the developers. For instance, some jagged artifacts of the conformal meshing can be seen where three grains meet (Figures 1, 4, and 10), but this was the state of our spatial data at the time of generation. The time-dependent boundary conditions for the compressive forces acting perpendicular to the cube-faces of the computational polycrystal were derived from macro-scale simulations of plate impact experiments of [4]. The loading history was imposed up to the point at which the simulations suggested pore nucleation in the tantalum-on-tantalum plate experiments. This is the sole time point for which we consider the output. The output of Abaqus includes many state variables including the tensor-valued quantities: strain, strain rate, and stress. In this study, we consider only vonMises stress (in units megapascals, MPa), a scalar reduction of the Cauchy stress tensor, because of its direct relevance to material yield and damage initiation [16]. Refer to caption Figure 2: The variability of vonMises stress decreases as distance from boundaries increases. The spatial domain was subsetted to remove potential boundary effects induced by the forces acting upon the cube s faces. We consider the 18 complete grains which do not intersect any cube-face; these internal grains contain a still formidable 94,274 tetrahedral elements on 60,966 nodes (10,851 of these being boundary nodes) The subsetted data are shown in Figures 1 and 10. Initial explorations of the stress field revealed a few important features to include in our statistical model. First, grains tend to have their own baseline vonMises stress, suggesting a grain-specific mean. Next, there is clear spatial correlation with grain boundaries appearing to generate areas of both high and low stress. However, the effect of grain boundaries is not entirely consistent in that some boundaries can be seen to separate areas of relatively similar stress while others separate high and low stress regions. A decay in variability as a function of distance to second- and third-order grain boundaries can be seen in Figure 2. (Second-order boundaries are surfaces between two grains while third-order boundaries are intersection curves between three grains.) Finally, there are outliers of (usually high) stress which are unlike surrounding values ? this suggests that any reasonable statistical model will need an error distribution with heavy tails. In the next section we detail a model that can accommodate all the above features. 3Bayesian Hierarchical Model: Likelihood We now define a scalar random field model for vonMises stress throughout the 18-grain volume. Let Y ? ( ?? ) be the vonMises stress at spatial location ?? , and let g g ? ( ?? ) be the grain at location ?? . The idealized version of our model relates the expected stress at a location ?? in three-dimensional space to averages of unobserved functions of one and two dimensions: E ? { Y ? ( ?? ) } = g + B ~ g e ? ? ? d ? ( ?? , ?? ) g ( ?? ) d ?? + C ~ g e ? ? ? d ? ( ?? , ?? ) g ( ?? ) d ?? (1) where g is the baseline stress in grain g { 1 , ? G } , ? , ? > 0 , and d ? ( ?? , ?? ) is the Euclidian distance between spatial locations ?? and ?? in ? 3 . B ~ g is the second-order boundary of grain g , i.e., the two-dimensional manifold where grain g contacts neighboring grains, and is the domain of the unobserved function g ? ( ? ) . Hence, the integral over B ~ g is a surface integral. Similarly, C ~ g represents the third-order boundary of grain g , i.e., the union of one-dimensional manifolds where grain g simultaneously contacts any two (or more) neighboring grains. It is the domain of the function g ? ( ? ) , and the corresponding integral is therefore a sum of line integrals. Figure 3 displays domains B ~ g and C ~ g for a simple geometry of three grains. Each point on a second-order boundary which is not a higher-order boundary (e.g., the smaller dots in the left panel of the figure) is represented exactly twice in the integrals of (1); each point on a third- or higher-order boundary (e.g., the larger dot) is represented six times. The red lines in the center and right panels of the figure connect the multiple representations. Having distinct functions defined on a common boundary allows for different local spatial behavior on either side of the boundary. Furthermore, the exponential kernel in the integrals of (1) permits a distance weighted averaging that can capture decaying trends such as those in Figure 2. Figure 3: A simple geometry of three grains (left panel). The second- and third-order boundary domains for the integrals of (1) are displayed in the center and right panels (respectively). The red lines connect the multiple representations of the original four boundary points. The relation defined in (1) is clearly an integral equation, and for this reason is idealized because its parameter set is actually a collection of functions { g ? ( ?? ) , g ? ( ?? ) } g = 1 G . In fact, from a mathematical perspective, it is a Fredholm integral equation of the first kind [21, Ch. 8], and because the kernel is symmetric, this problem of recovering the unknown functions is called deconvolution. Furthermore, when the kernel parameters ? and ? are not given, the scenario is referred to as blind deconvolution [22]. From a statistical perspective, by assuming the functions are stochastic processes (and being careful with the definition of the integral) one specifies a kernel mixing or process convolution model [11, 1]. Our model in (1) differs from the typical process convolution because the domain of integration is of lower dimension than the spatial domain; the expected stress throughout the volume will be determined completely by the behavior at the one- and two-dimensional grain boundaries. Our actual model utilizes the discrete geometry from the finite element approximation. The spatial location of a particular observed datum is taken to be the centroid of its tetrahedral computational element, i.e. the coordinate average of the four vertices/nodes. Moreover, the entire representative volume (cube of 70 grains) is conformally meshed with tetrahedral elements so that the region where two grains meet is a common collection of triangles. That is, each two-dimensional manifold B ~ g is approximated by a set of nodes B g belonging to tetrahedral faces of the boundary. The region where three grains meet is a line segment defined by a collection of common vertices, and all such line segments for a grain form C g ? C ~ g . Note that C g B g . Consequently, the process g (and g ) will be characterized at the discrete node points in B g ( C g ) to carry out a quadrature approximation of (1). The model for vonMises stress of element m { 1 , , M = 94,274 } having centroid c m within grain g { 1 , , G = 18 } is given by Y m = g + v B g g ? ( v ) ? e ? ? ? d ? ( c m , v ) ? ? v + v C g g ? ( v ) ? e ? ? ? d ? ( c m , v ) ? ? v + m (2) ? v = ( 1 / 3 ) ? total area of all second-order tetrahedral faces on v (3) ? v = ( 1 / 2 ) ? total length of all third-order tetrahedral edges on v m i ? i ? d t d ? f ? ( 0 , 2 ) Let ?? g represent a column vector of the elements in { g ? ( v ) : v B g } , sorted by increasing node index. Similarly, let ?? g represent the sorted vector of elements in { g ? ( v ) : v C g } . Let ?? = ( ?? 1 ? , , ?? G ? ) ? and ?? = ( ?? 1 ? , , ?? G ? ) ? be the combined vectors of second- and third-order grain boundary processes for all grains; dim ( ?? ) = 14,434 and dim ( ?? ) = 3,482 . This defines a vectorized form of the model: ?? = ?? + ?? b ? ?? + ?? c ? ?? + ?? (4) ?? = ( 1 ? ?? M 1 ? , , G ? ?? M G ? ) ? [ ?? b ] m , p = e ? ? ? d ? ( c m , v n ? ( p ) ) v n ? ( p ) ? ?? { v n ? ( p ) B g ? ( m ) } where ?? k is a k -vector of 1 s; g = 1 G M g = M ; g ? ( m ) gives the grain index of element m and n ? ( p ) gives the second-order boundary node index corresponding to ?? -index p ; ?? ? { ? } is an indicator function. The matrix ?? c is defined similarly; note that the indicator function makes ?? b and ?? c block diagonal. By definition, a node in a third-order boundary is also a node in a second-order boundary, implying that columns of ?? c will be columns of ?? b for ? = ? . Multicollinearity is also expected within the columns of ?? b because of the large number of small tetrahedra on the boundaries. In the applied mathematics, the inverse problem is then said to be ill-conditioned (on top of being ill-posed). Hence, we will allow for correlated ?? entries through their prior. More on this in Section 4.1. Before we explicitly write the likelihood we need one more result. 3.1Auxiliary Variables for Heavy-Tailed Errors The Student- t distribution can be interpreted as a scale-mixture of normal distributions due to the following result. Fact 1.If Z N ? ( 0 , 2 ) and I ? n ? v ? G ? a ? m ? ( d ? f 2 , d ? f 2 ) , then the quantity = def ? Z t d ? f ? ( 0 , 2 ) This implies that m i ? i ? d I ? n ? v ? G ? a ? m ? ( d ? f 2 , d ? f 2 ) and ( m | = n ) i ? i ? d N ? ( 0 , n ? 2 ) provide marginal Student- t distributions: m i ? i ? d t d ? f ? ( 0 , 2 ) . Hence we obtain a regression model with heavy-tailed errors by introducing an auxiliary/latent-data vector ?? (having the same length as the original data ?? ) which can easily be updated with a Gibbs step [e.g., 8, 6, Sections 12.1 and 17.2]. Finally, the likelihood for the parameters of our model is L ? ( ?? , ? , ?? , ? , ?? , 2 , ?? , ?? ) | ?? | 1 / 2 ? exp ? { ? 1 2 ? ( ?? ? ?? ~ ) ? ? ?? ? ( ?? ? ?? ~ ) } (5) ?? ~ = def ?? + ?? b ? ?? + ?? c ? ?? ?? = def 1 2 ? diag ? ( 1 1 , , 1 M ) The matrices ?? b and ?? c depend on ? and ? , respectively. The priors for the parameters above will be given next. 4Bayesian Hierarchical Model: Priors 4.1Priors on and Most kernel convolution models feature a Gaussian mixing distribution, but extensions are possible (see e.g. the overview and references in [1]). In particular, instead of assuming the elements of ?? are i ? i ? d normal, we will allow for spatial correlation (to counter the ill-conditioned nature of the convolution) by assuming the entire vector follows a multivariate normal distribution corresponding to a Gaussian Markov Random Field (GMRF). Recent examples of GMRFs as priors in deconvolution-style inverse problems include [11, 13, 14, 2, 23, 24]. The random field models for ?? and ?? will determine a field for ?? conditional upon ?? b and ?? c . In fact, the latent fields can be quite rough, and the resulting integrated field for vonMises stress will be continuous, perhaps even differentiable. A GMRF facilitates computational efficiency for large spatial models by being defined directly through a sparse precision (inverse covariance) matrix [17, 15]. GMRF models are naturally applicable when the data possess a neighborhood (vertex and edge) structure: the i ? j th precision entry will be non-zero if and only if the neighborhood includes edge i ? j . In essence, the computationally efficient inference comes at the cost of having to be defined through conditional moments. This stands in contrast to traditional Gaussian process models which are easily specified through unconditional means and covariances, but whose associated parameter estimation is computational infeasible for large datasets. Refer to caption Figure 4:The 18 grain volume with boundary triangulations visible. The geometry of the tetrahedrally meshed 18-grain volume lends itself naturally to a GMRF on the second- and third-order boundaries. We describe the model for ?? , and the extension to ?? will be abundantly clear. There can be many thousand second-order nodes in each B g set, and this means a large ?? g ?? . However, there is a very intuitive neighborhood structure: two nodes are neighbors iff they are vertices of a common tetrahedral element. For this reason ?? g is assumed to be a GMRF on B g , and further, that the entire collection of grain boundary processes { ?? g } g = 1 G are statistically dependent on one another through partial correlations at their shared boundaries. This is to say, the entire ?? vector is a GMRF whose definition necessitates further notation. Let B g , v B g denote the neighbors of node v on the boundary of grain g . Let G g denote the neighboring grains of grain g , and G g , v G g denote only those neighboring grains that also share node v , i.e., G g , v = { g : g G g ? and ? v B g } . It is assumed that g ? ( v ) , conditional on all other elements of ?? , only depends on { g ? ( v ) : v B g , v } and { g ? ( v ) : g G g , v } . The first set represents within-grain neighbors ( wgn ): the same boundary process at physically adjacent nodes; the second set is the between-grain neighbors ( bgn ): different processes at the same node. Again, refer to Figure 3 in which the bgn s are connected with red lines. The model for the random field ( and its parameters defined analogously) is ?? N ? ( ? ?? , ?? ? 1 ) (6) [ ?? ] p , q = ? { ? 1 if wgn: p q , g ( p ) = g ( q ) , v n ? ( q ) B g ? ( p ) , v n ? ( p ) ? if bgn: p q , n ( p ) = n ( q ) , g ( q ) G g ? ( p ) , v n ? ( p ) K p if ? p = q 0 otherwise K p = ( | B g ? ( p ) , v n ? ( p ) | + ? | G g ? ( p ) , v n ? ( p ) | ) where is the mean of the process, constant over all grain boundaries. The cardinalities | B g ? ( p ) , v n ? ( p ) | and | G g ? ( p ) , v n ? ( p ) | are precisely the number of wgns and bgns of p , and so it can be observed that the matrix is diagonal-dominant when ( 0 , 1 ) and ( ? min ?? | B g ? ( p ) , v n ? ( p ) | / | G g ? ( p ) , v n ? ( p ) | , 1 ) . (11) Diagonal-dominance is a sufficient condition for the positive definiteness of ?? . A similar GMRF parameterization was advocated by [20] for use with multiple, distinct neighbor types. Properties of GMRFs (e.g., Rue and Held (2005), Theorem 2.3) can be used to gain insight into the parameterization above: E ? ( p | ?? ? p ) = + K p ? ( v B g ? ( p ) , v n ? ( p ) ( g ? ( p ) ? ( v ) ? ) CLOSE (12) + g G g ? ( p ) , v n ? ( p ) ( g ( v n ? ( p ) ) ? ) ) V ? a ? r ? ( p | ?? ? p ) = ? K p C ? o ? r ? r ? ( p , q | ?? ? p ? q ) = { / K p ? K q if wgn ? / K p ? K q if bgn The parenthesized factor in (12) is a weighted average of the neighbors, where controls the relative weight between the wgns and bgns. The ( 0 , 1 ) then sets the proportion of the weighted average to use for the conditional auto-regression, i.e., it specifies how smooth the process is across neighbors. The conditional variance is a function of the number of neighbors, and intuitively these quantities are inversely proportional. Though the process is not actually stationary, controls the conditional precision: smaller leads to a larger variance. 4.2Remaining Priors and Hyperpriors Again, in order to get a Student- t likelihood under the hierarchical specification, we need the latent variables to be distributed i ? i ? d inverse-gamma; we also let the degrees of freedom vary: m i ? i ? d I n v G a m ( d ? f 2 , d ? f 2 ) ( m = 1 , , M ) [ d ? f ] 1 d ? f 2 The other priors and hyperpriors are as follows g i ? i ? d N ? ( , 2 ) N ? ( y ? , 100 2 ) 2 I ? n ? v ? G ? a ? m ? ( 0.001 , 0.001 ) 2 I ? n ? v ? G ? a ? m ? ( 0.001 , 0.001 ) ? l ? o ? g ? N ? ( ln ? 0.6 , 2 ? ( ln ? 0.8 ? ln ? 0.6 ) ) ? l ? o ? g ? N ? ( ln ? 0.8 , 2 ? ( ln ? 1.0 ? ln ? 0.8 ) ) , i ? i ? d N ( 0 , 8 2 ) , i ? i ? d G a m ( 0.001 , rate = 0.001 ) , i ? i ? d B e t a ( 32 / 5 , 8 / 5 ) , i ? i ? d U n i f ( ? 0.4 , 1 ) The parameters of the log-normal distributions were chosen so that the prior median and mean of ? would be 0.6 and 0.8, and similarly, such that these quantities for ? would be 0.8 and 1.0. The parameters of the beta distribution were chosen so that the prior mean and mode of the variables would be 0.8 and 0.9, implying somewhat smooth latent processes. Using (11), and need to be greater than -0.75 and -0.5 (respectively), but using these as lower bounds in the uniform priors led to poor conditioning of the precision matrices, especially for moderately large or . Relatively diffuse priors were used for the remaining (hyper)parameters. 5Computational Details We again point out that the impressive computational efficiency afforded by the use of R-INLA for GMRF models was not available to us for a few reasons. First, the fact that ? and ? are unknown means that the the design matrices ?? b and ?? c are not fixed (which is not currently supported by R-INLA). Second, the complexity of the prior precision for ?? and ?? in (4.1) cannot easily be accommodated. Last, the INLA approximation accuracy is expected to suffer due to the number of hyperparameters associated with the both of these random fields. Hence, we use MCMC sampling to explore the posterior distribution of the full set of parameters. In the next two subsections we give the updates within one iteration of the MCMC for the model defined by the likelihood (5) and the priors in Section 4. We use a Metropolis-within-Gibbs approach whereby groups of parameters are updated using their full conditional distributions; a Metropolis step is used for those sets of parameters whose full conditional is not a known distribution. Specific details about implementation are mentioned last. 5.1Update of the Latent Fields and Hyperparameters As pointed out in [13], Finding an efficient method for updating the [Markov random] field turns out to be an interesting problem. [12] and [17] Sec. 4.1.2 address this problem through the use of block updates; the authors report mixing within the MCMC that is superior to that produced by hybrid Gibbs updates, and for no additional computational cost. Employing such a strategy in our case would entail the joint update of each random field and its hyperparameters, i.e. in two blocks: first ( ?? , , , ) and then ( ?? , , , ) . The reasoning will be detailed after introducing some more notation; the discussion focuses on the field but applies directly to the field as well. Suppose that all hyperparameters of the unobserved random field ?? are collected in the vector ?? ; also let [ ?? ? | ?? ? ] denote the density of the full conditional posterior [ ?? | ?? , , ?? ] evaluated at ?? ? given ?? ? and all other quantities. Within a Metropolis step, the jumping rule defined by q full ( ?? ? , ?? ? | ?? ( t ? 1 ) , ?? ( t ? 1 ) ) = def q ( ?? ? | ?? ( t ? 1 ) ) ? [ ?? ? | ?? ? ] (15) has the same acceptance probability as the ?? update alone because the density values associated with ?? s full conditional cancel in the acceptance ratio. The preceding algorithm assumes that the entire field can be sampled at once, which is not the case for the current analysis. This is because the full conditional of ?? is normal with mean and covariance that depend on the inverse of ?? b ? ? ?? ? ?? b + ?? , which is a large dense matrix [8, Equation 13]. It is also worth noting that even the formation of the full cross-product ?? b ? ? ?? ? ?? b is not feasible because the design matrices are relatively dense. We thus propose an extension of the block update strategy of [17], pg. 143. Instead of proposing a candidate ?? ? from the density [ ?? | ?? , , ?? ] (i.e. the entire vector all at once), our modification uses S subblock proposals with a joint acceptance of the whole collection; the resulting Metropolis step then has jumping rule: q full ( ?? ? , ?? ? | ?? ( t ? 1 ) , ?? ( t ? 1 ) ) = def q ? ( ?? ? | ?? ( t ? 1 ) ) (16) ? [ ?? 1 ? | ?? 2 ( t ? 1 ) , ?? 3 ( t ? 1 ) , , ?? S ( t ? 1 ) , ?? ? ] ? [ ?? 2 ? | ?? 1 ? , ?? 3 ( t ? 1 ) , , ?? S ( t ? 1 ) , ?? ? ] ? ? [ ?? S ? | ?? 1 ? , ?? 2 ? , , ?? S ? 1 ? , ?? ? ] The full conditional densities above are exactly those associated with sequential Gibbs updates for the corresponding blocks (the dependence upon ?? and the remaining parameters was again suppressed). It can easily be seen that under this proposal rule, the conditional posterior terms will not cancel in the acceptance ratio meaning that 2 ? S density evaluations are necessary for a complete update of ?? : S evaluations as prescribed by (16), and S more from the detailed balance computation, i.e., swapping the roles of ? and ( t ? 1 ) . We have observed that this added computational cost is justified by superior exploration of the posterior. (Note: what we call blocks Rue and Held call subblocks , implying that our subblocks would be something like sub-subblocks in their terminology.) Let ?? s and ?? s ? denote, respectively, the s t ? h subblock and it s complement in ?? . Let other vectors/matrices be defined in a similar manner: for example, ?? s is the submatrix of ?? b with columns corresponding to ?? s ; ?? s , s ? is the submatrix of the prior precision ?? obtained by keeping rows and removing columns corresponding to the s t ? h block of ?? . To compute the jumping rule in (16), a closed form for [ ?? s | ?? s ? , ?? , , ?? ] is necessary. Using properties of multivariate normal distributions [17, Thm. 2.5] and some tedious but standard Bayesian calculations, it follows that ?? s | ?? s ? , rest N ? ( ?? s | ? , ?? s | ? ? 1 ) (17) ?? s | ? = def ?? s | ? ? 1 ? ( ?? s ? ? ?? s ? + ? ?? s , s ? ?? ? ?? s , s ? ? ( ?? s ? ? ? ?? ) ) ?? s | ? = def ?? s ? ? ?? ? ?? s + ?? s , s ?? s ? = def ?? ? ?? ? ?? s ? ? ?? s ? ? ?? c ? ?? A few remarks are in order. Despite ?? being sparse, ?? s | ? is dense because of the cross-product term. However, the inverse of this posterior precision is manageable because ?? s is specified to give ?? s a reasonable number of columns. This implies that ?? s ? is quite large, but the sparsity of the prior precision makes ?? s , s ? ? ( ?? s ? ? ? ?? ) easy to compute. The partial residual ?? s ? depends on a potentially unwieldy ?? s ? ? ?? s ? , but this can be efficiently managed by updating the full residual ?? = ?? ? ?? ~ = ?? ? ?? ? ?? b ? ?? ? ?? c ? ?? (18) for each of the S subblocks. To update the s t ? h subblock of ?? , set ?? s = ?? + ?? s ? ?? s , draw the new subblock ?? s ? , and then update ?? ?? s ? ?? s ? ?? s ? and ?? s ?? s ? . Note that to evaluate the density and obtain a new draw from the full conditional only one Cholesky decomposition of ?? s | ? is needed. The other term necessary to compute the jumping rule in (16) is q ? ( ?? ? | ?? ( t ? 1 ) ) . For this function we use a multivariate normal density (centered on the previous value) in the transformed space ?? = def ( ln ? ( ? ) , ln ? ( ) , ? 1 ? ( ) , ? 1 ? ( + 0.4 1 + 0.4 ) ) Above, ? 1 ? ( ? ) is the quantile function of a standard normal variate and the 0.4 and 1 terms come from uniform prior on ; by design, all transformed variables have unbounded support. The resulting q ( ? | ? ) is symmetric and will thus cancel in the joint Metropolis acceptance ratio, but the prior densities must be adjusted according to a change-of-variables. Transforming the hyperparameters and the inclusion of ? into the joint update were essential adjustments to allow for adequate mixing of the MCMC algorithm. 5.2Remaining Updates The last parameter of the process which is not updated jointly with ?? has full conditional distribution | rest N ? ( ?? ? ? ?? ? ?? + 0 / ( 8 2 ) ?? ? ? ?? ? ?? + 1 / ( 8 2 ) , 1 ?? ? ? ?? ? ?? + 1 / ( 8 2 ) ) 0 and 8 2 being the prior mean and variance. In what follows, ?? again denotes the full residual (18), with m ? t ? h entry r m . The parameters associated with the grain means have full conditionals g | rest i ? i ? d N ? ( mean = ( 1 2 ? g ? ( m ) = g r m m + 2 ) ? var CLOSE , OPEN var = ( 1 2 ? g ? ( m ) = g 1 m + 1 2 ) ? 1 ) | rest N ? ( ( g = 1 G g 2 + y ? 100 2 ) ? var , var = ( G 2 + 1 100 2 ) ? 1 ) 2 | rest I ? n ? v ? G ? a ? m ? ( G 2 + 0.001 , 1 2 ? g = 1 G ( g ? ) 2 + 0.001 ) The parameters of the error distribution of ?? have full conditionals 2 | rest I ? n ? v ? G ? a ? m ? ( M 2 + 0.001 , 1 2 ? m = 1 M r m 2 m + 0.001 ) ?? | rest i ? i ? d I ? n ? v ? G ? a ? m ? ( 1 2 + d ? f 2 , r m 2 2 ? 2 + d ? f 2 ) [ d ? f | rest ] ( d ? f 2 ) ? M ( d ? f 2 ) M ? d ? f / 2 ? 2 ( m = 1 M 1 m ) d ? f / 2 exp ( ? d ? f 2 m = 1 M 1 m ) The d ? f parameter can easily be updated using a univariate normal density as a jumping rule. The updates provided in this section are computationally trivial and represent a tiny percentage of the total time associated with one iteration of the MCMC. Figure 5: Trace plots (after discarding the burn-in iterations and then back-transforming) for one parameter and three hyperparameters associated with the process using grains as subblocks. 5.3Remaining Details of Implementation The choice of subblocks affects the performance of the MCMC routine. Heuristically, one should use subblocks which are expected to be correlated within, minimally correlated between, and as large as possible to gain the sampling efficiency of the joint update strategy (15). On the other hand, using smaller parameter patches can be faster computationally. For each of the ?? and ?? vectors we were able to use one subblock per grain; this led to a maximum ?? g dimension of 17946 2784 for g = 11 . We found that subblocks of roughly 200 coefficients was faster but produced chains which wandered a bit more. The choice of hardware and software also affect computational performance. In this study we used a Mac Pro desktop with a 3.5 GHz, 6-Core Intel Xeon E5 processor and 32GB of memory. To fully harness the multicore capabilities, R was compiled against OpenBLAS 0.2.18 to provide default parallelization. This was necessary for two reasons. First, the parameters ? and ? were not fixed which implies that each iteration involves multiplying and exponentiating > 1.20 ? e ? 8 terms for the ?? b matrix and > 2.57 ? e ? 7 for the ?? c matrix? even automated parallel matrix algebra can buckle under such a burden. Second, to use one subblock per grain, a matrix cross-product and Cholesky decomposition involving the large ?? 11 is necessary. Parallelized matrix linear algebra is indispensable in such a scenario. Sparse matrices were handled using the Matrix package within R 3.2; it was found that this particular software outperformed the functionality provided by both spam and SparseM. Even with the considerable gains derived from the careful implementation within R, a full round of updates still takes about 16 seconds. Using smaller blocks, one iteration could be sped up to 6 seconds, but we opted for bigger blocks to aid sampling efficiency. The parameters requiring a multivariate normal Metropolis jumping rule, i.e. ?? , ?? and d ? f , had their proposal covariances tuned during the burn-in period according to the method of [10]. After a block of 500 iterations, the covariance was adjusted by the appropriate multiplier necessary to get an acceptance rate of ? 0.234 , as suggested by [7]; this was done for 20 such blocks. An additional 5000 samples from fixed proposal covariances were used for the burn-in period, implying a total of 15,000 not used in the final analysis. The MCMC routine was run for 15,000 more iterations, and every fifth sample was recorded. 6Results Figure 6: Hexbin plot of predicted versus observed for the last iteration of the MCMC; the red dashed one-to-one line is displayed for visual aid. Refer to caption Figure 7: Cutouts of the 18 grain domain with observed vonMises stress (left) and predicted values (right) for the last iteration of the MCMC. Figure 8: Raw and standardized residuals for the last iteration of the MCMC. Figure 9: One dimensional marginal posterior distributions for various parameters. Aside from the 94,274 auxiliary variables of ?? necessary for the Student- t likelihood, there are a total of d ? i ? m ? ( ?? ) + d ? i ? m ? ( ?? ) + G + 14 = 17,948 parameters/hyperparameters. Of these, the convergence of the random fields ?? and ?? is somewhat hard to assess, but we did not observe anything conspicuously egregious in the trace plots of randomly selected entries of the vectors. Trace plots for the hyperparameters of the process are shown in Figure 5. The (qualitative) adequacy of the chains character is a direct result of our sampling routine. Every fifth iteration of the MCMC we monitored some quantities to assess the model s goodness-of-fit. For example, adjusted coefficients of determination R a ? d ? j 2 were calculated; after the burn-in period, R a ? d ? j 2 relative to a constant mean model was above 0.98 and the R a ? d ? j 2 relative to a grain-specific mean model was above 0.95. For one such iteration (the last of the MCMC), additional diagnostic plots are given in Figures 6, 7, and 8. (The reason for using only one iteration, as opposed to say the mean field ?? ^ + ?? b ? ?? ^ + ?? c ? ?? ^ , is the presence of ?? : the mean field will not correspond to the mean of the auxiliary variables ?? ^ , and this will invalidate residual-based diagnostics.) The plots comparing observed and predicted values corroborate the high R 2 values to suggest that the model fits the data well, even adjusting for the huge number of parameters. We did not use any cross-validation based diagnostics for two reasons. First, the additional computations for a k -fold cross-validation were deemed undesirable, given the already taxing MCMC. Second, and more importantly, using a hold-out subset of the data for validation purposes will almost certainly not capture the relevant generalization error: that which is associated with data on new/different grain geometries. This type of model assessment can only be derived from verification with further simulated datasets. Figure 8 shows the residuals for the last iteration of the MCMC. The raw residuals indicate some extreme absolute errors relative to the range of the data, but these are indeed a small minority. They also display inappropriate tail behavior implying that any constant-variance normal error model will not be suitable. The left panel stands in contrast to the right panel of Figure 8 which favors the use of a Student- t likelihood (the m th residual is standardized by m ? ). We note however that a further examination of the residual field reveals some potential spatial correlation, especially near grain boundaries; this will be an avenue for future investigation and improvement. Marginal posterior distributions for some of the parameters are displayed in Figure 9. A few noteworthy features are present. First, the small values of d ? f are further evidence for a heavy-tailed error distribution. Next, the quantity 1 / ? is related to a correlation length, and in this light the reciprocal of the posterior mode is very large: the effect of the process reaches across the entirety of each grain. The process mean is centered on zero, meaning that a second-order boundary can either elevate or lower expected vonMises stress; > 0 suggests that third-order boundaries are more often tied to the elevation of stress. Both parameters are small implying that the processes are actually quite rough, and plots of ?? and ?? (not presented here) were visually indistinguishable from noise. Both parameters are negative implying an inhibitory effect within collection of { ?? g } and { ?? g } . This means that the values of two processes on the same grain boundary are negatively correlated (in a conditional sense); they are not in fact independent. The posteriors of both parameters push up against the lower bounds of the prior which is undesirable as well as unexpected? it provides some evidence of model inadequacy despite the favorable diagnostics presented earlier. 7Conclusions This paper represents a first step towards understanding vonMises stress fields and hence damage initiation within polycrystalline tantalum, a process of great interest to scientists at Los Alamos National Laboratory. Because the constitutive mechanical equations dictating the material response did not satisfactorily describe the visible spatial variability to the materials scientists, we proposed an empirical statistical model for the complicated, high-dimensional and rich simulated tantalum dataset. The data s size and tetrahedrally meshed geometry (hence a pre-existing neighborhood structure), strongly motivated the use of Gaussian Markov random fields. However, within our unique model, the variability throughout the entire 3D volume was dictated by latent and interacting GMRFs defined on lower dimensional 2D and 1D grain boundaries. As such, the scientists intuition of grain boundary importance was built directly into the model. We also allowed for a heavy-tailed error distribution so that outliers did not have undue influence. Our novel GMRF model required a careful Bayesian implementation and we proposed the use of a modified block updating scheme for the latent fields. Sparse matrix functionality and parallel computing methods were vital to the performance of the MCMC routine. After fitting the model we encountered some surprising results. We had expected the latent processes at the second- and third-order boundaries (the ?? and ?? fields) to be smooth (large ? hyperparameters), and their influence to have a moderate to quick decay away from the boundaries (indicated by ? ? hyperparameters). However, the data unequivocally encouraged extremely rough latent fields that, through small decay parameters, averaged out to a smooth 3D mean field that was visually quite similar to the observed. Also, despite good visual agreement between observed and predicted, the ? parameters had modes at the bounds required to guarantee precision matrix invertibility. This means that, loosely speaking, the model had to stretch to accommodate the type of variation present in the data. On the other hand, the roughness of the latent fields implies a large effective number of parameters (in ?? and ?? ) which is a sign of overfitting. This means that more thought needs to be given to how the latent fields can be smoothed ( regularized ) in a principled way beyond our current hyperparameter specification. Past exploring the issues mentioned in the previous paragraph, there is considerable room for improving this (or any) statistical model of stress within simulated shock-loaded tantalum. For instance, future work will have to accommodate substantially larger datasets (on the order of many millions of spatial locations), tensor-valued output, and grain orientation as a covariate. Another major issue to consider is the dependence of hyperparameters upon the given tetrahedral meshing. Mesh-invariant model specification is a difficult problem from the GMRF perspective (see e.g., [3] and [15]), but one whose solution would allow for better generalizability and predictions upon new grain geometries with arbitrary mesh structure. A possibility is to ignore the mesh geometry and instead favor notions of distance and correlation length, but one is then immediately back to the problem of specifying a non-stationary model for big spatial data. The difficulties within both mesh-based or distance-based approaches makes this an important and challenging area of research and application. Refer to caption Figure 10: The 18 grains partially separated and rotated about the spatial x = y axis to show variability of vonMises stress on grain boundaries; the progression goes from the top-left to the bottom-right panel. (The spatial axes are defined by the cube faces of Figure 1 with the z axis being the vertical.)

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.