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

Recurrent neural networks and transfer learning for predicting elasto-plasticity in woven composites

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

기본 정보

저자
  1. Ehsan Ghane — Department of Physics, University of Gothenburg, Gothenburg, Sweden
  2. Martin Fagerström — Department of Industrial and Materials Science, Chalmers University of Technology, Gothenburg, Sweden
  3. Mohsen Mirkhalaf — Department of Physics, University of Gothenburg, Gothenburg, Sweden
DOI
10.1016/j.euromechsol.2024.105378
저널
European Journal of Mechanics - A/Solids
발행년도
2024
발행기관
Elsevier BV
피인용수
23
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.euromechsol.2024.105378
토픽
Composite Material Mechanics
OpenAlex ID
W4400110697

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(9) 타이어코드, (10) 아라미드
R&D 측면
분석·모델링
확신도
0.80
근거 용어
woven composites, elasto-plastic behavior, Recurrent Neural Network, surrogate model, transfer learning
판단 근거
본 논문은 직조 복합재(woven composites)의 비선형 탄소성 거동을 예측하기 위한 RNN 기반의 대리 모델(surrogate model) 연구를 다룹니다. 이는 코오롱인더스트리의 타이어코드(9)나 아라미드(10) 등 고강도 섬유 보강재가 포함된 복합소재의 물성 예측 및 설계 최적화에 응용될 수 있는 기술입니다.
R&D 활용 포인트
복합소재(타이어코드, 아라미드 기반 복합재 등)의 복잡한 하중 조건 및 미세 구조 변화에 따른 기계적 물성 변화를 시뮬레이션 비용 없이 빠르게 예측하는 디지털 트윈/설계 도구로 활용 가능합니다.
평가 입력
섹션 본문 38,284자 중 30,032자 발췌

초록

Woven composites exhibit complex meso-scale behavior depending on meso- and micro-structural parameters. Accurately modeling their mechanical response is challenging and computationally demanding, especially for inelastic behavior. To address the computational burden, we have developed a Recurrent Neural Network (RNN) model as a surrogate for meso-scale simulations. As a basis for RNN training, a mean-field model generates a comprehensive data set representing elasto-plastic behavior. Arbitrary six-dimensional time histories of strain are used to generate multiaxial stress–strain histories under random walking and cyclic loading conditions as the source and target tasks, respectively. First, the RNN model is trained for the source task. The same model is trained leveraging transfer learning for the target task, containing fewer data and sparse features because only some strain components are non-zero. The candidate model is successfully trained and validated through a grid search exploration of over 220 different RNN configurations and demonstrates accurate predictions for both source and target tasks. The results demonstrate that transfer learning could be used to train the RNN effectively under varying strain conditions and arbitrary constituents’ material properties, suggesting its potential as an appropriate tool for modeling path-dependent responses in woven composites.

본문 39,424자

본문 펼치기
Woven composites exhibit complex meso-scale behavior depending on meso-and micro-structural parameters.Accurately modeling their mechanical response is challenging and computationally demanding, especially for inelastic behavior.To address the computational burden, we have developed a Recurrent Neural Network (RNN) model as a surrogate for meso-scale simulations.As a basis for RNN training, a mean-field model generates a comprehensive data set representing elasto-plastic behavior.Arbitrary six-dimensional time histories of strain are used to generate multiaxial stress-strain histories under random walking and cyclic loading conditions as the source and target tasks, respectively.First, the RNN model is trained for the source task.The same model is trained leveraging transfer learning for the target task, containing fewer data and sparse features because only some strain components are non-zero.The candidate model is successfully trained and validated through a grid search exploration of over 220 different RNN configurations and demonstrates accurate predictions for both source and target tasks.The results demonstrate that transfer learning could be used to train the RNN effectively under varying strain conditions and arbitrary constituents' material properties, suggesting its potential as an appropriate tool for modeling path-dependent responses in woven composites. Introduction Woven composite laminates are commonly used in structural applications due to their automated and cost-effective manufacturing processes.However, modeling of woven composites presents significant challenges due to the presence of two heterogeneous sub-scales, the meso-scale, and the micro-scale, and the intricate interlacing of yarns, resulting in the development of complex stress states [1]. Introduction In order to predict the complex behavior of woven composites governed by the heterogeneous subscales configuration, different full-field micro-mechanical and meso-scale models have been developed (e.g.[1][2][3]).However, one of the major challenges of using meso-scale models is their high computational cost, which hinders the usage of these models for engineering applications [4].As a remedy, mean-field models have been proposed and used (e.g.[5]).In these models, average stress and average strain are considered for each sub-scale constituent.A better computational performance (compared to full-field models) is obtained, although at the expense of lower fidelity and accuracy. Introduction Recently, data-driven approaches have gained considerable interest in developing surrogate models for different composites (e.g.[6][7][8][9][10][11]).Different kinds of Artificial Neural Networks (ANNs) have been used to develop remarkably efficient and highly accurate surrogate models.A feed-forward architecture is typically good enough to develop an ANN-enhanced model in the linear elastic regime [12].However, for inelastic path-dependent behavior, it is required to use more advanced ANN architectures [13].In recent years, different kinds of Recurrent Neural Networks (RNNs), such as Gated Recurrent Units (GRU) [14] and Long Short-Term Memory (LSTM) networks [15], have been employed for the inelastic path-dependent behavior of different composite materials (see e.g.[8,[16][17][18]).A remarkable computational enhancement and a high level of accuracy were obtained. Introduction Training RNNs is sensitive to initializing the training parameters (weights and thresholds) due to the risk of vanishing or exploding gradients [19].Vanishing gradients result in slow learning while exploding gradients lead to unstable training.Some methods have been suggested for initializing layer weights and biases [19,20].These methods can greatly impact how well the deep network trains.However, they are still based on randomly initializing the training parameters.Furthermore, RNNs encounter challenges when dealing with sparse feature data sets where inputs have many zero values.For instance, in the case of a stress prediction task using strain tensor components as inputs, when we have pure-shear loading, only one component of the input feature is non-zero.This results in data sparsity that can interfere with learning and hinder the network's ability to capture meaningful patterns.This paper employs a physics-guided initialization [21] of weights and thresholds using transfer learning [22].Using transfer learning, RNNs are able to overcome initialization challenges by leveraging knowledge derived from previously trained models.The network is initialized with the pre-trained model containing the expected material parameters, known as the source task.The network is then fine-tuned in accordance with the target task.This study's source task network is to predict the full stress history of nonlinear woven composites with different constituent properties subjected to random multiaxial strain histories.The target task is to predict stress histories under conventional cyclic loading.Models that are trained on dense or diverse data sets can provide more robust representations of features that can be generalized well to sparse data sets.This approach accelerates training, enhances generalization over sparse feature samples, and facilitates effective learning. Introduction This study formulates various GRU and LSTM models to predict the elasto-plastic behavior of woven composites.The specific nature of the task determines the choice between GRU and LSTM architectures.Moreover, the optimal performance of these models is closely linked to the number of training parameters.This facet is evaluated in depth within the framework of this study. Introduction To generate the two required data sets, a mean-field model from Digimat-MF [23] is employed.The matrix and reinforcements are considered elastic-plastic and elastic, respectively.Notably deviating from prevailing trends observed in developing material-specific ANN surrogate models for composites (e.g.[8,24]), this study uniquely incorporates many matrix and reinforcement properties into its framework. Introduction Six-dimensional arbitrary loading paths (for six independent strain components) are generated and applied to the meso-structural simulations.The simulation results serve as a data set for the source task.Bi-axial and pure shear cyclic load paths are generated for the target task data set, each containing a different peak strain, strain ratio, load ratio, and number of cycles.As a result, two comprehensive data sets (including stress-strain responses) for generic woven composites (varying matrix and reinforcement properties) subjected to randomly sampled and cyclic loading histories are generated. Introduction When training a neural network, highly sensitive parameters and hyperparameters are present, such as learning rate, minibatch size, regularization strength, dropout rate, and network architecture [25].The identification of the best combination of hyperparameters requires a comprehensive study, which is frequently neglected throughout the literature due to the time-consuming nature of the process [16,18,[26][27][28][29].We attempt to determine an optimal network by testing many possible combinations. Introduction The results show that an LSTM model is successfully trained and validated on the target task, enabling highly efficient elasto-plastic path-dependent simulations. Introduction The remainder of this paper is structured as follows.Section 2 describes the data generation process, including the sub-scale mean-field modeling approach, material constituents, and design of computational experiments.Section 3 details the RNN model design and training and transfer-learning strategy.The obtained results and comparisons to micro-mechanical simulations are presented in Section 4, followed by a discussion of the developed RNN model.Concluding remarks are provided in Section 5. Data generation Every data sample contains (i) a particular set of constituent material properties, (ii) a 6D random strain loading path, and (iii) a 6D time history of homogenized stress components.The database is generated, considering various material parameters and loading conditions, to capture the complex behavior of various woven composites subjected to complex strain states.Two comprehensive data sets (one for the random walk1 loading and one for the cyclic loads) are created by carefully controlling the input variables and using mean-field simulations as described below. Meso-scale simulations A mean-field model which uses the Mori-Tanaka theory for homogenization, implemented in Digimat-MF, is used to conduct non-linear path-dependent elasto-plastic simulations of woven composites with varying properties.While the geometry of the meso-scale structure remains unchanged, the microstructural constituent's properties vary in each virtual sample (see more details in Subsection 2.2 below).As a consequence, the mean-field homogenization procedure involves two steps.In the first step, the sub-scale of the composite material being studied is divided into smaller units called pseudograins (PGs).Each PG represents a localized region within the composite.Once the division into PGs is completed, the homogenization process begins.Each pseudo-grain is individually subjected to a homogenization procedure, where the behavior and properties of the constituent materials within the PG are analyzed.In the second step, homogenization is extended to the entire sub-scale.The effective response of the entire sub-scale is computed by averaging over the collective behavior of all the homogenized pseudo-grains.An interested reader is referred to [30] for a more comprehensive understanding of the modeling approach. Constitutive behavior of sub-scale phases Polymeric materials typically show a strain rate-dependent mechanical response (see, e.g.[31,32]). Constitutive behavior of sub-scale phases However, an approximation of rate-independent behavior could be considered for most thermoset polymeric materials under quasi-static loading rates and at room temperature.Therefore, this study considers a rate-independent elasto-plastic response for the matrix material. Constitutive behavior of sub-scale phases The matrix is assumed to obey J 2 -plasticity with linear-exponential hardening [33].The yield function is given by Constitutive behavior of sub-scale phases where σ y is the yield stress, and σ eq is the von Mises equivalent stress defined by Constitutive behavior of sub-scale phases In Equation ( 2), σ dev is the deviatoric stress tensor, and I is the second-order identity tensor.In Equation (1), κ is the hardening stress which is given by Constitutive behavior of sub-scale phases where H is the linear hardening modulus, H ∞ is referred to the hardening modulus, m > 0 is the hardening exponent, and εp ≥ 0 is the accumulated plastic strain. Constitutive behavior of sub-scale phases Reinforcements are assumed to be isotropic and linearly elastic and obey Hooke's generalized law. Constitutive behavior of sub-scale phases Furthermore, the matrix and reinforcement phases are assumed to be perfectly bonded.Despite the fact that this assumption may not be true in all cases, it provides a reasonable basis for examining the overall behavior of the woven composite under study. Design of computational experiments This study involves two sets of input features for computational experiments: (i) static features representing fiber and matrix material properties and (ii) multi-dimensional sequential load path components (Subsection 2.2.2).A wide range of properties are considered for the static features, which are given in Table 1. Sampling material features Having uniformly distributed input features to train an ANN properly is beneficial.Regular grids of sample points can lead to coincident projections in different hyper-planes [10], negatively impacting machine learning, especially in high-dimensional spaces [34].Thus, using an effective sampling technique helps to achieve a random and uniform distribution while reducing simulation costs. Sampling material features Random sampling and stratified sampling often result in clusters and gaps in a data set.Alternatively, Sobol sequence sampling [35], a quasi-random sampling technique, offers a solution.Unlike other pseudo-random algorithms, Sobol sequence sampling avoids clustering and gaps even in smaller data sets [36].It aims to generate multiple parameters uniformly distributed across a multi-dimensional parameter space.Thus, in the current work, Sobol sequence sampling generates a comprehensive design space.10,000 data samples are generated with different combinations of the static features given in Table 1.The resulting design space enables the exploration of various material and micro-structural configurations, providing valuable insights into the behavior of woven composite materials. Sampling material features For visualizing high-dimensional data sets, t-SNE (t-Distributed Stochastic Neighbor Embedding) Sampling material features is utilized [37,38].It minimizes the discrepancy between high-dimensional and low-dimensional distributions using the Kullback-Leibler (KL) divergence [39] as a cost function.KL divergence quantifies how one probability distribution (from a multi-dimensional space) diverges from the expected (into a 1. Different micro-structural configurations are described by three fiber elasticity, three matrix elasticity, and three matrix plasticity feature parameters. Sampling material features good correlation between regular grids and random distributions in the static feature space. Loading path generator In order to sample representative strain paths, different approaches can be employed, e.g.[18,40]. Loading path generator In the source task, a random walk representing long-term trends is combined with noises representing local variations.The algorithm [18] utilizes a six-dimensional space for independent strain components. Loading path generator Components are sampled independently from a normal distribution to generate direction vectors, then normalized to unit vectors.The algorithm defines parameters: N T as the total number of steps (constant and equal to 2000), n 1 as the number of drift directions (the number of major changes in the loading direction selected from {1, 2, 5, 10, 20, 25, 50, 100, 200}), n 2 as the noise vector with elements selected randomly from ⌊0, 1), and γ as the perturbation amplitude factor (chosen randomly from ⌊0, 1)). Loading path generator Initially, n 1 drift directions are chosen randomly, and each of these directions is iteratively repeated N/n 1 times to form a vector comprising a total of N T elements.Subsequently, a noise vector, denoted as n 2 , is generated with an equivalent number of elements as N/n 1 and is then scaled by a factor of γ. Loading path generator The vector of drift directions and the scaled noise vector are combined and scaled to a maximum of randomly selected 1% to 5% to complete one strain component of an input load sample.All components of a strain loading sample have the same number of n 1 but differ in other parameters.Figure 2 shows four samples of the generated loading paths.Some loading samples have sparsity in their input features, such as the fourth case in Figure 2, where the input strain tensor only includes the transverse strain component, while all other components are zero.Ince this rarely occurs, the trained network based on such a data set may need help to generalize the solution to cases with high feature sparsity, such as conventional cyclic loadings.Therefore, a second data set is generated based only on cyclic loads in shear and bi-axial load cases where plasticity is significant in woven composites.Figure 3 shows four samples from the second data set.Indicating factors in the cyclic loads include the peak strain value, the strain ratio (ratio of shear strain to tensile strain in bi-axial scenarios), the load ratio (fraction of the maximum positive strain to the minimum negative strain value), and the number of cycles. Recurrent neural networks RNNs excel in handling data sequences of long lengths, making them suitable for language modeling, speech recognition [41], machine translation [14,42], and time-series prediction [39].RNNs effectively model sequential data due to their internal memory, capturing temporal dependencies.Feedback loops in the RNN architecture enable information flow between input and output, maintaining an internal state for predictions based on current and past inputs. Transfer learning rescuing RNNs from initialization and sparsity hurdles In the transfer learning paradigm, a model initially trained on a source task with abundant data serves as a foundational framework for a closely related target task.The primary objective is to leverage the pre-trained model's acquired knowledge of features, representations, and patterns to enhance the learning process on the target task [22].Furthermore, during the training phase for the source task, pretrained models undergo regularization mechanisms, which mitigate overfitting risks.Transfer learning entails initializing the model with optimized weights specific to certain features, resulting in noteworthy acceleration of convergence and optimization improvements tailored for the target task.Transfer learning has been proven helpful for data fusion in elastic regime [43] and elasto-plastic behavior of short-fiber composites [44]. Transfer learning rescuing RNNs from initialization and sparsity hurdles One specific strategy within transfer learning is fine-tuning [40].This approach is employed when the source and target tasks are closely related, allowing for the adjustment of weights in a pre-trained model based on the data specific to the target task.In the context of this study, the source task involves predicting the six components of stress sequences derived from random loading simulations. Transfer learning rescuing RNNs from initialization and sparsity hurdles Subsequently, during the original network training, the target task is formulated to predict stress components associated with cyclic loading paths.The RNN model employed for the source task integrates an a priori model, initially trained on extensive data sets, to adapt and enhance its performance on novel tasks.The weights and biases derived from the neural networks at the end of training serve as the initialization for the neural networks used in transfer learning. Recurrent learning with GRU and LSTM units Gated Recurrent Units (GRUs) and Long Short-Term Memory (LSTM) networks are two types of recurrent neural networks (RNNs) that address the vanishing and exploding gradient problems encountered in traditional RNNs [25,45,46].GRUs use two so-called gating mechanisms, an update gate, and a reset gate, to selectively update and reset their hidden state.This enables them to gather information across time steps and retain long-term dependencies [47].LSTM units, on the other hand, employ three gating mechanisms: the input gate, the forget gate, and the output gate.These gate mechanisms control the flow of information, select information to retain or discard, and filter relevant information for output, respectively [15].An interested reader is referred to [48] for a more comprehensive understanding of LSTM and GRU units. Recurrent learning with GRU and LSTM units Since GRUs have only two gates, they are computationally more efficient and easier to train with fewer parameters.However, they may not be as effective at capturing complex long-term dependencies as LSTMs.LSTMs with three gating mechanisms can model more complex relationships over longer sequences, but they have a higher computational cost and require more training data to prevent overfitting [49].The choice between GRUs and LSTMs depends on the specific task at hand, the availability of computational resources, and the desired trade-off between model complexity and performance.To better understand how data flows through an RNN network containing two layers of recurrent units, Figure 4 is provided.Learning rate, minibatch size, regularization strength, dropout rate, and network architecture are crucial parameters during RNN training.This is especially critical before the transfer learning process on the target task.Regularization (also called weight decay) [34] adds a penalty term to the loss function, promoting smaller weights in the network.This prevents the model from becoming overly sensitive to training data and enhances its generalization ability to unseen data.Additionally, the dropout layer [50] randomly sets a fraction of input units to zero during training, preventing co-adaptation of neurons and encouraging the network to learn more robust and independent representations.Combining L 2 regularization with dropout mitigates overfitting, reduces model complexity, and fosters more generalizable representations [51].Gradient clipping, setting the absolute value to one or using the maximum of normalized features, helps eliminate exploding gradients Afterwards, the data propagates through the LSTM (or GRU) network layers.The network outputs are in green.The internal variables flow can also be seen in one of the network layers.A hidden (and/or cell) state is indicated by ht. Recurrent learning with GRU and LSTM units [25]. Feature scaling Differences in input variable magnitudes can bias neural networks and hinder network learning. Feature scaling Variables with larger values dominate and overshadow smaller ones, leading to unstable weight updates and sub-optimal performance.Standardization equalizes input feature scales, ensuring smoother convergence in the network training and preventing disproportionate variable influence.It also allows direct magnitude comparison and enhances interpretability, thereby promoting stable training, faster convergence, and improved neural network performance [39]. Feature scaling The standardization process involves normalizing sequential strain components to an absolute maximum value of one.Non-sequential material properties undergo min-max scaling to have values between zero and one.This enables neural networks to capture the underlying patterns better, resulting in improved performance and reliable predictions. Feature scaling The network input consists of sequential data with 15 different features, concatenating 6 sequential strain tensor components and 9 static material properties.In each instance, the non-sequential features (the material properties) are repeated throughout the entire sequence of N T = 2000 pseudo-time increments. Metrics beyond loss Network performance relies not only on architecture but also on hyperparameters like learning rate, regularization strength, batch size, etc.The choice of hyperparameters can significantly impact the validation loss, potentially overshadowing the effect of selecting the optimal network architecture based solely on validation loss. Metrics beyond loss This study considers additional evaluation metrics to find an optimal network configuration.The von Misses stress definition in Equation 2 is adopted to represent all output stress components.Using the von Mises effective stress, a single sequential vector is computed. Metrics beyond loss Three statistical measures [52] are used to assess and compare the predictive performance of multiple neural network configurations.In the following, e Metrics beyond loss i represents an individual model-prediction (for one sample) error at time step t, defined as Metrics beyond loss where σ(t) vM is the predicted equivalent stress at time step t and σ Metrics beyond loss vM is the true equivalent stress at t. Mean Absolute Error The mean Absolute Error (MAE) measures the average magnitude of errors over the data sequence length (N T ) between the predicted and desired values.MAE is calculated by taking the average of the absolute differences between each predicted and desired value, normalized by the number of tested samples from the unseen data set (M ): Mean Absolute Error MAE provides an indication of the average size of errors produced by the model.There is no consideration for the direction of errors (overestimation or underestimation), and all errors are given equal weight.A lower MAE indicates a better performance. Root Mean Square Error Another commonly used measure of prediction error is the Root Mean Square Error (RMSE).It is obtained by taking the square root of the average of the squared differences between the predicted values and the desired values as Root Mean Square Error Due to the squaring operation, larger errors are penalized more heavily.RMSE gives a measure of the overall deviation or dispersion of errors.Similarly to MAE, a lower RMSE indicates a better performance.Similarly to MAE, RMSE does not consider whether the model overestimates or underestimates a quantity at a given time instant. Mean Bias Error The bias or Mean Bias Error (MBE) refers to the systematic deviation between model predictions and the desired values in a data set.Bias can be positive or negative, indicating whether the predictions consistently overestimate or underestimate desired values.The scale and units of the predicted and desired values typically determine the bias range.MBE is computed by Results and discussion For data consistency, only completed simulations are used1 .The output signals are components of the stress tensor.The mean squared error loss function is computed at the regression layer and is Results and discussion given by Results and discussion where σk ij and σ k ij are the k th stress predictions and target values in a training batch, respectively, F is the number of output features, N T is the data sequence length, and N batch is the batch size.The computational programming language MATLAB [48] is employed for implementing recurrent neural networks.Training for different network configurations is done on the Vera hardware [53] at Chalmers University of Technology. Results and discussion Two data sets are generated, including 28,000 data samples for the source task on random walk loading paths and 10,000 samples for the target task on smooth cyclic loading paths.Each data set is randomly split into training (80%), validation (10%), and test (10%) sets.For each task, the training data set is iteratively passed through the neural network for multiple epochs, with shuffled data at each epoch.The validation set helps for tuning hyperparameters, such as batch size, learning rate, and regularization parameters, to achieve an optimal model performance.The test set serves as unseen data for final performance evaluation after the network training and validation.Section 4.1 presents results related to the source task.The purpose of Section 4.2 is to emphasize the importance of tuning the network architecture and hyperparameters.Once the network's generalization ability is confirmed for a random load path, the transfer learning method is used in Section 4.3 for training a network to predict smooth cyclic loads (target task). Prediction on the random strains test samples A piece-wise learning rate decay strategy is employed, reducing the learning rate by 10% every ten epochs to enhance convergence.The training process uses ADAM optimizer [54].In order to prevent overfitting, early stopping is used instead of a fixed number of epochs.Training stops when the model's performance on the validation set plateaus, while the loss on the training set continues to decrease.The three metrics, defined in Section 3.4, are computed based on the predictions made for each sample in the test set.The mean value over pseudo-time steps for three error metrics is obtained and presented in Tables 1 and 2 in supplementary materials for different network architectures and the number of training parameters.Various configurations of GRU and LSTM networks are presented in these tables in order to determine the best architecture.The network configuration is defined by the number of GRU (or LSTM) units and the specification of the subsequent dropout layer.For example, the "3GRU(128) dp(40%)" network consists of three GRU layers, each containing 128 units, followed by a 40% dropout layer.For detailed error evaluations on GRU and LSTM networks, the reader is referred to the supplementary material of this study.Our objective is to determine the optimal architecture first; afterward, various hyperparameters are discussed using LSTM or GRU units in Section 4.2.Based on von Mises stress, Figure 6 compares two best-performing LSTM and GRU networks in predicting two random walk loads from the unseen data set. Prediction on the random strains test samples Although the smallest network "GRU (32)," had the lowest validation loss, it can not generalize well due to higher MAE and RMSE error ranges when testing unseen test data."3LSTM(512) dp(50%)" displayed the lowest MAE and RMSE, indicating better prediction and generalization on unseen data than other models.However, note that the MBE of "3LSTM(512) dp(50%)" is not closest to zero, and its negative value suggests a systematic underestimation of equivalent stress. Prediction on the random strains test samples Figure 7 shows predictions for stress components on two randomly selected test samples for the candidate network based on error metrics "3LSTM(512) dp(50%)".Figure 7a shows a strong correlation between the predictions and the desired stress values.However, stress prediction deviates for σ 33 , where the desired value is close to zero throughout the loading increments.It is potentially related to the general underlying issue with neural networks, known as feature sparsity [39], which needs further research to handle sequential regression tasks.A network might have difficulty predicting features that are close to zero in a sample when there is a high number of input features (15 in this case). Prediction on the random strains test samples In spite of a highly random loading path, in Figure 7b, the predicted values match well with the desired values from mean-field simulation.It can be seen that the predictions on normal components are better than those on shear components.This observation could be related to the higher level of non-linearity in shear components. Discussion on hyperparameters Various networks have undergone grid search training to find the best hyperparameter combination. Prediction on conventional load cycles The initial task, referred to as the source task, involves predicting loading cases associated with random walk loading paths.Subsequently, the focus shifts to the target task, where the objective is to predict loading paths characterized by conventional cyclic patterns. Prediction on conventional load cycles However, a notable challenge is associated with applying the trained network to the target task involving cyclic loads.The input features of cyclic loading samples consist of only one (for pure shear cases) or two (for bi-axial loading cases) active sequential features in addition to the static features (micro-structure).As a result, the cyclic loading features are sparse, and the ANN models have difficulty predicting stresses based on sparse samples.Therefore, the network undergoes fine-tuning with a data set specific to the target task.As can be seen in Figure 8, the evolution of loss illustrates the convergence of the transfer learning process following the initial training of the LSTM network.As a result of the first 7000 iterations, the network loss function converged on both the training and test sets of the random load paths data set.The loss function jumps at the beginning of the fine-tuning process when samples from cyclic loads are fed to the network.The network is then trained using cyclic loads samples through more iterations, and convergence occurs after 20,000 iterations.4.1) and then fine-tuning it for cyclic loads, as illustrated by the dashed black line.With the transferred network, stress values can be predicted from sparse feature samples through the entire loading Prediction on conventional load cycles increments not only for one-cycle tests (Figure 9a-left) but also for multiple cycles (Figure 9a-right and 9b).In some cases, the predictions deviate from the desired values at the beginning of loading, as shown in Figure 9a-right.This behavior can be attributed to the nature of RNNs, which forget about the first part of a sequence when asked to predict the whole sequence at once, and not for forecasting and predicting one step ahead [49]. Conclusions Woven composite laminates are used across a wide range of industries due to their cost-effective and automated manufacturing procedures.However, computationally efficient and industrially feasible models are still required to drive their use further.This study has investigated the capabilities of Recurrent Neural Networks (RNNs) combined with the transfer learning strategy in supervised learning of the nonlinear behavior of woven composites, specifically when plasticity is present in the matrix phase.The present research has examined the predictive power of RNNs based on mean-field simulated data to be used as a fast and accurate surrogate model for mesoscale homogenization.The RNN model incorporates two types of input features: (1) static input features sampled from a random design space for elastic fiber and elasto-plastic matrices with varying volume fractions; (2) sequential input features including six-dimensional time histories of the meso-scale strain tensor.The RNN model aims to predict six components of meso-scale homogenized stresses as outputs.Two distinct task data sets are considered.In the first one, named the source task, a random walk strategy ensures a diverse and comprehensive exploration of input strain path trajectories.In the second one, named the target task, conventional cyclic strain loadings are considered.The second task was found to be more challenging due to the presence of multiple zero-vectors in the sequential input features, known as feature sparsity.We have systematically examined a variety of GRU and LSTM architectures, along with several hyperparameters, in order to identify the most suitable model for predicting homogenized stresses in unseen test samples derived from random loads (source task).Having been exposed to random loads, the network has been retrained using a transfer learning paradigm and has demonstrated satisfactory performance in predicting stress components under conventional cyclic load conditions (target task). Conclusions In conclusion, this study provides evidence for transfer learning neural networks as an effective method for domain adaptation across diverse loading types and micro-structural constituent properties in material data sets.Our findings set a precedent for future investigations into knowledge transfer across varying-quality datasets.The results provide a robust foundation for future studies to tailor models for full-field simulations and even limited experimental data.The insights gained from meanfield simulations can be used to develop models that are applicable in a wider range of settings and represent a significant opportunity for further advancement in this field. Figure 1 : Figure1: t-SNE distribution of 9-dimensional static feature space described in Table1.Different micro-structural Figure 2 : Figure2: Four samples of input strain loading paths from random walk data set (scaled between [-1,1]).Each graph contains six components of the strain tensor applied on a randomly chosen material set. Figure 3 : Figure 3: Four input strain loading paths samples from a smooth cyclic path data set.Each graph contains six components of the strain tensor applied on a randomly chosen material set.The smooth cyclic loading paths include (from up-left to down-right) pure in-plain shear ǫ 12 , out-of-plain shear ǫ 23 and bi-axial [ǫ 11 , ǫ 12 ] and [ǫ 12 , ǫ 23 ] loading. Figure 4 : Figure 4: A schematic representation of the data flow for feeding the RNN model with one multiaxial strain history.As shown on the left side of the figure, a woven composite and strain loading paths have been randomly sampled from the data set.Each stripe represents a time step of the strain tensor (ǫ (n) ) containing six strain components (ǫ ij ).Red dashed lines indicate time increments in a load path.Six random loads are presented in the input layer in purple. Figure 5 Figure 5 illustrates the loss evolution for LSTM and GRU networks in accordance with Equation 8.The plateau region on the validation set indicates convergence in the training of both cases.While the GRU network struggles more to reach the minimum loss value at the beginning, the minimum loss values are almost equal. Figure 5 : Figure 5: Two examples of the and validation loss evolutions on the random strain data set.Each network consists of three layers with 512 units of LSTM or GRU plus a 50% dropout after the first layer.In both cases, the learning rate is 0.001, the L 2 regularization is set to 0.001, and the minibatch size is 128.Yellow and gray lines indicate the training loss calculated at each iteration.The dashed lines in red and purple indicate the loss calculated at the end of each epoch for the validation set. Figure 6 : Figure 6: Candidate LSTM (dashed black lines) and GRU (dashed blue lines) predictions on two samples with (a) n 1 = 1 and (b) 25 drift directions from the random walk paths of the unseen data set.The von Mises stresses are plotted on the real scale for two distinct sets of micro-structural constituents material properties. Figure 7 : Figure 7: Network (3LSTM(512) dp(50%)) predictions against micro-mechanical results for two samples from unseen random load cases.Stress values are scaled between [−1, 1] (a) Six components of stresses in a case with a rather uniform load and (b) a case with high randomness in loading.The solid red line is the mean-field simulation output (desired values), and the dashed black lines are the network predictions. Figure 7 : random loads Validation loss on random loads Transfer network training loss on cyclic loads Transfer network validation loss on cyclic loads Figure 8 : Figure 8: On the source task, the original LSTM network training and validation losses are presented in yellow and dashed purple, respectively.Transfer learning is then applied to the target task (cyclic loads), and the loss is computed (gray for training and red for validation). Figure 9 : Figure 9: LSTM network predictions on conventional cyclic loading compared with desired stress values (red solid lines with stars).Stress values are normalized between [−1, 1].Black dashed lines indicate the candidate transferred model predictions.The blue dashed lines indicate predictions of a model trained initially on cyclic loads and then fine-tuned by random loads.The yellow and grey lines show the predictions of models that have been trained only on random and cyclic loads, respectively.(a-left) one cycle pure out-of-plain shear, (a-right) three cycles pure in-plain shear.(b) ten cycles pure out-of-shear vs. load increments. Table 1 : Ranges of material parameters used to generate the required data set during simulations.All data samples in the training and testing sets are distinguished by a unique set of properties of their micro-structural constituents.

섹션 본문 80문단 · 37,317자

(제목 없음)

1Woven composites exhibit complex meso-scale behavior depending on meso-and micro-structural parameters.Accurately modeling their mechanical response is challenging and computationally demanding, especially for inelastic behavior.To address the computational burden, we have developed a Recurrent Neural Network (RNN) model as a surrogate for meso-scale simulations.As a basis for RNN training, a mean-field model generates a comprehensive data set representing elasto-plastic behavior.Arbitrary six-dimensional time histories of strain are used to generate multiaxial stress-strain histories under random walking and cyclic loading conditions as the source and target tasks, respectively.First, the RNN model is trained for the source task.The same model is trained leveraging transfer learning for the target task, containing fewer data and sparse features because only some strain components are non-zero.The candidate model is successfully trained and validated through a grid search exploration of over 220 different RNN configurations and demonstrates accurate predictions for both source and target tasks.The results demonstrate that transfer learning could be used to train the RNN effectively under varying strain conditions and arbitrary constituents' material properties, suggesting its potential as an appropriate tool for modeling path-dependent responses in woven composites.

Introduction

2Woven composite laminates are commonly used in structural applications due to their automated and cost-effective manufacturing processes.However, modeling of woven composites presents significant challenges due to the presence of two heterogeneous sub-scales, the meso-scale, and the micro-scale, and the intricate interlacing of yarns, resulting in the development of complex stress states [1].

3In order to predict the complex behavior of woven composites governed by the heterogeneous subscales configuration, different full-field micro-mechanical and meso-scale models have been developed (e.g.[1][2][3]).However, one of the major challenges of using meso-scale models is their high computational cost, which hinders the usage of these models for engineering applications [4].As a remedy, mean-field models have been proposed and used (e.g.[5]).In these models, average stress and average strain are considered for each sub-scale constituent.A better computational performance (compared to full-field models) is obtained, although at the expense of lower fidelity and accuracy.

4Recently, data-driven approaches have gained considerable interest in developing surrogate models for different composites (e.g.[6][7][8][9][10][11]).Different kinds of Artificial Neural Networks (ANNs) have been used to develop remarkably efficient and highly accurate surrogate models.A feed-forward architecture is typically good enough to develop an ANN-enhanced model in the linear elastic regime [12].However, for inelastic path-dependent behavior, it is required to use more advanced ANN architectures [13].In recent years, different kinds of Recurrent Neural Networks (RNNs), such as Gated Recurrent Units (GRU) [14] and Long Short-Term Memory (LSTM) networks [15], have been employed for the inelastic path-dependent behavior of different composite materials (see e.g.[8,[16][17][18]).A remarkable computational enhancement and a high level of accuracy were obtained.

5Training RNNs is sensitive to initializing the training parameters (weights and thresholds) due to the risk of vanishing or exploding gradients [19].Vanishing gradients result in slow learning while exploding gradients lead to unstable training.Some methods have been suggested for initializing layer weights and biases [19,20].These methods can greatly impact how well the deep network trains.However, they are still based on randomly initializing the training parameters.Furthermore, RNNs encounter challenges when dealing with sparse feature data sets where inputs have many zero values.For instance, in the case of a stress prediction task using strain tensor components as inputs, when we have pure-shear loading, only one component of the input feature is non-zero.This results in data sparsity that can interfere with learning and hinder the network's ability to capture meaningful patterns.This paper employs a physics-guided initialization [21] of weights and thresholds using transfer learning [22].Using transfer learning, RNNs are able to overcome initialization challenges by leveraging knowledge derived from previously trained models.The network is initialized with the pre-trained model containing the expected material parameters, known as the source task.The network is then fine-tuned in accordance with the target task.This study's source task network is to predict the full stress history of nonlinear woven composites with different constituent properties subjected to random multiaxial strain histories.The target task is to predict stress histories under conventional cyclic loading.Models that are trained on dense or diverse data sets can provide more robust representations of features that can be generalized well to sparse data sets.This approach accelerates training, enhances generalization over sparse feature samples, and facilitates effective learning.

6This study formulates various GRU and LSTM models to predict the elasto-plastic behavior of woven composites.The specific nature of the task determines the choice between GRU and LSTM architectures.Moreover, the optimal performance of these models is closely linked to the number of training parameters.This facet is evaluated in depth within the framework of this study.

7To generate the two required data sets, a mean-field model from Digimat-MF [23] is employed.The matrix and reinforcements are considered elastic-plastic and elastic, respectively.Notably deviating from prevailing trends observed in developing material-specific ANN surrogate models for composites (e.g.[8,24]), this study uniquely incorporates many matrix and reinforcement properties into its framework.

8Six-dimensional arbitrary loading paths (for six independent strain components) are generated and applied to the meso-structural simulations.The simulation results serve as a data set for the source task.Bi-axial and pure shear cyclic load paths are generated for the target task data set, each containing a different peak strain, strain ratio, load ratio, and number of cycles.As a result, two comprehensive data sets (including stress-strain responses) for generic woven composites (varying matrix and reinforcement properties) subjected to randomly sampled and cyclic loading histories are generated.

9When training a neural network, highly sensitive parameters and hyperparameters are present, such as learning rate, minibatch size, regularization strength, dropout rate, and network architecture [25].The identification of the best combination of hyperparameters requires a comprehensive study, which is frequently neglected throughout the literature due to the time-consuming nature of the process [16,18,[26][27][28][29].We attempt to determine an optimal network by testing many possible combinations.

10The results show that an LSTM model is successfully trained and validated on the target task, enabling highly efficient elasto-plastic path-dependent simulations.

11The remainder of this paper is structured as follows.Section 2 describes the data generation process, including the sub-scale mean-field modeling approach, material constituents, and design of computational experiments.Section 3 details the RNN model design and training and transfer-learning strategy.The obtained results and comparisons to micro-mechanical simulations are presented in Section 4, followed by a discussion of the developed RNN model.Concluding remarks are provided in Section 5.

Data generation

12Every data sample contains (i) a particular set of constituent material properties, (ii) a 6D random strain loading path, and (iii) a 6D time history of homogenized stress components.The database is generated, considering various material parameters and loading conditions, to capture the complex behavior of various woven composites subjected to complex strain states.Two comprehensive data sets (one for the random walk1 loading and one for the cyclic loads) are created by carefully controlling the input variables and using mean-field simulations as described below.

Meso-scale simulations

13A mean-field model which uses the Mori-Tanaka theory for homogenization, implemented in Digimat-MF, is used to conduct non-linear path-dependent elasto-plastic simulations of woven composites with varying properties.While the geometry of the meso-scale structure remains unchanged, the microstructural constituent's properties vary in each virtual sample (see more details in Subsection 2.2 below).As a consequence, the mean-field homogenization procedure involves two steps.In the first step, the sub-scale of the composite material being studied is divided into smaller units called pseudograins (PGs).Each PG represents a localized region within the composite.Once the division into PGs is completed, the homogenization process begins.Each pseudo-grain is individually subjected to a homogenization procedure, where the behavior and properties of the constituent materials within the PG are analyzed.In the second step, homogenization is extended to the entire sub-scale.The effective response of the entire sub-scale is computed by averaging over the collective behavior of all the homogenized pseudo-grains.An interested reader is referred to [30] for a more comprehensive understanding of the modeling approach.

Constitutive behavior of sub-scale phases

14Polymeric materials typically show a strain rate-dependent mechanical response (see, e.g.[31,32]).

15However, an approximation of rate-independent behavior could be considered for most thermoset polymeric materials under quasi-static loading rates and at room temperature.Therefore, this study considers a rate-independent elasto-plastic response for the matrix material.

16The matrix is assumed to obey J 2 -plasticity with linear-exponential hardening [33].The yield function is given by

17where σ y is the yield stress, and σ eq is the von Mises equivalent stress defined by

18In Equation ( 2), σ dev is the deviatoric stress tensor, and I is the second-order identity tensor.In Equation (1), κ is the hardening stress which is given by

19where H is the linear hardening modulus, H ∞ is referred to the hardening modulus, m > 0 is the hardening exponent, and εp ≥ 0 is the accumulated plastic strain.

20Reinforcements are assumed to be isotropic and linearly elastic and obey Hooke's generalized law.

21Furthermore, the matrix and reinforcement phases are assumed to be perfectly bonded.Despite the fact that this assumption may not be true in all cases, it provides a reasonable basis for examining the overall behavior of the woven composite under study.

Design of computational experiments

22This study involves two sets of input features for computational experiments: (i) static features representing fiber and matrix material properties and (ii) multi-dimensional sequential load path components (Subsection 2.2.2).A wide range of properties are considered for the static features, which are given in Table 1.

Sampling material features

23Having uniformly distributed input features to train an ANN properly is beneficial.Regular grids of sample points can lead to coincident projections in different hyper-planes [10], negatively impacting machine learning, especially in high-dimensional spaces [34].Thus, using an effective sampling technique helps to achieve a random and uniform distribution while reducing simulation costs.

24Random sampling and stratified sampling often result in clusters and gaps in a data set.Alternatively, Sobol sequence sampling [35], a quasi-random sampling technique, offers a solution.Unlike other pseudo-random algorithms, Sobol sequence sampling avoids clustering and gaps even in smaller data sets [36].It aims to generate multiple parameters uniformly distributed across a multi-dimensional parameter space.Thus, in the current work, Sobol sequence sampling generates a comprehensive design space.10,000 data samples are generated with different combinations of the static features given in Table 1.The resulting design space enables the exploration of various material and micro-structural configurations, providing valuable insights into the behavior of woven composite materials.

25For visualizing high-dimensional data sets, t-SNE (t-Distributed Stochastic Neighbor Embedding)

26is utilized [37,38].It minimizes the discrepancy between high-dimensional and low-dimensional distributions using the Kullback-Leibler (KL) divergence [39] as a cost function.KL divergence quantifies how one probability distribution (from a multi-dimensional space) diverges from the expected (into a 1. Different micro-structural configurations are described by three fiber elasticity, three matrix elasticity, and three matrix plasticity feature parameters.

27good correlation between regular grids and random distributions in the static feature space.

Loading path generator

28In order to sample representative strain paths, different approaches can be employed, e.g.[18,40].

29In the source task, a random walk representing long-term trends is combined with noises representing local variations.The algorithm [18] utilizes a six-dimensional space for independent strain components.

30Components are sampled independently from a normal distribution to generate direction vectors, then normalized to unit vectors.The algorithm defines parameters: N T as the total number of steps (constant and equal to 2000), n 1 as the number of drift directions (the number of major changes in the loading direction selected from {1, 2, 5, 10, 20, 25, 50, 100, 200}), n 2 as the noise vector with elements selected randomly from ⌊0, 1), and γ as the perturbation amplitude factor (chosen randomly from ⌊0, 1)).

31Initially, n 1 drift directions are chosen randomly, and each of these directions is iteratively repeated N/n 1 times to form a vector comprising a total of N T elements.Subsequently, a noise vector, denoted as n 2 , is generated with an equivalent number of elements as N/n 1 and is then scaled by a factor of γ.

32The vector of drift directions and the scaled noise vector are combined and scaled to a maximum of randomly selected 1% to 5% to complete one strain component of an input load sample.All components of a strain loading sample have the same number of n 1 but differ in other parameters.Figure 2 shows four samples of the generated loading paths.Some loading samples have sparsity in their input features, such as the fourth case in Figure 2, where the input strain tensor only includes the transverse strain component, while all other components are zero.Ince this rarely occurs, the trained network based on such a data set may need help to generalize the solution to cases with high feature sparsity, such as conventional cyclic loadings.Therefore, a second data set is generated based only on cyclic loads in shear and bi-axial load cases where plasticity is significant in woven composites.Figure 3 shows four samples from the second data set.Indicating factors in the cyclic loads include the peak strain value, the strain ratio (ratio of shear strain to tensile strain in bi-axial scenarios), the load ratio (fraction of the maximum positive strain to the minimum negative strain value), and the number of cycles.

Recurrent neural networks

33RNNs excel in handling data sequences of long lengths, making them suitable for language modeling, speech recognition [41], machine translation [14,42], and time-series prediction [39].RNNs effectively model sequential data due to their internal memory, capturing temporal dependencies.Feedback loops in the RNN architecture enable information flow between input and output, maintaining an internal state for predictions based on current and past inputs.

Transfer learning rescuing RNNs from initialization and sparsity hurdles

34In the transfer learning paradigm, a model initially trained on a source task with abundant data serves as a foundational framework for a closely related target task.The primary objective is to leverage the pre-trained model's acquired knowledge of features, representations, and patterns to enhance the learning process on the target task [22].Furthermore, during the training phase for the source task, pretrained models undergo regularization mechanisms, which mitigate overfitting risks.Transfer learning entails initializing the model with optimized weights specific to certain features, resulting in noteworthy acceleration of convergence and optimization improvements tailored for the target task.Transfer learning has been proven helpful for data fusion in elastic regime [43] and elasto-plastic behavior of short-fiber composites [44].

35One specific strategy within transfer learning is fine-tuning [40].This approach is employed when the source and target tasks are closely related, allowing for the adjustment of weights in a pre-trained model based on the data specific to the target task.In the context of this study, the source task involves predicting the six components of stress sequences derived from random loading simulations.

36Subsequently, during the original network training, the target task is formulated to predict stress components associated with cyclic loading paths.The RNN model employed for the source task integrates an a priori model, initially trained on extensive data sets, to adapt and enhance its performance on novel tasks.The weights and biases derived from the neural networks at the end of training serve as the initialization for the neural networks used in transfer learning.

Recurrent learning with GRU and LSTM units

37Gated Recurrent Units (GRUs) and Long Short-Term Memory (LSTM) networks are two types of recurrent neural networks (RNNs) that address the vanishing and exploding gradient problems encountered in traditional RNNs [25,45,46].GRUs use two so-called gating mechanisms, an update gate, and a reset gate, to selectively update and reset their hidden state.This enables them to gather information across time steps and retain long-term dependencies [47].LSTM units, on the other hand, employ three gating mechanisms: the input gate, the forget gate, and the output gate.These gate mechanisms control the flow of information, select information to retain or discard, and filter relevant information for output, respectively [15].An interested reader is referred to [48] for a more comprehensive understanding of LSTM and GRU units.

38Since GRUs have only two gates, they are computationally more efficient and easier to train with fewer parameters.However, they may not be as effective at capturing complex long-term dependencies as LSTMs.LSTMs with three gating mechanisms can model more complex relationships over longer sequences, but they have a higher computational cost and require more training data to prevent overfitting [49].The choice between GRUs and LSTMs depends on the specific task at hand, the availability of computational resources, and the desired trade-off between model complexity and performance.To better understand how data flows through an RNN network containing two layers of recurrent units, Figure 4 is provided.Learning rate, minibatch size, regularization strength, dropout rate, and network architecture are crucial parameters during RNN training.This is especially critical before the transfer learning process on the target task.Regularization (also called weight decay) [34] adds a penalty term to the loss function, promoting smaller weights in the network.This prevents the model from becoming overly sensitive to training data and enhances its generalization ability to unseen data.Additionally, the dropout layer [50] randomly sets a fraction of input units to zero during training, preventing co-adaptation of neurons and encouraging the network to learn more robust and independent representations.Combining L 2 regularization with dropout mitigates overfitting, reduces model complexity, and fosters more generalizable representations [51].Gradient clipping, setting the absolute value to one or using the maximum of normalized features, helps eliminate exploding gradients Afterwards, the data propagates through the LSTM (or GRU) network layers.The network outputs are in green.The internal variables flow can also be seen in one of the network layers.A hidden (and/or cell) state is indicated by ht.

39[25].

Feature scaling

40Differences in input variable magnitudes can bias neural networks and hinder network learning.

41Variables with larger values dominate and overshadow smaller ones, leading to unstable weight updates and sub-optimal performance.Standardization equalizes input feature scales, ensuring smoother convergence in the network training and preventing disproportionate variable influence.It also allows direct magnitude comparison and enhances interpretability, thereby promoting stable training, faster convergence, and improved neural network performance [39].

42The standardization process involves normalizing sequential strain components to an absolute maximum value of one.Non-sequential material properties undergo min-max scaling to have values between zero and one.This enables neural networks to capture the underlying patterns better, resulting in improved performance and reliable predictions.

43The network input consists of sequential data with 15 different features, concatenating 6 sequential strain tensor components and 9 static material properties.In each instance, the non-sequential features (the material properties) are repeated throughout the entire sequence of N T = 2000 pseudo-time increments.

Metrics beyond loss

44Network performance relies not only on architecture but also on hyperparameters like learning rate, regularization strength, batch size, etc.The choice of hyperparameters can significantly impact the validation loss, potentially overshadowing the effect of selecting the optimal network architecture based solely on validation loss.

45This study considers additional evaluation metrics to find an optimal network configuration.The von Misses stress definition in Equation 2 is adopted to represent all output stress components.Using the von Mises effective stress, a single sequential vector is computed.

46Three statistical measures [52] are used to assess and compare the predictive performance of multiple neural network configurations.In the following, e

47i represents an individual model-prediction (for one sample) error at time step t, defined as

48where σ(t) vM is the predicted equivalent stress at time step t and σ

49vM is the true equivalent stress at t.

Mean Absolute Error

50The mean Absolute Error (MAE) measures the average magnitude of errors over the data sequence length (N T ) between the predicted and desired values.MAE is calculated by taking the average of the absolute differences between each predicted and desired value, normalized by the number of tested samples from the unseen data set (M ):

51MAE provides an indication of the average size of errors produced by the model.There is no consideration for the direction of errors (overestimation or underestimation), and all errors are given equal weight.A lower MAE indicates a better performance.

Root Mean Square Error

52Another commonly used measure of prediction error is the Root Mean Square Error (RMSE).It is obtained by taking the square root of the average of the squared differences between the predicted values and the desired values as

53Due to the squaring operation, larger errors are penalized more heavily.RMSE gives a measure of the overall deviation or dispersion of errors.Similarly to MAE, a lower RMSE indicates a better performance.Similarly to MAE, RMSE does not consider whether the model overestimates or underestimates a quantity at a given time instant.

Mean Bias Error

54The bias or Mean Bias Error (MBE) refers to the systematic deviation between model predictions and the desired values in a data set.Bias can be positive or negative, indicating whether the predictions consistently overestimate or underestimate desired values.The scale and units of the predicted and desired values typically determine the bias range.MBE is computed by

Results and discussion

55For data consistency, only completed simulations are used1 .The output signals are components of the stress tensor.The mean squared error loss function is computed at the regression layer and is

56given by

57where σk ij and σ k ij are the k th stress predictions and target values in a training batch, respectively, F is the number of output features, N T is the data sequence length, and N batch is the batch size.The computational programming language MATLAB [48] is employed for implementing recurrent neural networks.Training for different network configurations is done on the Vera hardware [53] at Chalmers University of Technology.

58Two data sets are generated, including 28,000 data samples for the source task on random walk loading paths and 10,000 samples for the target task on smooth cyclic loading paths.Each data set is randomly split into training (80%), validation (10%), and test (10%) sets.For each task, the training data set is iteratively passed through the neural network for multiple epochs, with shuffled data at each epoch.The validation set helps for tuning hyperparameters, such as batch size, learning rate, and regularization parameters, to achieve an optimal model performance.The test set serves as unseen data for final performance evaluation after the network training and validation.Section 4.1 presents results related to the source task.The purpose of Section 4.2 is to emphasize the importance of tuning the network architecture and hyperparameters.Once the network's generalization ability is confirmed for a random load path, the transfer learning method is used in Section 4.3 for training a network to predict smooth cyclic loads (target task).

Prediction on the random strains test samples

59A piece-wise learning rate decay strategy is employed, reducing the learning rate by 10% every ten epochs to enhance convergence.The training process uses ADAM optimizer [54].In order to prevent overfitting, early stopping is used instead of a fixed number of epochs.Training stops when the model's performance on the validation set plateaus, while the loss on the training set continues to decrease.The three metrics, defined in Section 3.4, are computed based on the predictions made for each sample in the test set.The mean value over pseudo-time steps for three error metrics is obtained and presented in Tables 1 and 2 in supplementary materials for different network architectures and the number of training parameters.Various configurations of GRU and LSTM networks are presented in these tables in order to determine the best architecture.The network configuration is defined by the number of GRU (or LSTM) units and the specification of the subsequent dropout layer.For example, the "3GRU(128) dp(40%)" network consists of three GRU layers, each containing 128 units, followed by a 40% dropout layer.For detailed error evaluations on GRU and LSTM networks, the reader is referred to the supplementary material of this study.Our objective is to determine the optimal architecture first; afterward, various hyperparameters are discussed using LSTM or GRU units in Section 4.2.Based on von Mises stress, Figure 6 compares two best-performing LSTM and GRU networks in predicting two random walk loads from the unseen data set.

60Although the smallest network "GRU (32)," had the lowest validation loss, it can not generalize well due to higher MAE and RMSE error ranges when testing unseen test data."3LSTM(512) dp(50%)" displayed the lowest MAE and RMSE, indicating better prediction and generalization on unseen data than other models.However, note that the MBE of "3LSTM(512) dp(50%)" is not closest to zero, and its negative value suggests a systematic underestimation of equivalent stress.

61Figure 7 shows predictions for stress components on two randomly selected test samples for the candidate network based on error metrics "3LSTM(512) dp(50%)".Figure 7a shows a strong correlation between the predictions and the desired stress values.However, stress prediction deviates for σ 33 , where the desired value is close to zero throughout the loading increments.It is potentially related to the general underlying issue with neural networks, known as feature sparsity [39], which needs further research to handle sequential regression tasks.A network might have difficulty predicting features that are close to zero in a sample when there is a high number of input features (15 in this case).

62In spite of a highly random loading path, in Figure 7b, the predicted values match well with the desired values from mean-field simulation.It can be seen that the predictions on normal components are better than those on shear components.This observation could be related to the higher level of non-linearity in shear components.

Discussion on hyperparameters

63Various networks have undergone grid search training to find the best hyperparameter combination.

Prediction on conventional load cycles

64The initial task, referred to as the source task, involves predicting loading cases associated with random walk loading paths.Subsequently, the focus shifts to the target task, where the objective is to predict loading paths characterized by conventional cyclic patterns.

65However, a notable challenge is associated with applying the trained network to the target task involving cyclic loads.The input features of cyclic loading samples consist of only one (for pure shear cases) or two (for bi-axial loading cases) active sequential features in addition to the static features (micro-structure).As a result, the cyclic loading features are sparse, and the ANN models have difficulty predicting stresses based on sparse samples.Therefore, the network undergoes fine-tuning with a data set specific to the target task.As can be seen in Figure 8, the evolution of loss illustrates the convergence of the transfer learning process following the initial training of the LSTM network.As a result of the first 7000 iterations, the network loss function converged on both the training and test sets of the random load paths data set.The loss function jumps at the beginning of the fine-tuning process when samples from cyclic loads are fed to the network.The network is then trained using cyclic loads samples through more iterations, and convergence occurs after 20,000 iterations.4.1) and then fine-tuning it for cyclic loads, as illustrated by the dashed black line.With the transferred network, stress values can be predicted from sparse feature samples through the entire loading

66increments not only for one-cycle tests (Figure 9a-left) but also for multiple cycles (Figure 9a-right and 9b).In some cases, the predictions deviate from the desired values at the beginning of loading, as shown in Figure 9a-right.This behavior can be attributed to the nature of RNNs, which forget about the first part of a sequence when asked to predict the whole sequence at once, and not for forecasting and predicting one step ahead [49].

Conclusions

67Woven composite laminates are used across a wide range of industries due to their cost-effective and automated manufacturing procedures.However, computationally efficient and industrially feasible models are still required to drive their use further.This study has investigated the capabilities of Recurrent Neural Networks (RNNs) combined with the transfer learning strategy in supervised learning of the nonlinear behavior of woven composites, specifically when plasticity is present in the matrix phase.The present research has examined the predictive power of RNNs based on mean-field simulated data to be used as a fast and accurate surrogate model for mesoscale homogenization.The RNN model incorporates two types of input features: (1) static input features sampled from a random design space for elastic fiber and elasto-plastic matrices with varying volume fractions; (2) sequential input features including six-dimensional time histories of the meso-scale strain tensor.The RNN model aims to predict six components of meso-scale homogenized stresses as outputs.Two distinct task data sets are considered.In the first one, named the source task, a random walk strategy ensures a diverse and comprehensive exploration of input strain path trajectories.In the second one, named the target task, conventional cyclic strain loadings are considered.The second task was found to be more challenging due to the presence of multiple zero-vectors in the sequential input features, known as feature sparsity.We have systematically examined a variety of GRU and LSTM architectures, along with several hyperparameters, in order to identify the most suitable model for predicting homogenized stresses in unseen test samples derived from random loads (source task).Having been exposed to random loads, the network has been retrained using a transfer learning paradigm and has demonstrated satisfactory performance in predicting stress components under conventional cyclic load conditions (target task).

68In conclusion, this study provides evidence for transfer learning neural networks as an effective method for domain adaptation across diverse loading types and micro-structural constituent properties in material data sets.Our findings set a precedent for future investigations into knowledge transfer across varying-quality datasets.The results provide a robust foundation for future studies to tailor models for full-field simulations and even limited experimental data.The insights gained from meanfield simulations can be used to develop models that are applicable in a wider range of settings and represent a significant opportunity for further advancement in this field.

Figure 1 :

69Figure1: t-SNE distribution of 9-dimensional static feature space described in Table1.Different micro-structural

Figure 2 :

70Figure2: Four samples of input strain loading paths from random walk data set (scaled between [-1,1]).Each graph contains six components of the strain tensor applied on a randomly chosen material set.

Figure 3 :

71Figure 3: Four input strain loading paths samples from a smooth cyclic path data set.Each graph contains six components of the strain tensor applied on a randomly chosen material set.The smooth cyclic loading paths include (from up-left to down-right) pure in-plain shear ǫ 12 , out-of-plain shear ǫ 23 and bi-axial [ǫ 11 , ǫ 12 ] and [ǫ 12 , ǫ 23 ] loading.

Figure 4 :

72Figure 4: A schematic representation of the data flow for feeding the RNN model with one multiaxial strain history.As shown on the left side of the figure, a woven composite and strain loading paths have been randomly sampled from the data set.Each stripe represents a time step of the strain tensor (ǫ (n) ) containing six strain components (ǫ ij ).Red dashed lines indicate time increments in a load path.Six random loads are presented in the input layer in purple.

Figure 5

73Figure 5 illustrates the loss evolution for LSTM and GRU networks in accordance with Equation 8.The plateau region on the validation set indicates convergence in the training of both cases.While the GRU network struggles more to reach the minimum loss value at the beginning, the minimum loss values are almost equal.

Figure 5 :

74Figure 5: Two examples of the and validation loss evolutions on the random strain data set.Each network consists of three layers with 512 units of LSTM or GRU plus a 50% dropout after the first layer.In both cases, the learning rate is 0.001, the L 2 regularization is set to 0.001, and the minibatch size is 128.Yellow and gray lines indicate the training loss calculated at each iteration.The dashed lines in red and purple indicate the loss calculated at the end of each epoch for the validation set.

Figure 6 :

75Figure 6: Candidate LSTM (dashed black lines) and GRU (dashed blue lines) predictions on two samples with (a) n 1 = 1 and (b) 25 drift directions from the random walk paths of the unseen data set.The von Mises stresses are plotted on the real scale for two distinct sets of micro-structural constituents material properties.

Figure 7 :

76Figure 7: Network (3LSTM(512) dp(50%)) predictions against micro-mechanical results for two samples from unseen random load cases.Stress values are scaled between [−1, 1] (a) Six components of stresses in a case with a rather uniform load and (b) a case with high randomness in loading.The solid red line is the mean-field simulation output (desired values), and the dashed black lines are the network predictions.

77random loads Validation loss on random loads Transfer network training loss on cyclic loads Transfer network validation loss on cyclic loads

Figure 8 :

78Figure 8: On the source task, the original LSTM network training and validation losses are presented in yellow and dashed purple, respectively.Transfer learning is then applied to the target task (cyclic loads), and the loss is computed (gray for training and red for validation).

Figure 9 :

79Figure 9: LSTM network predictions on conventional cyclic loading compared with desired stress values (red solid lines with stars).Stress values are normalized between [−1, 1].Black dashed lines indicate the candidate transferred model predictions.The blue dashed lines indicate predictions of a model trained initially on cyclic loads and then fine-tuned by random loads.The yellow and grey lines show the predictions of models that have been trained only on random and cyclic loads, respectively.(a-left) one cycle pure out-of-plain shear, (a-right) three cycles pure in-plain shear.(b) ten cycles pure out-of-shear vs. load increments.

Table 1 :

80Ranges of material parameters used to generate the required data set during simulations.All data samples in the training and testing sets are distinguished by a unique set of properties of their micro-structural constituents.

참고문헌 58건

  1. Machine Learning : A Probabilistic Perspective 2012
  2. Adam: A Method for Stochastic Optimization 2014
  3. A Critical Review of Recurrent Neural Networks for Sequence Learning arXiv (Cornell University) · Cornell University · 2015 10.48550/arxiv.1506.00019
  4. Pattern Recognition and Machine Learning Kybernetes · Emerald Publishing Limited · 2007 10.1108/03684920710743466
  5. Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification 2015 10.1109/iccv.2015.123
  6. Listen, Attend and Spell arXiv (Cornell University) · Cornell University · 2015 10.48550/arxiv.1508.01211
  7. Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling arXiv (Cornell University) · Cornell University · 2014 10.48550/arxiv.1412.3555
  8. Comparison between voxel and consistent meso-scale models of woven composites Composites Part A Applied Science and Manufacturing · Elsevier BV · 2015 10.1016/j.compositesa.2015.02.022
  9. Advantages of the mean absolute error (MAE) over the root mean square error (RMSE) in assessing average model performance Climate Research · Inter-Research Science Center · 2005 10.3354/cr030079
  10. Micromechanical modeling and computation of elasto-plastic materials reinforced with distributed-orientation fibers International Journal of Plasticity · Elsevier BV · 2004 10.1016/j.ijplas.2004.09.003
  11. Long Short-Term Memory Neural Computation · The MIT Press · 1997 10.1162/neco.1997.9.8.1735
  12. Average stress in matrix and average elastic energy of materials with misfitting inclusions Acta Metallurgica · University of Toronto Press · 1973 10.1016/0001-6160(73)90064-3
  13. Variance based sensitivity analysis of model output. Design and estimator for the total sensitivity index Computer Physics Communications · Elsevier BV · 2009 10.1016/j.cpc.2009.09.018
  14. Dropout: a simple way to prevent neural networks from overfitting 2014
  15. Sequence to Sequence Learning with Neural Networks arXiv (Cornell University) · Cornell University · 2014 10.48550/arxiv.1409.3215
  16. Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation 2014 10.3115/v1/d14-1179
  17. Stochastic Neighbor Embedding Neural Information Processing Systems · 2002
  18. Visualizing Data using t-SNE Journal of Machine Learning Research · The MIT Press · 2008
  19. A progressive damage model of textile composites on meso-scale using finite element method: Fatigue damage analysis Computers & Structures · Elsevier BV · 2015 10.1016/j.compstruc.2015.02.005
  20. A survey of transfer learning Journal Of Big Data · Springer Science+Business Media · 2016 10.1186/s40537-016-0043-6
  21. An elasto-viscoplastic constitutive model for polymers at finite strains: Formulation and computational aspects Computers & Structures · Elsevier BV · 2016 10.1016/j.compstruc.2016.01.002
  22. Modelling of the post yield response of amorphous polymers under different stress states International Journal of Plasticity · Elsevier BV · 2016 10.1016/j.ijplas.2016.10.008
  23. Mesoscale analysis of damage growth in woven composites Composites Part A Applied Science and Manufacturing · Elsevier BV · 2017 10.1016/j.compositesa.2017.02.018
  24. 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
  25. Multi-scale damage framework for textile composites: Application to plain woven composite European Journal of Mechanics - A/Solids · Elsevier BV · 2019 10.1016/j.euromechsol.2019.103809
  26. Mesoscale analysis of the transverse cracking kinetics in woven composite laminates using a phase-field fracture theory Engineering Fracture Mechanics · Elsevier BV · 2019 10.1016/j.engfracmech.2019.106523
  27. On the Properties of Neural Machine Translation: Encoder–Decoder Approaches 2014 10.3115/v1/w14-4012
  28. Deep learning predicts path-dependent plasticity Proceedings of the National Academy of Sciences · National Academy of Sciences · 2019 10.1073/pnas.1911815116
  29. A machine learning based plasticity model using proper orthogonal decomposition Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2020.113008
  30. Analysis of mesoscale modelling strategies for woven composites Material Design & Processing Communications · Wiley · 2020 10.1002/mdp2.145
  31. Deep learning for plasticity and thermo-viscoplasticity International Journal of Plasticity · Elsevier BV · 2020 10.1016/j.ijplas.2020.102852
  32. 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
  33. Multiscale computation on feedforward neural network and recurrent neural network Frontiers of Structural and Civil Engineering · Higher Education Press · 2020 10.1007/s11709-020-0691-7
  34. A micromechanics-based artificial neural networks model for elastic properties of short fiber composites Composites Part B Engineering · Elsevier BV · 2021 10.1016/j.compositesb.2021.108736
  35. To Sobol or not to Sobol? The effects of sampling schemes in systems biology applications Mathematical Biosciences · Elsevier BV · 2021 10.1016/j.mbs.2021.108593
  36. Micro-mechanics and data-driven based reduced order models for multi-scale analyses of woven composites Composite Structures · Elsevier BV · 2021 10.1016/j.compstruct.2021.114058
  37. Per-phase spatial correlated damage models of UD fibre reinforced composites using mean-field homogenisation; applications to notched laminate failure and yarn failure of plain woven composites Computers & Structures · Elsevier BV · 2021 10.1016/j.compstruc.2021.106650
  38. A NEURAL ORDINARY DIFFERENTIAL EQUATION FRAMEWORK FOR MODELING INELASTIC STRESS RESPONSE VIA INTERNAL STATE VARIABLES Journal of Machine Learning for Modeling and Computing · Begell House · 2022 10.1615/jmachlearnmodelcomput.2022042917
  39. Recurrent Neural Networks (RNNs) with dimensionality reduction and break down in computational mechanics; application to multi-scale localization step Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2021.114476
  40. Transfer learning for enhancing the homogenization-theory-based prediction of elasto-plastic response of particle/short fiber-reinforced composites Composite Structures · Elsevier BV · 2022 10.1016/j.compstruct.2022.115210
  41. Computational inelasticity Computers & Mathematics with Applications · Elsevier BV · 1999 10.1016/s0898-1221(99)90277-8
  42. Machine learning with neural networks: an introduction for scientists and engineers Contemporary Physics · Taylor & Francis · 2021 10.1080/00107514.2022.2038687
  43. Geometric learning for computational mechanics Part II: Graph embedding for interpretable multiscale plasticity Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.115768
  44. A micromechanics‐based recurrent neural networks model for path‐dependent cyclic deformation of short fiber composites International Journal for Numerical Methods in Engineering · Wiley · 2023 10.1002/nme.7211
  45. 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
  46. Three-scale bridging for woven composites using homogenization techniques European Journal of Mechanics - A/Solids · Elsevier BV · 2023 10.1016/j.euromechsol.2023.104974
  47. Predicting the non-linear response of composite materials using deep recurrent convolutional neural networks International Journal of Solids and Structures · Elsevier BV · 2023 10.1016/j.ijsolstr.2023.112334
  48. Quantitative Full-Field Data Fusion for Evaluation of Complex Structures Experimental Mechanics · Springer Nature · 2023 10.1007/s11340-023-00973-8
  49. A comparative study on different neural network architectures to model inelasticity International Journal for Numerical Methods in Engineering · Wiley · 2023 10.1002/nme.7319
  50. A multiscale deep learning model for elastic properties of woven composites International Journal of Solids and Structures · Elsevier BV · 2023 10.1016/j.ijsolstr.2023.112452
  51. A micromechanical mean‐field homogenization surrogate for the stochastic multiscale analysis of composite materials failure International Journal for Numerical Methods in Engineering · Wiley · 2023 10.1002/nme.7344
  52. Cooperative data-driven modeling Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2023 10.1016/j.cma.2023.116432
  53. Transfer learning of recurrent neural network‐based plasticity models International Journal for Numerical Methods in Engineering · Wiley · 2023 10.1002/nme.7357
  54. Neural Networks for Constitutive Modeling: From Universal Function Approximators to Advanced Models and the Integration of Physics Archives of Computational Methods in Engineering · Springer Science+Business Media · 2023 10.1007/s11831-023-10009-y
  55. A multi-fidelity data-driven model for highly accurate and computationally efficient modeling of short fiber composites Composites Science and Technology · Elsevier BV · 2023 10.1016/j.compscitech.2023.110359
  56. NN‐mCRE: A modified constitutive relation error framework for unsupervised learning of nonlinear state laws with physics‐augmented neural networks International Journal for Numerical Methods in Engineering · Wiley · 2024 10.1002/nme.7439
  57. Micromechanics-based deep-learning for composites: Challenges and future perspectives European Journal of Mechanics - A/Solids · Elsevier BV · 2024 10.1016/j.euromechsol.2024.105242
  58. Heterogeneous transfer learning: recent developments, applications, and challenges Multimedia Tools and Applications · Springer Science+Business Media · 2024 10.1007/s11042-024-18352-3