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

Data-Driven Microstructure Property Relations

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (21) 에폭시수지(11) 배리어 필름

기본 정보

저자
  1. Julian Lißner — Efficient Methods for Mechanical Analysis, Institute of Applied Mechanics (CE), University of Stuttgart, 70569 Stuttgart, Germany
  2. Felix Fritzen — Efficient Methods for Mechanical Analysis, Institute of Applied Mechanics (CE), University of Stuttgart, 70569 Stuttgart, Germany
DOI
10.3390/mca24020057
저널
Mathematical and Computational Applications
발행년도
2019
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
15
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/mca24020057
토픽
Composite Material Mechanics
OpenAlex ID
W2923572352

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(21) 에폭시수지, (11) 배리어 필름
R&D 측면
분석·모델링
확신도
0.80
근거 용어
microstructure, effective heat conductivity, machine learning, surrogate model, heterogeneous materials
판단 근거
이 논문은 미세구조(microstructure) 데이터를 머신러닝으로 분석하여 이종 재료의 유효 열전도도를 예측하는 모델링 기법을 다룹니다. 이는 코오롱인더스트리의 컴파운드(23)나 에폭시/페놀 수지(21) 등 복합 소재의 물성 설계 및 필름(11)의 다층 구조 분석에 응용 가능한 연구입니다.
R&D 활용 포인트
복합 소재(컴파운드) 개발 시 미세구조의 형상이나 함량 변화에 따른 열적/기계적 물성을 시뮬레이션 없이 빠르게 예측하는 디지털 트윈 및 소재 설계 가이드로 활용 가능합니다.
평가 입력
본문 85,839자 중 30,032자 발췌

초록

An image based prediction of the effective heat conductivity for highly heterogeneous microstructured materials is presented. The synthetic materials under consideration show different inclusion morphology, orientation, volume fraction and topology. The prediction of the effective property is made exclusively based on image data with the main emphasis being put on the 2-point spatial correlation function. This task is implemented using both unsupervised and supervised machine learning methods. First, a snapshot proper orthogonal decomposition (POD) is used to analyze big sets of random microstructures and, thereafter, to compress significant characteristics of the microstructure into a low-dimensional feature vector. In order to manage the related amount of data and computations, three different incremental snapshot POD methods are proposed. In the second step, the obtained feature vector is used to predict the effective material property by using feed forward neural networks. Numerical examples regarding the incremental basis identification and the prediction accuracy of the approach are presented. A Python code illustrating the application of the surrogate is freely available.

본문 85,839자

본문 펼치기
_Article_ ## Data-Driven Microstructure Property Relations Julian Lißner <sup>1,†,‡</sup> and Felix Fritzen <sup>2,†,‡</sup> 1 Institute of Applied Mechanics (CE); lissner@mechbau.uni-stuttgart.de 2 Institute of Applied Mechanics (CE); fritzen@mechbau.uni-stuttgart.de * Correspondence: fritzen@mechbau.uni-stuttgart.de; Tel.: +49-711-685 66283 (F.F.) - University of Stuttgart, Pfaffenwalding 7, 70569 Stuttgart - These authors contributed equally to this work. Received: date; Accepted: date; Published: date Abstract: An image based prediction of the effective heat conductivity for highly heterogeneous microstructured materials is presented. The synthetic materials under consideration show different inclusion morphology, orientation, volume fraction and topology. The prediction of the effective property is made exclusively based on image data with the main emphasis being put on the 2-point spatial correlation function. This task is implemented using both unsupervised and supervised machine learning methods. First, a snapshot proper orthogonal decomposition (POD) is used to analyze big sets of random microstructures and thereafter compress significant characteristics of the microstructure into a low-dimensional feature vector. In order to manage the related amount of data and computations, three different incremental snapshot POD methods are proposed. In the second step, the obtained feature vector is used to predict the effective material property by using feed forward neural networks. Numerical examples regarding the incremental basis identification and the prediction accuracy of the approach are presented. A Python code illustrating the application of the surrogate is freely available. Keywords: microstructure, property linkage, unsupervised machine learning learning, supervised machine learning, neural network, snapshot proper orthogonal decomposition MSC: 74-04, 74A40, 74E30, 74Q05, 74S30 1. Introduction In material analysis and design of heterogeneous materials, multiscale modeling can be used for the discovery of microstructured materials with tuned properties for engineering applications. Thereby, it contributes to the improvement of the technical properties, reduces the amount of resources invested into the construction and enhances the reliability of "material modeling"/"the description of material behaviour". However, the discovery of materials with the desired material property, which is characterized by the microstructure of the solid, constitutes a highly challenging inverse problem. The basis for all multiscale models and simulations is information on the microstructure and on the microscale material behaviour. If at hand, physical experiments can be replaced by – often costly – computations in order to determine the material properties by virtual testing [1–3]. Separation of structural and microstructural length scales can often be assumed. This enables the use of the representative volume element (RVE) [4] equipped with the preferable periodic fluctuation boundary conditions [5]. The RVE characterizes the highly heterogeneous material using a single frame (or image) and the (analytical or numerical) computation can be conducted on this frame. The concurrent simulation of the underlying microstructure (e.g., through nested FE simulations, cf., e.g., [6,7], or e.g. considering microstructure behaviour in the constitutive laws, e.g. [8]) and of the problem on the structural scale is computationally intractable. In view of the correlation between _Math._ _Comput._ _Appl._ 2019, _xx_ [, 5; doi:10.3390/mcaxx010005](http://dx.doi.org/10.3390/mcaxx010005) [www.mdpi.com/journal/mca](http://www.mdpi.com/journal/mca) _Math._ _Comput._ _Appl._ 2019, _xx_, 5 2 of 23 computational complexity and energy consumption, nested FE simulations should be limited in application. Therefore, efficient methods giving reliable prediction of the material property are an active field of research: POD-driven reduced order models with hyper-reduction (e.g., [9,10]), with multiple reduced bases spanning also internal variable [11,12] and for finite strains (e.g., [13,14]). See also general review articles on the topic such as [15,16]. Supposing that two _similar_ images representing microstructured materials are considered, it is natural to expect _similar_ effective properties in many physically relevant problems such as elasticity, thermal and electric conduction to mention only two applications. The main task, thus, persists in finding low-dimensional parameterizations of the images that capture the relevant information, use these parameterizations to compress the image information into few numbers and build a surrogate model operating only on the reduced representation. A black-box approach exploiting precomputed data for the construction of the surrogate is the use of established machine learning methods which is also the topic of this paper. As the no free lunch theorem [17] states, an algorithm can not be arbitrarily fast and arbitrarily accurate at the same time. Hence, there has to be a compromise either in accuracy, computational speed or in versatility. At the cost of generality, i.e. by focusing on subclasses of microstructures, fast _and_ accurate models can be deployed while still allowing for considerable variations of the microstructures. This does not mean that these subclasses must be overly confined: for instance, inclusion volume fractions ranging from 20 up to 80% are considered in this work. Using a limited number of computations performed on relevant microstructure images, machine learned methods can be trained for the subclass under consideration. The sampling of the data, the feature extraction and the training of the ML algorithm constitute the _offline_ phase in which the surrogate model is built. Typically, the evaluation of the surrogate can be realized almost in real-time (at least this is the aspired and ambitious objective), thereby enabling previously infeasible applications in microstructure tayloring, interactive user interfaces and computations on mobile devices. A currently active research for microstructure property linkage is the material knowledge system (MKS) framework [18]. Many branches thereof exist, all trying to attain low-dimensional microstructure descriptors from the truncation of selected _n_ -point correlation functions. For instance, a PCA of the _n_ -point correlation functions of the microstructure is performed and the principal scores are used to in a polynomial regression model in order to predict material properties. The MKS is actively researched for different material structures [19–21]. For instance, [19,20] successfully predict the elastic strain and yield stress for the underlying microstructure using the MKS approach, however they confine their focus on either the topological features of the microstructure or a confined range of allowed volume fractions (0-20%), often held constant in individual studies. The goal in the present study is to make accurate image based predictions for RVEs spanning large subsets, e.g. in terms of volume fraction, morphological and topological variations, of microstructure materials. Similarly to key ideas of the MKS approach, a reduced basis is deployed to reduce the dimensionality of the microstructural features contained in the _n_ -point correlation functions. With the sheer amount of samples required, conventional methods fail to capture the key features of the all the microstuctures and we propose three novel incremental reduced basis updates to make the computation possible. Using synthetic microstructures/RVE, the costly training of the reduced basis and of the artificial neural network (e.g., [22]) becomes feasible, allowing to build a surrogate model for the image-property linkage. The surrogate accepts binarized image representations of bi-phasic materials as inputs. The outputs constitute the effective heat conductivity of the considered material. In Section 2 the microstructure classification and the three different incremental snapshot POD procedures used during feature extraction are presented (unsupervised learning). In Section 3 the use of feed forward artificial neural networks for the processing of the extracted features is discussed. Numerical examples are presented in Section 4 including different inclusion morphologies and an _Math._ _Comput._ _Appl._ 2019, _xx_, 5 3 of 23 investigation of the relaxation of the microstructure subclass confinement of the procedure by using mixed data sets. [A Python code illustrating the application of the surrogate is freely available Github.](https://github.com/J-lissner/img---kappa) 2. Materials and Methods _2.1._ _Microstructure Classification_ The microstructure is defined by the representative volume element (RVE) [4], which is one periodic frame or image characterizing the heterogeneous material under consideration, see Figure 1 for examples of the microstructure and its 2-point spatial correlation function (see below for its definition). Due to their favorable properties regarding the size of the RVE, periodic fluctuation boundary conditions are used for the computations during the offline phase [5]. The n-point spatial correlation functions represent a widely used mathematical framework for microstructural characterization [23,24]. Roughly described, the n-point correlation is obtained by placing a polyline consisting of ( _n −_ 1) nodes defined relative to the first point by vectors _r_ 1, _r_ 2, . . . . By placing the first point uniformly randomly into the microstructure and computing the mean probability of finding a prescribed sequence of material phases at the nodes of the polyline (including the initial point) denotes the n-point correlation _cn_ ( _r_ 1, _r_ 2, . . ., _r_ _n−_ 1; _m_ 1, _m_ 2, . . ., _mn_ ), where _mk_ is the material label expected to be found at the _k_ th node. For example, the 1-point spatial correlation function, i.e. the probability of finding phase _m_ ( _m_ _∈{a_, _b_, . . . _}_ ), yields the phase volume fraction _fm_ of phase _m_ . In the present study bi-phasic materials are considered. Here _m_ = _a_ corresponds to the matrix material (drawn blue in Figure 1) and _m_ = _b_ to the inclusion phase (drawn yellow in Figure 1). The trivial relation _fa_ = 1 _−_ _fb_ (1) holds. The 2-point spatial correlation function (2PCF) _c_ 2( _r_ ; _a_, _b_ ) places the vector _r_ in each pixel/voxel _x_ of the RVE and states the probability of starting in the matrix phase _a_ and ending in the inclusion phase _b_ . Mathematically we have _c_ 2( _r_ ; _a_, _b_ ) = _χ_ <sup>(</sup> <sup>_a_</sup> <sup>)</sup> ( _x_ ) _χ_ <sup>(</sup> <sup>_b_</sup> <sup>)</sup> ( _x_ + _r_ ) (2) _x_ with _χ_ <sup>(</sup> <sup>_m_</sup> <sup>)</sup> being the indicator function of phase _m_, _r_ the point offset and _⟨• ⟩x_ denoting the averaging operator over the RVE. The 2PCF is efficiently computed in Fourier space by making use of the algorithmically sleek fast Fourier transform (FFT) [25,26]: _c_ 2( _r_ ; _a_, _b_ ) = _F_ <sup>_−_</sup> <sup>1 �</sup> _F_ ( _χ_ <sup>(</sup> <sup>_a_</sup> <sup>)</sup> ) _⊙_ _F_ ( _χ_ <sup>(</sup> <sup>_b_</sup> <sup>)</sup> ) , (3) Figure 1. Depicting some exemplary microstructures with their respective 2-point spatial correlation functions _c_ 2( _r_ ; _b_, _b_ ) below _Math._ _Comput._ _Appl._ 2019, _xx_, 5 4 of 23 where _F_ and _F_ <sup>_−_</sup> <sup>1</sup> denote the forward and backward FFT, _~~•~~_ is the complex conjugate and _⊙_ denotes the point-wise multiplication, respectively. For bi-phasic materials the three different two-point functions _c_ 2( _•_ ; _a_, _b_ ), _c_ 2( _•_ ; _a_, _a_ ), _c_ 2( _•_ ; _b_, _b_ ) are related via: _c_ 2( _r_ ; _a_, _a_ ) = _fa −_ _c_ 2( _r_ ; _a_, _b_ ), _c_ 2( _r_ ; _b_, _b_ ) = _fb −_ _c_ 2( _r_ ; _a_, _b_ ) . (4) In view of computational considerations this redundancy can be exploit. Some key characteristics of the non-negative 2PCF are _c_ 2( 0 ; _a_, _a_ ) = _fa_ = max _r_ _∈Ω_ <sup>_c_</sup> <sup>2(</sup> <sup>_r_</sup> <sup>;</sup> <sup>_a_</sup> <sup>,</sup> <sup>_a_</sup> <sup>),</sup> (5) _c_ 2( 0 ; _b_, _b_ ) = _fb_ = max _r_ _∈Ω_ <sup>_c_</sup> <sup>2(</sup> <sup>_r_</sup> <sup>;</sup> <sup>_b_</sup> <sup>,</sup> <sup>_b_</sup> <sup>),</sup> (6) _c_ 2( 0 ; _a_, _b_ ) = 0, (7) _c_ 2( _r_ ; _a_, _b_ ) = _c_ 2( _r_ ; _b_, _a_ ) = _c_ 2( _−_ _r_ ; _a_, _b_ ), (8) _m_ _⟨c_ 2( _x_ ; _m_, _m_ ) _⟩x_ = _f_ <sup>2</sup> _m_ ( _m_ = _a_, _b_ ) . (9) <sup>2</sup> In addition to that, a key property of the 2PCF is its invariance with respect to translations of the periodic microstructure. This property is of essential importance when it comes to the comparison of several images under consideration, i.e. during the evaluation of similarities within images. Examples of _c_ 2( _r_ ; _b_, _b_ ) (referred to also as auto-correlation of the inclusion phase) are depicted by the lower set of images in Figure 1. By the metric of vision, the following characteristics can be observed: - the maximum of _c_ 2( _r_ ; _b_, _b_ ) occurs at the corners of the domain (corresponding to _r_ = 0 ); - preferred directions of the inclusion placement and/or orientation correspond to laminate-like images (best seen in the third microstructure from the left); - the domain around _r_ = 0 partially reflects the average inclusion shape; - some similarities are found, particularly with respect to shape of the 2PCF at the corners and in the center. These observations hint at the existence of a low-dimensional parametrization of relevant microstructural features. In the following this property is exploited by using a snapshot proper orthogonal decomposition (snapshot POD) in order to capture reoccurent patterns of the 2PCF. By working on the two-point function the afore-mentioned elimination of possible translations of the images is an important feature. The influence of higher order spatial correlation functions has been investigated in the literature [e.g., 23,27]. These considerations often yield minor gains relative to the additional computations and the increased dimensionality <sup>*</sup> . Although it has been demonstrated that the two point function does not suffice to uniquely describe the microstructure in periodic domains [28], there is evidence that the level of microstructural ambiguity for identical 2PCF can be considered low. Therefor, only the n-point correlation functions up to second order are accounted for in the present study. _2.2._ _Unsupervised Learning via Snapshot Proper Orthogonal Decomposition_ The snapshot POD [29] can be used to construct a reduced basis (RB) [30–32] that provides an optimal subspace for approximating a given snapshot matrix _<u>S</u>_ _∈_ R <sup>_n×ns_</sup> . The matrix _<u>S</u>_ consists of _ns_ individual snapshots _<u>si</u>_ _∈_ R <sup>_n_</sup> with the size _n_ being the dimension of the discrete representation of the unreduced field information. In the case of the 2PCF _n_ denotes the total number of pixels within the RVE, i.e. the discrete two-dimensional 2PCF (representing image data) is recast into vector - For instance, the 3PCF takes to vectorsafter _major_ truncation. _r_ 1, _r_ 2 _∈_ _Ω_ as inputs. Hence, the full 3PCF is basically inaccessible in practice but only _Math._ _Comput._ _Appl._ 2019, _xx_, 5 5 of 23 format for further processing ( _<u>c</u>_ <sup>0</sup> ~~2~~ <sup>(</sup> <sup>_m_</sup> <sup>,</sup> <sup>_m_</sup> <sup>)</sup> <sup>_∈_</sup> <sup>R</sup> <sup>_n_</sup> <sup>).</sup> <sup>In the present study, the constructed RB is used for</sup> information compression, i.e. for the extraction of relevant microstructural features from the image data. The reduced basis _<u>B</u>_ _∈_ R <sup>_n×N_</sup> retains the _N_ most salient features of the data contained in _<u>S</u>_ in a few eigenmodes represented by the orthonormal columns of _<u>B</u>_ . The actual snapshot data contained in _<u>S</u>_ is thus constructed from the discrete 2-point function data _<u>s</u>_ <sup>0</sup> _i_ <sup>_∈_</sup> <sup>R</sup> <sup>_n_</sup> <sup>via</sup> _<u>si</u>_ = _<u>c</u>_ <sup>0</sup> ~~2~~ <sup>0</sup> ~~2~~ _i_ <sup>(</sup> <sup>_b_</sup> <sup>,</sup> <sup>_b_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_f_</sup> <sup>2</sup> _b_ <sup><u>1 =</u></sup> <sup>_<u>c</u>_</sup> <sup>0</sup> ~~2~~ <sup>_<u>c</u>_</sup> <sup>0</sup> ~~2~~ _i_ <sup>(</sup> <sup>_a_</sup> <sup>,</sup> <sup>_a_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_f_</sup> <sup>2</sup> _a_ <sup><u>1 .</u></sup> (10) where <u>1</u> _∈_ R <sup>_n_</sup> is a vector containing ones at all entries. The reduced basis is computed under the premise to minimize the overall relative projection error _Pδ_ = <sup>_<u>||S −</u>_</sup> <sup>_<u>B B</u>_</sup> <sup>T</sup> <sup>_<u>S||F</u>_</sup> _||S||F_ (11) with respect to the Frobenius norm _∥• ∥F_ . The RB can be constructed with multiple methods, e.g. with the snapshot correlation matrix _<u>CS</u>_ and its eigenvalue decomposition, which is given by (12) _<u>CS</u>_ = _<u>S</u>_ <sup>T</sup> _<u>S</u>_ = _<u>V</u>_ <u>Θ</u> _<u>V</u>_ <sup>T</sup> . The following properties of the sorted eigenvalue decomposition hold: _<u>V</u>_ <sup>T</sup> _<u>V</u>_ = _<u>I</u>_ R <sup>_ns×ns_</sup>, Θ _ij_ = _θiδij_, _θ_ 1 _≥_ _θ_ 2 _≥_ ... _≥_ _θns_ _≥_ 0, (13) and _δij_ denotes the Kronecker delta. The dimension of the reduced basis is determined by the POD threshold, i.e. the truncation criterion is given by _δN_ = _<u>j</u>_ <u>=</u> _<u>N</u>_ <u>+1</u> <sup>_θj_</sup> - ∑ <sup>_<u>ns</u>_</sup> - _i_ =1 <sup>_θi_</sup> �� <sup>∑</sup> <sup>_ns_</sup> ∑ <sup>_<u>ns</u>_</sup> _i_ <sup>_<u>ns</u>_</sup> _i_ =1 <sup>_θi_</sup> _<u>j</u>_ <u>=</u> _<u>N</u>_ <u>+1</u> <sup>_θj_</sup> - _F_ �� <sup>∑</sup> <sup>_n_</sup> _||_ <sup>_s_</sup> _<u>S||</u>_ <sup>2</sup> _F_ _||S||_ <sup>2</sup> - _F_ <sup>_−_</sup> - _∥S∥_ <sup>2</sup> _N_ ### ∑ _j_ =1 _θj_ ! _≤_ _ε_, (14) _F_ = = where _ε >_ 0 is a given tolerance denoting the admissible approximation error. Then, the reduced basis is computed via _<u>B</u>_ = _<u>S</u>_ _<u>V</u>_ <sup><u>�</u></sup> <u>Θ</u> <sup><u>�</u></sup> 2 _−_ <sup><u>1</u></sup> (15) after truncation of the eigenvalue- and eigenvector matrices to reduced dimension _N_ represented with eigenvectors leads to the property that the least reoccurent information given in _<u>S</u>_ is omitted. Hence, the first eigenmode inΘ� _∈_ R <sup>_N×N_</sup> and _<u>V</u>_ <u>�</u> _∈_ _<u>B</u>_ R <sup>_n_</sup> has the most dominant pattern, the second eigenmode the second most etc. <sup>_×N_</sup>, respectively. The sorting of the eigenvalues with their corresponding The properties of the reduced basis computed with the snapshot correlation matrix remain the same as for the singular value decomposition (SVD) introduced below. The SVD [33] of the snapshot matrix is given by _<u>S</u>_ = _<u>U</u>_ <u>Σ</u> _<u>W</u>_ <sup>T</sup> (16) with the following properties (asserting _ns_ _≥_ _n_ ) (17) _<u>U</u>_ _∈_ R <sup>_n×ns_</sup> : _<u>U</u>_ <sup>T</sup> _<u>U</u>_ = _<u>I</u>_, _<u>W</u>_ _∈_ R <sup>_ns×ns_</sup> : _<u>W</u>_ <sup>T</sup> _<u>W</u>_ = _<u>I</u>_, <u>Σ</u> _∈_ R <sup>_ns×ns_</sup> : <u>Σ</u> = diag( _σi_ ) _Math._ _Comput._ _Appl._ 2019, _xx_, 5 6 of 23 and the sorted non-negative singular values _σi_ such that _σ_ 1 _≥_ _σ_ 2 _≥· · ·_ _≥_ _σns_ _≥_ 0. The criterion for determining the reduced dimension _N_ matching (14) takes the form ! _≤_ _ε_ . (18) _<u>j</u>_ <u>=</u> _<u>N</u>_ <u>+1</u> <sup>_σ_</sup> _<u>j</u>_ <sup>2</sup> �� ∑ _i_ <sup>_<u>n</u>_</sup> = <sup>_s_</sup> 1 <sup>_σ_</sup> _i_ <sup>2</sup> �� <sup>∑</sup> <sup>_ns_</sup> _<u>j</u>_ <u>=</u> _<u>N</u>_ <u>+1</u> <sup>_σ_</sup> _<u>j</u>_ <sup>2</sup> ∑ _i_ <sup>_<u>n</u>_</sup> = <sup>_s_</sup> 1 <sup>_σ_</sup> _i_ <sup>2</sup> _i_ <sup>_<u>n</u>_</sup> = <sup>_s_</sup> 1 <sup>_σ_</sup> _i_ <sup>2</sup> - _F_ <sup>_−_</sup> - _∥S∥_ <sup>2</sup> _N_ ### ∑ _j_ =1 _σj_ <sup>2</sup> _δN_ = _<u>j</u>_ <u>=</u> _<u>N</u>_ <u>+1</u> <sup>_σ_</sup> _<u>j</u>_ <sup>2</sup> - _F_ �� <sup>∑</sup> <sup>_n_</sup> _∥_ <sup>_s_</sup> _<u>S∥</u>_ <sup>2</sup> _<u>N</u>_ <u>+1</u> <sup>_σ_</sup> _<u>j</u>_ <sup>2</sup> _F_ _∥S∥_ <sup>2</sup> <sup>_s_</sup> = = _F_ _i_ Then, the reduced basis is given by truncation of the columns of _<u>U</u>_ _→_ _<u>U</u>_ <sup><u>�</u></sup> _∈_ R <sup>_n×N_</sup> (19) _<u>B</u>_ =with _<u>U</u>_ <sup><u>�</u></sup> . the leading singular values is the RB. Both More specifically, the left subspace associated with the leading singular values is the RB. Both introduced methods yield the exact same result for the same snapshot matrix _<u>S</u>_ <u>.</u> _2.3._ _Incremental Generation of the Reduced Basis B_ The RB is deployed in order to compress the information contained in _ns_ snapshots into an _N_ -dimensional set of eigenmodes stored in the columns of _<u>B</u>_ _∈_ R <sup>_n×N_</sup>, where _N_ _≪_ _ns_ is asserted. Since the RB is computed with the snapshot matrix alone, the information contained in _<u>S</u>_ needs to contain data representing the relevant microstructure range, i.e. covering the parameter range used in the generation of the synthetic materials, in order for _<u>B</u>_ to be representative for the problem under consideration. In the case of microstructural images containing _n_ pixels, a ludicrous amount of 2 <sup>_n_</sup> states could theoretically be considered when allowing for fully arbitrary microstructures. When limiting attention to certain microstructure classes, then less information is required. Still, thousands of snapshots are usually required, at least. In the following, attention is limited to synthetic materials generated using random sequential adsorption of morphological prototypes with variable size, orientation, aspect ratio, overlap and phase volume fraction. Due to the high variability of such microstructures (see, e.g., Figure 1), a large number of snapshots is required that can usually not be stored in memory, i.e. a monolithic snapshot matrix _<u>S</u>_ is not available. Although attention is limited to two-dimensional model problems in this study, the problem aggravates _considerably_ for three-dimensional images which imply technical challenges of various sort (storage, processing time, data management, ...). _Pδ_ _< ε_ initial basis _<u>B</u>_ new snapshot reduced basis _<u>B</u>_ adjust projection error _Pδ_ _Pδ_ _≥_ _ε_ add snap _<u>n</u>_ <u>δ</u> <u>= 0</u> compute _<u>n</u>_ <u>δ</u> <u>=</u> _<u>n</u>_ <u>a</u> add snap update shot _n_ δ ++ _<u>n</u>_ <u>δ</u> <u>=</u> _<u>n</u>_ <u>a</u> update Figure 2. Graphical overview of the incremental update of the reduced basis In order to be able to generate a rich RB accounting for largely varying microstructural classes, the incremental basis generation represents a core concept within the present work. It enables the _n_ δ _< n_ a _Math._ _Comput._ _Appl._ 2019, _xx_, 5 7 of 23 RB generation based on a sequence of input snapshots but without the need to store previously considered data except for the current RB. Three different methods are proposed, two of which rely on approximations of the snapshot correlation matrix _<u>CS</u>_, and one of which relies on the SVD of an approximate snapshot matrix. The general incremental scheme depicted in Figure 2 remains the same for all the procedures, i.e. the only difference is found during the step labeled _adjust_ . The algorithm is initialized by a small sized set of initial snapshots of the shifted 2-point correlation function (see Section 2.2). Further, the algorithmic variables _nδ_ = 0 and ∆ _<u>S</u>_ = <u>0 are set.</u> The initial RB is computed classically using either the correlation matrix or the SVD (see previous section for details). After computation of the RB, the snapshots are stored neither in memory nor on a hard drive. The algorithm then takes input snapshots in the order of appearance. For each new snapshot _<u>si</u>_ the relative projection error with respect to the current RB is computed: _Pδ_ = <sup>_<u>||si −</u>_</sup> <sup>_<u>B B</u>_</sup> <sup>T</sup> <sup>_<u>si||F</u>_</sup> _||si||F_ . (20) If _Pδ_ is greater than the tolerance _ε_ _>_ 0 the snapshot is considered as inappropriately represented by the existing RB. Consequently, _<u>si</u>_ is appended to a buffer <u>∆</u> _<u>S</u>_ containing candidates for the next basis enrichment and the counter _nδ_ is incremented. Once the buffer contains a critical number of _n_ a elements the actual enrichment is triggered and the buffer is emptied thereafter. Thereby the computational overhead is reduced. The three different update procedures are described later on in detail. The procedure is continued until _n_ c _>_ 0 consecutive snapshots were found to be approximated up to the relative tolerance _ε_ . Then the basis is considered as converged for the microstructure class under consideration. In the following three methods for the update procedure are described. Formally, the update of an existing basis _<u>B</u>_ with a block of snapshots contained in the buffer ∆ _<u>S</u>_ is sought-after. The new basis is required to remain orthonormal. 2.3.1. Method A: Append Eigenmodes to _<u>B</u>_ A trivial enrichment strategy is given in terms of appending new modes to the existing basis while preserving orthonormality of the basis. Therefore, the projection of ∆ _<u>S</u>_ onto the existing RB is subtracted in a first step: <u>∆</u> _<u>S</u>_ <sup><u>�</u></sup> = <u>∆</u> _<u>S</u>_ _−_ _<u>B B</u>_ <sup>T</sup> <u>∆</u> _<u>S</u>_ <u>.</u> (21) eigen-decomposition are computed according to It is readily seen that ∆ _<u>S</u>_ <sup><u>�</u></sup> is orthogonal to _<u>B</u>_ . Then the correlation matrix of the additional data and its (22) T∆ _<u>S</u>_ <u>�</u> = _<u>V</u>_ <u>Θ</u> _<u>V</u>_ T. <u>∆</u> _<u>C</u>_ = <u>∆</u> _<u>S</u>_ <sup><u>�</u></sup> Eventually, the enrichment is given through the truncated matrices _<u>V</u>_ <sup><u>�</u></sup> and <u>Θ</u> <sup><u>�</u></sup> : _−_ <sup><u>1</u></sup> 2 . _−_ <sup><u>1</u></sup> 2 <sup><u>1</u></sup> 2 . (23) The new basis is then obtained by <u>∆</u> _<u>B</u>_ = <u>∆</u> _<u>S</u>_ <sup><u>�</u></sup> _<u>V</u>_ <sup><u>�</u></sup> <u>Θ</u> <sup><u>�</u></sup> _<u>B</u>_ _←_ _<u>B</u>_ <u>∆</u> _<u>B</u>_ . (24) existing basis is not modified. In order to compute the basis update, only the existing RB _<u>B</u>_ and the Method A simply adds modes generated from the projection residualtemporarily stored snapshots ∆ _<u>S</u>_ are required. <u>∆</u> _<u>S</u>_ <sup><u>�</u></sup> in a decoupled way, i.e. the _Math._ _Comput._ _Appl._ 2019, _xx_, 5 8 of 23 Remarks on Method A A.1 The truncation parameter _ϵ_ must be chosen carefully such that _<u>∥</u>_ <u>∆</u> _<u>S</u>_ <sup><u>�</u></sup> _<u>−</u>_ _∥_ <u>∆∆</u> _<u>BS</u>_ <u>∆</u> _∥BF_ <sup>T</sup> <u>∆</u> _<u>S</u>_ <sup><u>�</u></sup> _<u>∥F</u>_ _≤_ _ϵ_ . (25) In particular, the normalization with respect to the original data prior to projection onto the existing RB must be taken. A.2 By appending orthonormal modes to the existing basis it is _a priori_ guaranteed that the accuracy of previously considered snapshots cannot worsen, i.e. an upper bound for the relative projection error of all snapshots considered until termination of the algorithm is given by the truncation parameter _ϵ_ and _n_ a: (26) max <sup>_<u>|si −</u>_</sup> <sup>_<u>B B</u>_</sup> <sup>T</sup> <sup>_<u>si|</u>_</sup> _≤_ <sup>_√_</sup> _n_ a _ϵ_ . _|si|_ 2.3.2. Method B: Approximate Reconstruction of the Snapshot Correlation Matrix The goal of this iterative update scheme is the accurate approximation of the new correlation matrix _<u>C</u>_ = _<u>S</u>_ <sup>T</sup> <u>∆</u> _<u>S</u>_ �∆ _<u>SS</u>_ T <sup>T</sup> _<u>SS</u>_ <u>∆</u> _<u>S</u>_ <sup>T</sup> <u>∆</u> _<u>S</u>_ <u>∆</u> _<u>S</u>_ <sup>T</sup> _<u>S</u>_ <u>∆</u> _<u>S</u>_ <sup>T</sup> <u>∆</u> _<u>S</u>_ _<u>S</u>_ <sup>T</sup> <u>∆</u> _<u>S</u>_ �∆ _<u>SC</u>_ <sup>T</sup> ~~0~~ _<u>S</u>_ <u>∆</u> _<u>S</u>_ <sup>T</sup> <u>∆</u> _<u>S</u>_ <u>∆</u> _<u>S</u>_ <sup>T</sup> _<u>S</u>_ <u>∆</u> _<u>S</u>_ <sup>T</sup> <u>∆</u> _<u>S</u>_ = . (27) Here _<u>S</u>_ denotes all snapshots considered in the RB so far and ∆ _<u>S</u>_ contains the candidate snapshots. However, the previously used snapshots formally written as _<u>S</u>_ are no longer available since they can approximations are available: not be stored due to storage limitations. Using the previously computed matrices _<u>B</u>_, _<u>V</u>_ <sup><u>�</u></sup>, <u>Θ</u> <sup><u>�</u></sup> the following T, _<u>B</u>_ = _<u>S</u>_ _<u>V</u>_ <sup><u>�</u></sup> <u>Θ</u> <sup><u>�</u></sup> _−_ <sup><u>1</u></sup> 2 _<u>S</u>_ <sup>T</sup> _<u>S</u>_ = _<u>C</u>_ 0 _≈_ _<u>C</u>_ <sup><u>�</u></sup> ~~0~~ = _<u>V</u>_ <sup><u>�</u></sup> <u>Θ</u> <sup><u>�</u></sup> _<u>V</u>_ <sup><u>�</u></sup> <sup><u>1</u></sup> 2, (28) _<u>S</u>_ _≈_ _<u>B B</u>_ <sup>T</sup> _<u>S</u>_, where the accuracy of the approximation is governed by the truncation threshold _δN_ . Using these approximations and using the property of the eigenvalue decomposition, the snapshot matrix _<u>S</u>_ can be approximated by _<u>S</u>_ _≈_ _<u>B</u>_ <u>Θ</u> <sup><u>�</u></sup> <u>1</u> T. (29) 2 _<u>V</u>_ <u>�</u> The snapshot correlation matrix _<u>C</u>_ that considers the additional snapshots can be approximated as Note that _<u>B</u>_ _∈_ R <sup>_n×N_</sup> is stored anyway, <u>Θ</u> <sup><u>�</u></sup> _∈_ R <sup>_N×N_</sup> is diagonal and _<u>V</u>_ <sup><u>�</u></sup> _∈_ R <sup>_n×N_</sup> is of manageable size. <u>0</u> _<u>I</u>_ sym. <u>∆</u> _<u>S</u>_ <sup>T</sup> <u>∆</u> _<u>S</u>_ <u>0</u> _<u>I</u>_ <u></u> <u></u> <u></u> sym. <u></u> <sup><u>Θ�</u></sup> <u>Θ�</u>    = <u></u> <u></u> <u></u> <u></u> . (30) <u>12</u> _<u>B</u>_ T ∆ _<u>S</u>_ <u>∆</u> _<u>S</u>_ <sup>T</sup> _<u>B</u>_ <u>Θ</u> <sup><u>�</u></sup> _<u>C</u>_ <u>�</u> ~~0~~ <u>1</u> T _<u>V</u>_ <u>�</u> <u>∆Θ�</u> <u>12</u> _<u>B</u>_ T ∆ _<u>S</u>_ <u>0</u> <u>0</u> _<u>I</u>_ <u>��</u> _<u>V</u>_ _<u>V∗</u>_ - <u>��</u> _∗_ <u></u> <u></u> <u></u> <u></u> _<u>V</u>_ <sup>T</sup> _∗_ - <u>��</u> T <u>0</u> <u>0</u> _<u>I</u>_ _<u>V</u>_ <u>�</u> _<u>V</u>_ <sup>T</sup> _<u>C</u>_ _≈_    <u>�</u> <u>12</u> _<u>V</u>_ <u>�</u> T <u>∆</u> _<u>S</u>_ <sup>T</sup> <u>∆</u> _<u>S</u>_ <u></u> <u></u> <u></u> <u></u> _<u>C</u>_ ~~1~~ - ~~<u>��</u>~~ In order to compute the updated basis, the inexpensive eigenvalue decomposition of _<u>C</u>_ ~~1~~ _∈_ R <sup>(</sup> <sup>_N_</sup> <sup>+</sup> <sup>_n_</sup> <sup>a)</sup> <sup>_×_</sup> <sup>(</sup> <sup>_N_</sup> <sup>+</sup> <sup>_n_</sup> <sup>a)</sup> is computed _<u>C</u>_ ~~1~~ = _<u>V</u>_ 1 <u>Θ</u> ~~1~~ _<u>V</u>_ <sup>T</sup> 1 <sup>T</sup> 1 <sup>.</sup> (31) Analogously to the previous RB computation in equation (15), the adjusted and enriched basis is computed by <sup><u>1</u></sup> 2 _≈_ _<u>B</u>_ <u>Θ</u> <sup><u>�</u></sup> <u>1</u> T <u>∆</u> _<u>S</u>_ 2 _<u>V</u>_ <u>�</u> _<u>V∗</u>_ _<u>V</u>_ <sup><u>�</u></sup> ~~1~~ ~~<u>�</u>~~ <u>�</u> ~~<u>��</u>~~ _<u>W</u>_ <u>�</u> 2 _−_ <sup><u>1</u></sup> . (32) ~~1~~ <u>Θ�</u> _<u>B</u>_ = _<u>S</u>_ <u>∆</u> _<u>S</u>_ _−_ <sup><u>1</u></sup> 2 _<u>V</u>_ <u>�</u> <u>Θ�</u> _Math._ _Comput._ _Appl._ 2019, _xx_, 5 9 of 23 To update the RB the truncated eigenvector matrix ( _<u>B</u>_, _<u>V</u>_ <sup><u>�</u></sup> _←_ _<u>W</u>_ <sup><u>�</u></sup> _∈_ R <sup>_n×N_</sup> ) need to be stored as well as Remarks on Method Bthe diagonal eigenvalue matrix <u>Θ</u> <sup><u>�</u></sup> <u>.</u> B.1 The existing RB is not preserved but it is updated using the newly available information. Thereby, the accuracy of the RB for the approximation of the previous snapshots is not guaranteed _a_ _priori_ . However, numerical experiments have shown no increase in the approximation errors of previously well-approximated snapshots. B.2 In contrast to Method A the dimension of the RB can remain constant, i.e. a mere adjustment of existing modes is possible. The average number of added modes per enrichment is well below that of Method A. B.3 The additional storage requirements are tolerable and the additional computations are of low algorithmic complexity. 2.3.3. Method C: Incremental SVD Method C is closely related to Method B. However, instead of building on the use of the correlation matrix, it relies on the use of an updated SVD, i.e. an approximate truncated SVD is sought-after: (33) _≈_ _<u>B</u>_ <u>Σ</u> _<u>W</u>_ <sup>T</sup> . �� trunc svd _<u>S</u>_ <u>∆</u> _<u>S</u>_ �� Since the original snapshot matrix _<u>S</u>_ can not be stored, only an approximation of the actual truncated SVD in (33) can be computed. Methods to compute an incremental SVD are introduced in [34,35], with the latter referring to Brand’s incremental algorithm [36] which is used in the present study with minor modifications. With the previously computed basis _<u>B</u>_ at hand, the approximation of _<u>S</u>_ is known (34) _<u>S</u>_ _≈_ _<u>B</u>_ <u>Σ</u> _<u>W</u>_ <sup>T</sup> . Introducing the projection residual ∆ _<u>S</u>_ <sup><u>�</u></sup> of the enrichment snapshots ∆ _<u>S</u>_ together with its SVD = _<u>US</u>_ <u>Σ</u> _S_ _<u>W</u>_ <sup>T</sup> _S_ <sup>,</sup> = _<u>US</u>_ <u>Σ</u> _S_ _<u>W</u>_ <sup>T</sup> _S_ <u>∆</u> _<u>S</u>_ <sup><u>�</u></sup> = <u>∆</u> _<u>S</u>_ _−_ _<u>B B</u>_ <sup>T</sup> <u>∆</u> _<u>S</u>_ <sup>T</sup> _S_ <sup>,</sup> (35) and using (33), (34) and (35) the full snapshot matrix can be approximated after some algebra by _<u>W</u>_ <u>0</u> - <u>0</u> _<u>I</u>_ �T _<u>S</u>_ <u>∆</u> _<u>S</u>_ _<u>B</u>_ <u>Σ</u> _<u>W</u>_ <sup>T</sup> <u>∆</u> _<u>S</u>_ - - _≈_ _<u>B</u>_ _<u>US</u>_ - = <u>Σ</u> _<u>B</u>_ <sup>T</sup> <u>∆</u> _<u>S</u>_ <u>�</u> <u>0</u> <u>Σ</u> _<u>S W</u>_ <sup>T</sup> _<u>S</u>_ _<u>S</u>_ <u>Γ</u> - ~~<u>��</u>~~ <u>0</u> <u>Σ</u> _<u>S W</u>_ <sup>T</sup> _<u>S</u>_ . (36) _<u>S</u>_ <u>�</u> Considering the SVD ofΓ, approximation (36) is further rewritten as Γ = _<u>U</u>_ Γ <u>ΣΓ</u> _<u>W</u>_ <sup>T</sup> Γ <sup>_∈_</sup> <sup>R(</sup> <sup>_N_</sup> <sup>+</sup> <sup>_n_</sup> <sup>a)</sup> <sup>_×_</sup> <sup>(</sup> <sup>_N_</sup> <sup>+</sup> <sup>_n_</sup> <sup>a), which is inexpensive due to the sparsity of</sup> Considering the SVD of Γ = _<u>U</u>_ Γ <u>ΣΓ</u> _<u>W</u>_ <sup>T</sup> Γ <u>ΣΓ</u> <u>Σ</u> _∗_ ~~<u>���</u>~~ _<u>W</u>_ <u>0</u> <u>0</u> _<u>I</u>_ - <sup><u>�</u></sup> _<u>W</u>_ Γ <sup><u>�</u></sup> <u>0</u> _<u>I</u>_ <u>�</u> _<u>W∗</u>_ - ~~<u>��</u>~~ <u>�</u> _<u>S</u>_ <u>∆</u> _<u>S</u>_ _<u>B</u>_ _<u>US</u>_ _<u>U</u>_ Γ - _≈_ �� <u>�</u> _<u>U∗</u>_ ~~<u>�</u>~~ ~~<u>��</u>~~ . (37) �T <u>0</u> _<u>I</u>_ It is easily shown that the matrices _<u>U∗</u>_ and _<u>W∗</u>_ are column-orthogonal and that Σ _∗_ is diagonal and non-negative. Therefore, the three matrices constitute an approximate SVD of the enlarged snapshot matrix at low computational expense. This implies the following updates after each enrichment step _<u>U</u>_ Γ _<u>W</u>_ _←_ <u>Σ</u> _←_ <u>Σ</u> <sup><u>�</u></sup> Γ _<u>W</u>_ <u>0</u> - <u>0</u> _<u>I</u>_ _<u>B</u>_ _←_ _<u>B</u>_ _<u>US</u>_ _<u>W</u>_ Γ (38) _Math._ _Comput._ _Appl._ 2019, _xx_, 5 10 of 23 after truncation of _<u>B</u>_ <u>, where the truncation criteria needs to ensure that</u> _<u>B</u>_ does not decrease in size. To compute the enrichment of the RB, _<u>B</u>_ _∈_ R <sup>_n×N_</sup> and the sparse singular values <u>Σ</u> _∈_ R <sup>_N×N_</sup> after truncation need to be stored. Remarks on Method C C.1 As highlighted for Method B in remark B.1, the existing RB is not preserved but adjusted by considering the newly added information. This ensures the accuracy of the approximation error of previously well-approximated snapshots, but _a priori_ guarantees regarding the subset approximation accuracies cannot be made. C.2 In contrast to Method A the dimension of the RB can remain constant, i.e. a mere adjustment of existing modes is possible. The average number of added modes per enrichment is well below that of Method A. C.3 Each update step in equation (38) is computed separately and, consequently, storing _<u>W</u>_ is not required since only the RB _<u>B</u>_ is of interest. C.4 The diagonal matrix Σ has low storage requirements corresponding to that of a vector in R <sup>_N_</sup> . 3. Supervised learning using Feed Forward Neural Network During the supervised learning phase, the machine is provided with data sets consisting of inputs and the related outputs. Hence, the supervised learning phase tries to learn a function relating inputs to outputs without or with limited prior knowledge of the structure of the unknown mapping. Artificial neural networks (ANN) are a powerful machine learning tool which have gained wide popularity in the recent decades due to the surge in computational power [22,37]. The functionality of the ANN is inspired by the (human) brain, propagating a signal (input) through multiple neurons where it is lastly transformed into an action (output). Various types of neural networks have been invented, e.g. feed forward, recurrent, convolutional, being applicable to almost any field of interest [38–41]. In the present study a regression model from the input, i.e. the feature Input layer Hidden layer 1 Hidden layer _L_ Output layer _<u>a</u>_ <sup>0</sup> _<u>z</u>_ <sup>1</sup> _<u>a</u>_ <sup>1</sup> _•_ _•_ _•_ _<u>z</u>_ <sup>_L_</sup> _<u>a</u>_ <sup>_L_</sup> _<u>z</u>_ <sup>_L_</sup> <sup>+1</sup> _<u>κ</u>_ <u>¯</u> _<u>z</u>_ <sup>1</sup> = _<u>W</u>_ <sup>1</sup> _<u>a</u>_ <sup>0</sup> + _<u>b</u>_ <sup>1</sup> _<u>z</u>_ <sup>_l_</sup> = _<u>W</u>_ <sup>_l_</sup> _<u>a</u>_ <sup>_l−_</sup> <sup>1</sup> + _<u>b</u>_ <sup>_l_</sup> _<u>z</u>_ <sup>_L_</sup> <sup>+1</sup> = _<u>W</u>_ <sup>_L_</sup> <sup>+1</sup> _<u>a</u>_ <sup>_L_</sup> + _<u>b</u>_ <sup>_L_</sup> <sup>+1</sup> Figure 3. The basic functionality of a dense feed forward neural network is depicted in simplified form. vector _<u>ξ</u>_ which is derived with the converged basis _<u>B</u>_ <u>, to the output, i.e.</u> the effective heat conduction tensor _<u>κ</u>_ <u>¯, is deployed with a dense feed forward ANN.</u> In a dense feed forward ANN (Figure 3) a signal is propagated through the hidden layers where every output of the previous layer _<u>a</u>_ <sup>_l−_</sup> <sup>1</sup> affects the activation _<u>z</u>_ <sup>_l_</sup> of the current layer _l_ ( _l_ = 1, . . ., _L_ + 1). The activation of each layer gets wrapped into an activation function _f_ where the output of each neuron in the layers is computed, i.e. _<u>a</u>_ <sup>_l_</sup> = _f_ ( _<u>z</u>_ <sup>_l_</sup> ). Note that matrix/vector notation is used, where each entry in the vectors denotes one neuron in the respective layer. The basic learning algorithm/optimizer usually employed for a feed forward ANN is the back propagation algorithm [42] and modifications thereof. The learning of the network consists in the numerical identification of randomly initialized and unknown weights _<u>W</u>_ <sup>_l_</sup> and biases _<u>b</u>_ <sup>_l_</sup> that minimizes a given cost function. The latter gives an indication of the quality of the ANN prediction. For instance, the gradient back propagation computes gradients of the cost function with respect to the weights and biases, in order to compute suitable corrections for these parameters. The learning itself is an iterative procedure in which the training data is cycled multiple times through the ANN (one run called an _epoch_ ). In each epoch the internal parameters are updated with the aim of improving the mapping from the input to the output. The optimization problem itself is (usually) high-dimensional. In most situations it is not well-posed and local minima and maxima can _Math._ _Comput._ _Appl._ 2019, _xx_, 5 11 of 23 hinder convergence. Therefor, multiple random instantations of the network parameters are usually required to assure that a good set of parameters is found, even if the network layout remains unaltered. Notably, the training requires a substantial input data set as inputs. It is important to note that the training of the ANN usually results in a parameter set that is able to approximate the training data with high accuracy under the given meta-parameters describing the network architecture (number of layers, number of neurons per layer, type of activation function). However, the approximation quality of the ANN may be different for other queries. Thus, it is important to validate the generality of the discovered mapping for the underlying problem setting. Therefor an additional validation data set is introduced, where only the evaluation of the cost function is tracked during the training. Generally when overfitting <sup>†</sup> occurs, the errors for the validation set increase whereas the errors of the training set decrease. The training should be halted if such a scenario is detected. Since the choice of activation function as well as the number of hidden layers and the number of neurons within the individual layers are arbitrary (describing the ANN architecture), these meta-parameters should be tailored specifically for the desired mapping. Finding the best neural network architecture is not straight-forward and usually relies on intuition, experience and many numerical experiments. In order to find a well suited ANN, various (random) realizations of each tested ANN architecture need to be computed, before a decision regarding the optimal layout can be made. [In the present study the ANN training is performed using Tensorflow in Python [43].](https://www.tensorflow.org) Tensorflow is an open source project by the Google team, providing highly efficient algorithms for ANN implementation. The Adam [44] optimizer, which is a modification of the gradient back propagation, has been deployed for the learning. 4. Results _4.1._ _Generation of Synthetic Microstructures_ All of the used synthetic microstructures have been generated by a random sequential adsortion algorithm with some examples shown in Figure 1. Two morphological prototypes were used: spheres and rectangles. The parameters used to instantiate the generation of a new microstructure were modeled as uniformly distributed variables: M.1 the phase volume fraction _fb_ of the inclusions (0.2-0.8); M.2 the size of each inclusion (0.0–1.0); M.3 for rectangles: the orientation (0– _π_ ) and the aspect ration (1.0–10.0); M.4 the admissible relative overlap _ϱ_ for each inclusion (0.0–1.0). For _ϱ_ = 0 and the spherical inclusion, a boolean model of hard spheres is obtained. Setting _ϱ_ = 1 induces a boolean model without placement restrictions, i.e. new inclusions can be placed independent of the existing ones. The generated microstructures were stored as images with resolution 400 _×_ 400. After the generation of the RVE, the 2-point spatial correlation function was computed for the RVE. This was then shifted, see Section 2.2, and used as a snapshot _<u>si</u>_ for the identification of the reduced basis. Additionally, a smaller random set of RVEs used for the supervised learning phase was simulated using the recent Fourier-based solver FANS [3] in order to compute the effective heat conduction tensor _<u>κ</u>_ <u>¯.</u> The heat conductivity of the matrix and of the inclusion phase are prescribed as , _κb_ = <sup>_<u>κa</u>_</sup> _R_ m _·_ K - <u>W</u> . (39) _κa_ = 1.0 m _·_ K - <u>W</u> - Overfitting relates to the fact that a subset of the data is nicely matched but small variations in the inputs can lead to substantial loss in accuracy, similar to oscillating higher-order polynomial interpolation functions. _Math._ _Comput._ _Appl._ 2019, _xx_, 5 12 of 23 Here _R >_ 0 denotes the material contrast. In the present study, _R_ = 5 was considered, i.e. the matrix of the microstructure has a five times higher conductivity than the inclusions. These values can be seen as typical values for metal ceramic composites (Figure 4). An inverse phase contrast has exemplarily been studied, i.e. inclusions with _κb_ = 1 and _κa_ = <sup>_<u>κ</u>_</sup> 5 <sup>_<u>b</u>_</sup> (corresponding to _R_ = <sup><u>1</u></sup> 5 <sup>) has also been investigated.</sup> <sup>Qualitatively, the results for the inverse phase</sup> contrast did not show any new findings or qualitative differences. Therefor, the following results focus on _R_ = 5, corresponding to rather insulating inclusions. 0.2 0.4 0.6 0.8 _fb_ [-] 0.8 0.6 0.4 0.2 0.2 0.4 0.6 0.8 _fb_ [-] _κ_ 11 min/max mean 0.2 0.4 0.6 0.8 _fb_ [-] _κ_ 22 min/max mean 0.8 0.6 0.4 0.2 0.1 0.05 0 -0.05 -0.1 Figure 4. The range of each _<u>κ</u>_ entry computed with 15000 microstructures is of the mixed set. Only 1000 discrete values are shown in each plot. The symmetric tensor _<u>κ</u>_ <u>¯</u> can be represented as a three-dimensional vector _<u>κ</u>_ <u>¯</u> using the normalized Voigt notation  (40)   . _κ_ ¯11 _<u>κ</u>_ <u>¯22</u> _√_ 2 ¯ _κ_ 12    _<u>κ</u>_ <u>¯</u> = _κ_ ¯11 _κ_ ¯12 - _κ_ ¯21 _κ_ ¯22 _→_ _<u>κ</u>_ <u>¯V</u> = For the supervised learning of the ANNs (see Section 3), multiple files each containing 1500 data sets for different inclusion morphologies were generated (circle only; rectangle only; mixed). Each data set contains the image of the microstructure, the respective autocorrelation of the inclusion phase _c_ 2( _•_ ; _b_, _b_ ) and the effective heat conductivity _<u>κ</u>_ <u>¯</u> ~~V~~ . _4.2._ _Unsupervised Learning_ First, the reduced basis is identified using the iterative procedure presented in Section 2.3. All three proposed methods were considered and for each of these, three different sets of microstructures were considered: The first set of microstructures consisted of RVEs with only circular inclusions, the second set consisted of RVEs with only rectangular inclusions, and the third set was divided into equal parts, each part consisting of RVEs with either circular or rectangular inclusions <sup>‡</sup>, respectively. Each type of microstructure was processed using each of the three incremental RB schemes introduced in Section 2.3. Hence, a total of nine different trainings were conducted, each using different randomly generated snapshots. For the iterative enrichment process, the initial RB was computed from 200 snapshots _<u>S</u>_ ~~0~~ . Thereafter, snapshots were randomly generated and processed by the enrichment algorithm sketched in Figure 2. The number of snapshots per enrichment step has been set to _n_ a = 75 and the number of consecutive snapshots with _Pδ_ _<_ _ε_, used to indicate convergence, has been set to _n_ c = 100. The relative projection tolerance _ε_ = 0.025 was chosen. Note that this corresponds to the maximum value of the mean relative _∥· ∥L_ 2 -error that is considered exact for the shifted snapshots. The actual accuracy - (i.e. each structures contained exclusively one of the two morphological prototypes and the same number of realizations for each prototype was enforced) _Math._ _Comput._ _Appl._ 2019, _xx_, 5 13 of 23 Table 1. Data of the unsupervised learning (incremental RB identification) for the nine considered scenarios; the parameters _ε_ = 0.025, _n_ c = 100 and _n_ a = 75 were used. Some numbers are rounded for easier readability. snapshots with _<u>Pδ</u>_ _<u>≤</u>_ _ε_ enrichment time [s] used microstructures steps _n_ it final basis Method size snapshots with _<u>Pδ</u>_ _<u>≥</u>_ _ε_ A 143 150 730 4 20 B 80 400 2400 7 70 C 96 800 7700 12 200 A 596 670 4500 11 150 B 294 2400 12700 34 500 C 312 2600 16500 37 550 A 464 560 2900 9 150 B 274 2000 16100 29 500 C 244 1540 8000 22 280 in the reproduction of the 2PCF _c_ 2( _r_ ; _b_, _b_ ) is significantly lower than this (results are given in Figure 7 below). Key attributes for each of the nine trainings are provided in Table 1. There is an obvious discrepancy between Method A and the remaining methods in basically all outputs. While Method A claims the lowest computing times, it yields approximately twice the number of modes. However, the number of snapshots needed is substantially lower which can be relevant if the generation of the synthetic microstructures is computationally involved. Note that methods B and C yield similar results, although for the rectangular and circular training method C needed significantly more snapshots, method B needed significantly more snapshots for the mixed training. The outliers in the number of snapshots needed are due to the randomness of the materials and the chosen convergence criterion. The resulting basis size of methods B and C indicate very similar results from these methods. Also note that the calculation of the relative projection error _Pδ_ grows linearly with the dimension of the RB, i.e. the faster offline time of method A can quickly be compensated by the costly online procedure induced by the high dimension of the RB in comparison to the competing techniques. To compare the accuracy of the resulting basis as well as during the training, the relative projection error _Pδ_ of the snapshots used for the original basis construction _<u>S</u>_ 0 are plotted in Figure 5. 2.8 2.4 2 1.6 1.2 0.8 0.4 Circular training Method A Method B Method C 0 0.2 0.4 0.6 0.8 1 enrichment progress [ <sup>step</sup> _n_ it <sup>]</sup> 2.8 2.4 2 1.6 1.2 0.8 0.4 Rectangular training Method A Method B Method C 0 0.2 0.4 0.6 0.8 1 enrichment progress [ <sup>step</sup> _n_ it <sup>]</sup> 2.8 2.4 2 1.6 1.2 0.8 0.4 Mixed training Method A Method B Method C 0 0.2 0.4 0.6 0.8 1 enrichment progress [ <sup>step</sup> _n_ it <sup>]</sup> Figure 5. Development of the relative projection error _Pδ_ of the snapshots _<u>S</u>_ 0 with respect to the relative enrichment progress. _Math._ _Comput._ _Appl._ 2019, _xx_, 5 14 of 23 trained and validated with 100 50 10 5 1 Circular Inclusions Method A Method B Method C 1 10 25 40 60 80 100 dimension of the RB: _N_ [-] 100 50 10 5 1 Rectangular Inclusions Method A Method B Method C 1 10 25 40 60 80 100 dimension of the RB: _N_ [-] 100 50 10 5 1 Mixed Inclusions Method A Method B Method C 1 10 25 40 60 80 100 dimension of the RB: _N_ [-] Figure 6. Relative projection error for three different microstructure classes as a function of the number of eigenmodes. The relative projection error is determined for a validation set of 1500 newly generated microstructures for each class. Since each training conducted a different amount of incremental updates, the abscissa has been rescaled such that the relative progress of the basis generation is shown vs. the number of enrichments divided by _n_ it (Figure 5 and Table 1). Method B and C yield again very similar results whereas method A achieves a lower projection error on convergence, but at the expense of a considerably improved dimension of the RB. Since there seems to be an obvious correlation between resulting accuracy and the final basis size for the initial snapshots _<u>S</u>_ 0 (see Figure 5, Table 1), the general quality for arbitrary stochastic inputs must be investigated. In order to quantify the quality of the RB, the accuracy can be expressed in terms of the relative projection error of approximating additional, newly generated snapshot data _<u>S</u>_ as a function of the method (A, B, C) and the number of modes _N_ _<u>≥</u>_ 1 via _Pδ_ ( _N_ ) = _<u>F</u>_ - _F_ �� <sup>_<u>||S −</u>_</sup> <sup>_<u>B</u>_</sup> <sup>(:, 1 :</sup> <sup>_N_</sup> _||_ <sup>)</sup> _<u>S</u>_ <sup>_<u>B</u>_</sup> _||_ <sup>2T(:, 1 :</sup> <sup>_N_</sup> <sup>)</sup> <sup>_<u>S||</u>_</sup> <sup>2</sup> _F_ (41) in Matlab notation. This measure captures to what extend the first _N_ basis functions represent the 2PCF of the underlying microstructure class. In the current work sets of 1500 newly generated snapshots assure an unbiased validation, i.e. the data was used in neither of the three training procedures. The results are stated in Figure 6. Again, methods B and C yield similar results, achieving lower projection errors with fewer eigenmodes compared to Method A, i.e. the basis produced by method A cannot catch up with its two competitors. On a side note, the rectangular inclusions apparently lead to significantly richer microstructure information which can be seen by direct comparison of the left to the middle plot in Figure 6. For methods B and C and for circular inclusions the relative error of 5% is reached for approximately 15 modes while rectangular inclusions require more than 60 modes to attain a similar accuracy. This is supported also by the rightmost plot determined from a sort of blend of the two microstructural types. Since all of the previous error measures are given on the shiftedsnapshot according to equation (10), the true relative projection error on the unshifted snapshot is also investigated as a function of the basis size. It describes the relative accuracy of the approximation of the 2PCF _c_ 2( _r_ ; _b_, _b_ ) as a function of the basis size. The errors in the shifted data (Figure 7, left) and the corresponding reconstructed 2PCF (Figure 7, right) for five individual randomly selected snapshots show that the actual relative error in the 2PCF reconstruction is below 5% for 10 reduced coefficients even for the challenging rectangular inclusion morphology, while the error in the shifted and shifted snapshots is on the order _Math._ _Comput._ _Appl._ 2019, _xx_, 5 15 of 23 100 50 10 5 2 1 0.5 100 50 10 5 2 1 0.5 shifted snapshot _si_ 1 10 25 40 dimension of the RB: _N_ [-] 1 10 25 40 dimension of the RB: _N_ [-] 100 50 10 5 2 1 0.5 100 50 10 5 2 1 0.5 true 2PCF _c_ 2( _r_ ; _b, b_ ) 1 10 25 40 dimension of the RB: _N_ [-] 1 10 25 40 dimension of the RB: _N_ [-] Figure 7. Using the RB of method C, the relative projection error on the shifted snapshot is given on the left for five random samples. For comparison the relative projection error of the reconstruction of the actual 2-point correlation function is given on the right for the same samples. of 50%. This highlights the statement made earlier regarding the choice of _ε_ which is not directly the accepted mean error in the 2PCF, but only after application of the shift. The high discrepancy in the two relative projection errors is due to the fact that the shifted snapshots fluctuate closely around 0, i.e. the homogeneous part of the 2PCF is obviously of high relevance. The development, i.e. the stabilization of the mode shapes over the enrichment steps, of a few selected eigenmodes is shown in Figure 8 using RVEs with circular inclusions for training of method C. Eigenmode 1 +20 incremental updates +20 incremental updates +20 incremental updates +20 incremental updates +20 incremental updates +20 incremental updates +27 incremental updates +27 incremental updates +27 incremental updates Eigenmode 4 Eigenmode 12 +20 incremental updates +20 incremental updates +20 incremental updates Figure 8. The development of a few selected eigenmodes over the enrichment are shown. Note that these results are generated with _n_ a = 15 and _ε_ = 0.01 using method C. The procedure comprised a total of 87 basis enrichments/adjustment. _Math._ _Comput._ _Appl._ 2019, _xx_, 5 16 of 23 Similar results are expected for method B, whereas for method A the eigenmodes would remain unconditionally unchanged over the enrichment steps, i.e. a pure enlargement of the basis takes place. The faster stabilization of the leading eigenmodes indicates a quick stabilization of the lower order statistics of the microstructure ensemble, while the tracking of higher order fluctuations is more involved. _4.3._ _Supervised Learning_ After the training of the RB, the input for the neural network, the feature vector _<u>ξ</u>_ was derived using the 1- and 2-point spatial correlation functions of the _i_ th RVE as _<u>ξi</u>_ = _fb_, _i_ - _<u>B</u>_ <sup>T</sup> _<u>si</u>_ (42) _∈_ R <sup>(</sup> <sup>_h_</sup> <sup>+1)</sup> . The size of the feature vector is determined by the amount of reduced coefficients 1 _≤_ _h ≤_ _N_, i.e. the snapshot is projected onto the leading _h_ eigenmodes of _<u>B</u>_ <u>.</u> Since the inputs and outputs have a highly varying magnitude, they need to be shifted such that they are equally representative. Therefore, each entry of the feature vector is separately shifted and scaled such that its distribution of all samples has zero mean and a standard deviation of one. The output is shifted combinedly such that the mean of _<u>κ</u>_ <u>¯</u> ~~V~~ is <u>0.</u> The transformed inputs and outputs are then given to the ANN for the training phase. Thus, the outputs of the ANN need to undergo an inverse scaling in order to yield the sought-after vector representation of the heat conduction tensor. These shifts and scalings need to be extracted from the available training data. Hence, every data set used for training purposes has its own parameters. The training for the neural network has been conducted for all of the three microstructure classes, i.e. using only RVEs with circular inclusions, only RVEs with rectangular inclusions and lastly using RVEs with either circular or rectangular inclusions (the split was up to 60:40, which was randomly assigned before the training). In order to derive the feature vector, the converged basis of method C has been used. Note that depending on the training set, only circular/rectangular or mixed inclusions contributed to the RB. The training of the ANN was conducted with an _early stop_ algorithm: up to 10000 epochs were considered and the best–not necessarily last–parameter set has been saved. The decision on the _best_ ANN was taken on the basis of the cost function of the validation set (which came out of the same parameter range as the training set). Each data set consisted of 1500 samples. These were shuffled randomly and split into the training set ( _nt_ = 1000) and the validation set ( _nv_ = 500) before each ANN training. In the following, the error measurements used and the term of unbiased testing refers to the prediction of 1500 unseen data points for each of the three microstructure classes named _test sets_ . In order to find a good overall ANN, the network architecture has been intensely studied: the accuracy of the prediction after the training has been evaluated with various sizes of the feature vector, different network layouts and for different activation functions (Figure 9). The depicted error measure (Figure 9) is the mean/max absolute derivation, i.e. the absolute error (corresponding to the Euclidean norm of the vector-valued error) for the prediction and the actual heat conductivity of the microstructure of _<u>κ</u>_ V over each test set. The conductivity _<u>κ</u>_ 12 fluctuates mildly around zero for all inputs. In order to accurately capture this fluctuation, only the specific training and RB dimensions of four or higher ( _h ≥_ 4) are required cf. Figure 10. However, the error of _<u>κ</u>_ 12 for other inclusion morphologies than that of the training increase with _h_, albeit the values can be considered small in comparison to the _<u>κ</u>_ 11 and _<u>κ</u>_ 22 errors. Since the trend in Figure 9 of the rectangular and mixed training looks promising, a further study using more reduced coefficients has been conducted, however the results for retangular training showed a stronger tendency towards overfitting. Rectangular training with 17 _≤_ _h_ _≤_ 25 had very _Math._ _Comput._ _Appl._ 2019, _xx_, 5 17 of 23 0.05 0.04 0.03 0.02 0.01 0.21 0.18 0.15 0.12 0.09 0.06 0.03 Circular training circ rect mixed 2 4 6 8 10 12 14 16 number of eigenmodes _h_ [-] circ rect <u>mixed</u> 2 4 6 8 10 12 14 16 number of eigenmodes _h_ [-] 0.05 0.04 0.03 0.02 0.01 0.21 0.18 0.15 0.12 0.09 0.06 0.03 Rectangular training circ rect mixed 2 4 6 8 10 12 14 16 number of eigenmodes _h_ [-] circ rect <u>mixed</u> 2 4 6 8 10 12 14 16 number of eigenmodes _h_ [-] 0.05 0.04 0.03 0.02 0.01 0.21 0.18 0.15 0.12 0.09 0.06 0.03 Mixed training circ rect mixed 2 4 6 8 10 12 14 16 number of eigenmodes _h_ [-] circ rect <u>mixed</u> 2 4 6 8 10 12 14 16 number of eigenmodes _h_ [-] Figure 9. The given error measures over the test sets are shown for the ANN which achieved the lowest MSE (cost) on the training set for each number of reduced coefficients and training type. similar results to circular training with 12 _≤_ _h ≤_ 17 reduced coefficients. For the mixed training the overall results worsened with a higher amount of reduced coefficients and the ANN did not seem to find any mapping generalizing the property linkage for both types of deployed RVE with the given training data. The increased overfitting with respect to the training microstructure class for increased dimension of the feature vector can be explained by the rather limited number of 1000 input samples. For instance, considering a six-dimensional feature vector induces that for the rather limited number of ten samples per independent direction a total of 10 <sup>6</sup> data points would be needed. The dilemma is that each of the computations is expensive, particularly when considering three-dimensional simulations, i.e. millions of samples can not be realized in practice. Therefore, the number of samples must be rather low which could be a limiting factor in view of the number of features that can be accounted for. 0.03 0.02 0.01 0 Circular training circ rect mixed 2 4 6 8 10 12 14 16 number of eigenmodes _h_ [-] 0.03 0.02 0.01 0 Rectangular training circ rect mixed 2 4 6 8 10 12 14 16 number of eigenmodes _h_ [-] 0.03 0.02 0.01 0 Mixed training circ rect mixed 2 4 6 8 10 12 14 16 number of eigenmodes _h_ [-] Figure 10. The mean absolute error (MAE) of _<u>κ</u>_ 12 is given for each of the trainings and test sets. _Math._ _Comput._ _Appl._ 2019, _xx_, 5 18 of 23 Overall, a correlating trend with the accuracy for the RB (Figure 6) and the behaviour of the ANN training could be seen (Figure 9). Investigating the circular training, with more specific information about the 2PCF available, a slightly better mapping is found for RVEs with circular inclusions, whereas the prediction for the other two microstructure classes slightly worsen. Similarly with the rectangular training, more reduced coefficients increase the fit on the RVE with rectangular inclusions, though more reduced coefficients are required to deliver the same accuracies as the circular training, as more number of eigenmodes (of the basis) are required to yield approximately the same relative projection error. When training with both types of RVEs (i.e. for the mixed input set), the training seemed more random than the others. Some resulting ANNs (which are not shown) had more of the property of a circular training, whereas some were more like the rectangular training. Although the ANN was trained with general RVEs, it overall failed to give good predictions for every type of RVE when using more than two or three reduced coefficients. After training with the mixed set, the prediction of _κ_ ¯11 and _κ_ ¯22 was generally better for RVEs with rectangular inclusions, whereas _κ_ ¯12 was better for Validated with Circles Rectangles 1 0.8 0.6 0.4 0.2 0 1 0.8 0.6 0.4 0.2 0 1 0.8 0.6 0.4 0.2 0 0 0.025 0.05 0.075 0.1 absolute errors [ m <sup>W</sup> _·_ K <sup>]</sup> _κ_ ¯11 _κ_ ¯22 0.2 _κ_ ¯12 0 1 0.8 0.6 0.4 0.2 _κ_ ¯11 _κ_ ¯22 0.2 _κ_ ¯12 0 1 0.8 0.6 0.4 0.2 _κ_ ¯11 _κ_ ¯22 0.2 _κ_ ¯12 0 0 0.025 0.05 0.075 0.1 0 0.025 0.05 0.075 0.1 absolute errors [ m <sup>W</sup> _·_ K <sup>]</sup> absolute errors [ m <sup>W</sup> _·_ K <sup>]</sup> 1 0.8 0.6 0.4 0.2 _κ_ ¯11 _κ_ ¯22 0.2 _κ_ ¯12 0 1 0.8 0.6 0.4 0.2 _κ_ ¯11 _κ_ ¯22 0.2 _κ_ ¯12 0 0 0.025 0.05 0.075 0.1 absolute errors [ m <sup>W</sup> _·_ K <sup>]</sup> 0 0.025 0.05 0.075 0.1 absolute errors [ m <sup>W</sup> _·_ K <sup>]</sup> m <sup>W</sup> _·_ K <sup>]</sup> m <sup>W</sup> _·_ K <sup>]</sup> 1 0.8 0.6 0.4 0.2 _κ_ ¯11 _κ_ ¯22 0.2 _κ_ ¯12 0 1 0.8 0.6 0.4 0.2 Mixed _κ_ ¯11 _κ_ ¯22 _κ_ ¯12 0 0.025 0.05 0.075 0.1 absolute errors [ m <sup>W</sup> _·_ K <sup>]</sup> _κ_ ¯11 _κ_ ¯22 _κ_ ¯12 0 0.025 0.05 0.075 0.1 absolute errors [ m <sup>W</sup> _·_ K <sup>]</sup> _κ_ ¯11 _κ_ ¯22 _κ_ ¯12 0 0.025 0.05 0.075 0.1 absolute errors [ m <sup>W</sup> _·_ K <sup>]</sup> 0 0.025 0.05 0.075 0.1 absolute errors [ m <sup>W</sup> _·_ K <sup>]</sup> m <sup>W</sup> _·_ K <sup>]</sup> m <sup>W</sup> _·_ K <sup>]</sup> Figure 11. Results for the best of all tested ANN for the test sets. The graphs represent probability distribution of the absolute error in the components of _<u>κ</u>_ <u>¯.</u> _Math._ _Comput._ _Appl._ 2019, _xx_, 5 19 of 23 RVEs with circular inclusions. During the training, the ANN found most likely some strange local minimum which fitted the training data quite well, however it was not a general mapping for all the microstructure classes, which hints at a too low number of input samples, as discussed earlier. The ANN architecture did not seem to have a big impact on the quality of the prediction, there have been ANNs with a single hidden layer and six hidden neurons which delivered results comparable to an ANN comprising six hidden layers with more than 100 hidden neurons. The used activation functions were the sigmoid, relu, tanh and softplus, where only some combinations delivered poor results. Not a clear trend of ANN architecture and quality of prediction could be seen and, consequently, the best ANN were randomly found based on the lowest error on the test set. The prediction accuracies for each test set of three differently trained ANNs, which have been deemed the _best_, is given in Figure 11. As to be expected, the lowest errors are achieved on the diagonal, i.e. The training and architecture of the best ANNs in Figure 11 had the following properties: training set =� validation set. _•_ Circular training: _h_ = 6; 4570 epochs; 2 hidden layers {7, 39} hidden neurons; activation functions {relu, softplus} _•_ Rectangular training: _h_ = 10; 560 epochs; 3 hidden layers {13, 82, 25} hidden neurons; activation functions {sigm, tanh, sigm} _•_ Mixed training: _h_ = 2; 4760 epochs; 1 hidden layer {20} hidden neurons; activation function {relu} For an easier readability, the percentage mean and max errors for each ANN training and prediction are given in Table 2, again using the same three ANNs which have been explicitly shown. Note that since the values of _κ_ ¯12 vary closely around 0 (Figure 4), relative errors are not sensible for the quantity of interest. Table 2. Percentage errors for _κ_ ¯11 and _κ_ ¯22 given for each of the best ANNs, validated on every test set. validated with <u>circles</u> <u>rectangles</u> <u>mixed</u> <u>trained</u> <u>error</u> with <u>error</u> _<u>κ</u>_ 11 _<u>κ</u>_ 22 _<u>κ</u>_ 11 _<u>κ</u>_ 22 _<u>κ</u>_ 11 _<u>κ</u>_ 22 measures mean [%] 1.7 1.7 3.5 3.9 3.9 3.8 circles max [%] 13.9 12.2 16.4 24.6 27.1 16.4 mean [%] 3.4 3.6 1.9 1.9 4.2 3.7 rectangles max [%] 19.5 19.9 8.9 10.9 24.2 21.0 mean [%] 3.4 3.6 2.6 2.6 2.7 2.4 mixed max [%] 13.7 19.9 12.8 15.6 15.6 14.7 [A GUI code is provided in Github, where the user can choose between the three proposed ANN,](https://github.com/J-lissner/img---kappa) the input for the prediction is a 400 _×_ 400 image in matrix format written in a text file or a TIFF image and the output is the prediction for the heat conduction tensor as described above. In order to compile the code, Python3 with Tensorflow is required. Some exemplary RVE with their respective heat conductivity are uploaded in a subfolder. _Math._ _Comput._ _Appl._ 2019, _xx_, 5 20 of 23 5. Conclusion _5.1._ _Summary and Concluding Remarks_ The computational homogenization of highly heterogeneous microstructures is a challenging procedure with massive computational requirements. In the present study a method to efficiently and accurately predict the heat conductivity for any RVE with the image and no further information is proposed. Key ideas of the Materials Knowledge System (MKS) [21,27] have been adopted in the sense that a subset of the POD compressed 2-point correlation function is used to identify a low-dimensional microstructure description. In contrast to [27] the 2PCF is not truncated to a small neighborhood, but the full field information is considered. Similar to other works related to the MKS [18], a truncated PCA of the 2-point information is used to extract microstructural key features. However, the classical truncated PCA used, e.g., in [18] is not applicable to the considered rich class of microstructures due to the high number of needed samples and the related unmanageable computational resources. Therefor, our proposal is founded on a novel incremental procedure for the generation of the RB of the 2PCF. Similar techniques have not been considered in the literature to the best of the authors’ knowledge. The shifting of the images of 2PCF before entering the POD is another feature that can help in reducing the impact of the inclusion volume fraction, i.e. the shifted function has zero mean. Other than in [27] no higher-order statistics are used. This is by purpose as the selection of the relevant entries of the higher order PCF is ambiguous and a challenge in itself. Instead, the present study focus on the variability of the input images in terms phase volume fractions in a broad range (20-80%) alongside topological variations (impenetrable, partial overlap, unrestricted placement) and different morphologies (circles and rectangles). Generally speaking, a much higher microstructural variation is accounted for, than in previous studies. Therefore, the current study also investigates how the proposed technique and similar MKS related approach can possibly generalize towards truly arbitrary input images (e.g. millions of snapshots) in order to built a _super-database_ . In order to cope with the variability of the 2PCF, the truncated PCA or snapshot POD effected during unsupervised learning phase is replaced by novel incremental procedures for the construction of a small-sized reduced microstructure parameterization. Three increment POD methods are proposed and their results are compared regarding the computational effort, the projection accuracy of the snapshots and the quality of the basis in view of capturing random inputs. The learned reduced bases are used to extract a low-dimensional feature vector which denotes the input of a fully connected feed forward artificial neural network. The ANN is used to predict the homogenized heat conductivity of the material defined by the microstructure. The mean relative error of the surrogate is lower than 2% for the majority of the considered test data. This is remarkable in view of the phase contrast _R_ = 5 and the particle volume fractions ranging from 0.2-0.8, as well as morphological and topological variations. Further, an immense speedup in computing time is achieved by the surrogate over FE or FFT simulations. Importantly, the presented methodology can immediately be adopted to different physical settings such as thermo-elastic properties, fluid permeability, dielectricity constants etc. The same holds for three-dimensional problems. However, the limited number of samples in 3d could be problematic as more features are likely required to attain a sufficiently accurate RB. _5.2._ _Discussion and Outlook_ A weakness of the current approach remains the computational complexity of the method: Although the feature vector is rather low-dimensional, it requires the evaluation of the 2PCF using the FFT which is of complexity _O_ ( _n_ log( _n_ )) where _n_ is the number of pixels/voxels in the image. In order to extract the reduced coefficient vector from the 2PCF, the latter must be projected onto the RB. This operation scales with _O_ ( _n N_ ). Both operations are at least linear to the number of pixels/voxels of the _Math._ _Comput._ _Appl._ 2019, _xx_, 5 21 of 23 image which can be critical, especially in three-dimensional settings. Therefor, future investigations aiming at a reduced effort for gathering the features are required in our opinion. Another extension of the current scheme could account for variable phase contrast _R_ which was fixed as _R_ = 5 in this work. Thereby, the dimension of the feature vector will be incremented which can add to the already existing data scarcity dilemma observed when considering a sufficient number of reduced coefficients: the number of input samples for the supervised learning should grow exponentially with the dimension of the feature vector. In the authors opinion this dependence is the most pronounced short-coming of the method and future studies should focus on limiting the number of required input samples in order to fight the curse of dimensionality: more reduced coefficients require an exponential growth in the available data, making the offline procedure unaffordable, today. Advantages of the current scheme comprise the independence of the underlying simulation scheme. This does allow for heterogeneous simulation environments, the use of commercial software, multi-fidelity input data and blended sources of information (e.g. in silico data supported by experimental results). Author Contributions: Conceptualization, J.L. and F.F.; Data curation, J.L.; Formal analysis, F.F.; Funding acquisition, F.F.; Investigation, J.L. and F.F.; Methodology, J.L. and F.F.; Project administration, F.F.; Resources, F.F.; Software, J.L.; Supervision, F.F.; Validation, J.L.; Visualization, J.L.; Writing – original draft, J.L.; Writing – review & editing, J.L.. Funding: This research was funded by Deutsche Forschungsgemeinschaft (DFG) within the Emmy-Noether programm under grant DFG-FR2702/6 (contributions of F.F.). Acknowledgments: Support from Mauricio Fernández on the implementation and layout for the training of the Artificial Neural Networks using Google’s TensorFlow is highly appreciated. Stimulating discussions within the Cluster of Excellence SimTech (DFG EXC2075) on machine learning and reduced basis methods are highly acknowledged. Conflicts of Interest: The authors declare no conflict of interest. References 1. Ghosh, S.; Lee, K.; Moorthy, S. Multiple scale analysis of heterogeneous elastic structures using homogenization theory and Voronoi cell finite element method. _International Journal of Solids and Structures_ 1995, _32_, 27–62. [doi:10.1016/0020-7683(94)00097-G.](https://doi.org/10.1016/0020-7683%0x2894%0x2900097-G) 2. Dhatt, G.; Lefrançois, E.; Touzot, G. _Finite element method_ ; John Wiley & Sons, 2012. 3. Leuschner, M.; Fritzen, F. Fourier-Accelerated Nodal Solvers (FANS) for homogenization problems. _Computational Mechanics_ 2018, _62_, 359–392. [doi:10.1007/s00466-017-1501-5.](https://doi.org/10.1007/s00466-017-1501-5) 4. Torquato, S. _Random_ _heterogeneous_ _materials:_ _microstructure_ _and_ _macroscopic_ _properties_ ; Vol. 16, Springer Science & Business Media, 2013. 5. Jiang, M.; Alzebdeh, K.; Jasiuk, I.; Ostoja-Starzewski, M. Scale and boundary condition effects in elastic properties of random composites. _Acta Mechanica_ 2001, _148_, 63–78. [doi:10.1007/BF01183669.](https://doi.org/10.1007/BF01183669) 6. Feyel, F. Multiscale FE <sup>2</sup> elastoviscoplastic analysis of composite structures. _Computational Materials Science_ 1999, _16_, 344 – 354. [doi:10.1016/S0927-0256(99)00077-4.](https://doi.org/10.1016/S0927-0256%0x2899%0x2900077-4) 7. Miehe, C. Strain-driven homogenization of inelastic microstructures and composites based on an incremental variational formulation. _International_ _Journal_ _for_ _Numerical_ _Methods_ _in_ _Engineering_ 2002, _55_, 1285–1322. [doi:10.1002/nme.515.](https://doi.org/10.1002/nme.515) 8. Beyerlein, I.; Tomé, C. A dislocation-based constitutive law for pure Zr including temperature effects. _International Journal of Plasticity_ 2008, _24_, 867–895. [doi:10.1016/j.ijplas.2007.07.017.](https://doi.org/10.1016/j.ijplas.2007.07.017) 9. Ryckelynck, D. Hyper-reduction of mechanical models involving internal variables. _International Journal_ _for Numerical Methods in Engineering_ 2009, _77_, 75–89. [doi:10.1002/nme.2406.](https://doi.org/10.1002/nme.2406) 10. Hernández, J.; Oliver, J.; Huespe, A.; Caicedo, M.; Cante, J. High-performance model reduction techniques in computational multiscale homogenization . _Computer Methods in Applied Mechanics and Engineering_ 2014, _276_, 149 – 189. [doi:10.1016/j.cma.2014.03.011.](https://doi.org/10.1016/j.cma.2014.03.011) _Math._ _Comput._ _Appl._ 2019, _xx_, 5 22 of 23 11. Fritzen, F.; Hodapp, M. The Finite Element Square Reduced (FE <sup>2R</sup> ) method with GPU acceleration: towards three-dimensional two-scale simulations. _International Journal for Numerical Methods in Engineering_ 2016, _107_, 853–881. [doi:10.1002/nme.5188.](https://doi.org/10.1002/nme.5188) 12. Leuschner, M.; Fritzen, F. Reduced order homogenization for viscoplastic composite materials including dissipative imperfect interfaces. _Mechanics_ _of_ _Materials_ 2017, _104_, 121–138. [doi:10.1016/j.mechmat.2016.10.008.](https://doi.org/10.1016/j.mechmat.2016.10.008) 13. Yvonnet, J.; He, Q.C. The reduced model multiscale method (R3M) for the non-linear homogenization of hyperelastic media at finite strains. _Journal_ _of_ _Computational_ _Physics_ 2007, _223_, 341 - 368. [doi:10.1016/j.jcp.2006.09.019.](https://doi.org/10.1016/j.jcp.2006.09.019) 14. Kunc, O.; Fritzen, F. Finite strain homogenization using a reduced basis and efficient sampling. _Mathematical_ _and Computational Applications_ 2019, _in review_ . 15. Kanouté, P.; Boso, D.; Chaboche, J.; Schrefler, B. Multiscale Methods For Composites: A Review. _Archives_ _of Computational Methods in Engineering_ 2009, _16_, 31–75. [doi:10.1007/s11831-008-9028-8.](https://doi.org/10.1007/s11831-008-9028-8) 16. Matouš, K.; Geers, M.G.; Kouznetsova, V.G.; Gillman, A. A review of predictive nonlinear theories for multiscale modeling of heterogeneous materials. _Journal_ _of_ _Computational_ _Physics_ 2017, _330_, 192–220. [doi:10.1016/j.jcp.2016.10.070.](https://doi.org/10.1016/j.jcp.2016.10.070) 17. Wolpert, D.H.; Macready, W.G. No free lunch theorems for optimization. _IEEE transactions on evolutionary_ _computation_ 1997, _1_, 67–82. [doi:10.1109/4235.585893.](https://doi.org/10.1109/4235.585893) 18. Brough, D.B.; Wheeler, D.; Kalidindi, S.R. Materials knowledge systems in python—a data science framework for accelerated development of hierarchical materials. _Integrating materials and manufacturing_ _innovation_ 2017, _6_, 36–53. [doi:10.1007/s40192-017-0089-0.](https://doi.org/10.1007/s40192-017-0089-0) 19. Paulson, N.H.; Priddy, M.W.; McDowell, D.L.; Kalidindi, S.R. Reduced-order structure-property linkages for polycrystalline microstructures based on 2-point statistics. _Acta_ _Materialia_ 2017, _129_, 428–438. [doi:10.1016/j.actamat.2017.03.009.](https://doi.org/10.1016/j.actamat.2017.03.009) 20. Gupta, A.; Cecen, A.; Goyal, S.; Singh, A.K.; Kalidindi, S.R. Structure–property linkages using a data science approach: application to a non-metallic inclusion/steel composite system. _Acta Materialia_ 2015, _91_, 239–254. [doi:10.1016/j.actamat.2015.02.045.](https://doi.org/10.1016/j.actamat.2015.02.045) 21. Kalidindi, S.R. Computationally efficient, fully coupled multiscale modeling of materials phenomena using calibrated localization linkages. _ISRN Materials Science_ 2012, _2012_, 1–13. [doi:10.5402/2012/305692.](https://doi.org/10.5402/2012/305692) 22. Basheer, I.A.; Hajmeer, M. Artificial neural networks: fundamentals, computing, design, and application. _Journal of microbiological methods_ 2000, _43_, 3–31. [doi:10.1016/S0167-7012(00)00201-3.](https://doi.org/10.1016/S0167-7012%0x2800%0x2900201-3) 23. Torquato, S.; Stell, G. Microstructure of two-phase random media. I. The n-point probability functions. _The_ _Journal of Chemical Physics_ 1982, _77_, 2071–2077. [doi:10.1063/1.444011.](https://doi.org/10.1063/1.444011) 24. Berryman, J.G. Measurement of spatial correlation functions using image processing techniques. _Journal of_ _Applied Physics_ 1985, _57_, 2374–2384. [doi:10.5402/2012/305692.](https://doi.org/10.5402/2012/305692) 25. Cooley, J.W.; Tukey, J.W. An Algorithm for the Machine Calculation of Complex Fourier Series. _AMS_ _Mathematics of Computation_ 1965, _19_, 297–301. [doi:10.5402/2012/305692.](https://doi.org/10.5402/2012/305692) 26. Frigo, M.; Johnson, S.G. FFTW: An adaptive software architecture for the FFT. Proc. 1998 IEEE Intl. Conf. Acoustics Speech and Signal Processing. IEEE, 1998, Vol. 3, pp. 1381–1384. [doi:10.1109/ICASSP.1998.681704.](https://doi.org/10.1109/ICASSP.1998.681704) 27. Fast, T.; Kalidindi, S.R. Formulation and calibration of higher-order elastic localization relationships using the MKS approach. _Acta Materialia_ 2011, _59_, 4595–4605. [doi:10.1016/j.actamat.2011.04.005.](https://doi.org/10.1016/j.actamat.2011.04.005) 28. Fullwood, D.T.; Niezgoda, S.R.; Kalidindi, S.R. Microstructure reconstructions from 2-point statistics using phase-recovery algorithms. _Acta Materialia_ 2008, _56_, 942–948. [doi:10.1109/ICASSP.1998.681704.](https://doi.org/10.1109/ICASSP.1998.681704) 29. Sirovich, L. Turbulence and the Dynamics of Coherent Structures. Part 1: Coherent structures. _Quarterly of_ _Applied Mathematics_ 1987, _45_, 561 – 571. [doi:10.1090/qam/910462.](https://doi.org/10.1090/qam/910462) 30. Liang, Y.; Lee, H.; Lim, S.; Lin, W.; Lee, K.; Wu, C. Proper Orthogonal Decomposition and its Applications-Part I: Theory. _Journal of Sound and Vibration_ 2002, _252_, 527 – 544. [doi:10.1006/jsvi.2001.4041.](https://doi.org/10.1006/jsvi.2001.4041) 31. Camphouse, R.C.; Myatt, J.; Schmit, R.; Glauser, M.; Ausseur, J.; Andino, M.; Wallace, R. A snapshot decomposition method for reduced order modeling and boundary feedback control. 4th Flow control conference, 2008, p. 4195. [doi:10.2514/6.2008-4195.](https://doi.org/10.2514/6.2008-4195) 32. Quarteroni, A.; Manzoni, A.; Negri, F. _Reduced Basis Methods for Partial Differential Equations: An Introduction_ ; La matematica per il 3 + 2, vol. 92, Springer, 2016. [doi:10.1007/978-3-319-15431-2.](https://doi.org/10.1007/978-3-319-15431-2) _Math._ _Comput._ _Appl._ 2019, _xx_, 5 23 of 23 33. Klema, V.; Laub, A. The singular value decomposition: Its computation and some applications. _IEEE_ _Transactions on automatic control_ 1980, _25_, 164–176. [doi:10.1109/TAC.1980.1102314.](https://doi.org/10.1109/TAC.1980.1102314) 34. Gu, M.; Eisenstat, S.C. A stable and fast algorithm for updating the singular value decomposition, 1994. 35. Fareed, H.; Singler, J.; Zhang, Y.; Shen, J. Incremental proper orthogonal decomposition for PDE simulation data. _Computers & Mathematics with Applications_ 2018, _75_, 1942 – 1960. [doi:10.1016/j.camwa.2017.09.012.](https://doi.org/10.1016/j.camwa.2017.09.012) 36. Horn, R.A.; Johnson, C.R. Matrix analysis cambridge university press. _New York_ 1985, _37_ . 37. Widrow, B.; Lehr, M.A. 30 years of adaptive neural networks: perceptron, madaline, and backpropagation. _Proceedings of the IEEE_ 1990, _78_, 1415–1442. [doi:10.1109/5.58323.](https://doi.org/10.1109/5.58323) 38. Kimoto, T.; Asakawa, K.; Yoda, M.; Takeoka, M. Stock market prediction system with modular neural networks. Neural Networks, 1990., 1990 IJCNN International Joint Conference on. IEEE, 1990, pp. 1–6. [doi:10.1109/IJCNN.1990.137535.](https://doi.org/10.1109/IJCNN.1990.137535) 39. Sundermeyer, M.; Schlüter, R.; Ney, H. LSTM neural networks for language modeling. Thirteenth annual conference of the international speech communication association, 2012, pp. 194–197. 40. Simonyan, K.; Zisserman, A. Very deep convolutional networks for large-scale image recognition. _arXiv_ _preprint arXiv:1409.1556_ 2014, pp. 1–14. 41. Angermueller, C.; Pärnamaa, T.; Parts, L.; Stegle, O. Deep learning for computational biology. _Molecular_ _systems biology_ 2016, _12_, 878. [doi:10.15252/msb.20156651.](https://doi.org/10.15252/msb.20156651) 42. Hecht-Nielsen, R. Theory of the backpropagation neural network. In _Neural networks for perception_ ; Elsevier, 1992; pp. 65–93. [doi:10.1016/B978-0-12-741252-8.50010-8.](https://doi.org/10.1016/B978-0-12-741252-8.50010-8) 43. Abadi, M.; Barham, P.; Chen, J.; Chen, Z.; Davis, A.; Dean, J.; Devin, M.; Ghemawat, S.; Irving, G.; Isard, M.; others. Tensorflow: a system for large-scale machine learning. OSDI, 2016, Vol. 16, pp. 265–283. 44. Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. _arXiv preprint arXiv:1412.6980_ 2014, pp. 1–15. © 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution [(CC BY) license (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/.)

섹션 본문 125문단 · 52,193자

(제목 없음)

1An image based prediction of the effective heat conductivity for highly heterogeneous microstructured materials is presented.The synthetic materials under consideration show different inclusion morphology, orientation, volume fraction and topology.The prediction of the effective property is made exclusively based on image data with the main emphasis being put on the 2-point spatial correlation function.This task is implemented using both unsupervised and supervised machine learning methods.First, a snapshot proper orthogonal decomposition (POD) is used to analyze big sets of random microstructures and thereafter compress significant characteristics of the microstructure into a low-dimensional feature vector.In order to manage the related amount of data and computations, three different incremental snapshot POD methods are proposed.In the second step, the obtained feature vector is used to predict the effective material property by using feed forward neural networks.Numerical examples regarding the incremental basis identification and the prediction accuracy of the approach are presented.A Python code illustrating the application of the surrogate is freely available.

Introduction

2In material analysis and design of heterogeneous materials, multiscale modeling can be used for the discovery of microstructured materials with tuned properties for engineering applications.Thereby, it contributes to the improvement of the technical properties, reduces the amount of resources invested into the construction and enhances the reliability of "material modeling"/"the description of material behaviour".However, the discovery of materials with the desired material property, which is characterized by the microstructure of the solid, constitutes a highly challenging inverse problem.

3The basis for all multiscale models and simulations is information on the microstructure and on the microscale material behaviour.If at hand, physical experiments can be replaced by -often costly -computations in order to determine the material properties by virtual testing [1][2][3].Separation of structural and microstructural length scales can often be assumed.This enables the use of the representative volume element (RVE) [4] equipped with the preferable periodic fluctuation boundary conditions [5].The RVE characterizes the highly heterogeneous material using a single frame (or image) and the (analytical or numerical) computation can be conducted on this frame.

4The concurrent simulation of the underlying microstructure (e.g., through nested FE simulations, cf., e.g., [6,7], or e.g.considering microstructure behaviour in the constitutive laws, e.g.[8]) and of the problem on the structural scale is computationally intractable.In view of the correlation between computational complexity and energy consumption, nested FE simulations should be limited in application.Therefore, efficient methods giving reliable prediction of the material property are an active field of research: POD-driven reduced order models with hyper-reduction (e.g., [9,10]), with multiple reduced bases spanning also internal variable [11,12] and for finite strains (e.g., [13,14]).See also general review articles on the topic such as [15,16].

5Supposing that two similar images representing microstructured materials are considered, it is natural to expect similar effective properties in many physically relevant problems such as elasticity, thermal and electric conduction to mention only two applications.The main task, thus, persists in finding low-dimensional parameterizations of the images that capture the relevant information, use these parameterizations to compress the image information into few numbers and build a surrogate model operating only on the reduced representation.A black-box approach exploiting precomputed data for the construction of the surrogate is the use of established machine learning methods which is also the topic of this paper.

6As the no free lunch theorem [17] states, an algorithm can not be arbitrarily fast and arbitrarily accurate at the same time.Hence, there has to be a compromise either in accuracy, computational speed or in versatility.At the cost of generality, i.e. by focusing on subclasses of microstructures, fast and accurate models can be deployed while still allowing for considerable variations of the microstructures.This does not mean that these subclasses must be overly confined: for instance, inclusion volume fractions ranging from 20 up to 80% are considered in this work.Using a limited number of computations performed on relevant microstructure images, machine learned methods can be trained for the subclass under consideration.The sampling of the data, the feature extraction and the training of the ML algorithm constitute the offline phase in which the surrogate model is built.Typically, the evaluation of the surrogate can be realized almost in real-time (at least this is the aspired and ambitious objective), thereby enabling previously infeasible applications in microstructure tayloring, interactive user interfaces and computations on mobile devices.

7A currently active research for microstructure property linkage is the material knowledge system (MKS) framework [18].Many branches thereof exist, all trying to attain low-dimensional microstructure descriptors from the truncation of selected n-point correlation functions.For instance, a PCA of the n-point correlation functions of the microstructure is performed and the principal scores are used to in a polynomial regression model in order to predict material properties.The MKS is actively researched for different material structures [19][20][21].For instance, [19,20] successfully predict the elastic strain and yield stress for the underlying microstructure using the MKS approach, however they confine their focus on either the topological features of the microstructure or a confined range of allowed volume fractions (0-20%), often held constant in individual studies.

8The goal in the present study is to make accurate image based predictions for RVEs spanning large subsets, e.g. in terms of volume fraction, morphological and topological variations, of microstructure materials.

9Similarly to key ideas of the MKS approach, a reduced basis is deployed to reduce the dimensionality of the microstructural features contained in the n-point correlation functions.With the sheer amount of samples required, conventional methods fail to capture the key features of the all the microstuctures and we propose three novel incremental reduced basis updates to make the computation possible.Using synthetic microstructures/RVE, the costly training of the reduced basis and of the artificial neural network (e.g., [22]) becomes feasible, allowing to build a surrogate model for the image-property linkage.The surrogate accepts binarized image representations of bi-phasic materials as inputs.The outputs constitute the effective heat conductivity of the considered material.

10In Section 2 the microstructure classification and the three different incremental snapshot POD procedures used during feature extraction are presented (unsupervised learning).In Section 3 the use of feed forward artificial neural networks for the processing of the extracted features is discussed.Numerical examples are presented in Section 4 including different inclusion morphologies and an investigation of the relaxation of the microstructure subclass confinement of the procedure by using mixed data sets.A Python code illustrating the application of the surrogate is freely available Github.

Microstructure Classification

11The microstructure is defined by the representative volume element (RVE) [4], which is one periodic frame or image characterizing the heterogeneous material under consideration, see Figure 1 for examples of the microstructure and its 2-point spatial correlation function (see below for its definition).Due to their favorable properties regarding the size of the RVE, periodic fluctuation boundary conditions are used for the computations during the offline phase [5].

12The n-point spatial correlation functions represent a widely used mathematical framework for microstructural characterization [23,24].Roughly described, the n-point correlation is obtained by placing a polyline consisting of (n − 1) nodes defined relative to the first point by vectors r 1 , r 2 , . . . .By placing the first point uniformly randomly into the microstructure and computing the mean probability of finding a prescribed sequence of material phases at the nodes of the polyline (including the initial point) denotes the n-point correlation c n (r 1 , r 2 , . . ., r n−1 ; m 1 , m 2 , . . ., m n ), where m k is the material label expected to be found at the kth node.

13For example, the 1-point spatial correlation function, i.e. the probability of finding phase m (m ∈ {a, b, . . .}), yields the phase volume fraction f m of phase m.In the present study bi-phasic materials are considered.Here m = a corresponds to the matrix material (drawn blue in Figure 1) and m = b to the inclusion phase (drawn yellow in Figure 1).The trivial relation

14holds.The 2-point spatial correlation function (2PCF) c 2 (r; a, b) places the vector r in each pixel/voxel x of the RVE and states the probability of starting in the matrix phase a and ending in the inclusion phase b.Mathematically we have

15with χ (m) being the indicator function of phase m, r the point offset and • x denoting the averaging operator over the RVE.The 2PCF is efficiently computed in Fourier space by making use of the algorithmically sleek fast Fourier transform (FFT) [25,26]: In addition to that, a key property of the 2PCF is its invariance with respect to translations of the periodic microstructure.This property is of essential importance when it comes to the comparison of several images under consideration, i.e. during the evaluation of similarities within images.

16Examples of c 2 (r; b, b) (referred to also as auto-correlation of the inclusion phase) are depicted by the lower set of images in Figure 1.By the metric of vision, the following characteristics can be observed:

17• the maximum of c 2 (r; b, b) occurs at the corners of the domain (corresponding to r = 0); • preferred directions of the inclusion placement and/or orientation correspond to laminate-like images (best seen in the third microstructure from the left); • the domain around r = 0 partially reflects the average inclusion shape; • some similarities are found, particularly with respect to shape of the 2PCF at the corners and in the center.

18These observations hint at the existence of a low-dimensional parametrization of relevant microstructural features.In the following this property is exploited by using a snapshot proper orthogonal decomposition (snapshot POD) in order to capture reoccurent patterns of the 2PCF.By working on the two-point function the afore-mentioned elimination of possible translations of the images is an important feature.The influence of higher order spatial correlation functions has been investigated in the literature [e.g., 23,27].These considerations often yield minor gains relative to the additional computations and the increased dimensionality * .Although it has been demonstrated that the two point function does not suffice to uniquely describe the microstructure in periodic domains [28], there is evidence that the level of microstructural ambiguity for identical 2PCF can be considered low.Therefor, only the n-point correlation functions up to second order are accounted for in the present study.

Unsupervised Learning via Snapshot Proper Orthogonal Decomposition

19The snapshot POD [29] can be used to construct a reduced basis (RB) [30][31][32] that provides an optimal subspace for approximating a given snapshot matrix S ∈ R n×n s .The matrix S consists of n s individual snapshots s i ∈ R n with the size n being the dimension of the discrete representation of the unreduced field information.In the case of the 2PCF n denotes the total number of pixels within the RVE, i.e. the discrete two-dimensional 2PCF (representing image data) is recast into vector * For instance, the 3PCF takes to vectors r 1 , r 2 ∈ Ω as inputs.Hence, the full 3PCF is basically inaccessible in practice but only after major truncation.

20format for further processing ( c 0 2 (m, m) ∈ R n ).In the present study, the constructed RB is used for information compression, i.e. for the extraction of relevant microstructural features from the image data.The reduced basis B ∈ R n×N retains the N most salient features of the data contained in S in a few eigenmodes represented by the orthonormal columns of B.

21The actual snapshot data contained in S is thus constructed from the discrete 2-point function data s 0 i ∈ R n via

22where 1 ∈ R n is a vector containing ones at all entries.The reduced basis is computed under the premise to minimize the overall relative projection error

23with respect to the Frobenius norm • F .The RB can be constructed with multiple methods, e.g. with the snapshot correlation matrix C S and its eigenvalue decomposition, which is given by

24The following properties of the sorted eigenvalue decomposition hold:

25and δ ij denotes the Kronecker delta.The dimension of the reduced basis is determined by the POD threshold, i.e. the truncation criterion is given by

26where ε > 0 is a given tolerance denoting the admissible approximation error.Then, the reduced basis is computed via

27after truncation of the eigenvalue-and eigenvector matrices to reduced dimension N represented with Θ ∈ R N×N and V ∈ R n×N , respectively.The sorting of the eigenvalues with their corresponding eigenvectors leads to the property that the least reoccurent information given in S is omitted.Hence, the first eigenmode in B has the most dominant pattern, the second eigenmode the second most etc.The properties of the reduced basis computed with the snapshot correlation matrix remain the same as for the singular value decomposition (SVD) introduced below.

28The SVD [33] of the snapshot matrix is given by

29with the following properties (asserting

30and the sorted non-negative singular values σ i such that

31The criterion for determining the reduced dimension N matching (14) takes the form

32Then, the reduced basis is given by truncation of the columns of

33More specifically, the left subspace associated with the leading singular values is the RB.Both introduced methods yield the exact same result for the same snapshot matrix S.

Incremental Generation of the Reduced Basis B

34The RB is deployed in order to compress the information contained in n s snapshots into an N-dimensional set of eigenmodes stored in the columns of B ∈ R n×N , where N n s is asserted.Since the RB is computed with the snapshot matrix alone, the information contained in S needs to contain data representing the relevant microstructure range, i.e. covering the parameter range used in the generation of the synthetic materials, in order for B to be representative for the problem under consideration.

35In the case of microstructural images containing n pixels, a ludicrous amount of 2 n states could theoretically be considered when allowing for fully arbitrary microstructures.When limiting attention to certain microstructure classes, then less information is required.Still, thousands of snapshots are usually required, at least.In the following, attention is limited to synthetic materials generated using random sequential adsorption of morphological prototypes with variable size, orientation, aspect ratio, overlap and phase volume fraction.Due to the high variability of such microstructures (see, e.g., Figure 1), a large number of snapshots is required that can usually not be stored in memory, i.e. a monolithic snapshot matrix S is not available.Although attention is limited to two-dimensional model problems in this study, the problem aggravates considerably for three-dimensional images which imply technical challenges of various sort (storage, processing time, data management, . . .).In order to be able to generate a rich RB accounting for largely varying microstructural classes, the incremental basis generation represents a core concept within the present work.It enables the RB generation based on a sequence of input snapshots but without the need to store previously considered data except for the current RB.Three different methods are proposed, two of which rely on approximations of the snapshot correlation matrix C S , and one of which relies on the SVD of an approximate snapshot matrix.The general incremental scheme depicted in Figure 2 remains the same for all the procedures, i.e. the only difference is found during the step labeled adjust.

36The algorithm is initialized by a small sized set of initial snapshots of the shifted 2-point correlation function (see Section 2.2).Further, the algorithmic variables n δ = 0 and ∆S = 0 are set.The initial RB is computed classically using either the correlation matrix or the SVD (see previous section for details).After computation of the RB, the snapshots are stored neither in memory nor on a hard drive.The algorithm then takes input snapshots in the order of appearance.For each new snapshot s i the relative projection error with respect to the current RB is computed:

37If P δ is greater than the tolerance ε > 0 the snapshot is considered as inappropriately represented by the existing RB.Consequently, s i is appended to a buffer ∆S containing candidates for the next basis enrichment and the counter n δ is incremented.Once the buffer contains a critical number of n a elements the actual enrichment is triggered and the buffer is emptied thereafter.Thereby the computational overhead is reduced.The three different update procedures are described later on in detail.The procedure is continued until n c > 0 consecutive snapshots were found to be approximated up to the relative tolerance ε.Then the basis is considered as converged for the microstructure class under consideration.

38In the following three methods for the update procedure are described.Formally, the update of an existing basis B with a block of snapshots contained in the buffer ∆S is sought-after.The new basis is required to remain orthonormal.

Method A: Append Eigenmodes to B

39A trivial enrichment strategy is given in terms of appending new modes to the existing basis while preserving orthonormality of the basis.Therefore, the projection of ∆S onto the existing RB is subtracted in a first step:

40It is readily seen that ∆ S is orthogonal to B. Then the correlation matrix of the additional data and its eigen-decomposition are computed according to

41Eventually, the enrichment is given through the truncated matrices V and Θ:

42The new basis is then obtained by

43Method A simply adds modes generated from the projection residual ∆ S in a decoupled way, i.e. the existing basis is not modified.In order to compute the basis update, only the existing RB B and the temporarily stored snapshots ∆S are required.

Remarks on Method A

44A. 1 The truncation parameter must be chosen carefully such that

45In particular, the normalization with respect to the original data prior to projection onto the existing RB must be taken.A.2 By appending orthonormal modes to the existing basis it is a priori guaranteed that the accuracy of previously considered snapshots cannot worsen, i.e. an upper bound for the relative projection error of all snapshots considered until termination of the algorithm is given by the truncation parameter and n a :

Method B: Approximate Reconstruction of the Snapshot Correlation Matrix

46The goal of this iterative update scheme is the accurate approximation of the new correlation matrix

47Here S denotes all snapshots considered in the RB so far and ∆S contains the candidate snapshots.However, the previously used snapshots formally written as S are no longer available since they can not be stored due to storage limitations.Using the previously computed matrices B, V, Θ the following approximations are available:

48where the accuracy of the approximation is governed by the truncation threshold δ N .Using these approximations and using the property of the eigenvalue decomposition, the snapshot matrix S can be approximated by

49The snapshot correlation matrix C that considers the additional snapshots can be approximated as

50In order to compute the updated basis, the inexpensive eigenvalue decomposition of

51Analogously to the previous RB computation in equation ( 15), the adjusted and enriched basis is computed by

52To update the RB the truncated eigenvector matrix (B , V ← W ∈ R n×N ) need to be stored as well as the diagonal eigenvalue matrix Θ.

Remarks on Method B

53B. 1 The existing RB is not preserved but it is updated using the newly available information.Thereby, the accuracy of the RB for the approximation of the previous snapshots is not guaranteed a priori.However, numerical experiments have shown no increase in the approximation errors of previously well-approximated snapshots.B. 2 In contrast to Method A the dimension of the RB can remain constant, i.e. a mere adjustment of existing modes is possible.The average number of added modes per enrichment is well below that of Method A. B. 3 The additional storage requirements are tolerable and the additional computations are of low algorithmic complexity.

Method C: Incremental SVD

54Method C is closely related to Method B. However, instead of building on the use of the correlation matrix, it relies on the use of an updated SVD, i.e. an approximate truncated SVD is sought-after:

55Since the original snapshot matrix S can not be stored, only an approximation of the actual truncated SVD in (33) can be computed.Methods to compute an incremental SVD are introduced in [34,35], with the latter referring to Brand's incremental algorithm [36] which is used in the present study with minor modifications.With the previously computed basis B at hand, the approximation of S is known

56Introducing the projection residual ∆ S of the enrichment snapshots ∆S together with its SVD

57and using (33), (34) and (35) the full snapshot matrix can be approximated after some algebra by

58Considering the SVD of

59, which is inexpensive due to the sparsity of Γ, approximation (36) is further rewritten as

60It is easily shown that the matrices U * and W * are column-orthogonal and that Σ * is diagonal and non-negative.Therefore, the three matrices constitute an approximate SVD of the enlarged snapshot matrix at low computational expense.This implies the following updates after each enrichment step

61after truncation of B, where the truncation criteria needs to ensure that B does not decrease in size.

62To compute the enrichment of the RB, B ∈ R n×N and the sparse singular values Σ ∈ R N×N after truncation need to be stored.

Remarks on Method C

63C. 1 As highlighted for Method B in remark B.1, the existing RB is not preserved but adjusted by considering the newly added information.This ensures the accuracy of the approximation error of previously well-approximated snapshots, but a priori guarantees regarding the subset approximation accuracies cannot be made.C. 2 In contrast to Method A the dimension of the RB can remain constant, i.e. a mere adjustment of existing modes is possible.The average number of added modes per enrichment is well below that of Method A. C.3 Each update step in equation ( 38) is computed separately and, consequently, storing W is not required since only the RB B is of interest.C. 4 The diagonal matrix Σ has low storage requirements corresponding to that of a vector in R N .

Supervised learning using Feed Forward Neural Network

64During the supervised learning phase, the machine is provided with data sets consisting of inputs and the related outputs.Hence, the supervised learning phase tries to learn a function relating inputs to outputs without or with limited prior knowledge of the structure of the unknown mapping.Artificial neural networks (ANN) are a powerful machine learning tool which have gained wide popularity in the recent decades due to the surge in computational power [22,37].

65The functionality of the ANN is inspired by the (human) brain, propagating a signal (input) through multiple neurons where it is lastly transformed into an action (output).Various types of neural networks have been invented, e.g.feed forward, recurrent, convolutional, being applicable to almost any field of interest [38][39][40][41].In the present study a regression model from the input, i.e. the feature

Input layer

66Hidden layer 1

67Hidden layer L

Output layer

68Figure 3.The basic functionality of a dense feed forward neural network is depicted in simplified form.

69vector ξ which is derived with the converged basis B, to the output, i.e. the effective heat conduction tensor κ, is deployed with a dense feed forward ANN.

70In a dense feed forward ANN (Figure 3) a signal is propagated through the hidden layers where every output of the previous layer a l−1 affects the activation z l of the current layer l (l = 1, . . ., L + 1).The activation of each layer gets wrapped into an activation function f where the output of each neuron in the layers is computed, i.e. a l = f (z l ).Note that matrix/vector notation is used, where each entry in the vectors denotes one neuron in the respective layer.

71The basic learning algorithm/optimizer usually employed for a feed forward ANN is the back propagation algorithm [42] and modifications thereof.The learning of the network consists in the numerical identification of randomly initialized and unknown weights W l and biases b l that minimizes a given cost function.The latter gives an indication of the quality of the ANN prediction.For instance, the gradient back propagation computes gradients of the cost function with respect to the weights and biases, in order to compute suitable corrections for these parameters.

72The learning itself is an iterative procedure in which the training data is cycled multiple times through the ANN (one run called an epoch).In each epoch the internal parameters are updated with the aim of improving the mapping from the input to the output.The optimization problem itself is (usually) high-dimensional.In most situations it is not well-posed and local minima and maxima can hinder convergence.Therefor, multiple random instantations of the network parameters are usually required to assure that a good set of parameters is found, even if the network layout remains unaltered.

73Notably, the training requires a substantial input data set as inputs.It is important to note that the training of the ANN usually results in a parameter set that is able to approximate the training data with high accuracy under the given meta-parameters describing the network architecture (number of layers, number of neurons per layer, type of activation function).However, the approximation quality of the ANN may be different for other queries.Thus, it is important to validate the generality of the discovered mapping for the underlying problem setting.Therefor an additional validation data set is introduced, where only the evaluation of the cost function is tracked during the training.Generally when overfitting † occurs, the errors for the validation set increase whereas the errors of the training set decrease.The training should be halted if such a scenario is detected.

74Since the choice of activation function as well as the number of hidden layers and the number of neurons within the individual layers are arbitrary (describing the ANN architecture), these meta-parameters should be tailored specifically for the desired mapping.Finding the best neural network architecture is not straight-forward and usually relies on intuition, experience and many numerical experiments.In order to find a well suited ANN, various (random) realizations of each tested ANN architecture need to be computed, before a decision regarding the optimal layout can be made.

75In the present study the ANN training is performed using Tensorflow in Python [43].Tensorflow is an open source project by the Google team, providing highly efficient algorithms for ANN implementation.The Adam [44] optimizer, which is a modification of the gradient back propagation, has been deployed for the learning.

Generation of Synthetic Microstructures

76All of the used synthetic microstructures have been generated by a random sequential adsortion algorithm with some examples shown in Figure 1.Two morphological prototypes were used: spheres and rectangles.The parameters used to instantiate the generation of a new microstructure were modeled as uniformly distributed variables: M.1 the phase volume fraction f b of the inclusions (0.2-0.8); M.2 the size of each inclusion (0.0-1.0); M.3 for rectangles: the orientation (0-π) and the aspect ration (1.0-10.0);M.4 the admissible relative overlap for each inclusion (0.0-1.0).For = 0 and the spherical inclusion, a boolean model of hard spheres is obtained.Setting = 1 induces a boolean model without placement restrictions, i.e. new inclusions can be placed independent of the existing ones.The generated microstructures were stored as images with resolution 400×400.After the generation of the RVE, the 2-point spatial correlation function was computed for the RVE.This was then shifted, see Section 2.2, and used as a snapshot s i for the identification of the reduced basis.

77Additionally, a smaller random set of RVEs used for the supervised learning phase was simulated using the recent Fourier-based solver FANS [3] in order to compute the effective heat conduction tensor κ.The heat conductivity of the matrix and of the inclusion phase are prescribed as

78Overfitting relates to the fact that a subset of the data is nicely matched but small variations in the inputs can lead to substantial loss in accuracy, similar to oscillating higher-order polynomial interpolation functions.

79Here R > 0 denotes the material contrast.In the present study, R = 5 was considered, i.e. the matrix of the microstructure has a five times higher conductivity than the inclusions.These values can be seen as typical values for metal ceramic composites (Figure 4).An inverse phase contrast has exemplarily been studied, i.e. inclusions with κ b = 1 and κ a = κ b 5 (corresponding to R = 1 5 ) has also been investigated.Qualitatively, the results for the inverse phase contrast did not show any new findings or qualitative differences.Therefor, the following results focus on R = 5, corresponding to rather insulating inclusions.The symmetric tensor κ can be represented as a three-dimensional vector κ using the normalized Voigt notation

80For the supervised learning of the ANNs (see Section 3), multiple files each containing 1500 data sets for different inclusion morphologies were generated (circle only; rectangle only; mixed).Each data set contains the image of the microstructure, the respective autocorrelation of the inclusion phase c 2 (•; b, b) and the effective heat conductivity κV .

Unsupervised Learning

81First, the reduced basis is identified using the iterative procedure presented in Section 2.3.All three proposed methods were considered and for each of these, three different sets of microstructures were considered: The first set of microstructures consisted of RVEs with only circular inclusions, the second set consisted of RVEs with only rectangular inclusions, and the third set was divided into equal parts, each part consisting of RVEs with either circular or rectangular inclusions ‡ , respectively.Each type of microstructure was processed using each of the three incremental RB schemes introduced in Section 2.3.Hence, a total of nine different trainings were conducted, each using different randomly generated snapshots.

82For the iterative enrichment process, the initial RB was computed from 200 snapshots S 0 .Thereafter, snapshots were randomly generated and processed by the enrichment algorithm sketched in Figure 2. The number of snapshots per enrichment step has been set to n a = 75 and the number of consecutive snapshots with P δ < ε , used to indicate convergence, has been set to n c = 100.The relative projection tolerance ε = 0.025 was chosen.Note that this corresponds to the maximum value of the mean relative • L 2 -error that is considered exact for the shifted snapshots.The actual accuracy ‡ (i.e. each structures contained exclusively one of the two morphological prototypes and the same number of realizations for each prototype was enforced) Table 1.Data of the unsupervised learning (incremental RB identification) for the nine considered scenarios; the parameters ε = 0.025 , n c = 100 and n a = 75 were used.Some numbers are rounded for easier readability.in the reproduction of the 2PCF c 2 (r; b, b) is significantly lower than this (results are given in Figure 7 below).Key attributes for each of the nine trainings are provided in Table 1.There is an obvious discrepancy between Method A and the remaining methods in basically all outputs.While Method A claims the lowest computing times, it yields approximately twice the number of modes.However, the number of snapshots needed is substantially lower which can be relevant if the generation of the synthetic microstructures is computationally involved.

Method

83Note that methods B and C yield similar results, although for the rectangular and circular training method C needed significantly more snapshots, method B needed significantly more snapshots for the mixed training.The outliers in the number of snapshots needed are due to the randomness of the materials and the chosen convergence criterion.The resulting basis size of methods B and C indicate very similar results from these methods.

84Also note that the calculation of the relative projection error P δ grows linearly with the dimension of the RB, i.e. the faster offline time of method A can quickly be compensated by the costly online procedure induced by the high dimension of the RB in comparison to the competing techniques.

85To compare the accuracy of the resulting basis as well as during the training, the relative projection error P δ of the snapshots used for the original basis construction S 0 are plotted in Figure 5 Since each training conducted a different amount of incremental updates, the abscissa has been rescaled such that the relative progress of the basis generation is shown vs. the number of enrichments divided by n it (Figure 5 and Table 1).

86Method B and C yield again very similar results whereas method A achieves a lower projection error on convergence, but at the expense of a considerably improved dimension of the RB.Since there seems to be an obvious correlation between resulting accuracy and the final basis size for the initial snapshots S 0 (see Figure 5, Table 1), the general quality for arbitrary stochastic inputs must be investigated.In order to quantify the quality of the RB, the accuracy can be expressed in terms of the relative projection error of approximating additional, newly generated snapshot data S as a function of the method (A, B, C) and the number of modes N ≥ 1 via

87in Matlab notation.This measure captures to what extend the first N basis functions represent the 2PCF of the underlying microstructure class.In the current work sets of 1500 newly generated snapshots assure an unbiased validation, i.e. the data was used in neither of the three training procedures.The results are stated in Figure 6.Again, methods B and C yield similar results, achieving lower projection errors with fewer eigenmodes compared to Method A, i.e. the basis produced by method A cannot catch up with its two competitors.On a side note, the rectangular inclusions apparently lead to significantly richer microstructure information which can be seen by direct comparison of the left to the middle plot in Figure 6.For methods B and C and for circular inclusions the relative error of 5% is reached for approximately 15 modes while rectangular inclusions require more than 60 modes to attain a similar accuracy.This is supported also by the rightmost plot determined from a sort of blend of the two microstructural types.

88Since all of the previous error measures are given on the shiftedsnapshot according to equation (10), the true relative projection error on the unshifted snapshot is also investigated as a function of the basis size.It describes the relative accuracy of the approximation of the 2PCF c 2 (r; b, b) as a function of the basis size.The errors in the shifted data (Figure 7, left) and the corresponding reconstructed 2PCF (Figure 7, right) for five individual randomly selected snapshots show that the actual relative error in the 2PCF reconstruction is below 5% for 10 reduced coefficients even for the challenging rectangular inclusion morphology, while the error in the shifted and shifted snapshots is on the order of 50%.This highlights the statement made earlier regarding the choice of ε which is not directly the accepted mean error in the 2PCF, but only after application of the shift.The high discrepancy in the two relative projection errors is due to the fact that the shifted snapshots fluctuate closely around 0, i.e. the homogeneous part of the 2PCF is obviously of high relevance.

89The development, i.e. the stabilization of the mode shapes over the enrichment steps, of a few selected eigenmodes is shown in Figure 8 using RVEs with circular inclusions for training of method C. Similar results are expected for method B, whereas for method A the eigenmodes would remain unconditionally unchanged over the enrichment steps, i.e. a pure enlargement of the basis takes place.The faster stabilization of the leading eigenmodes indicates a quick stabilization of the lower order statistics of the microstructure ensemble, while the tracking of higher order fluctuations is more involved.

Supervised Learning

90After the training of the RB, the input for the neural network, the feature vector ξ was derived using the 1-and 2-point spatial correlation functions of the ith RVE as

91The size of the feature vector is determined by the amount of reduced coefficients 1 ≤ h ≤ N, i.e. the snapshot is projected onto the leading h eigenmodes of B.

92Since the inputs and outputs have a highly varying magnitude, they need to be shifted such that they are equally representative.Therefore, each entry of the feature vector is separately shifted and scaled such that its distribution of all samples has zero mean and a standard deviation of one.The output is shifted combinedly such that the mean of κV is 0. The transformed inputs and outputs are then given to the ANN for the training phase.Thus, the outputs of the ANN need to undergo an inverse scaling in order to yield the sought-after vector representation of the heat conduction tensor.These shifts and scalings need to be extracted from the available training data.Hence, every data set used for training purposes has its own parameters.

93The training for the neural network has been conducted for all of the three microstructure classes, i.e. using only RVEs with circular inclusions, only RVEs with rectangular inclusions and lastly using RVEs with either circular or rectangular inclusions (the split was up to 60:40, which was randomly assigned before the training).In order to derive the feature vector, the converged basis of method C has been used.Note that depending on the training set, only circular/rectangular or mixed inclusions contributed to the RB.

94The training of the ANN was conducted with an early stop algorithm: up to 10000 epochs were considered and the best-not necessarily last-parameter set has been saved.The decision on the best ANN was taken on the basis of the cost function of the validation set (which came out of the same parameter range as the training set).Each data set consisted of 1500 samples.These were shuffled randomly and split into the training set (n t = 1000) and the validation set (n v = 500) before each ANN training.

95In the following, the error measurements used and the term of unbiased testing refers to the prediction of 1500 unseen data points for each of the three microstructure classes named test sets.In order to find a good overall ANN, the network architecture has been intensely studied: the accuracy of the prediction after the training has been evaluated with various sizes of the feature vector, different network layouts and for different activation functions (Figure 9).The depicted error measure (Figure 9) is the mean/max absolute derivation, i.e. the absolute error (corresponding to the Euclidean norm of the vector-valued error) for the prediction and the actual heat conductivity of the microstructure of κ V over each test set.

96The conductivity κ 12 fluctuates mildly around zero for all inputs.In order to accurately capture this fluctuation, only the specific training and RB dimensions of four or higher (h ≥ 4) are required cf. Figure 10.However, the error of κ 12 for other inclusion morphologies than that of the training increase with h, albeit the values can be considered small in comparison to the κ 11 and κ 22 errors.

97Since the trend in Figure 9 of the rectangular and mixed training looks promising, a further study using more reduced coefficients has been conducted, however the results for retangular training showed a stronger tendency towards overfitting.Rectangular training with 17 ≤ h ≤ 25 had very similar results to circular training with 12 ≤ h ≤ 17 reduced coefficients.For the mixed training the overall results worsened with a higher amount of reduced coefficients and the ANN did not seem to find any mapping generalizing the property linkage for both types of deployed RVE with the given training data.

98The increased overfitting with respect to the training microstructure class for increased dimension of the feature vector can be explained by the rather limited number of 1000 input samples.For instance, considering a six-dimensional feature vector induces that for the rather limited number of ten samples per independent direction a total of 10 6 data points would be needed.The dilemma is that each of the computations is expensive, particularly when considering three-dimensional simulations, i.e. millions of samples can not be realized in practice.Therefore, the number of samples must be rather low which could be a limiting factor in view of the number of features that can be accounted for.Overall, a correlating trend with the accuracy for the RB (Figure 6) and the behaviour of the ANN training could be seen (Figure 9).Investigating the circular training, with more specific information about the 2PCF available, a slightly better mapping is found for RVEs with circular inclusions, whereas the prediction for the other two microstructure classes slightly worsen.Similarly with the rectangular training, more reduced coefficients increase the fit on the RVE with rectangular inclusions, though more reduced coefficients are required to deliver the same accuracies as the circular training, as more number of eigenmodes (of the basis) are required to yield approximately the same relative projection error.

99When training with both types of RVEs (i.e. for the mixed input set), the training seemed more random than the others.Some resulting ANNs (which are not shown) had more of the property of a circular training, whereas some were more like the rectangular training.Although the ANN was trained with general RVEs, it overall failed to give good predictions for every type of RVE when using more than two or three reduced coefficients.After training with the mixed set, the prediction of κ11 and κ22 was generally better for RVEs with rectangular inclusions, whereas κ12 was better for RVEs with circular inclusions.During the training, the ANN found most likely some strange local minimum which fitted the training data quite well, however it was not a general mapping for all the microstructure classes, which hints at a too low number of input samples, as discussed earlier.

100The ANN architecture did not seem to have a big impact on the quality of the prediction, there have been ANNs with a single hidden layer and six hidden neurons which delivered results comparable to an ANN comprising six hidden layers with more than 100 hidden neurons.

101The used activation functions were the sigmoid, relu, tanh and softplus, where only some combinations delivered poor results.Not a clear trend of ANN architecture and quality of prediction could be seen and, consequently, the best ANN were randomly found based on the lowest error on the test set.The prediction accuracies for each test set of three differently trained ANNs, which have been deemed the best, is given in Figure 11.As to be expected, the lowest errors are achieved on the diagonal, i.e. training set = validation set.

102The training and architecture of the best ANNs in Figure 11 had the following properties: 2, again using the same three ANNs which have been explicitly shown.Note that since the values of κ12 vary closely around 0 (Figure 4), relative errors are not sensible for the quantity of interest.A GUI code is provided in Github, where the user can choose between the three proposed ANN, the input for the prediction is a 400 × 400 image in matrix format written in a text file or a TIFF image and the output is the prediction for the heat conduction tensor as described above.In order to compile the code, Python3 with Tensorflow is required.Some exemplary RVE with their respective heat conductivity are uploaded in a subfolder.

Summary and Concluding Remarks

103The computational homogenization of highly heterogeneous microstructures is a challenging procedure with massive computational requirements.In the present study a method to efficiently and accurately predict the heat conductivity for any RVE with the image and no further information is proposed.Key ideas of the Materials Knowledge System (MKS) [21,27] have been adopted in the sense that a subset of the POD compressed 2-point correlation function is used to identify a low-dimensional microstructure description.In contrast to [27] the 2PCF is not truncated to a small neighborhood, but the full field information is considered.Similar to other works related to the MKS [18], a truncated PCA of the 2-point information is used to extract microstructural key features.

104However, the classical truncated PCA used, e.g., in [18] is not applicable to the considered rich class of microstructures due to the high number of needed samples and the related unmanageable computational resources.Therefor, our proposal is founded on a novel incremental procedure for the generation of the RB of the 2PCF.Similar techniques have not been considered in the literature to the best of the authors' knowledge.The shifting of the images of 2PCF before entering the POD is another feature that can help in reducing the impact of the inclusion volume fraction, i.e. the shifted function has zero mean.

105Other than in [27] no higher-order statistics are used.This is by purpose as the selection of the relevant entries of the higher order PCF is ambiguous and a challenge in itself.Instead, the present study focus on the variability of the input images in terms phase volume fractions in a broad range (20-80%) alongside topological variations (impenetrable, partial overlap, unrestricted placement) and different morphologies (circles and rectangles).Generally speaking, a much higher microstructural variation is accounted for, than in previous studies.Therefore, the current study also investigates how the proposed technique and similar MKS related approach can possibly generalize towards truly arbitrary input images (e.g.millions of snapshots) in order to built a super-database.

106In order to cope with the variability of the 2PCF, the truncated PCA or snapshot POD effected during unsupervised learning phase is replaced by novel incremental procedures for the construction of a small-sized reduced microstructure parameterization.Three increment POD methods are proposed and their results are compared regarding the computational effort, the projection accuracy of the snapshots and the quality of the basis in view of capturing random inputs.

107The learned reduced bases are used to extract a low-dimensional feature vector which denotes the input of a fully connected feed forward artificial neural network.The ANN is used to predict the homogenized heat conductivity of the material defined by the microstructure.The mean relative error of the surrogate is lower than 2% for the majority of the considered test data.This is remarkable in view of the phase contrast R = 5 and the particle volume fractions ranging from 0.2-0.8, as well as morphological and topological variations.Further, an immense speedup in computing time is achieved by the surrogate over FE or FFT simulations.

108Importantly, the presented methodology can immediately be adopted to different physical settings such as thermo-elastic properties, fluid permeability, dielectricity constants etc.The same holds for three-dimensional problems.However, the limited number of samples in 3d could be problematic as more features are likely required to attain a sufficiently accurate RB.

Discussion and Outlook

109A weakness of the current approach remains the computational complexity of the method: Although the feature vector is rather low-dimensional, it requires the evaluation of the 2PCF using the FFT which is of complexity O(n log(n)) where n is the number of pixels/voxels in the image.In order to extract the reduced coefficient vector from the 2PCF, the latter must be projected onto the RB.This operation scales with O(n N).Both operations are at least linear to the number of pixels/voxels of the image which can be critical, especially in three-dimensional settings.Therefor, future investigations aiming at a reduced effort for gathering the features are required in our opinion.

110Another extension of the current scheme could account for variable phase contrast R which was fixed as R = 5 in this work.Thereby, the dimension of the feature vector will be incremented which can add to the already existing data scarcity dilemma observed when considering a sufficient number of reduced coefficients: the number of input samples for the supervised learning should grow exponentially with the dimension of the feature vector.In the authors opinion this dependence is the most pronounced short-coming of the method and future studies should focus on limiting the number of required input samples in order to fight the curse of dimensionality: more reduced coefficients require an exponential growth in the available data, making the offline procedure unaffordable, today.

111Advantages of the current scheme comprise the independence of the underlying simulation scheme.This does allow for heterogeneous simulation environments, the use of commercial software, multi-fidelity input data and blended sources of information (e.g. in silico data supported by experimental results).

Figure 1 .

112Figure 1.Depicting some exemplary microstructures with their respective 2-point spatial correlation functions c 2 (r; b, b) below

Figure 2 .

113Figure 2. Graphical overview of the incremental update of the reduced basis

12 Figure 4 .

114Figure 4.The range of each κ entry computed with 15000 microstructures is of the mixed set.Only 1000 discrete values are shown in each plot.

Figure 5 .

115Figure 5. Development of the relative projection error P δ of the snapshots S 0 with respect to the relative enrichment progress.

Figure 6 .

116Figure 6.Relative projection error for three different microstructure classes as a function of the number of eigenmodes.The relative projection error is determined for a validation set of 1500 newly generated microstructures for each class.

true 2PCF c 2

117(r; b, b) dimension of the RB: N [-] RB: N [-]

Figure 7 .

118Figure 7. Using the RB of method C, the relative projection error on the shifted snapshot is given on the left for five random samples.For comparison the relative projection error of the reconstruction of the actual 2-point correlation function is given on the right for the same samples.

Figure 8 .

119Figure 8.The development of a few selected eigenmodes over the enrichment are shown.Note that these results are generated with n a = 15 and ε = 0.01 using method C. The procedure comprised a total of 87 basis enrichments/adjustment.

Figure 9 .

120Figure 9.The given error measures over the test sets are shown for the ANN which achieved the lowest MSE (cost) on the training set for each number of reduced coefficients and training type.

Figure 10 .

121Figure 10.The mean absolute error (MAE) of κ 12 is given for each of the trainings and test sets.

Figure 11 .

122Figure 11.Results for the best of all tested for the test sets.The graphs represent probability distribution of the absolute error in the components of κ.

123.

124For an easier readability, the percentage mean and max errors for each ANN training and prediction are given in Table

Table 2 .

125Percentage errors for κ11 and κ22 given for each of the best ANNs, validated on every test set.

참고문헌 50건

  1. Turbulence and the dynamics of coherent structures. I. Coherent structures Quarterly of Applied Mathematics · Brown University · 1987 10.1090/qam/910462
  2. Microstructure of two-phase random media. I. The <i>n</i>-point probability functions The Journal of Chemical Physics · American Institute of Physics · 1982 10.1063/1.444011
  3. Multiscale Methods for Composites: A Review Archives of Computational Methods in Engineering · Springer Science+Business Media · 2009 10.1007/s11831-008-9028-8
  4. PROPER ORTHOGONAL DECOMPOSITION AND ITS APPLICATIONS—PART I: THEORY Journal of Sound and Vibration · Elsevier BV · 2002 10.1006/jsvi.2001.4041
  5. Multiscale FE2 elastoviscoplastic analysis of composite structures Computational Materials Science · Elsevier BV · 1999 10.1016/s0927-0256(99)00077-4
  6. A Machine Learning-Based Design Representation Method for Designing Heterogeneous Microstructures Journal of Mechanical Design · American Society of Mechanical Engineers · 2015 10.1115/1.4029768
  7. Stock market prediction system with modular neural networks 1990 10.1109/ijcnn.1990.137535
  8. Microstructure reconstructions from 2-point statistics using phase-recovery algorithms Acta Materialia · Elsevier BV · 2007 10.1016/j.actamat.2007.10.044
  9. A dislocation-based constitutive law for pure Zr including temperature effects International Journal of Plasticity · Elsevier BV · 2007 10.1016/j.ijplas.2007.07.017
  10. Measurement of spatial correlation functions using image processing techniques Journal of Applied Physics · American Institute of Physics · 1985 10.1063/1.334346
  11. High-performance model reduction techniques in computational multiscale homogenization Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2014 10.1016/j.cma.2014.03.011
  12. Multiple scale analysis of heterogeneous elastic structures using homogenization theory and voronoi cell finite element method International Journal of Solids and Structures · Elsevier BV · 1995 10.1016/0020-7683(94)00097-g
  13. Artificial neural networks: fundamentals, computing, design, and application Journal of Microbiological Methods · Elsevier BV · 2000 10.1016/s0167-7012(00)00201-3
  14. Scale and boundary conditions effects in elastic properties of random composites Acta Mechanica · Springer Science+Business Media · 2001 10.1007/bf01183669
  15. Optimizing cubature for efficient integration of subspace deformations ACM Transactions on Graphics · Association for Computing Machinery · 2008 10.1145/1409060.1409118
  16. Hyper‐reduction of mechanical models involving internal variables International Journal for Numerical Methods in Engineering · Wiley · 2008 10.1002/nme.2406
  17. An algorithm for the machine calculation of complex Fourier series Mathematics of Computation · American Mathematical Society · 1965 10.1090/s0025-5718-1965-0178586-1
  18. Computationally Efficient, Fully Coupled Multiscale Modeling of Materials Phenomena Using Calibrated Localization Linkages ISRN Materials Science · Hindawi Publishing Corporation · 2012 10.5402/2012/305692
  19. The reduced model multiscale method (R3M) for the non-linear homogenization of hyperelastic media at finite strains Journal of Computational Physics · Elsevier BV · 2006 10.1016/j.jcp.2006.09.019
  20. A Descriptor-Based Design Methodology for Developing Heterogeneous Microstructural Materials System Journal of Mechanical Design · American Society of Mechanical Engineers · 2014 10.1115/1.4026649
  21. Formulation and calibration of higher-order elastic localization relationships using the MKS approach Acta Materialia · Elsevier BV · 2011 10.1016/j.actamat.2011.04.005
  22. Structure–property linkages using a data science approach: Application to a non-metallic inclusion/steel composite system Acta Materialia · Elsevier BV · 2015 10.1016/j.actamat.2015.02.045
  23. FFTW: an adaptive software architecture for the FFT 2002 10.1109/icassp.1998.681704
  24. The singular value decomposition: Its computation and some applications IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 1980 10.1109/tac.1980.1102314
  25. Stochastic microstructure characterization and reconstruction via supervised learning Acta Materialia · Elsevier BV · 2015 10.1016/j.actamat.2015.09.044
  26. 30 years of adaptive neural networks: perceptron, Madaline, and backpropagation Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 1990 10.1109/5.58323
  27. No free lunch theorems for optimization IEEE Transactions on Evolutionary Computation · Institute of Electrical and Electronics Engineers · 1997 10.1109/4235.585893
  28. Strain‐driven homogenization of inelastic microstructures and composites based on an incremental variational formulation International Journal for Numerical Methods in Engineering · Wiley · 2002 10.1002/nme.515
  29. Theory of the Backpropagation Neural Network**Based on “nonindent” by Robert Hecht-Nielsen, which appeared in Proceedings of the International Joint Conference on Neural Networks 1, 593–611, June 1989. © 1989 IEEE. Elsevier eBooks · Elsevier BV · 1992 10.1016/b978-0-12-741252-8.50010-8
  30. Reduced Basis Methods for Partial Differential Equations: An Introduction 2015
  31. The finite element square reduced (FE<sup>2<i>R</i></sup>) method with GPU acceleration: towards three‐dimensional two‐scale simulations International Journal for Numerical Methods in Engineering · Wiley · 2015 10.1002/nme.5188
  32. A Snapshot Decomposition Method for Reduced Order Modeling and Boundary Feedback Control 2008 10.2514/6.2008-4195
  33. LSTM neural networks for language modeling 2012 10.21437/interspeech.2012-65
  34. Finite Element Method 2012 10.1002/9781118569764
  35. Deep learning for computational biology Molecular Systems Biology · Springer Nature · 2016 10.15252/msb.20156651
  36. A Markov random field approach for microstructure synthesis Modelling and Simulation in Materials Science and Engineering · IOP Publishing · 2016 10.1088/0965-0393/24/3/035015
  37. Reduced order homogenization for viscoplastic composite materials including dissipative imperfect interfaces Mechanics of Materials · Elsevier BV · 2016 10.1016/j.mechmat.2016.10.008
  38. A review of predictive nonlinear theories for multiscale modeling of heterogeneous materials Journal of Computational Physics · Elsevier BV · 2016 10.1016/j.jcp.2016.10.070
  39. Reduced-order structure-property linkages for polycrystalline microstructures based on 2-point statistics Acta Materialia · Elsevier BV · 2017 10.1016/j.actamat.2017.03.009
  40. A framework for data-driven analysis of materials under uncertainty: Countering the curse of dimensionality Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2017 10.1016/j.cma.2017.03.037
  41. Materials Knowledge Systems in Python—a Data Science Framework for Accelerated Development of Hierarchical Materials Integrating materials and manufacturing innovation · Springer Nature · 2017 10.1007/s40192-017-0089-0
  42. Matrix Analysis 1985
  43. Incremental proper orthogonal decomposition for PDE simulation data Computers & Mathematics with Applications · Elsevier BV · 2017 10.1016/j.camwa.2017.09.012
  44. Fourier-Accelerated Nodal Solvers (FANS) for homogenization problems Computational Mechanics · Springer Science+Business Media · 2017 10.1007/s00466-017-1501-5
  45. Leveraging the nugget parameter for efficient Gaussian process modeling International Journal for Numerical Methods in Engineering · Wiley · 2017 10.1002/nme.5751
  46. TensorFlow: A system for large-scale machine learning arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1605.08695
  47. Finite Strain Homogenization Using a Reduced Basis and Efficient Sampling Mathematical and Computational Applications · Multidisciplinary Digital Publishing Institute · 2019 10.3390/mca24020056
  48. Finite Element Method 2012
  49. Matrix Analysis Cambridge University Press eBooks · Cambridge University Press · 1985 10.1017/cbo9780511810817
  50. Reduced Basis Methods for Partial Differential Equations Unitext · Springer International Publishing · 2015 10.1007/978-3-319-15431-2