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

Machine learning of evolving physics-based material models for multiscale solid mechanics

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (9) 타이어코드(10) 아라미드

기본 정보

저자
  1. I.B.C.M. Rocha — Delft University of Technology, Faculty of Civil Engineering and Geosciences, P.O. Box 5048, 2600GA Delft, The Netherlands
  2. Pierre Kerfriden — Mines Paris, PSL University, Centre des matériaux, 63-65 Rue Henri-Auguste Desbrueres BP87, F-91003 Évry, France
  3. F.P. van der Meer — Delft University of Technology, Faculty of Civil Engineering and Geosciences, P.O. Box 5048, 2600GA Delft, The Netherlands
DOI
10.1016/j.mechmat.2023.104707
저널
Mechanics of Materials
발행년도
2023
발행기관
Elsevier BV
피인용수
26
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.mechmat.2023.104707
토픽
Composite Material Mechanics
OpenAlex ID
W4379058579

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(9) 타이어코드, (10) 아라미드
R&D 측면
분석·모델링
확신도
0.80
근거 용어
fiber-reinforced composites, multiscale simulations, surrogate modeling, physics-based constitutive models, machine learning
판단 근거
이 논문은 섬유 강화 복합재(fiber-reinforced composites)의 거동을 예측하기 위해 물리 기반 모델과 머신러닝을 결합한 멀티스케일 해석 모델링 기법을 다루고 있습니다.
R&D 활용 포인트
타이어코드(9)나 아라미드(10) 등 섬유 보강재가 포함된 복합소재(23)의 기계적 물성 및 내구성을 가상 환경에서 빠르고 정확하게 시뮬레이션하는 데 활용 가능합니다.
평가 입력
본문 112,992자 중 30,032자 발췌

초록

초록이 없습니다.

본문 112,992자

본문 펼치기
## Machine learning of evolving physics-based material models for multiscale solid mechanics I.B.C.M. Rocha <sup>1</sup>, P. Kerfriden <sup>2</sup>, and F.P. van der Meer <sup>1</sup> 1 _Delft University of Technology, Faculty of Civil Engineering and Geosciences, P.O. Box 5048, 2600GA Delft, The Netherlands_ 2 _Mines Paris, PSL University, Centre des mat´eriaux, 63-65 Rue Henri-Auguste Desbrueres BP87, F-91003_ _´Evry, France_ Abstract In this work we present a hybrid physics-based and data-driven learning approach to construct surrogate models for concurrent multiscale simulations of complex material behavior. We start from robust but inflexible physics-based constitutive models and increase their expressivity by allowing a subset of their material parameters to change in time according to an evolution operator learned from data. This leads to a flexible hybrid model combining a data-driven encoder and a physics-based decoder. Apart from introducing physics-motivated bias to the resulting surrogate, the internal variables of the decoder act as a memory mechanism that allows path dependency to arise naturally. We demonstrate the capabilities of the approach by combining an FNN encoder with several plasticity decoders and training the model to reproduce the macroscopic behavior of fiber-reinforced composites. The hybrid models are able to provide reasonable predictions of unloading/reloading behavior while being trained exclusively on monotonic data. Furthermore, in contrast to traditional surrogates mapping strains to stresses, the specific architecture of the hybrid model allows for lossless dimensionality reduction and straightforward enforcement of frame invariance by using strain invariants as the feature space of the encoder. Keywords: Concurrent multiscale (FE <sup>2</sup> ) modeling, Surrogate modeling, Hybrid learning ### 1 Introduction Recent advances in materials science and manufacturing techniques are paving the way for the design of materials with highly-tailored microstructures, including metamaterials [1, 2], novel composite material systems [3, 4], printed cementitious materials [5] and multifunctional living materials [6]. The common thread in these new developments is a shift from traditional design focused on tailoring structures to material constraints towards tailoring material microstructures to macroscopic constraints. This shift in turn requires the development of highly-detailed models of material behavior across spatial scales and a shift to virtual structural certification, as trial-and-error design becomes infeasible [7–9]. Scale bridging has been traditionally performed through a bottom-up approach: physics-based constitutive models at smaller scales are calibrated using experiments and used to perform numerical simulations (using _e_ . _g_ . the Finite Element (FE) method) on representative lower-scale domains from which higher-scale physics-based models can be calibrated [10, 11]. However, physics-based constitutive models come with _a_ _priori_ assumptions that often fail to reproduce complex lower-scale behavior [10]. The alternative is to opt for an FE <sup>2</sup> (or Computational Homogenization) approach: lower-scale FE models are embedded at every Gauss point of a higher-scale model and material behavior is directly upscaled with no constitutive assumptions at the higher scale [12–14]. Yet, the computational cost associated with repeatedly solving a large number of micromodels quickly becomes a bottleneck, in particular for many-query procedures such as design exploration and optimization that require several higher-scale simulations to be performed. Since the bottleneck of FE <sup>2</sup> lies in computing lower-scale models, a popular approach to reduce computational effort is to substitute the original FE micromodels with either structure-preserving reduced-order models [15–21] or purely data-driven surrogates [22–27] trained offline. More recently, Recurrent Neural Networks (RNN) have become the model of choice especially for strain path-dependent materials, with a large body of literature dedicated to their use and tuning to different applications [28–34]. RNNs can reproduce complex long-term time dependencies in material behavior by learning latent representations of the material state, making them fast and flexible surrogates. However, 1 these learned representations are not a priori related to actual thermodynamic internal state variables and the model is therefore poorly interpretable (see [35] for an interesting discussion on the subject). Furthermore, training for path dependency requires sampling from a potentially infinite-dimensional space of arbitrarily-long strain paths. This means training RNNs to reproduce complex material behavior often requires an inordinate amount of data ( _curse_ _of_ _dimensionality_ ) and their purely data-driven nature limits their ability to extrapolate away from paths seen during training. In order to address these drawbacks, a growing number of recent works are shifting focus to models with a fusion of data-driven and physics-based components. Inspired by physics-informed neural networks ([36]), the authors in [37] opt for data-driven models with physics-inspired bias by enforcing thermodynamic principles in a weak sense through an augmented loss function. In a similar vein, the model in [38] learns hyperelasticity by linking together several carefully crafted neural nets to represent quantities with clear physical meaning, improving the interpretability of the resulting model. In [39] the authors extend a similar hyperelastic surrogate with a network that learns plastic flow direction and the evolution of a yield surface parametrized by a level set function, resulting in a hyperelastic-plastic model with superior extrapolation capabilities. A common thread in the aforementioned approaches, however, is that their learning architectures are heavily dependent on the type of model being learned ( _e_ . _g_ . hyperelasticity, plasticity), making extensions to other models a convoluted task. In contrast, the authors in [40, 41] propose a surrogate for heterogeneous micromodels constructed by directly employing unmodified versions of the constitutive models used for the micro constituents and using a customized network architecture to infer a homogenization operator from data that combines their responses. Nevertheless, the method employs a highly-specialized iterative online prediction routine requiring extra implementation effort and with increased computational overhead when compared to that of traditional surrogates mapping strains to stresses. Finally, in [42–44] a dictionary of candidate physics-based models is assumed and the role of machine learning shifts instead to that of performing model selection and/or design of experiments. In this work we explore an alternative approach for constructing hybrid surrogate models for path-dependent multiscale simulations. We start from the premise that existing physics-based models — _e_ . _g_ . the ones used to describe microscale constituents - are not flexible enough to reproduce macroscale behavior but nonetheless encapsulate crucial physical features such as frame invariance and loading/unloading conditions. It is our aim to avoid learning these features directly from data, as that would require either an excessively large dataset or a highly-specialized learning architecture. We therefore opt for keeping the constitutive model as intact as possible and instead increasing flexibility by allowing some (or all) of its material parameters to evolve in time. The resulting model can be seen in Fig. 1: a data-driven encoder that learns the evolution of a set of material properties is linked to a physics-based material model decoder that maps strains to stresses. In contrast to other strategies in literature, we keep the architecture as general as possible: a general feature extractor parses macroscopic strains into features for the encoder — which can be as simple as the strains themselves or other derived quantities ( _e_ . _g_ . strain invariants) — and any type of constitutive model can in principle act as decoder ( _e_ . _g_ . hyperelasticity, plasticity, damage). By relegating stress computations to the decoder, we effectively introduce physics-based bias to the model. <sup>1</sup> Furthermore, by letting the material model handle the evolution of its own internal variables, the model benefits from a recurrent component with interpretable memory structure that allows path dependency to arise naturally. The strategy we explore here is related to the one we propose in [46], but in that work we let an encoder learn local strain distributions for several virtual material points with fixed properties. We see the two approaches as being complementary, and therefore with potential for being used in combination to form a flexible range of hybrid surrogates. The remainder of the work is organized as follows. Section 2 contains a primer on concurrent multiscale (FE <sup>2</sup> ) modeling and discusses the difficulties of training purely data-driven surrogates. In Section 3, we particularize the model of Fig. 1 to the case of a feedforward neural network encoder and discuss aspects related to offline training and online numerical stabilization. In Section 4 we assess the performance of the hybrid model in reproducing the behavior of fiber-reinforced composites using different encoder features and decoder models. Finally, some concluding remarks and future research directions are discussed in Section 5. 1In purely data-driven surrogates, we accept some bias in exchange for reduced variance — _e_ . _g_ . by employing regularization or adopting prior distributions for model parameters [45] — in order to counter overfitting and improve generalization. But in that case the bias is merely a way to reduce complexity, with no physical interpretation and no _a priori_ impact on the extrapolation capabilities of the model. 2 internal variables _α_ <sup>Ω</sup> feature extractor data-driven model _t−_ 1 material model <u>encoder</u> <u>decoder</u> _t−_ 1 _F_ Gauss point _φ_ _t_ _D_ _θ_ _t_ _M_ _α_ <sup>Ω</sup> _t_ Gauss point evolving material properties _ε_ <sup>Ω</sup> _t_ features _ε_ <sup>Ω</sup> _t_ _σ_ <sup>Ω</sup> _t_ macroscale FE model Figure 1: The hybrid surrogate combining a data-driven encoder for material parameters and a physics-based material model decoder. ### 2 Concurrent multiscale (FE 2 ) modeling In this section we present a short discussion on FE <sup>2</sup> modeling. The goal is not to be comprehensive - the interested reader is referred to [13, 14] for detailed discussions on the subject - but rather to expose the computational bottleneck associated with the method and pinpoint where surrogate models can be used to alleviate the issue. We then demonstrate how a Recurrent Neural Network (RNN) can be used as surrogate model and showcase some of the difficulties associated with their training and their extrapolation capabilities. 2.1 Scale separation and coupling In FE <sup>2</sup> we assume the problem being solved can be split into a homogeneous macroscopic domain Ω and a heterogeneous microscopic domain _ω_ _≪_ Ω where small-scale geometric features are resolved. Here we opt for a first-order homogenization approach assuming the displacements on both scales can be related by: (1) a linear contribution proportional to the macroscopic strains _ε_ <sup>Ω</sup> u <sup>_ω_</sup> = _ε_ <sup>Ω</sup> x <sup>_ω_</sup> + � u where microscopic displacements u <sup>_ω_</sup> are split into a linear contribution proportional to the macroscopic strains _ε_ <sup>Ω</sup> Since _ε_ <sup>Ω</sup> varies throughout the macroscopic domain, a micromodel for and a microscopic boundary-value equilibrium problem assuming small displacements and strains is solved:and a fluctuation term � u that accounts for microscopic heterogeneities. Since _ε_ <sup>Ω</sup> varies throughout the macroscopic domain, a micromodel for _ω_ is embedded at each Gauss point in Ω and a microscopic boundary-value equilibrium problem assuming small displacements and strains is solved:and a fluctuation term � u that accounts for microscopic heterogeneities. _ε_ <sup>_ω_</sup> = <sup><u>1</u></sup> _∇·_ _σ_ <sup>_ω_</sup> = 0 2 - _∇_ u <sup>_ω_</sup> + ( _∇_ u <sup>_ω_</sup> ) <sup>T�</sup> (2) microscopic stress _σ_ <sup>_ω_</sup> is related to microscopic strain _ε_ <sup>_ω_</sup> with traditional physics-based constitutive models for each phase in the heterogeneous domain. In the general case where the material models feature internal variables _α_, we can write the constitutive update for the microscale domain as: <sup>_ω_</sup> <sup>_ω_</sup> _tt−_ <sup>_,_</sup> <sup>_θ_</sup> 1 <sup>_,ω_</sup> <sup>_θ_</sup> <sup>)</sup> <sup>_ω_</sup> <sup>�</sup> _ε_ <sup>_ω_</sup> _t_ - <sup>_ε_</sup> _t_ <sup>_ω,_</sup> <sup>_ω_</sup> _t_ <sup>_,_</sup> <sup>_α_</sup> <sup>_ω_</sup> _t_ <sup>_ω,_</sup> <sup>_α_</sup> <sup>_ω_</sup> _tt_ <sup>_,_</sup> _M_ <sup>_ω_</sup> _α_ <sup>_ω_</sup> _t_ - _σ_ <sup>_ω_</sup> _t_ _σ_ <sup>_ω_</sup> _t_ <sup>_ω_</sup> _t_ <sup>=</sup> <sup>_A_</sup> <sup>_ω_</sup> _t_ <sup>=</sup> <sup>_S_</sup> <sup>(</sup> <sup>_ε_</sup> _t_ <sup>_ω,_</sup> <sup>_ω_</sup> (3) <sup>_ω_</sup> _tt−_ <sup>_,_</sup> <sup>_θ_</sup> 1 <sup>_,ω_</sup> <sup>_θ_</sup> <sup>)</sup> <sup>_ω_</sup> <sup>�</sup> where _θ_ <sup>_ω_</sup> are the material parameters of the microscopic constituents, the operators _A_ and _S_ can be split into an arbitrary number of blocks with different models ( _e_ . _g_ . elasticity, elastoplasticity, damage) for the different material phases, and _α_ <sup>_ω_</sup> is a concatenation of the internal variables of every microscopic Gauss point and therefore fully describes the path-dependent state of the microscopic problem. In order to determine the strains _ε_ <sup>Ω</sup> that serve as boundary conditions for the micromodels, a macroscopic smallstrain equilibrium problem is solved: - _∇_ u <sup>Ω�T�</sup> _ε_ <sup>Ω</sup> = <sup><u>1</u></sup> _∇·_ _σ_ <sup>Ω</sup> = 0 2 3 _∇_ u <sup>Ω</sup> + (4) but this time no constitutive assumptions are adopted. Macroscale stresses are instead directly homogenized from the microscopic response: _σ_ <sup>Ω</sup> = <sup><u>1</u></sup> _|ω|_ _σ_ <sup>_ω_</sup> d _ω_ (5) _ω_ which couples the macroscopic strain _ε_ <sup>Ω</sup> with the microscopic solution. Since Eq. (1) also couples the solutions in the opposite direction, a bidirectional coupling is formed which requires the two-scale equilibrium problem to be solved iteratively. 2.2 Data-driven surrogate modeling The coupled problem of Section 2.1 is extremely computationally demanding. The lower-scale domain _ω_ usually features complicated geometric features and must therefore be modeled with dense FE meshes in order to ensure accuracy. Worse yet, an independent microscopic problem must be solved at every integration point in Ω for every iteration of every time step of the simulation. This nested nature quickly forms a computational bottleneck. Since the bulk of the computational effort lies in solving the micromodels, a popular approach to make multiscale analysis viable for practical applications is to substitute the microscopic FE models by data-driven surrogates. The idea is to perform a number of micromodel simulations under representative boundary conditions and use the resulting stress-strain pairs to train a machine learning model to be deployed when performing the actual two-scale simulations of interest. Naturally, the approach tacitly assumes that the number of offline micromodel computations required to train the model is much smaller than the number of times the microscopic behavior will be computed online. In the following, we use a simple example to demonstrate a number of difficulties associated with training such a model to reproduce path-dependent material behavior. 2.3 Example: A one-dimensional RNN surrogate For this demonstration, we train a Long Short-term Memory (LSTM) network [47] to reproduce one-dimensional (single stress/strain component) elastoplasticity. The architecture of the model is shown in Fig. 2a and is implemented in PyTorch [48]. In order to minimize the risk of overfitting, a pragmatic model selection procedure is performed by first training the model with several non-monotonic strain paths and gradually increasing cell size until reasonable accuracy is obtained. This leads to a parsimonious model with a single LSTM cell with 5 latent units. At this point it is interesting to draw a parallel between the network and the micromodel whose behavior is being reproduced: the concatenation of the hidden state h and cell state c of the LSTM cell can be seen as a lower-dimensional surrogate for the set of microscopic internal variables _α_ <sup>_ω_</sup> of Eq. (3). However, in contrast to the variables in _α_, the latent variables h and c have no physical interpretation and evolve purely according to heuristic memory mechanisms that mimic patterns inferred during training. First, we train the LSTM using only monotonic data. Since only one strain component is being modeled, this initial dataset is composed simply of one strain path in tension and one in compression. The trained model is then used to predict a tension path with one unloading-reloading cycle. Having never seen unloading during training, the network reverses course and unloads on top of its loading path (Fig. 2b). This result is hardly surprising, but sheds light on the potentially deceiving nature of the training procedure: even though we are only concerned with a single strain component, predictions actually take place in an augmented space that describes strain paths in time which can be arbitrarily high-dimensional (as paths can be arbitrarily long). We can further demonstrate this manifestation of the _curse of dimensionality_ with the two additional examples of Fig. 3. In Fig. 3a we train the network with two unloading paths and it fails to predict a third one at an intermediate strain level. Here it can be deceiving to assume the third path can be interpolated from the other two: in the 48dimensional space of strain paths (we use paths with 48 time steps each) the network is actually operating far away from training data. In Fig. 3b the network tries to reproduce a path seen during training but we first let the material rest at zero strain for five time steps before loading starts and for another five time steps at the end of the path. With purely data-driven latent dynamics, the initial rest disturbs the memory structure of the network and causes large deviations for a large portion of the path. For the rest at the end of the path, we see that the surrogate fails to predict the characteristic that the stress does not change upon constant deformation. Training data-driven models to accurately reproduce path dependency is therefore not straightforward: their latent representations of material state are not interpretable and even phenomena as trivial as resting at zero strain must be learned from data. At the core of successful applications of RNNs to this task are either extensive datasets obtained 4 RVE RNN (unseen) h _t−_ 1 c _t−_ 1 _ε_ <sup>Ω</sup> _t_ <sup>Ω</sup> _t_ LSTM _σt_ <sup>Ω</sup> _t_ h _t_ c _t_ 120 100 80 60 40 20 0 (a) Model architecture 0 10 20 30 40 Time step [-] (b) Failure to predict unseen unloading Figure 2: An LSTM recurrent neural network as surrogate for 1D path-dependent material behavior trained with only monotonic data. 150 RVE RNN (trained) RNN (unseen) 100 50 RVE RNN (trained) RNN (unseen) 200 150 100 50 0 0 0 _._ 02 0 _._ 04 0 _._ 06 0 _._ 08 0 _._ 1 Strain [-] (a) Unloading at new strain level 0 0 0 _._ 02 0 _._ 04 0 _._ 06 0 _._ 08 0 _._ 1 Strain [-] (b) Stopping for 5 steps at _ε_ = 0 and _ε_ = 0 _._ 1 Figure 3: 1D LSTM surrogate trained with unloading/reloading and used to predict unseen unloading paths. 5 _ε_ <sup>Ω</sup> _t_ +1 _φ_ _t_ +1 _θ_ _t_ +1 feature extractor (fixed) encoder (learned) decoder (fixed) _α_ <sup>Ω</sup> _t−_ 2 ... _ε_ <sup>Ω</sup> _t−_ 1 _φ_ _t−_ 1 _θ_ _t−_ 1 _α_ <sup>Ω</sup> _t−_ 1 _σ_ <sup>Ω</sup> _t−_ 1 _ε_ <sup>Ω</sup> _t−_ 1 _ε_ <sup>Ω</sup> _t_ _φ_ _t_ _θ_ _t_ _α_ <sup>Ω</sup> _t_ _σ_ <sup>Ω</sup> _t_ _ε_ <sup>Ω</sup> _t_ _α_ <sup>Ω</sup> _t_ <sup>Ω</sup> _t_ +1 _α_ <sup>Ω</sup> _t_ +2... _σ_ <sup>Ω</sup> _t_ +1 _ε_ <sup>Ω</sup> _t_ +1 Figure 4: Graph representation of the hybrid model architecture combining a data-driven encoder and a physics-based decoder. Filled circles represent observable variables and hollow circles represent latent variables. with carefully crafted sampling strategies [33, 49] or highly tailored datasets for specific macroscopic problems [28]. Alternatively, active learning frameworks may be used to skip offline training altogether [50, 51], but at the cost of producing slower surrogates. ### 3 A hybrid surrogate model In this work we attempt to avoid the curse of dimensionality by relegating to a physics-based material model some of the tasks the RNN of Section 2.3 has to explicitly learn from data. In this section, we further formalize the hybrid approach of Fig. 1 by looking at the roles of each model component and their dependencies in time. We then particularize the model for the case of a feedforward neural network (FNN) encoder and discuss feature selection and numerical stabilization strategies. 3.1 Evolving material parameters Physics-based material models are traditionally formulated with a fixed set of parameters _θ_ either directly computed from a specific set of (numerical) experiments or indirectly from stress-strain measurements in a Maximum Likelihood Estimation (MLE) approach <sup>2</sup> . Here we start from the premise that letting (part of) _θ_ evolve in time increases flexibility and allows the model to capture more complex material behavior. Conversely, keeping the remainder of the model intact improves interpretability and provides physics-based bias to the data-driven model tasked to learn this evolution. In Fig. 4, the hybrid model of Fig. 1 is unrolled in time for a number of consecutive time steps and represented as a graph showing the dependencies between variables. Filled and hollow nodes represent observed and latent variables, respectively, and are color coded to represent the different model components in Fig. 1. Similar to the microscale models of Eq. (3), we assume the constitutive behavior at the macroscale is given by a physics-based material model: <sup>Ω</sup> _t_ <sup>_,_</sup> <sup>_θ_</sup> _t_ <sup>Ω</sup> _t_ _ε_ <sup>Ω</sup> _t_ <sup>_,_</sup> - _ε_ <sup>Ω</sup> _t_ <sup>_,_</sup> - _ε_ <sup>Ω</sup> _t_ <sup>Ω</sup> _t_ <sup>_,_</sup> <sup>_α_</sup> <sup>Ω</sup> _t_ <sup>Ω</sup> _t_ <sup>_,_</sup> <sup>_α_</sup> <sup>Ω</sup> _t_ <sup>Ω</sup> _t−_ 1 <sup>_,_</sup> <sup>_θ_</sup> _t_ <sup>Ω</sup> _t_ _M_ <sup>Ω</sup>      _α_ <sup>Ω</sup> _t_ _σ_ <sup>Ω</sup> _t_ <sup>Ω</sup> _t_ <sup>=</sup> <sup>_A_</sup> <sup>Ω</sup> _t_ <sup>=</sup> <sup>_S_</sup> _t_ <sup>Ω</sup> (6) but now with time-dependent parameters _θ_ _t_ . Note that the model response at time _t_ depends on the material state at time _t−_ 1 through a set of internal variables _α_ _t_ <sup>Ω</sup> _−_ 1 <sup>(Fig. 4). This gives the model a recurrent nature not unlike that of the</sup> RNN of Fig. 2a with its state variables c and h . The advantage here is that _α_ has clear physical interpretation (plastic time _t−_ 1 through a set of internal variables _α_ _t_ <sup>Ω</sup> _−_ 1 <sup>(Fig. 4). This gives the model a recurrent nature not unlike that of the</sup> RNN of Fig. 2a with its state variables c and h . The advantage here is that _α_ has clear physical interpretation (plastic strains, damage variables, etc) and its evolution is handled by the fixed operator _A_ composed of clearly interpretable algorithmic steps grounded in physics and/or classical material phenomenology ( _e_ . _g_ . a return mapping algorithm). 2The parameters _θ_ can also be estimated through Bayesian inference and would therefore be described by a multivariate probability density instead of a fixed set of values. Regardless, that density would still be stationary in time. 6 On the encoder side, we let the material properties _θ_ evolve according to an evolution operator _D_ whose shape is learned from data: _θ_ _t_ = _D_ ( _ϕ_ _t_ ) (7) as a function of a set of features _ϕ_ that are themselves obtained from the macroscopic strains through a feature extractor _F_ : _ε_ <sup>Ω</sup> (8) _ϕ_ _t_ = _F_ _ε_ <sup>Ω</sup> _t_ _t_ (8) - derived from it. More importantly, note that _θ_ _t_ where _ϕ_ _t_ could be simply the strains themselves or other quantities derived from it. More importantly, note that _θ_ _t_ depends only on the current features _ϕ_ _t_ and we therefore assume the encoder is not recurrent (Fig. 4). This choice effectively limits the flexibility of _D_ and makes the hybrid surrogate fully rely on the more robust model _M_ <sup>Ω</sup> to explain path-dependent phenomena, helping counter the curse of dimensionality associated with sampling strain paths. For instance, it opens up the possibility to train the surrogate exclusively with monotonic data, as we will demonstrate in the examples of Section 4. In the following sections, we particularize the model for the case of _D_ being a fully-connected neural network and for specific choices of _F_ and _M_ . Nevertheless, the general architecture of Figs. 1 and 4 is meant to be as flexible as possible: - The nature and dimensionality of _ϕ_ is not tied to that of _ε_ <sup>Ω</sup> since strains are also given directly to _M_ <sup>Ω</sup> ; - Other machine learning models for regression can also be used as _D_, and it could in principle be split into different models handling the evolution of different subsets of _θ_ . Any number of model parameters may also be left out of _θ_ and either fixed as constants or optimized to constant values during training; - No assumption is made on the form of _M_ <sup>Ω</sup> or the nature or dimensionality of _α_ <sup>Ω</sup> . Instead of a single model, it could also for instance be a mixture of physics-based models combined with analytical homogenization techniques. 3.2 Feature extractors A pragmatic choice for _F_ is to simply assume _ϕ_ is the macroscopic strain vector _ε_ <sup>Ω</sup> itself. It is also a familiar one, as we can then relate the resulting model to conventional surrogates mapping strains to stresses. However, since macroscopic strains are also directly passed on to the decoder, the architecture gives us the freedom to experiment with different features. Fig. 5 shows the two model architectures we explore in this work. For the two variants in Fig. 5a we either use _ε_ <sup>Ω</sup> itself or a set of small-strain invariants of the macroscopic strain tensor of increasing dimensionality: I <sup>Ω</sup> _ε_ <sup>=</sup> 1 or I <sup>Ω</sup> _ε_ - _I_ _ε_ <sup>Ω</sup> _ε_ <sup>=</sup> 1 _I_ 2 <sup>_ε_</sup> (9) - _I_ _ε_ where the variants are given by the well-known expressions: tr ( _ε_ ) <sup>2</sup> _−_ tr - _ε_ <sup>2��</sup> _I_ 1 <sup>_ε_</sup> 1 <sup>_ε_</sup> <sup>= tr (</sup> <sup>_ε_</sup> <sup>)</sup> <sup>_,_</sup> _I_ 2 <sup>_ε_</sup> 2 <sup>_ε_</sup> <sup>=</sup> <sup><u>1</u></sup> 2 (10) Additionally, since the current study focus on elastoplasticity, it is also interesting to explore feature spaces including invariants from the deviatoric strain tensor: 1 _J_ 2 <sup>_ε_</sup> (11) - _I_ _ε_ I <sup>Ω</sup> _ε_ <sup>=</sup> 2 or I <sup>Ω</sup> _ε_ <sup>=</sup> - _J_ _ε_ where: _J_ 2 <sup>_ε_</sup> <sup>=</sup> <sup><u>1</u></sup> 2 (12) 3 <sup>(</sup> <sup>_I_</sup> 1 <sup>_ε_</sup> <sup>)2</sup> <sup>_−_</sup> <sup>_I_</sup> <sup>_ε_</sup> By using features based on invariants and since the decoder material model is itself already frame invariant for small strains, it follows that the resulting surrogate will naturally inherit this beneficial characteristic. This stands in contrast with traditional black-box surrogates mapping strains to stresses. Furthermore, opting for invariant-based features can be seen as a physics-based dimensionality reduction operation that can potentially reduce the amount of data needed to train the hybrid model. 7 _θ_ _α_ _M_ _σ_ <sup>Ω</sup>, D <sup>Ω</sup> _ε_ <sup>Ω</sup> _α_ _M_ _σ_ <sup>Ω</sup>, D <sup>Ω</sup> _ε_ <sup>Ω</sup> Precalibrated model _~~α~~_ _θ_ _ε_ <sup>Ω</sup> or I <sup>Ω</sup> _ε_ Feedforward NN _<u>· · ·</u>_ Feedforward NN _<u>· · ·</u>_ _ε_ <sup>Ω</sup> _M_ _~~α~~_ or I _σ_ ¯ (a) Macroscopic strains or invariants directly used as features (b) Features extracted from an informative microscopic constitutive model Figure 5: The two types of FNN-based model architectures explored in this work, with different feature extraction steps. We also investigate the possibility of extracting features from the outputs of a precalibrated physics-based material model _M_ subjected to the same strain path seen at the macroscale (Fig. 5b). Note that this specific <u>architecture</u> introduces an additional recurrent component to the model through the set _~~α~~_ of internal variables of _M_ . From a machine learning perspective, the role of _M_ would be analogous to that of a temporal convolution operator or an RNN cell appended to the encoder. The key difference, however, is that _M_ is fixed _a priori_ and therefore should not require extra sampling effort with respect to the more straightforward extractor in Fig. 5a. Naturally, different choices for _M_ yield models with distinct learning capabilities, and we therefore assume _M_ encapsulates relevant information about not only the current values of _ε_ <sup>Ω</sup> but also of its history. In the present scenario where the data is coming from micromodel computations, we opt for the intuitive choice of having _M_ be one of the known constitutive models used to describe the microscopic material phases. We can therefore conceptually see _M_ as an imaginary representative material point at the microscale that is always subjected to the average micromodel strain. We then use either a subset of its internal variables _~~α~~_ or a set of invariants I _σ_ ¯ of its stress outputs as features. 3.3 Neural network encoder For simplicity, we opt for modeling the evolution of _θ_ using classical feedforward neural networks with fullyconnected layers. As both architectures in Fig. 5 ultimately compute macroscopic stresses given macroscopic strains, we can use supervised learning to train the model with a straightforward Maximum Likelihood approach. Gathering the complete set of network weights in a vector w and seeing the complete surrogate as a monolithic model that (13) computes an approximation _σ_ - for stresses, we adopt the following observation model for the snapshot stresses _ξ_ _∼N_ _ξ|_ 0 _, β_ <sup>_−_</sup> <sup>1</sup> I _σ_ : - where the superscript Ω is dropped for convenience, I is an identity matrix, and _ξ_ is an additive Gaussian noise <sup>3</sup> . _σ_ = _σ_ - ( _ε_ _,_ w ) + _ξ,_ Under the assumption of a squared loss, maximizing the likelihood of a training dataset with _N_ observations amounts to minimizing the loss function [45]: (13) _σ_ : and _ξ_ is an additive Gaussian noise <sup>3</sup> . _ξ_ _∼N_ for convenience, I is an _σ_ = _σ_ - ( _ε_ _,_ w ) + _ξ,_ _ξ|_ 0 _, β_ <sup>_−_</sup> <sup>1</sup> I matrix, _L_ = <sup><u>1</u></sup> 2 _N_ _n_ =1 _n_ =1 _∥_ _σ_ being _n −_ _σ_ �simply ( _ε_ _n,_ w _β_ ) _∥_ = <sup>2</sup> _N/_ 2 _L_ . The resulting loss function is(14)the with the variance of the noise that explains data misfit being simply _β_ = _N/_ 2 _L_ . The resulting loss function is the same one used for conventional data-driven surrogates and is therefore straightforward to implement. Nevertheless, it is worth noting that since we cannot directly observe _θ_, computing the gradients of _L_ with respect to w involves backpropagating derivatives through the decoder _M_ . Furthermore, since w affects the evolution of the internal variables _α_, backpropagation in time becomes necessary. Starting from Eq. (14) and walking back through and the random variable _ξ_ is therefore still necessary to explain why the model does not exactly fit every single observation in the dataset. 3Even though our observations come from a computer model and can be considered noiseless, the surrogate � _σ_ is in general not arbitrarily flexible 8 the graph of Fig. 4, the gradient of the loss at time step _t_ of a given strain path is given by: _∂_ _θ_ _t_ ¯ _t_ ˜= _t_         _<u>∂</u>_ _<u>θ</u>_ _<u>t</u>_ _∂_ _α_ _t_ _∂_ w <sup>+</sup> <sup>_<u>∂</u>_</sup> <sup>_<u>σ</u>_</sup> <sup><u>�</u></sup> <sup>_<u>t</u>_</sup> 1 _t_ ¯=� _t−_ 1    _∂_ _θ_ _t_ ¯  <sup>_<u>∂</u>_</sup> <sup>_<u>α</u>_</sup> <sup>_<u>t</u>_</sup> <sup>¯</sup>        (15)   If _<u>∂Lt</u>_ _<u>∂L∂</u>_ w _<u>t</u>_ <sup>=</sup> <sup>_<u>∂L</u>_</sup> _<u>∂</u>_ _<u>θ</u>_ _<u>t</u>_ _∂_ _α_ _t_ _∂_ w <sup>+</sup> <sup>_<u>∂</u>_</sup> <sup>_<u>σ</u>_</sup> <sup><u>�</u></sup> <sup>_<u>t</u>_</sup> _t_ ¯+1 _t_ ˜= _t_ _∂_ _θ_ _t_ _<u>∂</u>_ _<u>σ</u>_ <u>�</u> _<u>t</u>_ _<u>∂</u>_ _<u>α</u>_ _<u>t</u>_ _∂_ _θ_ _t_ _∂_ _σ_ - _t_      _<u>∂</u>_ _<u>θ</u>_ _<u>t</u>_ ¯ _∂_ w _<u>∂</u>_ _<u>α</u>_ _<u>t</u>_ <u>˜</u> _∂_ _α_ _t_ ˜ _−_ 1 where the remaining gradient chain _∂_ _θ_ _/∂_ w is computed with conventional backpropagation through the network. If _M_ is implemented in a code base that allows for automatic differentiation ( _e_ . _g_ . in PyTorch), these time dependencies are naturally taken into account as long as a persistent gradient tape is used within each strain path <sup>4</sup> . In this work we instead implement network training directly into an existing FE code, and therefore opt for the pragmatic approach of computing all partial derivatives of quantities derived from _M_ using finite differences. Finally, in order to enforce upper and lower bounds for _θ_ and avoid unphysical parameter values ( _e_ . _g_ . negative elasticity moduli), we apply sigmoid activation to the final layer of the network and scale the parameters back from a [0 _,_ 1] range using predefined bounds: _θi_ = _θi_ <sup>low</sup> _i_ <sup>low</sup> + _θi_ <sup>_σ_</sup> _i_ _θi_ <sup>upp</sup> _i_ <sup>upp</sup> _i_ _−_ _θ_ <sup>low</sup> _i_ (16) 3.4 Material decoders As previously mentioned, any constitutive model can in principle be used as _M_ . For the present study we focus on reproducing elastoplasticity and therefore narrow our choices down to the following set of potential decoders with increasing levels of complexity. The simplest one is a linear-elastic isotropic material with no internal variables: _σij_ = _Dijklεkl_ with _Dijkl_ = _G_ ( _δijδkl_ + _δilδjk_ ) + _K −_ <sup><u>2</u></sup> 3 <sup>_G_</sup> _δijδkl_ (17) - where index notation is used for convenience. For this model, _θ_ comprises only the bulk and shear moduli _K_ and _G_, or equivalently the Young’s modulus _E_ the Poisson’s ratio _ν_ . The second decoder option is a simple plasticity model with _J_ 2 (von Mises) flow. The stress update in this case becomes: _σij_ = _Dijkl_ _ij_ _εij_ _−_ _ε_ <sup>p</sup> - _ε_ <sup>p</sup> _ij_ (18) ) contributions.� The yield criterium and plastic flow where strain is additively decomposed into elastic and plastic ( _ε_ <sup>p</sup> ) contributions. The yield criterium and plastic flow rule are given by: _φ_ = 3 _J_ 2 <sup>_σ_</sup> <sup>_−_</sup> <sup>_σ_</sup> <sup>y</sup> <sup>_≤_</sup> <sup>0</sup> and ∆ _ε_ <sup>p</sup> _ij_ <sup>p</sup> _ij_ <sup>= ∆</sup> <sup>_γ_</sup> <u>3</u> _<u>Sij</u>_ 2 ~~�~~ _∥Sij∥_ F (19) where S is the deviatoric part of the stresses, _γ_ is a plastic multiplier, _σ_ y is a yield stress parameter and we write the Frobenius norm as _∥·∥_ F. In order to keep the model as simple as possible, we assume _σ_ y is a material constant and therefore end up with a perfectly-plastic model with associative flow. The internal variables of this model are components of the plastic strain vector _ε_ <sup>p</sup> and the only new material parameter is the yield stress _σ_ y. Finally, we also consider the more complex pressure-dependent, non-associative plasticity model proposed by Melro _et al_ . [52]. Stress update is the same as in Eq. (18), but yield surface and plastic flow are given by: (20) 2 <sup>_σ_</sup> <sup>+ 2</sup> <sup>_I_</sup> 1 <sup>_σ_</sup> <sup>(</sup> <sup>_σ_</sup> <sup>c</sup> <sup>_−_</sup> <sup>_σ_</sup> <sup>t)</sup> <sup>_−_</sup> <sup>2</sup> <sup>_σ_</sup> <sup>c</sup> <sup>_σ_</sup> <sup>t</sup> <sup>_≤_</sup> <sup>0</sup> and ∆ _ε_ <sup>p</sup> _ij_ 3 _Sij_ + <sup><u>1</u></sup> <sup>_<u>−</u>_</sup> <sup><u>2</u></sup> <sup>_<u>ν</u>_</sup> <sup><u>p</u></sup> _I_ 1 <sup>_σδij_</sup> 1 + _ν_ p 3 _Sij_ + <sup><u>1</u></sup> <sup>_<u>−</u>_</sup> <sup><u>2</u></sup> <sup>_<u>ν</u>_</sup> <sup><u>p</u></sup> _I_ 1 <sup>_σ_</sup> 1 + _ν_ p _φ_ = 6 _J_ 2 <sup>_σ_</sup> <sup>p</sup> _ij_ <sup>= ∆</sup> <sup>_γ_</sup> where _δij_ is the Kronecker delta, _σ_ t and _σ_ c are yield stresses in tension and compression, respectively, and _ν_ p is a new parameter controlling plastic contraction and allowing for compressible plastic flow. Hardening can be described by making the yield stresses general functions of _ε_ <sup>p</sup>, but when used as a decoder we assume _σ_ t and _σ_ c do not depend on _ε_ <sup>p</sup> and instead let the decoder _D_ describe their evolution. The model by Melro _et_ _al_ . [52] is also the one used to describe the microscopic material phase responsible for the nonlinear behavior observed when homogenizing micromodel response, and can therefore be seen as the natural choice for _M_ . Nevertheless, the other two decoders can provide interesting insights on the effect of introducing different levels of bias to the hybrid model. 4This is already the case for RNNs, so switching from RNNs to the present model should require little to no changes to the way training is performed. 9 3.5 Online predictions and inherited stability The architecture of Fig. 1 is developed to be minimally intrusive and allow for existing material models to be used as decoders with minimum effort. We therefore implement the online routine of the model as a wrapper around an existing implementation of _M_ . The basic structure of the wrapper can be seen in Algorithm 1. The hybrid nature of the model allows for a robust approach that ensures the numerical stability of the original model _M_ is inherited by the surrogate. This is achieved by only updating _θ_ at the end of each time step, after the global implicit NewtonRaphson scheme converges. Material properties are therefore fixed while the global solver is iterating, and that means the tangent stiffness D comes directly from _<u>M</u>_ and inherits its stability features. <u>Algorithm 1:</u> <u>Material wrapper implementing the online component of the hybrid surrogate.</u> Input: strain _ε_ <sup>Ω</sup> Input: strain _ε_ <sup>Ω</sup> new <sup>at macroscopic Gauss point</sup> Output: stress _σ_ <sup>Ω</sup> and stiffness D <sup>Ω</sup> at macroscopic Gauss point 1 use nested model with converged parameters and internal state: _σ_ <sup>Ω</sup> _,_ D <sup>Ω</sup> _,_ _α_ new 2 if _global solver has converged_ : _←M_ _ε_ <sup>Ω</sup> new <sup>_,_</sup> <sup>_α_</sup> <sup>old</sup> <sup>_,_</sup> <sup>_θ_</sup> ; 2 if _global solver has converged_ : 3 4 store latest converged strain: _ε_ old _←_ _ε_ new; 4 5 commit material history: _α_ old _←_ _α_ new; 5 6 compute new features: _ϕ_ new _←F_ ( _ε_ new); 6 update model parameters for the upcoming time step: _θ_ _←D_ ( _ϕ_ new); 7 if _first global iteration of time step_ and _Gauss point is unstable_ : 8 stabilize encoder: _D_ _←_ `stabilizeNetwork` _ε_ <sup>Ω</sup> <u>�</u> ; <u>�</u> new 9 recompute features: _ϕ_ old _←F_ _ε_ <sup>Ω</sup> old <u>�</u> old ; <u>�</u> 10 recompute model parameters for the current time step: _θ_ _←D_ ( _ϕ_ old); 11 return _σ_ <sup>Ω</sup> _,_ D <sup>Ω</sup> As an example, the _J_ 2 plasticity model of Eq. (19) is unconditionally stable as long as its hardening modulus _h ≥_ 0 for any _ε_ <sup>Ω</sup> _t_ <sup>_,_</sup> <sup>_α_</sup> _t_ <sup>Ω</sup>, which is the case for the perfectly-plastic version we consider here. It then follows that any hybrid _ε_ <sup>Ω</sup> _t_ As an example, the _J_ 2 plasticity model of Eq. (19) is unconditionally stable as long as its hardening modulus _h ≥_ 0 for any _ε_ <sup>Ω</sup> _t_ <sup>_,_</sup> <sup>_α_</sup> _t_ <sup>Ω</sup>, which is the case for the perfectly-plastic version we consider here. It then follows that any hybrid surrogate with _J_ 2 decoder is also unconditionally stable. Note that this is only possible because strains are directly - passed on to the decoder and would therefore not be an option for conventional surrogates ( _e_ . _g_ . the RNN of Fig. 3). For those surrogates, the tangent stiffness would come directly from the jacobian of a highly-flexible data-driven model, often at the cost of numerical stability. <sup>Ω</sup> _t_ <sup>_,_</sup> <sup>_α_</sup> _t_ <sup>Ω</sup> _t_ 3.6 Numerical stabilization Nevertheless, the decoder _M_ may be inherently unstable even with fixed material constants. This is for instance the case for the model by Melro _et_ _al_ . [52]: the non-associative flow rule of Eq. (20) can cause the tangent stiffness D <sup>Ω</sup> to lose positive definiteness under certain strain conditions and for certain combinations of model parameters. To accommodate such a scenario and open up the possibility for online model adaptivity in other contexts, we propose a scheme for updating the encoder _D_ on the fly in order to enforce extra constraints locally. Back to Algorithm 1, at the beginning of a new time step we keep _θ_ fixed to the one obtained with converged strains from the previous step and let the solver make a first strain prediction. After this first iteration, a stability criterion is checked and used to define a new loss function that can be used to update network weights in case instability is detected. Here we employ the determinant of the acoustic tensor Q : Q = n <sup>T</sup> _d_ <sup>D</sup> <sup>Ω</sup> <sup>n</sup> <sup>_d_</sup> (21) where n _d_ is the vector normal to the strain localization direction creating the instability, which we find through an angle sweep procedure as in [53]. We then use det ( Q ) as a metric of stability and trigger a retraining procedure in case a negative value is detected. We then introduce a new loss function: (22) _L_ Q = _−_ <sup>_<u>⟨</u>_</sup> <sup>det (</sup> det ( <sup>Q</sup> Q <sup>)</sup> 0 <sup>_<u>⟩</u>_</sup> ) <sup>_<u>−</u>_</sup> 10 Linear-elastic fibers Elastoplastic matrix Figure 6: The micromodel used in the examples of this work. where _⟨·⟩−_ extracts the negative part of its operand and Q 0 is a reference value for the acoustic tensor computed at the start of the simulation. We minimize this new loss at every unstable point for a small number of epochs with low learning rate, and to discourage significant drifts from the original model we finish the stabilization procedure by updating the network using the original loss of Eq. (14) for a single minibatch. Finally, _θ_ is updated using the retrained model and is kept fixed for the remaining iterations <sup>5</sup> . Note that the local constraint of Eq. (22) is therefore only enforced in a soft way and remaining instabilities might still cause the global solver to diverge, in which case we cancel the current increment, go back to the beginning of the time step and allow for the procedure to be triggered again. ### 4 Numerical examples The proposed model was implemented in an in-house Finite Element code developed using the open-source C++ numerical analysis library Jem/Jive [54]. In order to allow for seamless online retraining, network training was also implemented within the same code. We start this section by describing the datasets and model selection strategies used to build the surrogates. We then investigate the performance of the approach under several choices of encoders and decoders. Finally, we use the model within an FE <sup>2</sup> simulation and demonstrate the online stabilization procedure of Section 3.5. All simulations are performed on cluster nodes equipped with Xeon E5-2630V4 processors and 128 GB RAM running CentOS 7. 4.1 Data sampling and model selection Models are trained to reproduce the behavior of the fiber-reinforced composite micromodel shown in Fig. 6. Fibers are modeled as linear-elastic and the matrix is described by the pressure-dependent non-associative elastoplastic model by Melro _et al_ . [52] (Section 3.4). Microscale material properties are adopted from [10]. The microscopic geometry shown in Fig. 6 results from an RVE study performed in [10] and is therefore considered representative. Following the discussion in Section 3, our aim is to investigate up to which extent it is possible to circumvent the curse of dimensionality associated with path dependency by training surrogates exclusively on monotonic strain paths and having time-dependent behavior arise naturally from a physics-based decoder. We therefore limit ourselves to monotonic paths for training. For consistency, we also employ exclusively motononic data to perform model selection. For efficiency, we limit the present investigation to 2D simulations ( _i_ . _e_ . three strain components) in the plane perpendicular to the fibers, but nevertheless expect the discussion and conclusions to generalize to 3D simulations as long as appropriate orthotropic decoders are employed. Datasets with 2000 monotonic strain paths are generated under both plane strain and plane stress assumptions. Fig. 7 shows the complete plane strain dataset, with a similar one also being generated for plane stress. Each path is generated with an FE <sup>2</sup> simulation of a single macroscopic element under displacement control along a fixed direction in strain space sampled from a uniform distribution. To circumvent convergence issues, we employ an adaptive time stepping technique that progressively reduces time step size when the simulation does not converge and gradually increases it back for subsequent increments. The simulations are stopped once a strain norm of 10 % is reached. As the adaptive scheme leads to paths with different numbers of 5Changing _D_ and therefore _θ_ after every iteration would not work in favor of improving stability, but rather have the opposite effect. 11 0 _._ 1 0 _._ 05 0 _−_ 0 _._ 05 _−_ 0 _._ 1 200 0 _−_ 200 _−_ 400 _−_ 600 0 _._ 1 0 _._ 05 0 _−_ 0 _._ 05 _−_ 0 _._ 1 100 50 0 _−_ 50 _−_ 100 _−_ 0 _._ 1 _−_ 0 _._ 05 0 0 _._ 05 0 _._ 1 _εyy_ [-] _−_ 0 _._ 1 _−_ 0 _._ 05 0 0 _._ 05 0 _._ 1 _εxx_ [-] 0 _._ 1 0 _._ 05 0 _−_ 0 _._ 05 _−_ 0 _._ 1 200 0 _−_ 200 _−_ 400 _−_ 600 _−_ 0 _._ 1 _−_ 0 _._ 05 0 0 _._ 05 0 _._ 1 _εxx_ [-] _−_ 0 _._ 1 _−_ 0 _._ 05 0 0 _._ 05 0 _._ 1 _γxy_ [-] _−_ 0 _._ 1 _−_ 0 _._ 05 0 0 _._ 05 0 _._ 1 _εxx_ [-] _−_ 0 _._ 1 _−_ 0 _._ 05 0 0 _._ 05 0 _._ 1 _εyy_ [-] Figure 7: The complete plane strain dataset used to train the surrogates, comprising 2000 monotonic strain-stress paths. A similar dataset is generated under plane stress conditions. time increments, we balance the dataset by ensuring every path is composed of 30 steps with strain norms as equally spaced as possible. To keep model selection straightforward and avoid the need for cumbersome k-fold cross validation or bootstrapping, we train a preliminary model with enough flexibility and an extensive training dataset and gradually increase the size of the validation set until the validation error converges to a good estimate of the expected prediction error [55]. This results in validation sets with 500 paths selected at random from the original datasets, leaving 1500 paths to be used for training. We then perform model selection by gradually increasing the complexity of our FNN encoders until the validation error stabilizes. From experimenting with different architectures, we find that encoders with 5 hidden layers of 50 units each with Scaled Exponential Linear Unit (SELU) [56] activation provide enough flexibility for all the examples treated here. To ensure enough regularization when computing learning curves with small datasets, we employ Bernoulli dropout layers with a rate of 1 % after every hidden layer. Networks are trained for 20 000 epochs and the model with lowest historical validation error is kept after training, further reducing the risk of overfitting on small datasets. To assess the capabilities of the trained surrogates, we compute an additional test dataset comprising 50 monotonic, 150 100 50 0 _xx_ _yy_ _xy_ _−_ 0 _._ 01 0 0 _._ 01 0 _._ 02 0 _._ 03 0 _._ 04 Strain [-] (a) Monotonic _xx_ _yy_ _xy_ _−_ 0 _._ 02 0 0 _._ 02 0 _._ 04 0 _._ 06 0 _._ 08 0 _._ 1 Strain [-] (c) Slow cycling _xx_ _yy_ _xy_ _−_ 0 _._ 1 _−_ 0 _._ 05 0 0 _._ 05 Strain [-] (b) Unloading-reloading 100 0 _−_ 100 _−_ 200 0 _−_ 100 _−_ 200 Figure 8: Examples from a test dataset with 50 paths of each type. They are not used to train any of the networks or perform model selection. 12 [ _εxx_ _εyy_ _γxy_ ] _→_ FNN 10 <sup>2</sup> 10 <sup>1</sup> _I_ 1 <sup>_ε_</sup> 1 <sup>_ε/I_</sup> 2 <sup>_ε_</sup> _→_ Elastic [ _εxx_ _εyy_ _γxy_ ] _→_ FNN _I_ 1 <sup>_ε/I_</sup> 2 <sup>_ε_</sup> _→_ FNN _xx_ _εyy_ - _γxy_ ] _→_ - Elastic 1 <sup>_ε/I_</sup> 2 <sup>_ε_</sup> _→_ FNN _γxy_ ] _→_ - Elastic 250 200 150 100 50 0 [ _εxx_ _εyy_ _γxy_ ] _→_ Elastic _I_ 1 <sup>_ε/I_</sup> 2 <sup>_ε_</sup> _→_ Elastic - 1 <sup>_ε/I_</sup> 2 <sup>_ε_</sup> _→_ Elastic 0 20 40 60 80 100 120 140 Number of training paths [] (a) Expectations over 50 datasets of each size 5 10 15 20 25 30 Number of training paths [] (b) Detailed comparison including standard deviations Figure 9: Learning curves of models with elastic decoders and conventional FNN models. Mean error over the 500 validation monotonic paths. 50 unloading-reloading and 50 slow cycling paths, examples of which are shown in Fig. 8. To keep the comparisons fair, none of these paths are used to perform model selection and are therefore only considered after the surrogates are trained. We will use example curves like those from Fig. 8 for visual inspection of the model performance, but also the complete sets of 50 curves each for more rigorous statistical analysis. 4.2 Elastic decoder It is interesting to first consider the simple linear-elastic decoder of Eq. (17), as it has no internal variables and therefore leads to a surrogate model comparable in nature to a conventional FNN trained on stress-strain pairs. As we will demonstrate, however, the limited physical bias provided by such simple model already proves advantageous. Here we let both elastic properties be controlled by the learned encoder: _θ_ = - _E_ _ν_ <sup>�</sup> (23) where the bounds 10 <sup>1</sup> _< E_ _<_ 10 <sup>5</sup> and 0 _< ν_ _<_ 0 _._ 5 are enforced as described in Eq. (16). We first perform a feature selection study and investigate how efficiently the model learns as the size of the dataset is increased. From the original plane strain training dataset of 1500 monotonic strain paths, we draw datasets with sizes ranging between 1 and 150 paths without replacement and use them to train networks with different encoder features. To get a reliable estimate of the expected prediction error, we repeat this process 50 times for each dataset size and encoder type, and for comparison we also do the same for conventional FNNs trained directly on stress targets (keeping the same architecture but going directly from the final hidden layer to stresses). This amounts to a total of 500 paths left for validation. 3400Fig. 9a plots averages of the validation error over the trained networks from which we can compute an estimate of the prediction error by averaging 50 training datasets used for each size. Although the hybrid _∥_ _σ_ _−_ _σ_ - _∥_ over the architecture does not show an advantage over the FNN when the encoder is trained on strain features, there is a clear gain in learning speed when using only the two first strain invariants as features. Apart from accelerating learning and resulting in lossless dimensionality reduction, using invariants also results in a surrogate which is frame invariant under small strains. For comparison, we also train a conventional FNN on the same set of features, but those are unsurprisingly not enough to describe general strain states and much of the material response is interpreted by the FNN as observation noise. We zoom into the first part of the learning curves in Fig. 9b, this time also showing single standard deviation uncertainty bands coming from the variance among the 50 training datasets. The hybrid network outperforms conventional FNNs in the low data regime and tends to be less sensitive to changes in dataset starting from about 20 training paths. Nevertheless, the extra flexibility of conventional FNNs allow them to achieve lower validation errors if significantly more training paths are used. Training the invariant-based hybrid network with the complete dataset of 1500 curves leads to surrogates with validation errors of about 4 MPa, accurately representing the monotonic behavior of the original micromodel. Fig. 10 13 150 100 50 0 _xx_ _yy_ _xy_ Micromodel _I_ 1 _/I_ 2 _→_ Elastic 0 0 _._ 02 0 _._ 04 0 _._ 06 0 _._ 08 Strain [-] (a) Monotonic Micromodel _I_ 1 _/I_ 2 _→_ Elastic _−_ 300 _−_ 0 _._ 1 _−_ 0 _._ 05 0 0 _._ 05 Micromodel _I_ 1 _/I_ 2 _→_ Elastic 0 _−_ 100 _−_ 200 100 0 _−_ 100 _−_ 200 _xx_ _yy_ _xy_ Micromodel _I_ 1 _/I_ 2 _→_ Elastic _xx_ _yy_ _xy_ _−_ 0 _._ 04 _−_ 0 _._ 02 0 0 _._ 02 0 _._ 04 0 _._ 06 0 _._ 08 Strain [-] Strain [-] (b) Unloading-reloading (c) Slow cycling Figure 10: Performance of the elastic decoder model for different test scenarios. 0 _−_ 200 _−_ 400 100 0 _−_ 100 _xx_ _yy_ _xy_ Micromodel _I_ 1 _/I_ 2 _→_ Elastic _−_ 0 _._ 1 _−_ 0 _._ 08 _−_ 0 _._ 06 _−_ 0 _._ 04 _−_ 0 _._ 02 0 Strain [-] Strain [-] _xx_ _yy_ _xy_ Micromodel _I_ 1 _/I_ 2 _→_ Elastic _I_ 1 _/I_ 2 _→_ Elastic _−_ 200 _−_ 0 _._ 05 0 0 _._ 05 0 _._ 1 Figure 11: Predicting unloading with a linear-elastic decoder through history-aware feature extraction. shows representative predictions of this model for paths from the test set. As expected, this surrogate with no internal variables is not capable of predicting non-monotonic strain paths, and effectively behaves like a hyperelastic material model just as the conventional FNN would. Nevertheless, the flexible and interpretable encoder-decoder architecture of Fig. 1 allows for new creative approaches in feature selection. As a demonstration, we keep the trained network of Fig. 10 intact and only modify its feature extractor to introduce a simple path-dependent mechanism: 2 <sup>_ε_</sup> <sup>)</sup> _t_ (24) _~~ε~~_ 2 _T_ <sup>= argmax</sup> 0 _<t<T_ 0 _<t<T_ _ϕ_ _T_ _≡_ _I_ <u>�</u> _ε_ 1 _I_ ( _I_ 1 <sup>_ε_</sup> 1 <sup>_ε_</sup> <sup>)2</sup> _t_ <sup>+ (</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> which freezes the evolution of _θ_ if the path becomes non-monotonic. Note that the network does not need to be retrained and this modification can be employed exclusively when making online predictions, as the new features reduce to the original ones for the monotonic paths used for training. We plot two representative non-monotonic paths predicted by the modified model in Fig. 11. From the hyperelastic behavior of Fig. 10, the modified surrogate now behaves as a damage model: the non-linear material behavior is explained by a loss of stiffness which is made persistent by the history-aware feature extractor. Nevertheless, although an improvement to the original model, it is unreasonable to expect the physical bias introduced by a purely elastic model to reliably represent an elastoplastic micromodel. We therefore move to decoders with more relevant physics. 4.3 _J_ 2 decoder In this section we choose as decoder _M_ the elastoplastic model of Eq. (19) with _J_ 2 plastic flow. Standing on its own, the model is _a priori_ perfectly plastic (constant _σ_ y) <sup>6</sup>, but here we let its yield stress be controlled by the data-driven 6We also experimented with models with linear hardening but since the encoder is in principle a universal approximator, no additional flexibility is obtained by assuming more complex hardening behavior. There are also no gains to be booked in terms of numerical stability, as a perfectly-plastic _J_ 2 model is already unconditionally stable. 14 50 40 30 20 10 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>_J_</sup> 2 [ _I_ 1 <sup>_ε_</sup> Precalibrated mesomodel 0 0 50 100 150 200 Training epoch [-] Figure 12: Evolution of the mean validation loss for the first 200 training epochs of a network with _J_ 2 decoder. Single dataset with 1500 monotonic paths. encoder: _θ_ = (25) - _σ_ y�modulus and Poisson’s ratio fixed to values obtained while enforcing 10 <sup>1</sup> _<_ _σ_ y _<_ 10 <sup>3</sup> and keeping the Young’s modulus and Poisson’s ratio fixed to values obtained from a single linear micromodel simulation. In contrast to the model with elastic decoder of the previous section, we now employ prior knowledge of the micromodel behavior and assume that all non-linearity should be explained by plasticity and do not let the elastic properties be dictated by the encoder. Still, the assumption of isotropic and incompressible plastic flow is a departure from the more complex pressure-dependent and non-associative behavior shown by the micromodel. Here we are therefore concerned with the effect of trading the flexibility of an elastic decoder for significantly more physical bias from a lower-fidelity representation of material behavior. At this point it is interesting to compare the performance of the hybrid surrogate with predictions coming from the state-of-the-art mesoscale material model for polymer composites proposed by Vogler _et al_ . [57]. It is an orthotropic elastoplastic model with pressure-dependent non-associative flow precalibrated with a small number of monotonic uniaxial and biaxial stress-strain curves obtained from simulations on the exact same micromodel of Fig. 6 (see [10] for details on the calibration procedure). For this section, we switch to a dataset in plane stress, allowing the _J_ 2 model to describe richer nonlinear behavior under biaxial strain states. Fig. 12 shows the evolution of the validation set loss when training the _J_ 2-decoded model with 1500 plane stress training paths. The error quickly stabilizes at around 20 MPa, significantly lower than the 44 MPa average prediction error obtained with the precalibrated mesomodel. The added flexibility with respect to the original perfectly-plastic _J_ 2 model can be seen in the test set curves plotted in Fig. 13: the data-driven encoder leads to correct predictions of nonlinear hardening (Fig. 13a) and pressure-dependent plastic flow (Fig. 13b). The figures also highlight the inability of the mesomodel to predict the behavior in certain regions of the strain space, particularly under compressiondominated scenarios. The minimum validation error attained by the model is, however, nevertheless significantly higher than the 4 MPa obtained with the elastic decoder of the previous section. This result is not entirely surprising, as the elastic decoder introduces much less bias into the model and therefore allows for a greater degree of flexibility when fitting monotonic data. On the other hand, what cannot be directly gleaned from Fig. 12 is that the _J_ 2 decoder benefits from having physics-based memory coming from its internal variables that allows for making predictions of non-monotonic behavior based solely on our assumption that nonlinearities come from plastic strain and therefore without ever having to see it during training. In Fig. 14 we plot predictions of the _J_ 2 surrogate for two different unloading-reloading paths from the test dataset. The model predicts unloading very well without being trained for it. Nevertheless, as Fig. 12 suggests, the model struggles to predict monotonic behavior under a number of different scenarios, from which it follows that any nonmonotonic predictions along the same directions will also be inaccurate. Fig. 15 shows three examples of this behavior. The choice of decoder therefore involves a tradeoff between bias and flexibility that can be deceiving to base solely on validation error computed on monotonic data. Indeed, the decoder used in the next section outperforms _J_ 2-based 15 150 100 50 0 I <sup>Ω</sup> _ε_ <sup>_→_</sup> I <sup>Ω</sup> _xx_ _yy_ _xy_ Micro 0 _−_ 100 _−_ 200 _−_ 300 _−_ 400 _xx_ _yy_ _xy_ Micro _→_ _J_ 2 Meso _−_ 500 _−_ 0 _._ 12 _−_ 0 _._ 1 _−_ 0 _._ 08 _−_ 0 _._ 06 _−_ 0 _._ 04 _−_ 0 _._ 02 0 0 _._ 02 _σy_ _σy_ - _→_ _J_ 2 Meso I <sup>Ω</sup> I <sup>Ω</sup> _ε_ <sup>_→_</sup> _−_ 0 _._ 02 0 0 _._ 02 0 _._ 04 0 _._ 06 0 _._ 08 0 _._ 1 0 _._ 12 Strain [-] Strain [-] (a) Predicting nonlinear hardening (b) Predicting pressure dependency Figure 13: Predictions from the network with _J_ 2 decoder. Letting the yield stress evolve extends the model to more complex plasticity behavior. 100 100 0 50 0 _−_ 50 I <sup>Ω</sup> _ε_ <sup>_→_</sup> _xx_ _yy_ _xy_ Micro _xx_ _yy_ _xy_ Micro _−_ 100 _−_ 200 _−_ 300 _→_ _J_ 2 Meso _−_ 400 _−_ 0 _._ 1 _−_ 0 _._ 05 0 0 _._ 05 _σy_ I <sup>Ω</sup> _σy_ _→_ _J_ 2 Meso I <sup>Ω</sup> I <sup>Ω</sup> _ε_ <sup>_→_</sup> _−_ 0 _._ 1 _−_ 0 _._ 05 0 0 _._ 05 Strain [-] Strain [-] Figure 14: Network predictions with _J_ 2 decoder for unloading paths after being trained exclusively with monotonic paths. _xx_ _yy_ _xy_ Micro I <sup>Ω</sup> _ε_ <sup>_→_</sup> I <sup>Ω</sup> 50 0 _−_ 50 _xx_ _yy_ _xy_ Micro _xx_ _yy_ _xy_ Micro 100 50 0 _−_ 50 - _→_ _J_ 2 Meso 150 100 50 0 0 0 _._ 02 0 _._ 04 0 _._ 06 0 _._ 08 0 _._ 1 - _→_ _J_ 2 Meso _−_ 0 _._ 05 0 0 _._ 05 0 _._ 1 - _→_ _J_ 2 Meso - _σy_ I <sup>Ω</sup> _ε_ <sup>_→_</sup> I <sup>Ω</sup> - _σy_ I <sup>Ω</sup> _ε_ <sup>_→_</sup> I <sup>Ω</sup> - _σy_ Strain [-] _−_ 0 _._ 04 _−_ 0 _._ 02 0 0 _._ 02 0 _._ 04 0 _._ 06 0 _._ 08 0 _._ 1 Strain [-] Strain [-] Figure 15: Examples of strain paths not well predicted by the _J_ 2 decoded model. 16 Precalibrated mesomodel [ _εxx_ _εyy_ _γxy_ ] _→_ FNN [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Elastic</sup> [ _εxx_ _εyy_ _γxy_ ] _→_ Melro 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _I_ 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _J_ 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> _ε_ <sup>p</sup> _xx_ <sup>_ε_</sup> <sup>p</sup> _yy_ <sup>_γ_</sup> _xy_ <sup>p</sup> _→_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _I_ 1 <sup>_ε_</sup> <sup>p</sup> _xx_ <sup>_ε_</sup> <sup>p</sup> _yy_ <sup>p</sup> _yy_ <sup>_γ_</sup> _xy_ <sup>p</sup> _xy_ 10 <sup>2</sup> 10 <sup>1</sup> [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Elastic</sup> [ _εxx_ _εyy_ _γxy_ ] _→_ Melro [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _I_ 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _J_ 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> _ε_ <sup>p</sup> _xx_ <sup>_ε_</sup> <sup>p</sup> _yy_ <sup>_γ_</sup> _xy_ <sup>p</sup> _→_ Melro _I_ 1 <sup>_σ_</sup> <sup>_J_</sup> 2 <sup>_σ_</sup> _→_ Melro - - 2 <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> 1 <sup>_σ_</sup> <sup>_J_</sup> 2 <sup>_σ_</sup> _→_ Melro <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> _ε_ <sup>p</sup> <sup>_J_</sup> 2 <sup>_σ_</sup> _→_ Melro 0 20 40 60 80 100 120 140 Number of training paths [] Figure 16: Expected validation errors for Melro-decoded surrogates with different feature extractors (averages over 50 datasets). decoders in most situations, but nevertheless a choice for the simpler decoder might still be justified - _e_ . _g_ . if the unconditional numerical stability of a _J_ 2 decoder is desirable. 4.4 Non-associative pressure-dependent elastoplastic decoder As one final exploration on model selection, we use as decoder the same elastoplastic model by Melro _et_ _al_ . used to describe the matrix material at the microscale [52]. As mentioned in Section 3.4, this model is the natural choice for _M_, as it attempts to explain the observed microscopic non-linear behavior with the same model from which the behavior arises. As before we keep the elastic properties of the model intact and let only the yield stresses and the plastic Poisson’s ratio change in time: (26) <u>�</u> <sup>_<u>σ</u>_</sup> _σ_ <sup><u>c</u></sup> t <sup>instead of simply</sup> <sup>_σ_</sup> <sup>c in order to also</sup> _θ_ = _<u>σσ</u>_ <u>ct</u> _ν_ p - _σ_ t <sup>.</sup> where 10 <sup>1</sup> _< σ_ t _<_ 10 <sup>4</sup>, 0 _< ν_ p _<_ 0 _._ 5 and 1 _<_ <sup>_<u>σ</u>_</sup> _σ_ <sup><u>c</u></sup> t <sup>_<u>σ</u>_</sup> _σ_ <sup><u>c</u></sup> t <sup>_<_</sup> <sup>100.</sup> <sup>We opt for the ratio</sup> <sup>_<u>σ</u>_</sup> _σ_ <sup><u>c</u></sup> t where 10 <sup>1</sup> _< σ_ t _<_ 10 <sup>4</sup>, 0 _< ν_ p _<_ 0 _._ 5 and 1 _<_ <sup>_<u>σ</u>_</sup> _σ_ <sup><u>c</u></sup> t <sup>_<_</sup> <sup>100.</sup> <sup>We opt for the ratio</sup> <sup>_<u>σ</u>_</sup> _σ_ <sup><u>c</u></sup> t <sup>instead of simply</sup> <sup>_σ_</sup> <sup>c in order to also</sup> enforce _σ_ c _> σ_ t. We expand upon the feature selection study of Fig. 9 by looking at several feature extractors coming both directly from strains and from the output of a precalibrated Melro model _M_ with the same properties used at the microscale (Fig. 5b). Aside from the familiar choice of strain features ([ _εxx_ _εyy_ _γxy_ ] _→_ _Melro_ ), we look into invariants of the strain tensor ([ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>_Melro_</sup> <sup>),</sup> <sup>combinations</sup> <sup>including</sup> <sup>invariants</sup> <sup>of</sup> <sup>the</sup> <sup>deviatoric</sup> <sup>strain</sup> <sup>tensor</sup> <sup>([</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_<u>→</u>_</sup> <sup>_Melro_</sup> <sup>,</sup> strain tensor ([ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>_Melro_</sup> <sup>),</sup> <sup>combinations</sup> <sup>including</sup> <sup>invariants</sup> <sup>of</sup> <sup>the</sup> <sup>deviatoric</sup> <sup>strain</sup> <sup>tensor</sup> <sup>([</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_<u>→</u>_</sup> <sup>_Melro_</sup> <sup>,</sup> [ _I_ 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>_Melro_</sup> <sup>), plastic strain internal variables coming from the precalibrated feature extractor (</sup> _~~ε~~_ <sup>~~p~~</sup> _xx_ <sup>_~~ε~~_</sup> <sup>~~p~~</sup> _yy_ <sup>_~~γ~~_</sup> _xy_ <sup>p</sup> _→_ strain tensor ([ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>_Melro_</sup> <sup>),</sup> <sup>combinations</sup> <sup>including</sup> <sup>invariants</sup> <sup>of</sup> <sup>the</sup> <sup>deviatoric</sup> <sup>strain</sup> <sup>tensor</sup> <sup>([</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_<u>→</u>_</sup> <sup>_Melro_</sup> <sup>,</sup> [ _I_ 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>_Melro_</sup> <sup>), plastic strain internal variables coming from the precalibrated feature extractor (</sup> _~~ε~~_ <sup>~~p~~</sup> _xx_ <sup>_~~ε~~_</sup> <sup>~~p~~</sup> _yy_ <sup>_~~γ~~_</sup> _xy_ <sup>p</sup> _→_ _Melro_ ) and stress invariants coming from the extractor ( _I_ 1 <sup>_<u>σ</u>_</sup> <sup>_J_</sup> 2 <sup>_<u>σ</u>_</sup> _→_ _Melro_ ). We also include the <u>�precalibrated</u> �me - <u>�</u> tensor ([ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>_Melro_</sup> <sup>),</sup> <sup>combinations</sup> <sup>including</sup> <sup>invariants</sup> <sup>of</sup> <sup>the</sup> <sup>deviatoric</sup> <sup>strain</sup> <sup>tensor</sup> <sup>([</sup> 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>_Melro_</sup> <sup>), plastic strain internal variables coming from the precalibrated feature extractor (</sup> _~~ε~~_ <sup>~~p~~</sup> _Melro_ ) and stress invariants coming from the extractor ( _I_ 1 <sup>_<u>σ</u>_</sup> <sup>_J_</sup> 2 <sup>_<u>σ</u>_</sup> _→_ _Melro_ ). We also include the <u>�</u> - <u>�</u> 1 <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>_Melro_</sup> <sup>), plastic strain internal variables coming from the precalibrated feature extractor (</sup> _xx_ <sup>_~~ε~~_</sup> <sup>~~p~~</sup> _yy_ <sup>_~~γ~~_</sup> _xy_ <sup>p</sup> _→_ _Melro_ ) and stress invariants coming from the extractor ( _I_ 1 <sup>_<u>σ</u>_</sup> <sup>_J_</sup> 2 <sup>_<u>σ</u>_</sup> _→_ _Melro_ ). We also include the <u>�precalibrated</u> �mesomodel by Vogler _et_ _al_ . [57] and selected curves from Fig. 9a for comparison purposes. As before, we train 50 - <u>�</u> networks of each type for each size of dataset ranging from 1 to 150 paths drawn from the original dataset with 1500 paths. Each trained network is then used to compute the validation error over the 500 monotonic validation paths and the 150 test paths (50 extra monotonic paths, 50 paths with unloading-reloading and 50 slow cycle paths). This results in an extensive study comprising 6800 trained networks and over one million test set simulations. Results are summarized in Fig. 16, with each point in a curve being the average over 50 networks. Once again using invariants as features proves beneficial, leading to lossless dimensionality reduction and frame invariant surrogates. All tested models perform better than the precalibrated mesomodel, with a gap of more than one order of magnitude for the best performing surrogates. Interestingly, models with Melro-based decoders seem to learn as fast and be as flexible as models with elastic decoders, already for the monotonic curves in the validation dataset. This suggests that the new decoder does not impose extra undesirable bias in learning the specific material behavior treated here other than the assumptions that had already been introduced by elasticity ( _e_ . _g_ . symmetries and couplings encoded by the elastic stiffness tensor). Any benefits reaped when extrapolating to non-monotonic paths, as we will see in the following, are therefore obtained at a negligible price in terms of monotonic behavior accuracy. This stands in contrast with the discussion on the _J_ 2 decoder of the previous section. _I_ 1 <sup>_<u>σ</u>_</sup> Fig. <sup>~~p~~</sup> _xx_ <sup>_~~ε~~_</sup> <sup>~~p~~</sup> _yy_ <sup>~~p~~</sup> _yy_ <sup>_~~γ~~_</sup> _xy_ <sup>p</sup> _xy_ 17 Micro 150 100 50 0 Micro [ _J_ 2 <sup>_ε_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> Meso _xx_ _yy_ _xy_ 150 100 50 0 _xx_ _yy_ _xy_ _ε_ <sup>p</sup> 0� _._ <sup>p</sup> _xx_ <sup>_ε_</sup> <sup>p</sup> _yy_ <sup>p</sup> _yy_ <sup>_γ_</sup> _xy_ <sup>p</sup> _xy_ 0 0 _._ 02 0 _._ 04 0 _._ 06 0 _._ 08 _→_ Melro Meso 0� _._ 06 0 _._ 08 Strain [-] (a) Model with second deviatoric strain invariant as feature 0 0 _._ 02 0 _._ 04 0 _._ 06 0 _._ 08 Strain [-] (b) Model with plastic strain features Figure 17: Monotonic test set predictions from feature-deficient Melro models (complete training dataset with 1500 paths). 10 <sup>3</sup> 10 <sup>2</sup> Precalibrated mesomodel [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Elastic</sup> [ _εxx_ _εyy_ _γxy_ ] _→_ Melro [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> Precalibrated mesomodel [ _I_ 1 <sup>_ε_</sup> _εyy_ _γxy_ ] _→_ Melro [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _I_ 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _J_ 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> Precalibrated mesomodel [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Elastic</sup> [ _εxx_ _εyy_ _γxy_ ] _→_ Melro [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> Precalibrated mesomodel [ _I_ 1 <sup>_ε_</sup> [ _I_ 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _J_ 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> _ε_ <sup>p</sup> _xx_ <sup>_ε_</sup> <sup>p</sup> _yy_ <sup>_γ_</sup> _xy_ <sup>p</sup> _→_ Melro _I_ 1 <sup>_σ_</sup> <sup>_J_</sup> 2 <sup>_σ_</sup> _→_ Melro - - - 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _J_ 2 <sup>_ε_</sup> <sup>p</sup> _xx_ <sup>_ε_</sup> <sup>p</sup> _yy_ <sup>_ε_</sup> <sup>p</sup> _yy_ <sup>_γ_</sup> _xy_ <sup>p</sup> 10 <sup>3</sup> 10 <sup>2</sup> [ _I_ 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _J_ 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> _ε_ <sup>p</sup> _xx_ <sup>_ε_</sup> <sup>p</sup> _yy_ <sup>_γ_</sup> _xy_ <sup>p</sup> _→_ Melro _I_ 1 <sup>_σ_</sup> <sup>_J_</sup> 2 <sup>_σ_</sup> _→_ Melro - - - _εyy_ _γxy_ ] _→_ Melro [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _I_ 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _J_ 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _J_ 2 <sup>_ε_</sup> <sup>p</sup> _xx_ <sup>_ε_</sup> <sup>p</sup> _yy_ <sup>_ε_</sup> <sup>p</sup> _yy_ <sup>_γ_</sup> _xy_ <sup>p</sup> _xy_ <sup>Melro</sup> _→_ Melro _I_ 1 <sup>_σ_</sup> - 2 <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> 1 <sup>_σ_</sup> <sup>_J_</sup> 2 <sup>_σ_</sup> _→_ Melro _xy_ <sup>Melro</sup> _→_ Melro _I_ 1 <sup>_σ_</sup> - 2 <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> 1 <sup>_σ_</sup> <sup>_J_</sup> 2 <sup>_σ_</sup> _→_ Melro 10 <sup>1</sup> 0 20 40 60 80 100 120 140 Number of training paths [] (a) Errors for complete paths 10 <sup>1</sup> 0 20 40 60 80 100 120 140 Number of training paths [] (b) Errors including only unloading/reloading steps Figure 18: Learning curves for unloading-reloading test errors of Melro-decoded surrogates (averages of 50 datasets). 18 0 _−_ 100 _−_ 200 100 0 _−_ 100 100 0 _−_ 100 _xx_ _yy_ _xy_ Micro [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> Meso _−_ 0 _._ 05 0 0 _._ 05 0 _._ 1 Strain [-] 100 50 0 _−_ 50 _xx_ _yy_ _xy_ Micro [ _εxx_ _εyy_ _γxy_ ] _→_ Melro Meso _−_ 0 _._ 1 _−_ 0 _._ 08 _−_ 0 _._ 06 _−_ 0 _._ 04 _−_ 0 _._ 02 0 0 _._ 02 0 _._ 04 Strain [-] _xx_ _yy_ _xy_ Micro [ _I_ 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> Meso 0 0 _._ 02 0 _._ 04 0 _._ 06 0 _._ 08 0 _._ 1 0 _._ 12 Strain [-] Micro _xx_ _yy_ _xy_ _I_ 1 <sup>_σ_</sup> 1 <sup>_σ_</sup> <sup>_J_</sup> 2 <sup>_σ_</sup> _→_ Melro Meso _−_ 0 _._ 02 0 0 _._ 02 0 _._ 04 0 _._ 06 0 _._ 08 0 _._ 1 0 _._ 12 Strain [-] Figure 19: Response of Melro-decoded surrogates with different features for selected unloading/reloading test paths (1500 monotonic training paths). Although Fig. 16 is not enough to discern between several of our encoder choices, it is interesting to take a closer look at the two clearly underperforming options. Fig. 17 shows predictions from [ _J_ 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>_Melro_</sup> <sup>and</sup> _~~ε~~_ <sup>~~p~~</sup> _xx_ <sup>_~~ε~~_</sup> <sup>~~p~~</sup> _yy_ <sup>_~~γ~~_</sup> _xy_ <sup>~~p~~</sup> _→_ Although Fig. 16 is not enough to discern between several of our encoder choices, it is interesting to take a closer look at the two clearly underperforming options. Fig. 17 shows predictions from [ _J_ 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>_Melro_</sup> <sup>and</sup> _~~ε~~_ <sup>~~p~~</sup> _xx_ <sup>_~~ε~~_</sup> <sup>~~p~~</sup> _yy_ <sup>_~~γ~~_</sup> _xy_ <sup>~~p~~</sup> _→_ _Melro_ for the same monotonic test path. The model with a single feature struggles to predict the entirety of the path, <u>�</u> indicating that further reducing the dimensionality of the feature space is not possible for this dataset. The oscillatory stress predictions make this model unsuitable for online stress evaluation in a multiscale setting. For the model with plastic strain features, the feature extractor shows no plastic strains until high stress levels while in the micromodel plasticity starts much earlier, forcing the surrogate to remain in the elastic regime until a sudden jump brings it back to the expected path. Moving to unloading-reloading paths, we compare the performance of different feature sets by plotting the average test error over the 50 unloading-reloading paths in Fig. 18a. Here an interesting observation can be made: even the surrogate [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>_Elastic_</sup> <sup>— which cannot predict unloading at all — attains a lower test error than the precalibrated</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>_Melro_</sup> <sup>and</sup> _~~ε~~_ <sup>~~p~~</sup> <u>�</u> <sup>~~p~~</sup> _xx_ <sup>_~~ε~~_</sup> <sup>~~p~~</sup> _yy_ <sup>~~p~~</sup> _yy_ <sup>_~~γ~~_</sup> _xy_ <sup>~~p~~</sup> _xy_ surrogate [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>_Elastic_</sup> <sup>— which cannot predict unloading at all — attains a lower test error than the precalibrated</sup> mesomodel. This apparent contradiction can be explained by plotting in Fig. 18b the average error computed only at unloading or reloading time steps: use of an elastic decoder — and therefore of a conventional FNN or an RNN trained with insufficient data - excels at predicting monotonic response but is consistently inaccurate for non-monotonic paths and shows little improvement when more monotonic paths are added to the training dataset. In contrast, the best-performing Melro models are consistently more accurate than the precalibrated mesomodel even when trained on very little data. We plot in Fig. 19 selected representative unloading paths from the test dataset for four of the surrogates. Unloading is once again well captured without having been seen during training, and since it emerges from a purely physical mechanism, it is reasonable to expect unloading at different points along the path to yield comparable results ( _c_ . _f_ . Fig. 3a). Nevertheless, relatively small differences in unloading slope can still lead to large differences in stress at the end of the unloading branches. Furthermore, the model can struggle with tension-compression switches and predict spurious hysteresis loops. Indeed, we observe a consistent inability by the models to properly predict switches between tension and compression within the same path. This becomes clear when looking at slow cycling test paths composed of several of these switches (Fig. 8c). We plot learning curves for the test error on slow cycling paths in Fig. 20, for complete paths 19 10 <sup>3</sup> 10 <sup>2</sup> Precalibrated mesomodel [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Elastic</sup> [ _εxx_ _εyy_ _γxy_ ] _→_ Melro [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> Precalibrated mesomodel [ _I_ 1 <sup>_ε_</sup> _εyy_ _γxy_ ] _→_ Melro [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _I_ 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _J_ 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> Precalibrated mesomodel [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Elastic</sup> [ _εxx_ _εyy_ _γxy_ ] _→_ Melro [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> Precalibrated mesomodel [ _I_ 1 <sup>_ε_</sup> [ _I_ 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _J_ 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> _ε_ <sup>p</sup> _xx_ <sup>_ε_</sup> <sup>p</sup> _yy_ <sup>_γ_</sup> _xy_ <sup>p</sup> _→_ Melro _I_ 1 <sup>_σ_</sup> <sup>_J_</sup> 2 <sup>_σ_</sup> _→_ Melro - - - 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _J_ 2 <sup>_ε_</sup> <sup>p</sup> _xx_ <sup>_ε_</sup> <sup>p</sup> _yy_ <sup>_ε_</sup> <sup>p</sup> _yy_ <sup>_γ_</sup> _xy_ <sup>p</sup> 10 <sup>3</sup> 10 <sup>2</sup> [ _I_ 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _J_ 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> _ε_ <sup>p</sup> _xx_ <sup>_ε_</sup> <sup>p</sup> _yy_ <sup>_γ_</sup> _xy_ <sup>p</sup> _→_ Melro _I_ 1 <sup>_σ_</sup> <sup>_J_</sup> 2 <sup>_σ_</sup> _→_ Melro - - - _εyy_ _γxy_ ] _→_ Melro [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _I_ 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _J_ 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> [ _J_ 2 <sup>_ε_</sup> <sup>p</sup> _xx_ <sup>_ε_</sup> <sup>p</sup> _yy_ <sup>_ε_</sup> <sup>p</sup> _yy_ <sup>_γ_</sup> _xy_ <sup>p</sup> _xy_ <sup>Melro</sup> _→_ Melro _I_ 1 <sup>_σ_</sup> - 2 <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> 1 <sup>_σ_</sup> <sup>_J_</sup> 2 <sup>_σ_</sup> _→_ Melro _xy_ <sup>Melro</sup> _→_ Melro _I_ 1 <sup>_σ_</sup> - 2 <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> 1 <sup>_σ_</sup> <sup>_J_</sup> 2 <sup>_σ_</sup> _→_ Melro 10 <sup>1</sup> 0 20 40 60 80 100 120 140 Number of training paths [] (a) Errors for complete paths 10 <sup>1</sup> 0 20 40 60 80 100 120 140 Number of training paths [] (b) Errors including only unloading/reloading steps Figure 20: Slow cycling test errors for Melro-decoded surrogates (averages of 50 datasets for each size). as well as exclusively for the non-monotonic branches of the paths. In contrast with results up until now, here we see larger differences in performance for different feature sets. As expected, elastic decoders are once again shown to be unsuitable to predict non-monotonic paths, and the difference here is even more pronounced than in for singleunloading paths ( _c_ . _f_ . Fig. 18) as most of the path is composed of unloading/reloading branches. The model encoded with stress invariants coming from an elastoplastic feature extractor performs best among the models we test. But crucially, none of the surrogates manages to surpass the precalibrated mesomodel in this case. As a demonstration, we select a representative path from the test dataset and plot predictions made with four different feature sets in Fig. 21. As expected, larger errors are observed for more pronounced tension-compression switches as models either over- or undershoot the stress levels at compression-tension switch points. Interestingly, most models manage to converge back to the correct stress path after reloading, since hardening behavior is completely dictated by their non-recurrent data-driven encoders. The exception is the model with stress invariant features ( _I_ 1 <sup>_<u>σ</u>_</sup> <sup>_J_</sup> 2 <sup>_<u>σ</u>_</sup> _→_ <u>y</u> _I_ 1 <sup>_<u>σ</u>_</sup> manage to converge back to the correct stress path after reloading, since hardening behavior is completely dictated by their non-recurrent data-driven encoders. The exception is the model with stress invariant features ( _I_ 1 <sup>_<u>σ</u>_</sup> <sup>_J_</sup> 2 <sup>_<u>σ</u>_</sup> _→_ _Melro_ ), performing significantly better than the rest but showing a number of undesired oscillations in stress response - <u>�</u> due to the (physically) recurrent nature of its features forcing its neural network encoder to operate in extrapolation. 4.5 FE <sup>2</sup> example We conclude our discussion with an FE <sup>2</sup> demonstration using the proposed hybrid surrogate. We model the tapered macroscopic bar with geometry and boundary conditions shown in Fig. 22. The model is meshed with 1620 linear triangles with a single Gauss point each and is loaded in tension until plastic strain localization takes place. The combination of the tapered geometry with the several circular voids along the model result in a complex range of stress states throughout the model. In contrast to the cases considered so far, this example also covers non-proportional strain paths. To facilitate convergence, the substepping approach proposed in [58] is employed and an adaptive stepping algorithm is used at the macroscale that automatically reduces time step size and recomputes the current increment if either the micro- or macroscopic Newton-Raphson solver fails to converge. We use the _I_ 1 <sup>_<u>σ</u>_</sup> <sup>_J_</sup> 2 <sup>_<u>σ</u>_</sup> _→_ _Melro_ model of the previous section as surrogate, trained on the complete set of 1500 monotonic training strain paths. The global load-displacement curve at the right edge of the model is plotted for the - <u>�</u> full-order FE <sup>2</sup> solution and using the hybrid surrogate in Fig. 23a. Since we update decoder properties in an explicit fashion ( _i_ . _e_ . once per time step, see Algorithm 1), we use a displacement increment ∆ _u_ = 3 _._ 5 _×_ 10 <sup>_−_</sup> <sup>3</sup> mm for the approximate model, 10 times smaller than the one used for the full-order model. As mentioned in Section 3.5, the model by Melro _et al_ . can suffer from numerical stability issues even with fixed material properties, and it is reasonable to expect these issues to become worse when letting properties evolve with time. Indeed, with no additional stabilization the model using the network fails to converge at the point marked in Fig. 23a. In contrast, the stabilization procedure of Section 3.5 allows for a complete path to be obtained. For this first result, we stabilize the network for 5 epochs with a learning rate of 1 _×_ 10 <sup>_−_</sup> <sup>5</sup> for the stabilization loss (Eq. (22)) and 1 _×_ 10 <sup>_−_</sup> <sup>9</sup> for retraining on a single monotonic training path selected at random. We also consider a model with an unloading/reloading switch after the onset of macroscopic plasticity. Results are shown in Fig. 23b. The surrogate approximates the full-order behavior fairly accurately and several orders of magnitude faster than the full-order model. We use the _I_ 1 <sup>_<u>σ</u>_</sup> 20 200 0 _−_ 200 _−_ 400 _xx_ _yy_ _xy_ Micro [ _εxx_ _εyy_ _γxy_ ] _→_ Melro Meso _xx_ _yy_ _xy_ Micro [ _I_ 1 <sup>_ε_</sup> <sup>_I_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> Meso 200 0 _−_ 200 _−_ 400 _−_ 600 _−_ 800 _−_ 0 _._ 02 0 0 _._ 02 0 _._ 04 0 _._ 06 0 _._ 08 0 _._ 1 0 _._ 12 Strain [-] _−_ 0 _._ 02 0 0 _._ 02 0 _._ 04 0 _._ 06 0 _._ 08 0 _._ 1 0 _._ 12 Strain [-] 200 0 _−_ 200 _−_ 400 _xx_ _yy_ _xy_ _xx_ _yy_ _xy_ 200 0 _−_ 200 _−_ 400 _I_ 1 <sup>_σ_</sup> 1 <sup>_σ_</sup> <sup>_J_</sup> 2 <sup>_σ_</sup> _→_ Melro Meso Micro [ _I_ 1 <sup>_ε_</sup> <sup>_J_</sup> 2 <sup>_ε_</sup> <sup>]</sup> <sup>_→_</sup> <sup>Melro</sup> Meso _−_ 0 _._ 02 0 0 _._ 02 0 _._ 04 0 _._ 06 0 _._ 08 0 _._ 1 0 _._ 12 Strain [-] Micro _−_ 0 _._ 02 0 0 _._ 02 0 _._ 04 0 _._ 06 0 _._ 08 0 _._ 1 0 _._ 12 Strain [-] Figure 21: Response of Melro-decoded surrogates with different features for selected slow cycling test paths (1500 monotonic training paths). 5 _×_ 50 SELU evolving Melro full-order micromodel _σ_ <sup>Ω</sup> _ε_ <sup>Ω</sup> D <sup>Ω</sup> microscale Melro _~~α~~_ _θ_ _α_ _M_ _ε_ <sup>Ω</sup> _<u>· · ·</u>_ _M_ I _σ_ ¯ _ε_ <sup>Ω</sup> _σ_ <sup>Ω</sup> D <sup>Ω</sup> Figure 22: FE <sup>2</sup> example: geometry, mesh and boundary conditions. Full-order (left) and surrogate-based (right) FE <sup>2</sup> simulations are compared. 21 150 100 50 Full-order FE <sup>2</sup> (90 h runtime) Stabilized surrogate (2 min runtime) Unstabilized surrogate 150 100 50 Full-order FE <sup>2</sup> (113 h runtime) Stabilized surrogate (2 min runtime) 0 0 0 _._ 5 1 1 _._ 5 Displacement [mm] (b) Unloading/reloading 0 0 0 _._ 5 1 1 _._ 5 Displacement [mm] (a) Monotonic Figure 23: FE <sup>2</sup> example: load-displacement curves with and without online stabilization, compared to the ground-truth solution. 2 epochs 5 epochs 10 epochs 50 epochs 100 epochs a No retraining 1-path retraining 30 20 10 0 100 200 300 400 500 Time increment [] (a) 500-path validation loss after stabilization 150 100 50 2 epochs 5 epochs 10 epochs 50 epochs 100 epochs a No retraining 1-path retraining 0 0 0 _._ 5 1 1 _._ 5 Displacement [mm] (b) Load-displacement curves Figure 24: Performance of the surrogate model for stabilization strategies of varying intensities with and without retraining after stabilization. 22 10 <sup>5</sup> 10 <sup>4</sup> 10 <sup>3</sup> 10 <sup>2</sup> 10 <sup>1</sup> 2 epochs 5 epochs 10 epochs 50 epochs 100 epochs a No retraining 1-path retraining 1 _,_ 000 800 600 400 200 2 epochs 5 epochs 10 epochs 50 epochs 100 epochs a No retraining 1-path retraining 0 0 100 200 300 400 500 Time increment [] (a) Computational overhead due to stabilization 10 <sup>0</sup> 0 100 200 300 400 500 Time increment [] (b) Number of detected unstable strain states Figure 25: Impact of stabilization regime on execution time and number of unstable points throughout the simulation. We now look closer on the performance of the proposed online stabilization approach. We empirically find that retraining the network until every violating material point is fully stabilized is not strictly necessary in order to achieve convergence, and therefore opting for a small number of stabilization epochs proves to be an efficient approach. It is nevertheless interesting to investigate the impact of the number of stabilization epochs and of the subsequent retraining minibatch on the original dataset. We solve the monotonic example of Fig. 23a with different numbers of stabilization/retraining epochs ranging from 2 to 100 and compute the validation loss (on the 500-path validation set used for model selection) at the end of every macroscopic time increment in order to keep track of how much the stabilized network deviates from its original pretrained state. Results are shown together with the corresponding load-displacement curves in Fig. 24. All curves remain stable at first, as stabilization is only triggered when the first unstable points are detected. From that point, models which do not undergo retraining after stabilization lose accuracy at a rate proportional to the number of stabilization epochs. However, this unintuitively does not lead to improved global stability: the loss of accuracy by the surrogate leads to spurious global softening ( _c_ . _f_ . Fig. 24b) which in turn leads to further need for stabilization. Models stabilized for 50 and 100 epochs continuously fail to converge and we opt for terminating the simulation after 100 cancelled time increments. On the other hand, models retrained with as little as a single strain path (out of the original 1500) after each stabilization epoch are able to maintain the original model accuracy while offering enough stability gains to allow the simulation to converge until the final step, with little change in global behavior for different stabilization regimes. More insight can be obtained on the different stabilization strategies by plotting the cumulative execution time of the simulation and the cumulative number of detected unstable strain states with time increments for different numbers of stabilization epochs. Results can be seen in Fig. 25. In general, simulations without retraining tend to run faster and result in improved stability, although any gains are quickly overshadowed by losses in accuracy ( _c_ . _f_ . Fig. 24). Stabilizing for more epochs results in a reduction in the total number of unstable points detected, but beyond 5 epochs this does not result in an overall reduction in the computational cost of the simulation given the increased effort spent on individual stabilization operations. As one final result, we run the monotonic simulation with the hybrid surrogate for different time step sizes. As previously mentioned, the hybrid approach allows for explicit update of _θ_ within an implicit simulation by obtaining the tangent stiffness matrix directly from the decoder. This however introduces a time step size dependency whose impact merits investigation. We plot in Fig. 26 predictions with step sizes spanning four orders of magnitude, including the same one used to obtain the full-order response. The combination of the explicit property update with the online stabilization procedure indeed introduces an upper bound for time step size for this specific problem. It stands to reason that the sensitivity to time step size also depends on the choice of decoder and on which material properties are included in _θ_ . Further investigation into the matter in future works is therefore warranted. 23 150 100 50 ∆ _u_ = 7 _._ 0 _×_ 10 <sup>_−_</sup> <sup>2</sup> mm ∆ _u_ = 5 _._ 0 _×_ 10 <sup>_−_</sup> <sup>2</sup> mm ∆ _u_ = 3 _._ 5 _×_ 10 <sup>_−_</sup> <sup>2</sup> mm ∆ _u_ = 3 _._ 5 _×_ 10 <sup>_−_</sup> <sup>3</sup> mm ∆ _u_ = 3 _._ 5 _×_ 10 <sup>_−_</sup> <sup>4</sup> mm ∆ _u_ = 3 _._ 5 _×_ 10 <sup>_−_</sup> <sup>5</sup> mm Full-order (3 _._ 5 _×_ 10 <sup>_−_</sup> <sup>2</sup> mm) 0 0 0 _._ 5 1 1 _._ 5 Displacement [mm] Figure 26: FE <sup>2</sup> example: Effect of time step size on surrogate predictions. ### 5 Conclusions In this paper, we propose a hybrid surrogate modeling architecture for multiscale modeling of heterogeneous materials. The model is composed of a data-driven encoder for material properties and a physics-based decoder that computes stresses. In the resulting architecture, the encoder increases the flexibility of existing material models by letting their properties evolve in time, while the decoder provides beneficial bias and interpretability to the model. The model is conceived with flexibility in mind, allowing existing implementations of physics-based material models to be used with no extra modifications. Furthermore, by letting the decoder directly receive strain inputs, the encoder architecture is highly flexible and allows for preservation of frame independence. A semi-explicit online prediction algorithm is also proposed that allows for imposing extra constraints to model behavior in a semi-supervised way. We demonstrate the architecture by reproducing pressure-dependent elastoplastic behavior coming from homogenized fiber-reinforced composite micromodels. The simple model with a linear-elastic decoder learned faster than conventional data-driven surrogates, allowed for lossless feature space dimensionality reduction through the use of strain invariants, and was able to approximate path-dependent behavior through a simple history-aware feature extractor. Models with perfectly-plastic _J_ 2 decoders were shown to successfully learn nonlinear hardening and pressure dependency and predict unloading-reloading while being trained exclusively on monotonic data, outperforming a state-of-the-art mesomodel for composites in accuracy for arbitrary loading directions. Employing as decoder the same plasticity model used at the microscale led to highly-accurate monotonic response and fairly accurate extrapolation to unloading/reloading behavior. Finally, the model was used to solve a complex FE <sup>2</sup> model and the benefit of the online stabilization procedure was demonstrated. We find the approach to be a promising new way to build hybrid surrogates which therefore merits further research on a number of fronts. The current architecture is not by construction concerned with enforcing unconditional thermodynamic consistency or other physical constraints of interest. Although we do find empirically that well-trained surrogates with thermodynamically consistent decoders tend to perform well, some constitutive models might not be suitable for having their properties evolve in time. Fortunately, the framework can cope with extra constraints without necessarily giving up on its flexibility, by enforcing them locally through online retraining. Although training exclusively on monotonic paths already allows for path dependency to be fairly well captured, some decoders might perform better in extrapolation if trained with a (small) number of extra non-monotonic and non-proportional strain paths — for instance when encoder and decoder can each explain the same phenomenon on their own ( _e_ . _g_ . pressure dependency in the model by Melro _et al._ ). We also foresee combining the present approach with the one in [46] into a unified family of flexible hybrid surrogates with a range of possible combinations of feature extractors for physics-rich time convolution, fixed-property models with learned strain distributions and evolving material models. 24 ### Acknowledgements The authors gratefully acknowledge the TU Delft AI Initiative for their support through the SLIMM AI Lab. FM also acknowledges financial support from the Netherlands Organization for Scientific Research (NWO) under Vidi grant nr. 16464. ### References [1] Siddhant Kumar, Stephanie Tan, Li Zheng, and Dennis M. Kochmann. Inverse-designed spinodoid metamateri als. _npj Computational Materials_, 6(1):1–10, June 2020. [2] Miguel A. Bessa, Piotr Glowacki, and Michael Houlder. Bayesian Machine Learning in Metamaterial Design: Fragile Becomes Supercompressible. _Advanced Materials_, 31(48):1904845, 2019. [3] Silvan Gantenbein, Chiara Mascolo, Caroline Houriet, Robert Zboray, Antonia Neels, Kunal Masania, and Andr´e R. Studart. Spin-Printing of Liquid Crystal Polymer into Recyclable and Strong All-Fiber Materials. _Advanced Functional Materials_, 31(52):2104574, 2021. [4] Wilhelm Woigk, Yannick Nagel, Silvan Gantenbein, Fergal B. Coulter, Kunal Masania, and Andr´e R. Studart. Flax-based natural composites hierarchically reinforced by cast or printed carbon fibres. _Composites Science and_ _Technology_, 226:109527, July 2022. [5] Yading Xu, Yidong Gan, Ze Chang, Zhi Wan, Erik Schlangen, and Branko Savija. <sup>ˇ</sup> Towards understanding deformation and fracture in cementitious lattice materials: Insights from multiscale experiments and simulations. _Construction and Building Materials_, 345:128409, August 2022. [6] Silvan Gantenbein, Emanuele Colucci, Julian K¨ach, Etienne Trachsel, Fergal B. Coulter, Patrick A. R¨uhs, Ku nal Masania, and Andr´e R. Studart. Three-dimensional printing of mycelium hydrogels into living complex materials. _Nature Materials_, 22(1):128–134, January 2023. [7] Bastian Telgen, Ole Sigmund, and Dennis M. Kochmann. Topology Optimization of Graded Truss Lattices Based on On-the-Fly Homogenization. _Journal of Applied Mechanics_, 89(6), April 2022. [8] Romik Khajehtourian and Dennis M. Kochmann. Soft Adaptive Mechanical Metamaterials. _Frontiers in Robotics_ _and AI_, 8, 2021. [9] C. Furtado, L. F. Pereira, R. P. Tavares, M. Salgado, F. Otero, G. Catalanotti, A. Arteiro, M. A. Bessa, and P. P. Camanho. A methodology to generate design allowables of composite laminates using machine learning. _International Journal of Solids and Structures_, 233:111095, December 2021. [10] Frans P. van der Meer. Micromechanical validation of a mesomodel for plasticity in composites. _European_ _Journal of Mechanics - A/Solids_, 60:58–69, November 2016. [11] Andrey E. Krauklis, Abedin I. Gagani, and Andreas T. Echtermeyer. Prediction of Orthotropic Hygroscopic Swelling of Fiber-Reinforced Composites from Isotropic Swelling of Matrix Polymer. _Journal_ _of_ _Composites_ _Science_, 3(1):10, March 2019. [12] Fr´ed´eric Feyel. Multiscale FE2 elastoviscoplastic analysis of composite structures. _Computational_ _Materials_ _Science_, 16(1):344–354, December 1999. [13] V. Kouznetsova, W. A. M. Brekelmans, and F. P. T. Baaijens. An approach to micro-macro modeling of hetero geneous materials. _Computational Mechanics_, 27(1):37–48, January 2001. [14] M. G. D. Geers, V. G. Kouznetsova, and W. A. M. Brekelmans. Multi-scale computational homogenization: Trends and challenges. _Journal of Computational and Applied Mathematics_, 234(7):2175–2182, August 2010. [15] Bernardo P. Ferreira, F. M. Andrade Pires, and M. A. Bessa. Adaptivity for clustering-based reduced-order modeling of localized history-dependent phenomena. _Computer Methods in Applied Mechanics and Engineering_, 393:114726, April 2022. 25 [16] Olivier Goury, David Amsallem, St´ephane Pierre Alain Bordas, Wing Kam Liu, and Pierre Kerfriden. Au tomatised selection of load paths to construct reduced-order models in computational damage micromechanics: From dissipation-driven random selection to Bayesian optimization. _Computational Mechanics_, 58(2):213–234, August 2016. [17] D. Ryckelynck. A priori hyperreduction method: An adaptive approach. _Journal_ _of_ _Computational_ _Physics_, 202(1):346–366, January 2005. [18] F. Ghavamian, P. Tiso, and A. Simone. POD–DEIM model order reduction for strain-softening viscoplasticity. _Computer Methods in Applied Mechanics and Engineering_, 317:458–479, April 2017. [19] I. B. C. M. Rocha, F. P. van der Meer, and L. J. Sluys. An adaptive domain-based POD/ECM hyper-reduced modeling framework without offline training. _Computer_ _Methods_ _in_ _Applied_ _Mechanics_ _and_ _Engineering_, 358:112650, January 2020. [20] Thomas Daniel, F. Casenave, N. Akkari, D. Ryckelynck, and C. Rey. Uncertainty quantification for industrial numerical simulation using dictionaries of reduced order models. _Mechanics & Industry_, 2022. [21] Ronan Scanff, David N´eron, Pierre Ladev`eze, Philippe Barabinot, Fr´ed´eric Cugnon, and Jean-Pierre Delsemme. Weakly-invasive LATIN-PGD for solving time-dependent non-linear parametrized problems in solid mechanics. _Computer Methods in Applied Mechanics and Engineering_, 396:114999, June 2022. [22] J. Ghaboussi, J. H. Garrett, and X. Wu. Knowledge-Based Modeling of Material Behavior with Neural Networks. _Journal of Engineering Mechanics_, 117(1):132–153, January 1991. [23] M. Lefik, D. P. Boso, and B. A. Schrefler. Artificial Neural Networks in numerical modelling of composites. _Computer Methods in Applied Mechanics and Engineering_, 198(21):1785–1804, May 2009. [24] B. A. Le, J. Yvonnet, and Q.-C. He. Computational homogenization of nonlinear elastic materials using neural networks. _International Journal for Numerical Methods in Engineering_, 104(12):1061–1084, 2015. [25] M. A. Bessa, R. Bostanabad, Z. Liu, A. Hu, Daniel W. Apley, C. Brinson, W. Chen, and Wing Kam Liu. A frame work for data-driven analysis of materials under uncertainty: Countering the curse of dimensionality. _Computer_ _Methods in Applied Mechanics and Engineering_, 320:633–667, June 2017. [26] I. B. C. M. Rocha, P. Kerfriden, and F. P. van der Meer. Micromechanics-based surrogate models for the response of composites: A critical comparison between a classical mesoscale constitutive model, hyper-reduction and neural networks. _European Journal of Mechanics - A/Solids_, 82:103995, July 2020. [27] Jia-Ji Wang, Chen Wang, Jian-Sheng Fan, and Y. L. Mo. A deep learning framework for constitutive modeling based on temporal convolutional network. _Journal of Computational Physics_, 449:110784, January 2022. [28] F. Ghavamian and A. Simone. Accelerating multiscale finite element simulations of history-dependent materials using a recurrent neural network. _Computer_ _Methods_ _in_ _Applied_ _Mechanics_ _and_ _Engineering_, 357:112594, December 2019. [29] M. Mozaffar, R. Bostanabad, W. Chen, K. Ehmann, J. Cao, and M. A. Bessa. Deep learning predicts path dependent plasticity. _Proceedings of the National Academy of Sciences_, 116(52):26414–26420, December 2019. [30] Maysam B. Gorji, Mojtaba Mozaffar, Julian N. Heidenreich, Jian Cao, and Dirk Mohr. On the potential of recurrent neural networks for modeling path dependent plasticity. _Journal_ _of_ _the_ _Mechanics_ _and_ _Physics_ _of_ _Solids_, 143:103972, October 2020. [31] Diab W. Abueidda, Seid Koric, Nahil A. Sobh, and Huseyin Sehitoglu. Deep learning for plasticity and thermo viscoplasticity. _International Journal of Plasticity_, 136:102852, January 2021. [32] Guang Chen. Recurrent neural networks (RNNs) learn the constitutive law of viscoelasticity. _Computational_ _Mechanics_, 67(3):1009–1019, March 2021. 26 [33] Hernan J. Logarzo, German Capuano, and Julian J. Rimoli. Smart constitutive laws: Inelastic homogenization through machine learning. _Computer_ _Methods_ _in_ _Applied_ _Mechanics_ _and_ _Engineering_, 373:113482, January 2021. [34] L. Borkowski, C. Sorini, and A. Chattopadhyay. Recurrent neural network-based multiaxial plasticity model with regularization for physics-informed constraints. _Computers & Structures_, 258:106678, January 2022. [35] Arnd Koeppe, Franz Bamer, Michael Selzer, Britta Nestler, and Bernd Markert. Explainable artificial intelligence for mechanics: physics-informing neural networks for constitutive models, July 2021. Number: arXiv:2104.10683 arXiv:2104.10683 [cs]. [36] M. Raissi, P. Perdikaris, and G. E. Karniadakis. Physics-informed neural networks: A deep learning frame work for solving forward and inverse problems involving nonlinear partial differential equations. _Journal_ _of_ _Computational Physics_, 378:686–707, February 2019. [37] Filippo Masi, Ioannis Stefanou, Paolo Vannucci, and Victor Maffi-Berthier. Thermodynamics-based Artificial Neural Networks for constitutive modeling. _Journal of the Mechanics and Physics of Solids_, 147:104277, February 2021. [38] Kevin Linka, Markus Hillg¨artner, Kian P. Abdolazizi, Roland C. Aydin, Mikhail Itskov, and Christian J. Cy ron. Constitutive artificial neural networks: A fast and general approach to predictive data-driven constitutive modeling by deep learning. _Journal of Computational Physics_, 429:110010, March 2021. [39] Nikolaos N. Vlassis and WaiChing Sun. Sobolev training of thermodynamic-informed neural networks for in terpretable elasto-plasticity models with level set hardening. _Computer_ _Methods_ _in_ _Applied_ _Mechanics_ _and_ _Engineering_, 377:113695, April 2021. [40] Zeliang Liu, C. T. Wu, and M. Koishi. A deep material network for multiscale topology learning and accelerated nonlinear modeling of heterogeneous materials. _Computer_ _Methods_ _in_ _Applied_ _Mechanics_ _and_ _Engineering_, 345:1138–1168, March 2019. [41] Zeliang Liu. Cell division in deep material networks applied to multiscale strain localization modeling. _Computer_ _Methods in Applied Mechanics and Engineering_, 384:113914, October 2021. [42] Kun Wang, WaiChing Sun, and Qiang Du. A cooperative game for automated learning of elasto-plasticity knowledge graphs and models with AI-guided experimentation. _Computational_ _Mechanics_, 64(2):467–499, August 2019. [43] Moritz Flaschel, Siddhant Kumar, and Laura De Lorenzis. Unsupervised discovery of interpretable hyperelastic constitutive laws. _Computer Methods in Applied Mechanics and Engineering_, 381:113852, August 2021. [44] Moritz Flaschel, Siddhant Kumar, and Laura De Lorenzis. Discovering plasticity models without stress data. _npj_ _Computational Materials_, 8(1):1–10, April 2022. [45] Christopher M. Bishop. _Pattern recognition and machine learning_ . Information science and statistics. Springer, New York, 2006. [46] M. A. Maia, I. B. C. M. Rocha, P. Kerfriden, and F. P. van der Meer. Physically recurrent neural networks for path-dependent heterogeneous materials: Embedding constitutive models in a data-driven surrogate, September 2022. [47] Sepp Hochreiter and J¨urgen Schmidhuber. Long Short-Term Memory. _Neural_ _Computation_, 9(8):1735–1780, November 1997. [48] Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas K¨opf, Edward Yang, Zach DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. PyTorch: An Imperative Style, High-Performance Deep Learning Library, December 2019. Number: arXiv:1912.01703 arXiv:1912.01703 [cs, stat]. 27 [49] Ling Wu, Van Dung Nguyen, Nanda Gopala Kilingar, and Ludovic Noels. A recurrent neural network-accelerated multi-scale model for elasto-plastic heterogeneous materials subjected to random cyclic and non-proportional loading paths. _Computer Methods in Applied Mechanics and Engineering_, 369:113234, September 2020. [50] J. Knap, N. R. Barton, R. D. Hornung, A. Arsenlis, R. Becker, and D. R. Jefferson. Adaptive sampling in hierarchical simulation. _International_ _Journal_ _for_ _Numerical_ _Methods_ _in_ _Engineering_, 76(4):572–600, 2008. ~~e~~ print: https://onlinelibrary.wiley.com/doi/pdf/10.1002/nme.2339. [51] I. B. C. M. Rocha, P. Kerfriden, and F. P. van der Meer. On-the-fly construction of surrogate constitutive models for concurrent multiscale mechanical analysis through probabilistic machine learning. _Journal of Computational_ _Physics:_ _X_, 9:100083, January 2021. [52] A. R. Melro, P. P. Camanho, F. M. Andrade Pires, and S. T. Pinho. Micromechanical analysis of polymer composites reinforced by unidirectional fibres: Part I – Constitutive modelling. _International Journal of Solids_ _and Structures_, 50(11):1897–1905, June 2013. [53] Frans Van Der Meer and Lu Ke. A computational homogenization framework with enhanced localization cri terion for macroscopic cohesive failure in heterogeneous materials. _Journal of Theoretical, Computational and_ _Applied Mechanics_, February 2022. [54] Chi Nguyen-Thanh, Vinh Phu Nguyen, Alban de Vaucorbeil, Tushar Kanti Mandal, and Jian-Ying Wu. Jive: An open source, research-oriented C++ library for solving partial differential equations. _Advances_ _in_ _Engineering_ _Software_, 150:102925, December 2020. [55] Trevor Hastie, Robert Tibshirani, and J.H. Friedman. _The elements of statistical learning: data mining, inference_ _and prediction_ . Springer, New York, 2nd edition, 2009. [56] G¨unter Klambauer, Thomas Unterthiner, Andreas Mayr, and Sepp Hochreiter. Self-Normalizing Neural Net works, September 2017. [57] M. Vogler, R. Rolfes, and P. P. Camanho. Modeling the inelastic deformation and fracture of polymer composites - Part I: Plasticity model. _Mechanics of Materials_, 59:50–64, April 2013. [58] D. D. Somer, E. A. de Souza Neto, W. G. Dettmer, and D. Peri´c. A sub-stepping scheme for multi-scale analysis of solids. _Computer Methods in Applied Mechanics and Engineering_, 198(9):1006–1016, February 2009. 28

섹션 본문 115문단 · 63,166자

(제목 없음)

1In this work we present a hybrid physics-based and data-driven learning approach to construct surrogate models for concurrent multiscale simulations of complex material behavior.We start from robust but inflexible physics-based constitutive models and increase their expressivity by allowing a subset of their material parameters to change in time according to an evolution operator learned from data.This leads to a flexible hybrid model combining a data-driven encoder and a physics-based decoder.Apart from introducing physics-motivated bias to the resulting surrogate, the internal variables of the decoder act as a memory mechanism that allows path dependency to arise naturally.We demonstrate the capabilities of the approach by combining an FNN encoder with several plasticity decoders and training the model to reproduce the macroscopic behavior of fiber-reinforced composites.The hybrid models are able to provide reasonable predictions of unloading/reloading behavior while being trained exclusively on monotonic data.Furthermore, in contrast to traditional surrogates mapping strains to stresses, the specific architecture of the hybrid model allows for lossless dimensionality reduction and straightforward enforcement of frame invariance by using strain invariants as the feature space of the encoder.

Introduction

2Recent advances in materials science and manufacturing techniques are paving the way for the design of materials with highly-tailored microstructures, including metamaterials [1,2], novel composite material systems [3,4], printed cementitious materials [5] and multifunctional living materials [6].The common thread in these new developments is a shift from traditional design focused on tailoring structures to material constraints towards tailoring material microstructures to macroscopic constraints.This shift in turn requires the development of highly-detailed models of material behavior across spatial scales and a shift to virtual structural certification, as trial-and-error design becomes infeasible [7][8][9].

3Scale bridging has been traditionally performed through a bottom-up approach: physics-based constitutive models at smaller scales are calibrated using experiments and used to perform numerical simulations (using e.g. the Finite Element (FE) method) on representative lower-scale domains from which higher-scale physics-based models can be calibrated [10,11].However, physics-based constitutive models come with a priori assumptions that often fail to reproduce complex lower-scale behavior [10].The alternative is to opt for an FE 2 (or Computational Homogenization) approach: lower-scale FE models are embedded at every Gauss point of a higher-scale model and material behavior is directly upscaled with no constitutive assumptions at the higher scale [12][13][14].Yet, the computational cost associated with repeatedly solving a large number of micromodels quickly becomes a bottleneck, in particular for many-query procedures such as design exploration and optimization that require several higher-scale simulations to be performed.

4Since the bottleneck of FE 2 lies in computing lower-scale models, a popular approach to reduce computational effort is to substitute the original FE micromodels with either structure-preserving reduced-order models [15][16][17][18][19][20][21] or purely data-driven surrogates [22][23][24][25][26][27] trained offline.More recently, Recurrent Neural Networks (RNN) have become the model of choice especially for strain path-dependent materials, with a large body of literature dedicated to their use and tuning to different applications [28][29][30][31][32][33][34].RNNs can reproduce complex long-term time dependencies in material behavior by learning latent representations of the material state, making them fast and flexible surrogates.However, these learned representations are not a priori related to actual thermodynamic internal state variables and the model is therefore poorly interpretable (see [35] for an interesting discussion on the subject).Furthermore, training for path dependency requires sampling from a potentially infinite-dimensional space of arbitrarily-long strain paths.This means training RNNs to reproduce complex material behavior often requires an inordinate amount of data (curse of dimensionality) and their purely data-driven nature limits their ability to extrapolate away from paths seen during training.

5In order to address these drawbacks, a growing number of recent works are shifting focus to models with a fusion of data-driven and physics-based components.Inspired by physics-informed neural networks ( [36]), the authors in [37] opt for data-driven models with physics-inspired bias by enforcing thermodynamic principles in a weak sense through an augmented loss function.In a similar vein, the model in [38] learns hyperelasticity by linking together several carefully crafted neural nets to represent quantities with clear physical meaning, improving the interpretability of the resulting model.In [39] the authors extend a similar hyperelastic surrogate with a network that learns plastic flow direction and the evolution of a yield surface parametrized by a level set function, resulting in a hyperelastic-plastic model with superior extrapolation capabilities.A common thread in the aforementioned approaches, however, is that their learning architectures are heavily dependent on the type of model being learned (e.g.hyperelasticity, plasticity), making extensions to other models a convoluted task.In contrast, the authors in [40,41] propose a surrogate for heterogeneous micromodels constructed by directly employing unmodified versions of the constitutive models used for the micro constituents and using a customized network architecture to infer a homogenization operator from data that combines their responses.Nevertheless, the method employs a highly-specialized iterative online prediction routine requiring extra implementation effort and with increased computational overhead when compared to that of traditional surrogates mapping strains to stresses.Finally, in [42][43][44] a dictionary of candidate physics-based models is assumed and the role of machine learning shifts instead to that of performing model selection and/or design of experiments.

6In this work we explore an alternative approach for constructing hybrid surrogate models for path-dependent multiscale simulations.We start from the premise that existing physics-based modelse.g. the ones used to describe microscale constituents -are not flexible enough to reproduce macroscale behavior but nonetheless encapsulate crucial physical features such as frame invariance and loading/unloading conditions.It is our aim to avoid learning these features directly from data, as that would require either an excessively large dataset or a highly-specialized learning architecture.We therefore opt for keeping the constitutive model as intact as possible and instead increasing flexibility by allowing some (or all) of its material parameters to evolve in time.The resulting model can be seen in Fig. 1: a data-driven encoder that learns the evolution of a set of material properties is linked to a physics-based material model decoder that maps strains to stresses.In contrast to other strategies in literature, we keep the architecture as general as possible: a general feature extractor parses macroscopic strains into features for the encoder -which can be as simple as the strains themselves or other derived quantities (e.g.strain invariants) -and any type of constitutive model can in principle act as decoder (e.g.hyperelasticity, plasticity, damage).By relegating stress computations to the decoder, we effectively introduce physics-based bias to the model. 1 Furthermore, by letting the material model handle the evolution of its own internal variables, the model benefits from a recurrent component with interpretable memory structure that allows path dependency to arise naturally.The strategy we explore here is related to the one we propose in [46], but in that work we let an encoder learn local strain distributions for several virtual material points with fixed properties.We see the two approaches as being complementary, and therefore with potential for being used in combination to form a flexible range of hybrid surrogates.

7The remainder of the work is organized as follows.Section 2 contains a primer on concurrent multiscale (FE 2 ) modeling and discusses the difficulties of training purely data-driven surrogates.In Section 3, we particularize the model of Fig. 1 to the case of a feedforward neural network encoder and discuss aspects related to offline training and online numerical stabilization.In Section 4 we assess the performance of the hybrid model in reproducing the behavior of fiber-reinforced composites using different encoder features and decoder models.Finally, some concluding remarks and future research directions are discussed in Section 5. 2 Concurrent multiscale (FE 2 ) modeling

8In this section we present a short discussion on FE 2 modeling.The goal is not to be comprehensive -the interested reader is referred to [13,14] for detailed discussions on the subject -but rather to expose the computational bottleneck associated with the method and pinpoint where surrogate models can be used to alleviate the issue.We then demonstrate how a Recurrent Neural Network (RNN) can be used as surrogate model and showcase some of the difficulties associated with their training and their extrapolation capabilities.

Scale separation and coupling

9In FE 2 we assume the problem being solved can be split into a homogeneous macroscopic domain Ω and a heterogeneous microscopic domain ω Ω where small-scale geometric features are resolved.Here we opt for a first-order homogenization approach assuming the displacements on both scales can be related by:

10where microscopic displacements u ω are split into a linear contribution proportional to the macroscopic strains ε Ω and a fluctuation term u that accounts for microscopic heterogeneities.Since ε Ω varies throughout the macroscopic domain, a micromodel for ω is embedded at each Gauss point in Ω and a microscopic boundary-value equilibrium problem assuming small displacements and strains is solved:

11microscopic stress σ ω is related to microscopic strain ε ω with traditional physics-based constitutive models for each phase in the heterogeneous domain.In the general case where the material models feature internal variables α, we can write the constitutive update for the microscale domain as:

12where θ ω are the material parameters of the microscopic constituents, the operators A and S can be split into an arbitrary number of blocks with different models (e.g.elasticity, elastoplasticity, damage) for the different material phases, and α ω is a concatenation of the internal variables of every microscopic Gauss point and therefore fully describes the path-dependent state of the microscopic problem.

13In order to determine the strains ε Ω that serve as boundary conditions for the micromodels, a macroscopic smallstrain equilibrium problem is solved:

14but this time no constitutive assumptions are adopted.Macroscale stresses are instead directly homogenized from the microscopic response:

15which couples the macroscopic strain ε Ω with the microscopic solution.Since Eq. ( 1) also couples the solutions in the opposite direction, a bidirectional coupling is formed which requires the two-scale equilibrium problem to be solved iteratively.

Data-driven surrogate modeling

16The coupled problem of Section 2.1 is extremely computationally demanding.The lower-scale domain ω usually features complicated geometric features and must therefore be modeled with dense FE meshes in order to ensure accuracy.Worse yet, an independent microscopic problem must be solved at every integration point in Ω for every iteration of every time step of the simulation.This nested nature quickly forms a computational bottleneck.

17Since the bulk of the computational effort lies in solving the micromodels, a popular approach to make multiscale analysis viable for practical applications is to substitute the microscopic FE models by data-driven surrogates.The idea is to perform a number of micromodel simulations under representative boundary conditions and use the resulting stress-strain pairs to train a machine learning model to be deployed when performing the actual two-scale simulations of interest.Naturally, the approach tacitly assumes that the number of offline micromodel computations required to train the model is much smaller than the number of times the microscopic behavior will be computed online.In the following, we use a simple example to demonstrate a number of difficulties associated with training such a model to reproduce path-dependent material behavior.

Example: A one-dimensional RNN surrogate

18For this demonstration, we train a Long Short-term Memory (LSTM) network [47] to reproduce one-dimensional (single stress/strain component) elastoplasticity.The architecture of the model is shown in Fig. 2a and is implemented in PyTorch [48].In order to minimize the risk of overfitting, a pragmatic model selection procedure is performed by first training the model with several non-monotonic strain paths and gradually increasing cell size until reasonable accuracy is obtained.This leads to a parsimonious model with a single LSTM cell with 5 latent units.

19At this point it is interesting to draw a parallel between the network and the micromodel whose behavior is being reproduced: the concatenation of the hidden state h and cell state c of the LSTM cell can be seen as a lower-dimensional surrogate for the set of microscopic internal variables α ω of Eq. (3).However, in contrast to the variables in α, the latent variables h and c have no physical interpretation and evolve purely according to heuristic memory mechanisms that mimic patterns inferred during training.

20First, we train the LSTM using only monotonic data.Since only one strain component is being modeled, this initial dataset is composed simply of one strain path in tension and one in compression.The trained model is then used to predict a tension path with one unloading-reloading cycle.Having never seen unloading during training, the network reverses course and unloads on top of its loading path (Fig. 2b).This result is hardly surprising, but sheds light on the potentially deceiving nature of the training procedure: even though we are only concerned with a single strain component, predictions actually take place in an augmented space that describes strain paths in time which can be arbitrarily high-dimensional (as paths can be arbitrarily long).

21We can further demonstrate this manifestation of the curse of dimensionality with the two additional examples of Fig. 3.In Fig. 3a we train the network with two unloading paths and it fails to predict a third one at an intermediate strain level.Here it can be deceiving to assume the third path can be interpolated from the other two: in the 48dimensional space of strain paths (we use paths with 48 time steps each) the network is actually operating far away from training data.In Fig. 3b the network tries to reproduce a path seen during training but we first let the material rest at zero strain for five time steps before loading starts and for another five time steps at the end of the path.With purely data-driven latent dynamics, the initial rest disturbs the memory structure of the network and causes large deviations for a large portion of the path.For the rest at the end of the path, we see that the surrogate fails to predict the characteristic that the stress does not change upon constant deformation.

22Training data-driven models to accurately reproduce path dependency is therefore not straightforward: their latent representations of material state are not interpretable and even phenomena as trivial as resting at zero strain must be learned from data.At the core of successful applications of RNNs to this task are either extensive datasets obtained with carefully crafted sampling strategies [33,49] or highly tailored datasets for specific macroscopic problems [28].

23Alternatively, active learning frameworks may be used to skip offline training altogether [50,51], but at the cost of producing slower surrogates.

A hybrid surrogate model

24In this work we attempt to avoid the curse of dimensionality by relegating to a physics-based material model some of the tasks the RNN of Section 2.3 has to explicitly learn from data.In this section, we further formalize the hybrid approach of Fig. 1 by looking at the roles of each model component and their dependencies in time.We then particularize the model for the case of a feedforward neural network (FNN) encoder and discuss feature selection and numerical stabilization strategies.

Evolving material parameters

25Physics-based material models are traditionally formulated with a fixed set of parameters θ either directly computed from a specific set of (numerical) experiments or indirectly from stress-strain measurements in a Maximum Likelihood Estimation (MLE) approach2 .Here we start from the premise that letting (part of) θ evolve in time increases flexibility and allows the model to capture more complex material behavior.Conversely, keeping the remainder of the model intact improves interpretability and provides physics-based bias to the data-driven model tasked to learn this evolution.In Fig. 4, the hybrid model of Fig. 1 is unrolled in time for a number of consecutive time steps and represented as a graph showing the dependencies between variables.Filled and hollow nodes represent observed and latent variables, respectively, and are color coded to represent the different model components in Fig. 1.Similar to the microscale models of Eq. (3), we assume the constitutive behavior at the macroscale is given by a physics-based material model:

26but now with time-dependent parameters θ t .Note that the model response at time t depends on the material state at time t−1 through a set of internal variables α Ω t−1 (Fig. 4).This gives the model a recurrent nature not unlike that of the RNN of Fig. 2a with its state variables c and h.The advantage here is that α has clear physical interpretation (plastic strains, damage variables, etc) and its evolution is handled by the fixed operator A composed of clearly interpretable algorithmic steps grounded in physics and/or classical material phenomenology (e.g. a return mapping algorithm).

27On the encoder side, we let the material properties θ evolve according to an evolution operator D whose shape is learned from data:

28as a function of a set of features ϕ that are themselves obtained from the macroscopic strains through a feature extractor F:

29where ϕ t could be simply the strains themselves or other quantities derived from it.More importantly, note that θ t depends only on the current features ϕ t and we therefore assume the encoder is not recurrent (Fig. 4).This choice effectively limits the flexibility of D and makes the hybrid surrogate fully rely on the more robust model M Ω to explain path-dependent phenomena, helping counter the curse of dimensionality associated with sampling strain paths.For instance, it opens up the possibility to train the surrogate exclusively with monotonic data, as we will demonstrate in the examples of Section 4.

30In the following sections, we particularize the model for the case of D being a fully-connected neural network and for specific choices of F and M. Nevertheless, the general architecture of Figs. 1 and 4 is meant to be as flexible as possible:

31• The nature and dimensionality of ϕ is not tied to that of ε Ω since strains are also given directly to M Ω ;

32• Other machine learning models for regression can also be used as D, and it could in principle be split into different models handling the evolution of different subsets of θ.Any number of model parameters may also be left out of θ and either fixed as constants or optimized to constant values during training;

33• No assumption is made on the form of M Ω or the nature or dimensionality of α Ω .Instead of a single model, it could also for instance be a mixture of physics-based models combined with analytical homogenization techniques.

Feature extractors

34A pragmatic choice for F is to simply assume ϕ is the macroscopic strain vector ε Ω itself.It is also a familiar one, as we can then relate the resulting model to conventional surrogates mapping strains to stresses.However, since macroscopic strains are also directly passed on to the decoder, the architecture gives us the freedom to experiment with different features.Fig. 5 shows the two model architectures we explore in this work.For the two variants in Fig. 5a we either use ε Ω itself or a set of small-strain invariants of the macroscopic strain tensor of increasing dimensionality:

35where the variants are given by the well-known expressions:

36Additionally, since the current study focus on elastoplasticity, it is also interesting to explore feature spaces including invariants from the deviatoric strain tensor:

37where:

38By using features based on invariants and since the decoder material model is itself already frame invariant for small strains, it follows that the resulting surrogate will naturally inherit this beneficial characteristic.This stands in contrast with traditional black-box surrogates mapping strains to stresses.Furthermore, opting for invariant-based features can be seen as a physics-based dimensionality reduction operation that can potentially reduce the amount of data needed to train the hybrid model.

39(a) Macroscopic strains or invariants directly used as features We also investigate the possibility of extracting features from the outputs of a precalibrated physics-based material model M subjected to the same strain path seen at the macroscale (Fig. 5b).Note that this specific architecture introduces an additional recurrent component to the model through the set α of internal variables of M. From a machine learning perspective, the role of M would be analogous to that of a temporal convolution operator or an RNN cell appended to the encoder.The key difference, however, is that M is fixed a priori and therefore should not require extra sampling effort with respect to the more straightforward extractor in Fig. 5a.

40Naturally, different choices for M yield models with distinct learning capabilities, and we therefore assume M encapsulates relevant information about not only the current values of ε Ω but also of its history.In the present scenario where the data is coming from micromodel computations, we opt for the intuitive choice of having M be one of the known constitutive models used to describe the microscopic material phases.We can therefore conceptually see M as an imaginary representative material point at the microscale that is always subjected to the average micromodel strain.We then use either a subset of its internal variables α or a set of invariants I σ of its stress outputs as features.

Neural network encoder

41For simplicity, we opt for modeling the evolution of θ using classical feedforward neural networks with fullyconnected layers.As both architectures in Fig. 5 ultimately compute macroscopic stresses given macroscopic strains, we can use supervised learning to train the model with a straightforward Maximum Likelihood approach.Gathering the complete set of network weights in a vector w and seeing the complete surrogate as a monolithic model that computes an approximation σ for stresses, we adopt the following observation model for the snapshot stresses σ:

42where the superscript Ω is dropped for convenience, I is an identity matrix, and ξ is an additive Gaussian noise 3 .Under the assumption of a squared loss, maximizing the likelihood of a training dataset with N observations amounts to minimizing the loss function [45]:

43with the variance of the noise that explains data misfit being simply β = N/2L.The resulting loss function is the same one used for conventional data-driven surrogates and is therefore straightforward to implement.Nevertheless, it is worth noting that since we cannot directly observe θ, computing the gradients of L with respect to w involves backpropagating derivatives through the decoder M. Furthermore, since w affects the evolution of the internal variables α, backpropagation in time becomes necessary.Starting from Eq. ( 14) and walking back through the graph of Fig. 4, the gradient of the loss at time step t of a given strain path is given by:

44where the remaining gradient chain ∂θ/∂w is computed with conventional backpropagation through the network.If M is implemented in a code base that allows for automatic differentiation (e.g. in PyTorch), these time dependencies are naturally taken into account as long as a persistent gradient tape is used within each strain path 4 .In this work we instead implement network training directly into an existing FE code, and therefore opt for the pragmatic approach of computing all partial derivatives of quantities derived from M using finite differences.Finally, in order to enforce upper and lower bounds for θ and avoid unphysical parameter values (e.g.negative elasticity moduli), we apply sigmoid activation to the final layer of the network and scale the parameters back from a [0, 1] range using predefined bounds:

Material decoders

45As previously mentioned, any constitutive model can in principle be used as M. For the present study we focus on reproducing elastoplasticity and therefore narrow our choices down to the following set of potential decoders with increasing levels of complexity.The simplest one is a linear-elastic isotropic material with no internal variables:

46where index notation is used for convenience.For this model, θ comprises only the bulk and shear moduli K and G, or equivalently the Young's modulus E the Poisson's ratio ν.

47The second decoder option is a simple plasticity model with J 2 (von Mises) flow.The stress update in this case becomes:

48where strain is additively decomposed into elastic and plastic (ε p ) contributions.The yield criterium and plastic flow rule are given by:

49where S is the deviatoric part of the stresses, γ is a plastic multiplier, σ y is a yield stress parameter and we write the Frobenius norm as • F .In order to keep the model as simple as possible, we assume σ y is a material constant and therefore end up with a perfectly-plastic model with associative flow.The internal variables of this model are components of the plastic strain vector ε p and the only new material parameter is the yield stress σ y .Finally, we also consider the more complex pressure-dependent, non-associative plasticity model proposed by Melro et al. [52].Stress update is the same as in Eq. ( 18), but yield surface and plastic flow are given by:

50where δ ij is the Kronecker delta, σ t and σ c are yield stresses in tension and compression, respectively, and ν p is a new parameter controlling plastic contraction and allowing for compressible plastic flow.Hardening can be described by making the yield stresses general functions of ε p , but when used as a decoder we assume σ t and σ c do not depend on ε p and instead let the decoder D describe their evolution.The model by Melro et al. [52] is also the one used to describe the microscopic material phase responsible for the nonlinear behavior observed when homogenizing micromodel response, and can therefore be seen as the natural choice for M. Nevertheless, the other two decoders can provide interesting insights on the effect of introducing different levels of bias to the hybrid model.

Online predictions and inherited stability

51The architecture of Fig. 1 is developed to be minimally intrusive and allow for existing material models to be used as decoders with minimum effort.We therefore implement the online routine of the model as a wrapper around an existing implementation of M. The basic structure of the wrapper can be seen in Algorithm 1.The hybrid nature of the model allows for a robust approach that ensures the numerical stability of the original model M is inherited by the surrogate.This is achieved by only updating θ at the end of each time step, after the global implicit Newton-Raphson scheme converges.Material properties are therefore fixed while the global solver is iterating, and that means the tangent stiffness D comes directly from M and inherits its stability features.As an example, the J 2 plasticity model of Eq. ( 19) is unconditionally stable as long as its hardening modulus h ≥ 0 for any ε Ω t , α Ω t , which is the case for the perfectly-plastic version we consider here.It then follows that any hybrid surrogate with J 2 decoder is also unconditionally stable.Note that this is only possible because strains are directly passed on to the decoder and would therefore not be an option for conventional surrogates (e.g. the RNN of Fig. 3).For those surrogates, the tangent stiffness would come directly from the jacobian of a highly-flexible data-driven model, often at the cost of numerical stability.

Numerical stabilization

52Nevertheless, the decoder M may be inherently unstable even with fixed material constants.This is for instance the case for the model by Melro et al. [52]: the non-associative flow rule of Eq. ( 20) can cause the tangent stiffness D Ω to lose positive definiteness under certain strain conditions and for certain combinations of model parameters.To accommodate such a scenario and open up the possibility for online model adaptivity in other contexts, we propose a scheme for updating the encoder D on the fly in order to enforce extra constraints locally.

53Back to Algorithm 1, at the beginning of a new time step we keep θ fixed to the one obtained with converged strains from the previous step and let the solver make a first strain prediction.After this first iteration, a stability criterion is checked and used to define a new loss function that can be used to update network weights in case instability is detected.Here we employ the determinant of the acoustic tensor Q:

54where n d is the vector normal to the strain localization direction creating the instability, which we find through an angle sweep procedure as in [53].We then use det (Q) as a metric of stability and trigger a retraining procedure in case a negative value is detected.We then introduce a new loss function:

55Linear-elastic fibers Elastoplastic matrix where • − extracts the negative part of its operand and Q 0 is a reference value for the acoustic tensor computed at the start of the simulation.We minimize this new loss at every unstable point for a small number of epochs with low learning rate, and to discourage significant drifts from the original model we finish the stabilization procedure by updating the network using the original loss of Eq. ( 14) for a single minibatch.Finally, θ is updated using the retrained model and is kept fixed for the remaining iterations 5 .Note that the local constraint of Eq. ( 22) is therefore only enforced in a soft way and remaining instabilities might still cause the global solver to diverge, in which case we cancel the current increment, go back to the beginning of the time step and allow for the procedure to be triggered again.

Numerical examples

56The proposed model was implemented in an in-house Finite Element code developed using the open-source C++ numerical analysis library Jem/Jive [54].In order to allow for seamless online retraining, network training was also implemented within the same code.We start this section by describing the datasets and model selection strategies used to build the surrogates.We then investigate the performance of the approach under several choices of encoders and decoders.Finally, we use the model within an FE 2 simulation and demonstrate the online stabilization procedure of Section 3.5.All simulations are performed on cluster nodes equipped with Xeon E5-2630V4 processors and 128 GB RAM running CentOS 7.

Data sampling and model selection

57Models are trained to reproduce the behavior of the fiber-reinforced composite micromodel shown in Fig. 6.Fibers are modeled as linear-elastic and the matrix is described by the pressure-dependent non-associative elastoplastic model by Melro et al. [52] (Section 3.4).Microscale material properties are adopted from [10].The microscopic geometry shown in Fig. 6 results from an RVE study performed in [10] and is therefore considered representative.Following the discussion in Section 3, our aim is to investigate up to which extent it is possible to circumvent the curse of dimensionality associated with path dependency by training surrogates exclusively on monotonic strain paths and having time-dependent behavior arise naturally from a physics-based decoder.We therefore limit ourselves to monotonic paths for training.For consistency, we also employ exclusively motononic data to perform model selection.

58For efficiency, we limit the present investigation to 2D simulations (i.e. three strain components) in the plane perpendicular to the fibers, but nevertheless expect the discussion and conclusions to generalize to 3D simulations as long as appropriate orthotropic decoders are employed.Datasets with 2000 monotonic strain paths are generated under both plane strain and plane stress assumptions.Fig. 7 shows the complete plane strain dataset, with a similar one also being generated for plane stress.Each path is generated with an FE 2 simulation of a single macroscopic element under displacement control along a fixed direction in strain space sampled from a uniform distribution.To circumvent convergence issues, we employ an adaptive time stepping technique that progressively reduces time step size when the simulation does not converge and gradually increases it back for subsequent increments.The simulations are stopped once a strain norm of 10 % is reached.As the adaptive scheme leads to paths with different numbers of time increments, we balance the dataset by ensuring every path is composed of 30 steps with strain norms as equally spaced as possible.

59To keep model selection straightforward and avoid the need for cumbersome k-fold cross validation or bootstrapping, we train a preliminary model with enough flexibility and an extensive training dataset and gradually increase the size of the validation set until the validation error converges to a good estimate of the expected prediction error [55].This results in validation sets with 500 paths selected at random from the original datasets, leaving 1500 paths to be used for training.We then perform model selection by gradually increasing the complexity of our FNN encoders until the validation error stabilizes.From experimenting with different architectures, we find that encoders with 5 hidden layers of 50 units each with Scaled Exponential Linear Unit (SELU) [56] activation provide enough flexibility for all the examples treated here.To ensure enough regularization when computing learning curves with small datasets, we employ Bernoulli dropout layers with a rate of 1 % after every hidden layer.Networks are trained for 20 000 epochs and the model with lowest historical validation error is kept after training, further reducing the risk of overfitting on small datasets.

60To assess the capabilities of the trained surrogates, we compute an additional test dataset comprising 50 monotonic,

Number of training paths [] Mean validation error [MPa]

61[εxx εyy γxy] → FNN

Elastic decoder

62It is interesting to first consider the simple linear-elastic decoder of Eq. ( 17), as it has no internal variables and therefore leads to a surrogate model comparable in nature to a conventional FNN trained on stress-strain pairs.As we will demonstrate, however, the limited physical bias provided by such simple model already proves advantageous.Here we let both elastic properties be controlled by the learned encoder:

63where the bounds 10 1 < E < 10 5 and 0 < ν < 0.5 are enforced as described in Eq. ( 16).We first perform a feature selection study and investigate how efficiently the model learns as the size of the dataset is increased.From the original plane strain training dataset of 1500 monotonic strain paths, we draw datasets with sizes ranging between 1 and 150 paths without replacement and use them to train networks with different encoder features.To get a reliable estimate of the expected prediction error, we repeat this process 50 times for each dataset size and encoder type, and for comparison we also do the same for conventional FNNs trained directly on stress targets (keeping the same architecture but going directly from the final hidden layer to stresses).This amounts to a total of 3400 trained networks from which we can compute an estimate of the prediction error by averaging σ − σ over the 500 paths left for validation.

64Fig. 9a plots averages of the validation error over the 50 training datasets used for each size.Although the hybrid architecture does not show an advantage over the FNN when the encoder is trained on strain features, there is a clear gain in learning speed when using only the two first strain invariants as features.Apart from accelerating learning and resulting in lossless dimensionality reduction, using invariants also results in a surrogate which is frame invariant under small strains.For comparison, we also train a conventional FNN on the same set of features, but those are unsurprisingly not enough to describe general strain states and much of the material response is interpreted by the FNN as observation noise.We zoom into the first part of the learning curves in Fig. 9b shows representative predictions of this model for paths from the test set.As expected, this surrogate with no internal variables is not capable of predicting non-monotonic strain paths, and effectively behaves like a hyperelastic material model just as the conventional FNN would.Nevertheless, the flexible and interpretable encoder-decoder architecture of Fig. 1 allows for new creative approaches in feature selection.As a demonstration, we keep the trained network of Fig. 10 intact and only modify its feature extractor to introduce a simple path-dependent mechanism:

65which freezes the evolution of θ if the path becomes non-monotonic.Note that the network does not need to be retrained and this modification can be employed exclusively when making online predictions, as the new features reduce to the original ones for the monotonic paths used for training.We plot two representative non-monotonic paths predicted by the modified model in Fig. 11.From the hyperelastic behavior of Fig. 10, the modified surrogate now behaves as a damage model: the non-linear material behavior is explained by a loss of stiffness which is made persistent by the history-aware feature extractor.Nevertheless, although an improvement to the original model, it is unreasonable to expect the physical bias introduced by a purely elastic model to reliably represent an elastoplastic micromodel.We therefore move to decoders with more relevant physics.

J 2 decoder

66In this section we choose as decoder M the elastoplastic model of Eq. ( 19) with J 2 plastic flow.Standing on its own, the model is a priori perfectly plastic (constant σ y ) 6 , but here we let its yield stress be controlled by the data-driven while enforcing 10 1 < σ y < 10 3 and keeping the Young's modulus and Poisson's ratio fixed to values obtained from a single linear micromodel simulation.In contrast to the model with elastic decoder of the previous section, we now employ prior knowledge of the micromodel behavior and assume that all non-linearity should be explained by plasticity and do not let the elastic properties be dictated by the encoder.Still, the assumption of isotropic and incompressible plastic flow is a departure from the more complex pressure-dependent and non-associative behavior shown by the micromodel.Here we are therefore concerned with the effect of trading the flexibility of an elastic decoder for significantly more physical bias from a lower-fidelity representation of material behavior.At this point it is interesting to compare the performance of the hybrid surrogate with predictions coming from the state-of-the-art mesoscale material model for polymer composites proposed by Vogler et al. [57].It is an orthotropic elastoplastic model with pressure-dependent non-associative flow precalibrated with a small number of monotonic uniaxial and biaxial stress-strain curves obtained from simulations on the exact same micromodel of Fig. 6 (see [10] for details on the calibration procedure).For this section, we switch to a dataset in plane stress, allowing the J 2 model to describe richer nonlinear behavior under biaxial strain states.

67Fig. 12 shows the evolution of the validation set loss when training the J 2 -decoded model with 1500 plane stress training paths.The error quickly stabilizes at around 20 MPa, significantly lower than the 44 MPa average prediction error obtained with the precalibrated mesomodel.The added flexibility with respect to the original perfectly-plastic J 2 model can be seen in the test set curves plotted in Fig. 13: the data-driven encoder leads to correct predictions of nonlinear hardening (Fig. 13a) and pressure-dependent plastic flow (Fig. 13b).The figures also highlight the inability of the mesomodel to predict the behavior in certain regions of the strain space, particularly under compressiondominated scenarios.

68The minimum validation error attained by the model is, however, nevertheless significantly higher than the 4 MPa obtained with the elastic decoder of the previous section.This result is not entirely surprising, as the elastic decoder introduces much less bias into the model and therefore allows for a greater degree of flexibility when fitting monotonic data.On the other hand, what cannot be directly gleaned from Fig. 12 is that the J 2 decoder benefits from having physics-based memory coming from its internal variables that allows for making predictions of non-monotonic behavior based solely on our assumption that nonlinearities come from plastic strain and therefore without ever having to see it during training.

69In Fig. 14 we plot predictions of the J 2 surrogate for two different unloading-reloading paths from the test dataset.The model predicts unloading very well without being trained for it.Nevertheless, as Fig. 12 suggests, the model struggles to predict monotonic behavior under a number of different scenarios, from which it follows that any nonmonotonic predictions along the same directions will also be inaccurate.Fig. 15 shows three examples of this behavior.

70The choice of decoder therefore involves a tradeoff between bias and flexibility that can be deceiving to base solely on validation error computed on monotonic data.Indeed, the decoder used in the next section outperforms J 2 -based

Number of training paths [] Mean validation error [MPa]

71Precalibrated mesomodel decoders in most situations, but nevertheless a choice for the simpler decoder might still be justifiede.g. if the unconditional numerical stability of a J 2 decoder is desirable.

Non-associative pressure-dependent elastoplastic decoder

72As one final exploration on model selection, we use as decoder the same elastoplastic model by Melro et al. used to describe the matrix material at the microscale [52].As mentioned in Section 3.4, this model is the natural choice for M, as it attempts to explain the observed microscopic non-linear behavior with the same model from which the behavior arises.As before we keep the elastic properties of the model intact and let only the yield stresses and the plastic Poisson's ratio change in time:

73where 10 1 < σ t < 10 4 , 0 < ν p < 0.5 and 1 < σc σt < 100.We opt for the ratio σc σt instead of simply σ c in order to also enforce σ c > σ t .

74We expand upon the feature selection study of Fig. 9 by looking at several feature extractors coming both directly from strains and from the output of a precalibrated Melro model M with the same properties used at the microscale (Fig. 5b).Aside from the familiar choice of strain features ([ε xx ε yy γ xy ] → Melro), we look into invariants of the strain tensor ([I ε

75, plastic strain internal variables coming from the precalibrated feature extractor ( ε p xx ε p yy γ p xy → Melro) and stress invariants coming from the extractor ( I σ 1 J σ 2 → Melro).We also include the precalibrated mesomodel by Vogler et al. [57] and selected curves from Fig. 9a for comparison purposes.As before, we train 50 networks of each type for each size of dataset ranging from 1 to 150 paths drawn from the original dataset with 1500 paths.Each trained network is then used to compute the validation error over the 500 monotonic validation paths and the 150 test paths (50 extra monotonic paths, 50 paths with unloading-reloading and 50 slow cycle paths).This results in an extensive study comprising 6800 trained networks and over one million test set simulations.

76Results are summarized in Fig. 16, with each in a curve being the average 50 networks.Once again using invariants as features proves beneficial, leading to lossless dimensionality reduction and frame invariant surrogates.All tested models perform better than the precalibrated mesomodel, with a gap of more than one order of magnitude for the best performing surrogates.Interestingly, models with Melro-based decoders seem to learn as fast and be as flexible as models with elastic decoders, already for the monotonic curves in the validation dataset.This suggests that the new decoder does not impose extra undesirable bias in learning the specific material behavior treated here other than the assumptions that had already been introduced by elasticity (e.g.symmetries and couplings encoded by the elastic stiffness tensor).Any benefits reaped when extrapolating to non-monotonic paths, as we will see in the following, are therefore obtained at a negligible price in terms of monotonic behavior accuracy.This stands in contrast with the discussion on the J 2 decoder of the previous section.

Number of training paths [] Mean test error [MPa]

77Precalibrated mesomodel

Number of training paths [] Mean error (non-monotonic) [MPa]

78Precalibrated mesomodel Although Fig. 16 is not enough to discern between several of our encoder choices, it is interesting to take a closer look at the two clearly underperforming options.Fig. 17 shows predictions from [J ε 2 ] → Melro and ε p xx ε p yy γ p xy → Melro for the same monotonic test path.The model with a single feature struggles to predict the entirety of the path, indicating that further reducing the dimensionality of the feature space is not possible for this dataset.The oscillatory stress predictions make this model unsuitable for online stress evaluation in a multiscale setting.For the model with plastic strain features, the feature extractor shows no plastic strains until high stress levels while in the micromodel plasticity starts much earlier, forcing the surrogate to remain in the elastic regime until a sudden jump brings it back to the expected path.

79Moving to unloading-reloading paths, we compare the performance of different feature sets by plotting the average test error over the 50 unloading-reloading paths in Fig. 18a.Here an interesting observation can be made: even the surrogate [I ε 1 I ε 2 ] → Elastic -which cannot predict unloading at all -attains a lower test error than the precalibrated mesomodel.This apparent contradiction can be explained by plotting in Fig. 18b the average error computed only at unloading or reloading time steps: use of an elastic decoder -and therefore of a conventional FNN or an RNN trained with insufficient data -excels at predicting monotonic response but is consistently inaccurate for non-monotonic paths and shows little improvement when more monotonic paths are added to the training dataset.

80In contrast, the best-performing Melro models are consistently more accurate than the precalibrated mesomodel even when trained on very little data.We plot in Fig. 19 selected representative unloading paths from the test dataset for four of the surrogates.Unloading is once again well captured without having been seen during training, and since it emerges from a purely physical mechanism, it is reasonable to expect unloading at different points along the path to yield comparable results (c.f.Fig. 3a).Nevertheless, relatively small differences in unloading slope can still lead to large differences in stress at the end of the unloading branches.Furthermore, the model can struggle with tension-compression switches and predict spurious hysteresis loops.

81Indeed, we observe a consistent inability by the models to properly predict switches between tension and compression within the same path.This becomes clear when looking at slow cycling test paths composed of several of these switches (Fig. 8c).We plot learning curves for the test error on slow cycling paths in Fig. 20, for complete paths

Number of training paths [] Mean test error [MPa]

82Precalibrated mesomodel

Number of training paths [] Mean error (non-monotonic) [MPa]

83Precalibrated mesomodel as well as exclusively for the non-monotonic branches of the paths.In contrast with results up until now, here we see larger differences in performance for different feature sets.As expected, elastic decoders are once again shown to be unsuitable to predict non-monotonic paths, and the difference here is even more pronounced than in for singleunloading paths (c.f.Fig. 18) as most of the path is composed of unloading/reloading branches.The model encoded with stress invariants coming from an elastoplastic feature extractor performs best among the models we test.But crucially, none of the surrogates manages to surpass the precalibrated mesomodel in this case.

84As a demonstration, we select a representative path from the test dataset and plot predictions made with four different feature sets in Fig. 21.As expected, larger errors are observed for more pronounced tension-compression switches as models either over-or undershoot the stress levels at compression-tension switch points.Interestingly, most models manage to converge back to the correct stress path after reloading, since hardening behavior is completely dictated by their non-recurrent data-driven encoders.The exception is the model with stress invariant features ( I σ 1 J σ 2 → Melro), performing significantly better than the rest but showing a number of undesired oscillations in stress response due to the (physically) recurrent nature of its features forcing its neural network encoder to operate in extrapolation.

FE 2 example

85We conclude our discussion with an FE 2 demonstration using the proposed hybrid surrogate.We model the tapered macroscopic bar with geometry and boundary conditions shown in Fig. 22.The model is meshed with 1620 linear triangles with a single Gauss point each and is loaded in tension until plastic strain localization takes place.The combination of the tapered geometry with the several circular voids along the model result in a complex range of stress states throughout the model.In contrast to the cases considered so far, this example also covers non-proportional strain paths.To facilitate convergence, the substepping approach proposed in [58] is employed and an adaptive stepping algorithm is used at the macroscale that automatically reduces time step size and recomputes the current increment if either the micro-or macroscopic Newton-Raphson solver fails to converge.

86We use the I σ 1 J σ 2 → Melro model of the previous section as surrogate, trained on the complete set of 1500 monotonic training strain paths.The global load-displacement curve at the right edge of the model is plotted for the full-order FE 2 solution and using the hybrid surrogate in Fig. 23a.Since we update decoder properties in an explicit fashion (i.e.once per time step, see Algorithm 1), we use a displacement increment ∆u = 3.5 × 10 −3 mm for the approximate model, 10 times smaller than the one used for the full-order model.

87As mentioned in Section 3.5, the model by Melro et al. can suffer from numerical stability issues even with fixed material properties, and it is reasonable to expect these issues to become worse when letting properties evolve with time.Indeed, with no additional stabilization the model using the network fails to converge at the point marked in Fig. 23a.In contrast, the stabilization procedure of Section 3.5 allows for a complete path to be obtained.For this first result, we stabilize the network for 5 epochs with a learning rate of 1 × 10 −5 for the stabilization loss (Eq.( 22)) and 1 × 10 −9 for retraining on a single monotonic training path selected at random.We also consider a model with an unloading/reloading switch after the onset of macroscopic plasticity.Results are shown in Fig. 23b.The surrogate approximates the full-order behavior fairly accurately and several orders of magnitude faster than the full-order model.full-order micromodel We now look closer on the performance of the proposed online stabilization approach.We empirically find that retraining the network until every violating material point is fully stabilized is not strictly necessary in order to achieve convergence, and therefore opting for a small number of stabilization epochs proves to be an efficient approach.It is nevertheless interesting to investigate the impact of the number of stabilization epochs and of the subsequent retraining minibatch on the original dataset.We solve the monotonic example of Fig. 23a with different numbers of stabilization/retraining epochs ranging from 2 to 100 and compute the validation loss (on the 500-path validation set used for model selection) at the end of every macroscopic time increment in order to keep track of how much the stabilized network deviates from its original pretrained state.

88Results are shown together with the corresponding load-displacement curves in Fig. 24.All curves remain stable at first, as stabilization is only triggered when the first unstable points are detected.From that point, models which do not undergo retraining after stabilization lose accuracy at a rate proportional to the number of stabilization epochs.However, this unintuitively does not lead to improved global stability: the loss of accuracy by the surrogate leads to spurious global softening (c.f.Fig. 24b) which in turn leads to further need for stabilization.Models stabilized for 50 and 100 epochs continuously fail to converge and we opt for terminating the simulation after 100 cancelled time increments.On the other hand, models retrained with as little as a single strain path (out of the original 1500) after each stabilization epoch are able to maintain the original model accuracy while offering enough stability gains to allow the simulation to converge until the final step, with little change in global behavior for different stabilization regimes.

89More insight can be obtained on the different stabilization strategies by plotting the cumulative execution time of the simulation and the cumulative number of detected unstable strain states with time increments for different numbers of stabilization epochs.Results can be seen in Fig. 25.In general, simulations without retraining tend to run faster and result in improved stability, although any gains are quickly overshadowed by losses in accuracy (c.f.Fig. 24).Stabilizing for more epochs results in a reduction in the total number of unstable points detected, but beyond 5 epochs this does not result in an overall reduction in the computational cost of the simulation given the increased effort spent on individual stabilization operations.

90As one final result, we run the monotonic simulation with the hybrid surrogate for different time step sizes.As previously mentioned, the hybrid approach allows for explicit update of θ within an implicit simulation by obtaining the tangent stiffness matrix directly from the decoder.This however introduces a time step size dependency whose impact merits investigation.We plot in Fig. 26 predictions with step sizes spanning four orders of magnitude, including the same one used to obtain the full-order response.The combination of the explicit property update with the online stabilization procedure indeed introduces an upper bound for time step size for this specific problem.It stands to reason that the sensitivity to time step size also depends on the choice of decoder and on which material properties are included in θ.Further investigation into the matter in future works is therefore warranted.

Conclusions

91In this paper, we propose a hybrid surrogate modeling architecture for multiscale modeling of heterogeneous materials.The model is composed of a data-driven encoder for material properties and a physics-based decoder that computes stresses.In the resulting architecture, the encoder increases the flexibility of existing material models by letting their properties evolve in time, while the decoder provides beneficial bias and interpretability to the model.The model is conceived with flexibility in mind, allowing existing implementations of physics-based material models to be used with no extra modifications.Furthermore, by letting the decoder directly receive strain inputs, the encoder architecture is highly flexible and allows for preservation of frame independence.A semi-explicit online prediction algorithm is also proposed that allows for imposing extra constraints to model behavior in a semi-supervised way.We demonstrate the architecture by reproducing pressure-dependent elastoplastic behavior coming from homogenized fiber-reinforced composite micromodels.The simple model with a linear-elastic decoder learned faster than conventional data-driven surrogates, allowed for lossless feature space dimensionality reduction through the use of strain invariants, and was able to approximate path-dependent behavior through a simple history-aware feature extractor.Models with perfectly-plastic J 2 decoders were shown to successfully learn nonlinear hardening and pressure dependency and predict unloading-reloading while being trained exclusively on monotonic data, outperforming a state-of-the-art mesomodel for composites in accuracy for arbitrary loading directions.Employing as decoder the same plasticity model used at the microscale led to highly-accurate monotonic response and fairly accurate extrapolation to unloading/reloading behavior.Finally, the model was used to solve a complex FE 2 model and the benefit of the online stabilization procedure was demonstrated.

92We find the approach to be a promising new way to build hybrid surrogates which therefore merits further research on a number of fronts.The current architecture is not by construction concerned with enforcing unconditional thermodynamic consistency or other physical constraints of interest.Although we do find empirically that well-trained surrogates with thermodynamically consistent decoders tend to perform well, some constitutive models might not be suitable for having their properties evolve in time.Fortunately, the framework can cope with extra constraints without necessarily giving up on its flexibility, by enforcing them locally through online retraining.Although training exclusively on monotonic paths already allows for path dependency to be fairly well captured, some decoders might perform better in extrapolation if trained with a (small) number of extra non-monotonic and non-proportional strain paths -for instance when encoder and decoder can each explain the same phenomenon on their own (e.g.pressure dependency in the model by Melro et al.).We also foresee combining the present approach with the one in [46] into a unified family of flexible hybrid surrogates with a range of possible combinations of feature extractors for physics-rich time convolution, fixed-property models with learned strain distributions and evolving material models.

Figure 1 :

93Figure 1: The hybrid surrogate combining a data-driven encoder for material parameters and a physics-based material model decoder.

94Failure to predict unseen unloading

Figure 2 :

95Figure 2: An LSTM recurrent neural network as surrogate for 1D path-dependent material behavior trained with only monotonic data.

96Stopping for 5 steps at ε = 0 and ε = 0.1

Figure 3 :

97Figure 3: 1D LSTM surrogate trained with unloading/reloading and used to predict unseen unloading paths.

Figure 4 :

98Figure 4: Graph representation of the hybrid model architecture combining a data-driven encoder and a physics-based decoder.Filled circles represent observable variables and hollow circles represent latent variables.

Figure 5 :

99Figure 5: The two types of FNN-based model architectures explored in this work, with different feature extraction steps.

Algorithm 1 :

100Material wrapper implementing the online component of the hybrid surrogate.Input: strain ε Ω new at macroscopic Gauss point Output: stress σ Ω and stiffness D Ω at macroscopic Gauss point 1 use nested model with converged parameters and internal state: σ Ω , D Ω , α new ← M ε Ω new , α old , θ ; 2 if global solver has converged : 3 store latest converged strain: ε old ← ε new ; 4 commit material history: α old ← α new ; 5 compute new features: ϕ new ← F (ε new ); 6 update model parameters for the upcoming time step: θ ← D (ϕ new ); 7 if first global iteration of time step and Gauss point is unstable : 8 stabilize encoder: D ← stabilizeNetwork ε Ω new ; 9 recompute features: ϕ old ← F ε Ω old ; 10 recompute model parameters for the current time step: θ ← D (ϕ old ); 11 return σ Ω , D Ω

Figure 6 :

101Figure 6: The micromodel used in the examples of this work.

Figure 7 :

102Figure 7: The complete plane strain dataset used to train the surrogates, comprising 2000 monotonic strain-stress paths.A similar dataset is generated under plane stress conditions.

Figure 8 :

103Figure 8: Examples from a test dataset with 50 paths of each type.They are not used to train any of the networks or perform model selection.

Figure 9 :

104Figure 9: Learning curves of models with elastic decoders and conventional FNN models.Mean error over the 500 validation monotonic paths.

105, this time also showing single standard deviation uncertainty bands coming from the variance among the 50 training datasets.The hybrid network outperforms conventional FNNs in the low data regime and tends to be less sensitive to changes in dataset starting from about 20 training paths.Nevertheless, the extra flexibility of conventional FNNs allow them to achieve lower validation errors if significantly more training paths are used.Training the invariant-based hybrid network with the complete dataset of 1500 curves leads to surrogates with validation errors of about 4 MPa, accurately representing the monotonic behavior of the original micromodel.Fig.10

Figure 10 :Figure 11 :

106Figure 10: Performance of the elastic decoder model for different test scenarios.

Figure 12 :

107Figure 12: Evolution of the mean validation loss for the first 200 training epochs of a network with J 2 decoder.Single dataset with 1500 monotonic paths.

Figure 13 :→ σy → J 2 Figure 14 :Figure 15 :

108Figure13: Predictions from the network with J 2 decoder.Letting the yield stress evolve extends the model to more complex plasticity behavior.

Figure 16 :

109Figure 16: Expected validation errors for Melro-decoded surrogates with different feature extractors (averages over 50 datasets).

Figure 17 :

110Figure 17: Monotonic test set predictions from feature-deficient Melro models (complete training dataset with 1500 paths).

( b )Figure 18 :Figure 19 :

111Figure 18: Learning curves for unloading-reloading test errors of Melro-decoded surrogates (averages of 50 datasets).

Figure 20 :

112Figure 20: Slow cycling test errors for Melro-decoded surrogates (averages of 50 datasets for each size).

Figure 21 :

113Figure 21: Response of Melro-decoded surrogates with different features for selected slow cycling test paths (1500 monotonic training paths).

Figure 22 :Figure 24 :Figure 25 :

114Figure 22: FE 2 example: geometry, mesh and boundary conditions.Full-order (left) and surrogate-based (right) FE 2 simulations are compared.

Figure 26 :

115Figure 26: FE 2 example: Effect of time step size on surrogate predictions.

참고문헌 60건

  1. Adam: A Method for Stochastic Optimization 2014
  2. Pattern Recognition and Machine Learning Kybernetes · Emerald Publishing Limited · 2007 10.1108/03684920710743466
  3. Computational homogenization of nonlinear elastic materials using neural networks International Journal for Numerical Methods in Engineering · Wiley · 2015 10.1002/nme.4953
  4. Multiscale FE2 elastoviscoplastic analysis of composite structures Computational Materials Science · Elsevier BV · 1999 10.1016/s0927-0256(99)00077-4
  5. Modeling the inelastic deformation and fracture of polymer composites – Part I: Plasticity model Mechanics of Materials · Elsevier BV · 2012 10.1016/j.mechmat.2012.12.002
  6. Knowledge‐Based Modeling of Material Behavior with Neural Networks Journal of Engineering Mechanics · American Society of Civil Engineers · 1991 10.1061/(asce)0733-9399(1991)117:1(132)
  7. Multi-scale computational homogenization: Trends and challenges Journal of Computational and Applied Mathematics · Elsevier BV · 2009 10.1016/j.cam.2009.08.077
  8. An approach to micro-macro modeling of heterogeneous materials Computational Mechanics · Springer Science+Business Media · 2001 10.1007/s004660000212
  9. Long Short-Term Memory Neural Computation · The MIT Press · 1997 10.1162/neco.1997.9.8.1735
  10. Micromechanical analysis of polymer composites reinforced by unidirectional fibres: Part I – Constitutive modelling International Journal of Solids and Structures · Elsevier BV · 2013 10.1016/j.ijsolstr.2013.02.009
  11. A sub-stepping scheme for multi-scale analysis of solids Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2008 10.1016/j.cma.2008.11.013
  12. Artificial Neural Networks in numerical modelling of composites Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2009 10.1016/j.cma.2008.12.036
  13. A priori hyperreduction method: an adaptive approach Journal of Computational Physics · Elsevier BV · 2004 10.1016/j.jcp.2004.07.015
  14. Adaptive sampling in hierarchical simulation International Journal for Numerical Methods in Engineering · Wiley · 2008 10.1002/nme.2339
  15. The Elements of Statistical Learning: Data Mining, Inference, and Prediction Journal of the Royal Statistical Society Series A (Statistics in Society) · Royal Statistical Society · 2010 10.1111/j.1467-985x.2010.00646_6.x
  16. Automatised selection of load paths to construct reduced-order models in computational damage micromechanics: from dissipation-driven random selection to Bayesian optimization Computational Mechanics · Springer Science+Business Media · 2016 10.1007/s00466-016-1290-2
  17. Micromechanical validation of a mesomodel for plasticity in composites European Journal of Mechanics - A/Solids · Elsevier BV · 2016 10.1016/j.euromechsol.2016.06.008
  18. POD–DEIM model order reduction for strain-softening viscoplasticity Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2016 10.1016/j.cma.2016.11.025
  19. 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
  20. A deep material network for multiscale topology learning and accelerated nonlinear modeling of heterogeneous materials Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2018 10.1016/j.cma.2018.09.020
  21. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations Journal of Computational Physics · Elsevier BV · 2018 10.1016/j.jcp.2018.10.045
  22. Prediction of Orthotropic Hygroscopic Swelling of Fiber-Reinforced Composites from Isotropic Swelling of Matrix Polymer Journal of Composites Science · Multidisciplinary Digital Publishing Institute · 2019 10.3390/jcs3010010
  23. A cooperative game for automated learning of elasto-plasticity knowledge graphs and models with AI-guided experimentation Computational Mechanics · Springer Science+Business Media · 2019 10.1007/s00466-019-01723-1
  24. Self-Normalizing Neural Networks arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1706.02515
  25. Accelerating multiscale finite element simulations of history-dependent materials using a recurrent neural network Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2019 10.1016/j.cma.2019.112594
  26. An adaptive domain-based POD/ECM hyper-reduced modeling framework without offline training Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2019 10.1016/j.cma.2019.112650
  27. Bayesian Machine Learning in Metamaterial Design: Fragile Becomes Supercompressible Advanced Materials · Wiley · 2019 10.1002/adma.201904845
  28. Deep learning predicts path-dependent plasticity Proceedings of the National Academy of Sciences · National Academy of Sciences · 2019 10.1073/pnas.1911815116
  29. Micromechanics-based surrogate models for the response of composites: A critical comparison between a classical mesoscale constitutive model, hyper-reduction and neural networks European Journal of Mechanics - A/Solids · Elsevier BV · 2020 10.1016/j.euromechsol.2020.103995
  30. On the potential of recurrent neural networks for modeling path dependent plasticity Journal of the Mechanics and Physics of Solids · Elsevier BV · 2020 10.1016/j.jmps.2020.103972
  31. Thermodynamics-based Artificial Neural Networks for constitutive modeling Journal of the Mechanics and Physics of Solids · Elsevier BV · 2020 10.1016/j.jmps.2020.104277
  32. Inverse-designed spinodoid metamaterials npj Computational Materials · Nature Portfolio · 2020 10.1038/s41524-020-0341-6
  33. A recurrent neural network-accelerated multi-scale model for elasto-plastic heterogeneous materials subjected to random cyclic and non-proportional loading paths Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2020.113234
  34. Deep learning for plasticity and thermo-viscoplasticity International Journal of Plasticity · Elsevier BV · 2020 10.1016/j.ijplas.2020.102852
  35. Smart constitutive laws: Inelastic homogenization through machine learning Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2020.113482
  36. Jive: An open source, research-oriented C++ library for solving partial differential equations Advances in Engineering Software · Elsevier BV · 2020 10.1016/j.advengsoft.2020.102925
  37. A cooperative game for automated learning of elasto-plasticity knowledge graphs and models with AI-guided experimentation Computational Mechanics · Springer Science+Business Media · 2019 10.1007/s00466-019-01723-1
  38. Constitutive artificial neural networks: A fast and general approach to predictive data-driven constitutive modeling by deep learning Journal of Computational Physics · Elsevier BV · 2020 10.1016/j.jcp.2020.110010
  39. On-the-fly construction of surrogate constitutive models for concurrent\n multiscale mechanical analysis through probabilistic machine learning arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2007.07749
  40. Cell division in deep material networks applied to multiscale strain localization modeling Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2021 10.1016/j.cma.2021.113914
  41. Recurrent neural networks (RNNs) learn the constitutive law of viscoelasticity Computational Mechanics · Springer Science+Business Media · 2021 10.1007/s00466-021-01981-y
  42. Sobolev training of thermodynamic-informed neural networks for interpretable elasto-plasticity models with level set hardening Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2021 10.1016/j.cma.2021.113695
  43. Explainable artificial intelligence for mechanics: physics-informing neural networks for constitutive models arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2104.10683
  44. Unsupervised discovery of interpretable hyperelastic constitutive laws Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2021 10.1016/j.cma.2021.113852
  45. Soft Adaptive Mechanical Metamaterials Frontiers in Robotics and AI · Frontiers Media · 2021 10.3389/frobt.2021.673478
  46. A methodology to generate design allowables of composite laminates using machine learning International Journal of Solids and Structures · Elsevier BV · 2021 10.1016/j.ijsolstr.2021.111095
  47. Spin‐Printing of Liquid Crystal Polymer into Recyclable and Strong All‐Fiber Materials Advanced Functional Materials · Wiley · 2021 10.1002/adfm.202104574
  48. Recurrent neural network-based multiaxial plasticity model with regularization for physics-informed constraints Computers & Structures · Elsevier BV · 2021 10.1016/j.compstruc.2021.106678
  49. A deep learning framework for constitutive modeling based on temporal convolutional network Journal of Computational Physics · Elsevier BV · 2021 10.1016/j.jcp.2021.110784
  50. Uncertainty quantification for industrial numerical simulation using dictionaries of reduced order models Mechanics & Industry · EDP Sciences · 2022 10.1051/meca/2022001
  51. Adaptivity for clustering-based reduced-order modeling of localized history-dependent phenomena Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.114726
  52. A computational homogenization framework with enhanced localization criterion for macroscopic cohesive failure in heterogeneous materials Journal of Theoretical Computational and Applied Mechanics · Centre pour la Communication Scientifique Directe · 2022 10.46298/jtcam.7707
  53. Topology Optimization of Graded Truss Lattices Based on On-the-Fly Homogenization Journal of Applied Mechanics · ASM International · 2022 10.1115/1.4054186
  54. Discovering plasticity models without stress data npj Computational Materials · Nature Portfolio · 2022 10.1038/s41524-022-00752-4
  55. Flax-based natural composites hierarchically reinforced by cast or printed carbon fibres Composites Science and Technology · Elsevier BV · 2022 10.1016/j.compscitech.2022.109527
  56. Weakly-invasive LATIN-PGD for solving time-dependent non-linear parametrized problems in solid mechanics Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.114999
  57. Towards understanding deformation and fracture in cementitious lattice materials: Insights from multiscale experiments and simulations Construction and Building Materials · Elsevier BV · 2022 10.1016/j.conbuildmat.2022.128409
  58. PyTorch: An Imperative Style, High-Performance Deep Learning Library arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1912.01703
  59. Three-dimensional printing of mycelium hydrogels into living complex materials Nature Materials · Nature Portfolio · 2022 10.1038/s41563-022-01429-5
  60. Physically recurrent neural networks for path-dependent heterogeneous materials: Embedding constitutive models in a data-driven surrogate Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2023 10.1016/j.cma.2023.115934