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

Learning hyperelastic anisotropy from data via a tensor basis neural network

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

기본 정보

저자
  1. Jan N. Fuhg — Cornell University, 921 University Ave, Ithaca, NY 14853, USA
  2. Nikolaos Bouklas — Cornell University, 921 University Ave, Ithaca, NY 14853, USA
  3. Reese E. Jones — Sandia National Laboratories, P.O. Box 969, Livermore, CA 94551, USA
DOI
10.1016/j.jmps.2022.105022
저널
Journal of the Mechanics and Physics of Solids
발행년도
2022
발행기관
Elsevier BV
피인용수
45
라이선스
publisher-specific-oa
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.jmps.2022.105022
토픽
Composite Material Mechanics
OpenAlex ID
W4293016734

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(9) 타이어코드, (10) 아라미드
R&D 측면
분석·모델링
확신도
0.80
근거 용어
hyperelastic anisotropy, stress-strain data, fiber reinforced composites, constitutive modeling, tensor basis neural network
판단 근거
이 논문은 섬유 보강 복합재료와 같은 이방성(anisotropy)을 가진 재료의 응력-변형률 데이터를 기반으로 물성을 예측하는 인공지능 모델링 기법을 다룹니다. 이는 코오롱인더스트리의 타이어코드, 아라미드 등 섬유 보강재 및 컴파운드 소재의 기계적 거동을 해석하고 설계하는 데 간접적으로 활용될 수 있습니다.
R&D 활용 포인트
섬유 보강 복합소재(아라미드, 타이어코드 등)의 미세구조에 따른 기계적 이방성을 데이터 기반으로 정밀하게 모델링하여, 신제품 설계 및 물성 예측 시뮬레이션의 정확도를 높이는 데 활용 가능합니다.
평가 입력
섹션 본문 90,562자 중 30,032자 발췌

초록

초록이 없습니다.

본문 94,969자

본문 펼치기
Anisotropy in the mechanical response of materials with microstructure is common and yet is difficult to assess and model. To construct accurate response models given only stress-strain data, we employ classical representation theory, novel neural network layers, and L1 regularization. The proposed tensor-basis neural network can discover both the type and orientation of the anisotropy and provide an accurate model of the stress response. The method is demonstrated with data from hyperelastic materials with off-axis transverse isotropy and orthotropy, as well as materials with less well-defined symmetries induced by fibers or spherical inclusions. Both plain feed-forward neural networks and input-convex neural network formulations are developed and tested. Using the latter, a polyconvex potential can be established, which, by satisfying the growth condition can guarantee the existence of boundary value problem solutions. Introduction Many materials exhibit anisotropic stress response induced by their microstructure, such as embedded fibers or polycrystalline texture. Crystalline materials are well known to exhibit elastic anisotropy [1]. Fiber reinforced composites [2], both engineered [3,4,5] and biological [6,7,8,9,10,11,12], are another broad category of materials that exhibit strong anisotropies. In addition to inherent anisotropies, anisotropy is commonly induced by processing, such as the texture (the biased crystal orientations of a polycrystalline material) generated in worked metals [13,14,15,16,17]. Introduction The anisotropy of these materials is difficult to assess directly from mechanical tests [18]. Even with microstructural information and imaging [19,20,21,22], such as from computed tomography, the anisotropy observed in the stress response of the material may not exactly correspond to that apparent in the microstructure. Alternately the microstructure may be too complex to assess symmetry by inspection, as with fiber distributions or semi-structured arrangements of inclusions. Introduction Classical mechanics provides general representations of anisotropic response functions via structure tensors and representation theorems. Rivlin, Pipkin, Smith, Spencer, Boehler, and co-workers did pioneering work in this field starting in the 1950s [23,24,25,26,27,28,29,30,31,32,33]. Particularly notable is Boehler's treatise [33] describing how anisotropy can be represented with a set of tensor generators. Later, Zheng contributed an often-cited monograph [34] on the application of representation theory to anisotropy, which summarized many of the results to-date. Although structural tensors have been traditionally used to model symmetries that are fixed in a reference configuration they have also been employed to represent evolving symmetries [35,16,17]. Representation of physical stress response functions have additional considerations, such as polyconvexity of the underlying free energy [36,37,38,39], which need to be considered in constructing general representations. Introduction Neural networks (NNs), as universal approximators [40], present a flexible representation for response functions and have been widely employed in constitutive modeling. Pioneering work by Ghaboussi [41,42] has been extended to enable constitutive modeling in the context of hyperelasticity, viscoelasticity and elastoplasticity [43,44,45,46,47,48,49,50]. These works incorporate physical principles and model assumptions to varying degrees as means of obtaining trustworthy surrogates and working in the low-date regime. In particular, the tensor basis neural network (TBNN) [51] was developed based on classical representation theory, which proves that a complete representation can be formed from a finite sum of coefficient functions of scalar invariants, and known tensor basis elements (generators). A primary benefit of the TBNN approach, compared to more traditional NN-based approaches that learn component-based input-output maps, lies in the simplification of the maps that need to be discovered; the tensor basis elements, which do not need to be learned, carry a significant part of the functional complexity of the representation. Introduction Alternative data driven methods to neural networks exist for the representation of constitutive response functions. For instance, Flaschel, Kumar, and De Lorenzis [52,53] have developed a sparse regression technique that builds a stress response model from interpretable components. Utilizing tensor representation theory and building on the TBNN framework, Frankel, Jones and Swiler [54] and Fuhg and Bouklas [55] developed Gaussian process (GP) models of hyperelasticity which are particularly well suited to the low data regime. The latter work highlighted potential benefits of the Gaussian process models compared to NNs. Introduction Knowing the anisotropy of the material response is crucial in maintaining the objectivity of the model when it is deployed in simulations. Consequently, there has been some work on discovery and representation of anisotropic response functions with machine learning. In the general context of dynamical systems, Dehmamy et al. [56] devised a Lie algebra convolutional network by working with the generators of symmetries, as opposed to the group. With this formulation they were able to connect the equivariant properties of the network to conservation laws. In a more specific setting, Tac et al. [57] developed a neural network model of hyperelastic soft tissue material with two fiber families. The model employed a neural network for the isochoric component of the stress response with pre-selected invariant inputs. Also in the context of material physics, Fuhg and Bouklas [55] developed a TBGP model of a hyperelastic material with transverse isotropy. A significant limitation of the applications of TB representations to anisotropic materials to date is the orientation and the type of the symmetry have been assumed to be known. Introduction In this work we develop a TBNN methodology that can discover the type and the orientation of the symmetry of an anisotropic material, and at the same time provide a surrogate for its constitutive response. In the proposed TBNN symmetries are characterized by a structural tensor whose form (type) and orientation with respect to a canonical frame are learned. Although it, like other TBNNs, is a proficient representation in a prediction mode, the primary use of the model is to infer the symmetries of a particular material given samples of its stress response to various deformations. In Sec. 2 we review the classical theory that the proposed TBNN is based on. Then, in Sec. 3, we describe the network model and its training methodology in detail. Sec. 4 describes the source models and training data we use to test the model. Sec.5 demonstrates that the methodology can discover and represent a wide range of anisotropic stress response. App. B shows that the method can effectively infer material anisotropy in the low data regime, and App. C provides an input-convex variant of the proposed TBNN that satisfies polyconvexity requirements albeit with greater implementation complexity and a larger parameter space (App. A provides tensor identities relevant to the developments of Sec. 2). In Sec. 6 we conclude with a synopsis of the results and ideas for future work. Theory Hyperelasticity is framed in terms of stress being the derivative of a (free energy) potential Ψ with respect to a suitable deformation measure, for instance the second Piola-Kirchhoff stress S is given by Theory where E is the Lagrange strain. More primitively, the free energy as a function of the deformation gradient F must satisfy symmetry conditions [58,Sec. 4.3] : Theory for every Q ∈ Orth + and G ∈ G ⊆ Orth, where Q accounts for the indifference to the current coordinate frame and G embeds material symmetry through invariance to transformations of the reference configuration. Instead of creating general representations of Ψ for each symmetry group, G, it is customary to introduce a structure tensor, A, or a set of structure tensors, A = {A i }, as auxiliary arguments [59,60]: Theory and then appeal to more common isotropic function representation theorems. This provides an equivalent representation by virtue of Rychlewski's isotropization theorem [59]. A structure tensor characterizes the material symmetry group G through the property group action leaving the structure tensor invariant Theory where is the Kronecker product (G A ≡ A ij...n Ge i ⊗Ge j ⊗. . . Ge n ). Note that structure tensors are not unique, a set of lower order structure tensors can characterize the same symmetry group as a single higher order tensor [34]. Employing a set of structure tensors leads to a representation that has symmetries corresponding to the intersection of the respective symmetry groups. Isotropic function representation theorems [61,Sec. 37] imply the potential Ψ can be expressed in terms of I = {I k }, a set of mutual scalar invariants of E and A = {A i }: Theory Hence the energy conjugacy relation (1) gives: Theory where B i ≡ ∂ C I i are a known tensor basis for the representation of S and c i ≡ ∂ Ii Ψ are the associated coefficient functions. Here, C = F T F = 2E − I is the right Cauchy-Green deformation tensor. Refer to App. A for the necessary tensor calculus identities. Given these developments, we assume that the material response can be represented by a potential that is a function of a set of invariants that are possibly redundant. For example, isotropy with structure tensor A = I is a sub-class of so-called "complete" orthotropy, where all symmetric dyads are structure tensors A i ∈ {sym e i ⊗ e j }. Here e i is an element of the usual Cartesian basis and sym A ≡ 1/2(A + A T ). For this work we take {A i } to subsume isotropy A = i e i ⊗ e i , transverse isotropy A = e 1 ⊗ e 1 , and orthotropy A i ∈ {e i ⊗ e i , i = 1, 3}. For convenience we define Theory so that isotropy Theory are in the span of these structure tensors. These symmetries nest in the sense that each subsumes the higher symmetries. For isotropy the set of invariants I iso = {tr C, tr C 2 , tr C 3 } suffice. The corresponding tensor basis is B iso = {I, C, C 2 } and the stress is simply Theory For transverse isotropy, a complete set of invariants is: Theory and the corresponding tensor basis is: Theory given N n i = N i and tr N i = 1. The stress for this case is Theory With orthotropy the invariants are Theory The corresponding tensor basis is: Theory so that the stress representation is: Theory Recall there is no need to employ N 3 as a structure tensor since it is in the span of {I, N 1 , N 2 } and −n i leads to the same structure tensors as n i . Alternatively, a polyconvex basis, with the adjugate of C (or C −1 ) substituting for C 2 , could be employed [36,37,62], refer to App. C for further developments. For convenience in the following sections we will use the notation I aniso = I ortho \I iso and B aniso = B ortho \ B iso . Given that the orientation of the material anisotropy is not necessarily aligned with the Cartesian lab basis, e i , we can express the elemental structure tensors as the rotation of canonically oriented elements: Theory where n i is the symmetry axis of N i . The rotation R, has a convenient (tensor basis) Euler-Rodrigues representation: Theory where θ ∈ [0, 2π] is the rotation angle, p is the (unit) axis vector, and P ≡ εp with ε being the third order permutation tensor. The axial vector p can be parameterized in spherical coordinates as p = sin φ cos ϕ e 1 + sin φ sin ϕ e 2 + cos φ e 3 Theory with two angles φ and ϕ, or via alternative Rodrigues formulae and representations of R. Theory In the following we will use type to refer to the symmetry class or degree of symmetry as measured by the size and type of elements in the symmetry group G, and orientation to refer to the orientation of these elements in the reference configuration of the material with respect to the canonical orientations, i.e. n i vs. e i . Architecture The proposed architecture is summarized in the schematic in Fig. 1. It largely resembles a standard TBNN [51,63] except for the inclusion of a set of elemental structure tensors A = {N 1 , N 2 } in their canonical orientation, together with C, in the inputs. The inclusion of these arguments allows for the construction of the additional invariants that depend on anisotropy and orientation. Another distinction is the coefficient functions c i are derived from a potential Ψ formed as the output of a densely connected feed-forward neural network, as opposed to the output of the neural network being the coefficient functions themselves. Architecture A preprocessing layer computes anisotropic invariants I aniso = {tr CN i , tr C 2 N i } and basis elements B aniso = {N i , CN i + N i C}, where N i = N i (θp) are functions of trainable parameters. Note the isotropic invariants I iso = {tr C, tr C 2 , tr C 3 } and basis B iso = {I, C, C 2 } could be precomputed and fed in as data since they do not depend on trainable parameters, but we chose to compute them in-line for convenience. Rotation R(φ) is formed from axis vector φ = θp and the Rodrigues formula Eq. (16). The trainable parameters for the rotation of the tensor basis are the rotational angle θ ∈ [0, 2π] and the unit axis vector (p 1 , p 2 , p 3 )/ p = 1. We employed a constrained 3 parameter representation for p instead of Eq. (17) to avoid the singularities in the 2 parameter spherical coordinate representation. Architecture The invariants I = I iso ∪ I aniso are the inputs to a feed-forward neural network (blue in Fig. 1) consisting of input layer with a node for each invariant , n D −1 hidden layers of the same width, and an output layer consisting of a single node. Each layer of the neural network transforms the output of the previous layer through a trainable affine transform followed by the element-wise application of a (pre-selected) non-linear transform: Architecture where z i is the input data of the i-th layer, and W i , b i and a are the weights, biases and activation function of the i th layer. Since inferring the potential is a regression task the activation function of the output layer is chosen to be identity, i.e. the last layer is just a linear mixing of the output of the previous layer. Architecture Once the potential Φ = Φ({I k }) is formed from the output of the last layer of the NN, z n D , the coefficients c i of the tensor basis representation are obtained from partial derivatives of Φ. Finally, the tensor basis summation is reformulated as: Architecture where the basis has been selected such that A i ≡ ∂ C I i , refer to Sec. 2 and the parameters α 1 , α 2 are introduced to control the degree of anisotropy. In order to enable the method to discern the components of B aniso needed to represent the data and suppress the involvement of unneeded components, we promote sparsity in the anisotropic part of the tensor basis representation through α i . In particular L1 regularization of the α-values is employed in the loss: Architecture where ε is a L1 penalty parameter. Note is it only necessary to penalize the use of the anisotropic components of the basis since the isotropic components are always necessary to represent the response functions of interest. In the following results we used = 1 × 10 −4 . In general this penalty parameter needs to be tuned; however, data normalization helps to bound values that provide suitable conditioning of the constraint objective relative to the accuracy objective. Architecture Remark 1. Alternatively, the coefficients c i could have been directly applied to signal the degree of anisotropy instead of the α i , i.e. (c 4 + c 5 ) and (c 6 + c 7 ). However, regularizing c i means a regularization of a large set of trainable parameters of the neural network since they are dependent on derivatives of the output potential with regards to the input. Hence, by regularizing only two trainable parameters α 1 and α 2 the network can train faster. Secondly, using batch-wise errors with the batch-size M the magnitude of the sum, e.g. M (|c 4 | + |c 5 |), is difficult to judge a priori . This means that the regularization parameter is also difficult to choose in this case. For the formulation we propose, the additional α i are just two trainable parameters, i.e. not network outputs, so this parameterization is not sensitive to the batch-size which makes the regularization process more robust. Architecture Due to fact that the network architecture needs to fit data through its own derivative with respect to the inputs of the network, we found that a hidden-layer activation function that is at least C 1 is helpful for the training process. In this work we applied the tanh activation function in the hidden layers and a linear function at the final layer. The constraints θ ∈ [0, 2π] and p = 1 were enforced using gradient clipping [64]. Architecture The newly developed TBNN architecture was implemented in Pytorch [65]. The denselyconnected component of the network consisted of 3 hidden layers with 30 neurons. The weights and biases of the feed-forward network were initialized using a uniform initialization. The 6 additional trainable parameters, {α 1 , α 2 , p 1 , p 2 , p 3 , θ}, of the proposed TBNN framework were initialized independently. In order to not initially favor any particular degree of anisotropy (e.g. α 1 ≈ 0 and α 2 ≈ 1), the α-values were initialized using α 1 = α 2 = 0.1 where the value of 0.1 is chosen without Output: Figure 1: Anisotropy discovery TBNN architecture: isotropic invariants I iso (pink); anisotropic invariants I aniso that augment the description and depend on orientation θp and the associated rotation R, (red); deep densely connected, feed-forward neural network (blue); elastic potential Φ (white); isotropic tensor basis coefficients (orange); and anisotropic tensor basis coefficients subject to regularization (yellow). Architecture any fine-tuning but (magnitude-wise) roughly on par with the initial weights of the network. The values of p i were initialized from a uniform distribution p i ∼ U[0, 1] and were then normalized by p i = p i / p . The angle θ was initialized from a uniform distribution θ ∼ U[0, 2π]. The network parameters were optimized using the Adam optimizer [66] over 10 6 epochs. All the hyperparameters, such as learning rate and network size, were not tuned extensively since preliminary studies found that the selected parameters produced satisfactory results. For other applications hyperparameters, such as the L1 penalty ε, would need to be tuned in general; however, data normalization assists in the transferability of hyperparameters from one application to the next. Data In order to investigate the robustness of the proposed framework we study its performance on representing five classical hyperelastic material formulations which are summarized in this section. We also discuss the sampling strategy employed to generate training data from these models. In this work the sampling strategy and the evaluation of the approach assumes stress data under different loading conditions are accessible, e.g. cases where a micromechanical RVE or other high-fidelity model is available. Models The proposed methodology infers the orientation and type of the material symmetry and provides a model of the stress response. In the following we divide the material models from which we generate synthetic data into those that can (a) verify or (b) validate the methodology used to solve the inverse problem. Following the definitions of Ref. [67], we use the verification process to check the correctness of the inference of material symmetry by using constitutive laws with known symmetries and material orientations. Then the TBNN formulation designed to solve the inverse problem of discovering anisotropy is validated on material responses where the symmetries and orientations are a priori unknown and the proposed approach should find a best fit. Material models for verification In this section three hyperelastic laws with anisotropies from known classes: isotropy, transverse isotropy, and orthotropy, are introduced for the purpose of verifying the TBNN. App. A provides some of the tensor calculus identities necessary to derive the stress response from the potentials. Material models for verification Isotropic hyperelasticity The well-known compressible isotropic neo-Hookean model is described by a strain energy function discussed in Refs. [68,69]: Material models for verification which yields a second Piola-Kirchhoff stress of the form: Material models for verification Herein Material models for verification We choose c 1 = 1 √ 2 and c 2 = 10 3 to generate the training data. Material models for verification Transversely isotropic hyperelasticity Bonet and Burton [69] introduced a hyperelastic model of transversely isotropic stress response defined by the strain energy: Material models for verification For this model the second Piola-Kirchhoff stress is Material models for verification Herein I 4 ≡ tr CN 1 and I 5 ≡ tr C 2 N 1 . For the results shown in Sec. 5 we specify c 0 = c 1 = c 2 = 1.0 and n = ( 1 Material models for verification Orthotropic hyperelasticity The orthotropic material we selected a modified version of the strain energy function proposed in Ref. [7] which reads Material models for verification where I 4 ≡ tr CN 1 and I 6 ≡ tr CN 2 . In this case second Piola-Kirchhoff stress is given by Material models for verification In this case we choose the following material parameters: c 1 = 5.5, c 2 = 0.75, c 3 = 5.0, c 4 = 1.5, c 5 = 1.5, and preferred directions: Material models for validation The proposed framework is validated on material models that do not have explicitly known anisotropic symmetries and orientations. For this purpose we obtain stress-strain data from a fiber composite model and an elastic microstructure with inclusions. Material models for validation Fiber anisotropy Distributed fiber models are commonly employed for modeling tissues [70,71,72]. They are generally characterized by assuming a distribution of fiber orientations ρ and a strain energy Ψ fiber for each fiber. The resulting hyperelastic models can not be explicitly classified in the general orthotropic representation of Eq. (14). Following Ref. [73] and Ref. [74] and we assume that the response of a compressible fiberreinforced material results from the strain energy function composed of a matrix and a fiber contribution: Material models for validation The response of the fibers Ψ fiber is described by Material models for validation where the stretch projected on a fiber with in-plane orientation n(θ) is The fiber structure is defined by semicircular von Mises distribution function Material models for validation where ι 0 is the modified Bessel function of the first kind of order zero Material models for validation The second Piola-Kirchhoff stress is given by Material models for validation with Material models for validation Here we specify representative parameters: c 1 = 3.0, c 2 = 0.75, k 1 = 4 15 , k 2 = 170 15 and b = 1. The resulting fiber distribution is plotted in Fig. 2. The fibers lie in the e 1 -e 2 plane and the major lobe is in the e 1 direction. Material models for validation Microstructure with inclusions Lastly, the framework is also tested on training data from an effective microstructural response, specifically a microstructure with 12 inclusions used as a Representative Volume Element (RVE), see Fig. 3. The microstructural quantities are denoted by the subscript "m". Following Ref. [75] the stiffness response of the materials in both phases can be characterized by a compressible neoHookean formulation of the form Material models for validation The resulting second Piola-Kirchhoff stress reads with Material models for validation in terms of the Poisson's ratio ν and the shear modulus µ. The shear modulus in both phases is 80 GPa. The bulk modulus for the inclusions is 120 GPa and for the matrix it is 160 GPa. The effective response of the microstructure can be obtained using numerical homogenization conditioned on an imposed mean deformation gradient. The equilibrium equation at the microscale is given by Material models for validation where P m denotes the microscopic first Piola-Kirchhoff stress and ∇ m is the microscopic gradient operator with respect to the reference configuration. The RVE is assumed to have geometrically periodic boundaries. After solving this boundary value problem, the macroscopic first Piola-Kichhoff stress tensor P is computed via a volume average Material models for validation over the volume V of the RVE. The pull-back operation then allows us to obtain the averaged second Piola-Kirchhoff stress tensor Material models for validation where F is the applied macroscopic deformation gradient. For more information we refer to Ref. [76]. After discretization, the RVE consists of ≈ 25, 000 hexahedral elements. An author-modified version of the finite element (FE) simulation code provided by Ref. [77] was used for these computational homogenization simulations. Sampling In each case, we collect samples over a bounded deformation gradient space around the undeformed configuration (F = I) given by Sampling with λ > 0 and δ ij being the Kronecker delta. We employed Latin Hypercube Sampling [78] to generate N space filling samples in this nine-dimensional bounded space. The right Cauchy-Green tensor C = F T F of each sample was derived from F and the model evaluated to obtain S(C) and a dataset of the form Sampling All of the following numerical examples employ λ = 0.2. For each model N = 2500 samples were calculated. Prior to training the TBNN, both the inputs C and outputs S are normalized to lie between 0 and 1. Results In the following we demonstrate the ability of the proposed approach to: (a) recover both the orientation and the type of anisotropy for material responses where these properties are well classified (cf. Sec. 4.1.1), and (b) discover best fitting surrogates to data with imprecise symmetries (cf. Sec. 4.1.2). Results In order to visualize the proficiency of the trained TBNN surrogates, the ground truth stress as well as the predicted stress of the models are plotted for the loading case Results This loading is not part of the training dataset generated with random sampling, refer to Sec. 4.2. Results In addition to the results in this section, the influence of the number of data points on the proposed framework for the material models of Sec. 4.1.1 is reported in App. B. Also, as a modification of the TBNN approach presented in Sec. 3 with a simple feed-forward architecture which does not adhere to polyconvexity requirements [36], an alternative input-convex neural network is presented in App. C. This kind of network enables the learning hyperelastic anisotropy with polyconvex potentials. Recovering anisotropy type and orientation We start by demonstrating that the TBNN, as formulated in Sec. 3 with a full orthotropic basis, can accurately recover an isotropic response. Figure 4a plots the loss over the training process. We can see that a smooth error convergence is achieved. For isotropic materials both anisotropic coefficients, α 1 and α 2 , should converge to zero. Figure 4b shows that anisotropic coefficients rapidly go to zero over the training. Hence, this example clearly demonstrates that the method is efficient and effective in recovering isotropic material behavior. Fig. 4c plots the ground truth and the predicted stress for the load case of Eq. (41). We can see that although this test data is not part of the training dataset an accurate stress representation is found. Recovering anisotropy type and orientation Next, we consider the stress-strain data from the transversely isotropic model of Sec. 4.1.1. The preferred direction of the data source model is chosen to be n = ( 1 √ 2 , 1 √ 2 , 0). Figure 5a plots the training loss over the training process. We can see that, again, the convergence is regular and the error has essentially converged after ≈ 400, 000 epochs. For this example we expect only one anisotropic coefficient to remain while the other one should tend to zero. The recovered coefficients over the training process are plotted in Fig. 5b, and clearly shows that the presented TBNN framework accurately identifies the degree of anisotropy, with α 1 → 0 and α 2 → 1. Figure 5c displays evolution of the components of the preferred direction n 2 , which converge to the true material orientation (to within a sign). Hence, this example demonstrates the proposed anisotropy discovery method can accurately recover the response and symmetries of an off-axis transversely isotropic material. Finally, the diagonal components of the true stress and predicted stress responses for the uniaxial test case are plotted over F 11 in Fig. 5d which indicates the validity of the trained surrogate in terms of its prediction accuracy on unseen data. Recovering anisotropy type and orientation Lastly, we check if the proposed approach is able to accurately recover the anisotropy defining coefficients and orientations of the orthotropic material model described in Sec. 4.1.1. Here, we expect both of the trainable anisotropy-defining coefficients α 1 and α 2 to be non-zero. The two preferred directions of the data source model are chosen to be the off-axis unit-vectors n 1 = ( 1 Figure 6a shows the training loss over the training process. The evolution of the two anisotropic coefficients is plotted in Fig. 6b. It can be seen that both coefficient values converge to non-zero values after ≈ 200, 000 epochs. Figures 6c and 6d plot the components of the associated preferred directions n 1 and n 2 . They converge to an accurate match (up to a sign) of the ground truth n i . These results prove that the anisotropic properties of an orthotropic material can be correctly recovered. To highlight the prediction quality in terms of stress outputs of the trained surrogate, the true and predicted S 11 , S 22 and S 33 stress components are plotted in Fig. 6e over F 11 for the uniaxial test case. Discovering anisotropy structure and orientation For the following two examples neither the type of the anisotropy nor the orientations are directly expressible as a subclass of the parameterized orthotropic stress representation of Eq. (19). Applying our proposed framework on data of this kind will allow us to find best fitting anisotropy structures and orientations in terms of Eq. (19). This can help us gain insight into "effective" anisotropies and orientations that are hidden in the data. Discovering anisotropy structure and orientation First, we discuss the results for data from the fiber anisotropy model presented in Sec. 4.1.2. For this case, the loss is plotted over the number of epochs Fig. 7a. We can see that the training procedure is able to significantly decrease the initial loss. The evolution of the anisotropic coefficients is shown in Fig. 7b. Interestingly, it appears that the trained model predicts the stress-strain data to have a structure that closely resembles that of an orthotropic material, i.e. both coefficients are decidedly non-zero. This makes sense given the symmetries of the fiber distribution plotted in Fig. 2. Figure 7c and 7d show the convergence of the two associated preferred directions of this type of anisotropy. Lastly, the ground truth and predicted diagonal stress components of the second Piola-Kirchhoff stress as a function of F 11 are plotted in Fig. 7e. As with the previous cases, it can be seen that the trained surrogate is able to accurately recreate the correct stress-strain relationship even on data that are not in the training set. Discovering anisotropy structure and orientation The final example involves the microstructure problem discussed in Sec. 4.1.2. The loss over the training process is shown in Fig. 8a where we can see that the initial loss is significantly reduced. Figure 8b plot the evolution of the two anisotropic coefficients. The proposed framework identifies a representation with one preferred direction as the best fit. This preferred direction is plotted in Fig. 8c. In this case it is difficult to get an expectation of what the symmetries should be from the microstructure but we are are assured by the high accuracy the TBNN model achieves. The stress response of the trained surrogate is compared to the ground truth test case results obtained from FE simulations in Fig. 8d. Discovering anisotropy structure and orientation Lastly, we test the trained TBNN surrogate model by embedding it into the C++ FE code provided by Ref. [77]. As a commonly applied benchmark for hyperelastic response [79], we employ the so-called Cook's membrane problem, illustrated in Fig. 9a, where a hexahedral structural problem is pinned on the left and a vertical displacement of u 0 = 0.12m is applied. The Cook's membrane problem is typically used as a test case for combined bending and shear response with moderate distortion. As a proof-of-concept we show the magnitude of the displacement response in Fig. 9b which is in accordance with the solution obtained in Ref. [75]. Conclusion We proposed a tensor-basis neural network framework based on classical representation theorems and machine learning that can discover both the orientation and the type of anisotropy purely from stress-strain datasets, and, as a byproduct, provide a surrogate for the stress-strain response. Conclusion We have applied this approach to recover the exact symmetries corresponding to phenomenological constitutive laws that we used as test cases as well as the best fits to data from materials with explicit microstructure. Expanding the anisotropic basis from the orthotropic set assumed in this work may yield benefits in certain cases, e.g. crystal symmetries [1,80]; however, it appears that cross term basis generators, such as sym n 1 ⊗ n 2 were not needed for the wide range of material responses we explored. Furthermore, the viability of the trained TBNN surrogate as a usable constitutive law was demonstrated by solving a commonly employed structural test problem with a FE code. In additional results described in App. B, we found that the method provides robust inference of symmetries over a wide range of dataset sizes. We also developed an extension of the proposed TBNN architecture to generate polyconvex potentials, which is discussed in App. C and could prove useful in cases where data availability is an issue since the polyconvexity provides another constraint on the form of the representation. In future work we will pursue the application of the method to experimental data, and tackle issues of measurement noise as well as limited control and observation of the stress response. In this endeavor we envision the use of active learning techniques to guide experiments to rapidly discover anisotropies from measurements, c.f. Ref. [81,82]. For more complex materials we may need to resort to global optimization techniques, such as simulated annealing and multi-start initialization, to overcome issues with multiple minima in the objective function. We may also explore alternative methods to induce sparsity, such as Orthogonal Matching Pursuit [83,84]. Conclusion Derivatives of invariants follow these identities. For the principal isotropic invariants: Conclusion the rescaled invariants: Conclusion and the anisotropic invariants: B Influence of the number of training points The results of Sec. 5 were obtained using N =2,500 sample points. In this section we investigate the influence of N on the ability of the proposed framework to recover the anisotropy structure and orientation of the material models discussed in the context of verification in Sec. 4.1.1. Using the sampling method described in Sec.4.2, N =100, 1,000, and 10,000 stress-strain sample datasets are obtained for each of the three constitutive laws. All hyperparameter, solver and initialization choices are equivalent to the ones discussed in Sec. 3. 1 We first consider the isotropic material model discussed in Sec. 4.1.1. For this case we expect the anisotropic coefficients (α 1 , α 2 ) to go toward zero. Figure 10 plots the training loss as well as the values of the coefficients over the training process for all three dataset cases. It can be seen that the trained model is able to significantly reduce the initial training error. Furthermore the two α-values are zero after training for all three cases, indicating that the proposed approach is able to accurately identify that the data was generated from an isotropic material model even when only 100 training points are available. Note the fact that the loss is continuing to decrease for the low data case, N = 100, provides some indication that the model might be overfitting; however, for the purposes of discovering the anisotropy, i.e. the inverse problem, this is essentially irrelevant. B Influence of the number of training points Next, we study the influence of the training dataset size for the transversely isotropic hyperelastic law presented in Sec. 4.1.1. In contrast to the first example we expect one anisotropic coefficient to be non-zero and the corresponding preferred direction to be equivalent to a factor of n = (1/ √ 2, 1/ √ 2, 0). For this example, the evolution of the training loss and the coefficients are shown Figure 11. We can see that the proposed framework is able to recover the correct form of anisotropy (only one non-zero coefficient) for the small, medium and large datasets. Additionally, the respective preferred directions are accurately fit at the end of the training process as seen in Fig. 12. We can see again that even with only 100 training points the type of the anisotropy and the preferred orientations are correctly recovered. Lastly, we investigate the ability of the proposed framework to recover orthotropic material behavior based on these three datasets. As an example we employ the orthotropic hyperelastic law discussed in Sec. 4.1.1. For this material law, both anisotropic coefficients should be non-zero and the two corresponding directions should be equivalent to n 1 = (1/ √ 2, 1/ √ 2, 0) and n 2 = (1/ √ 2, −1/ √ 2, 0). We can see in Fig. 13b that the coefficient values of all three cases are decidedly non-zero at the end of the training process meaning that the correct type of anisotropy is found. Figure 14 shows that all three dataset sizes allow for a correct identification of the anisotropy orientations. B Influence of the number of training points Overall, we can see that the proposed approach shows a surprising resilience to decreasing the size of the stress-strain dataset. It appears that even 100 training points are enough to accurately recover the three major classes of anisotropy studied in this work. C Input-convex neural networks enforcing polyconvexity The standard TBNN formulation aims to find the best (strain energy) potential that fits the data, refer to Sec. 3, here we explore a variant that embeds polyconvexity of the potential. In finite elasticity theory, Ball [87] proved that minimizers for existing variational functionals exist if the energy potential is polyconvex. The polyconvexity condition is fulfilled if and only if a function P : C Input-convex neural networks enforcing polyconvexity where P is convex with regards to all the arguments. Here, Cof F denotes the cofactor operator, which results in the transpose of the adjugate of F. The growth condition on the strain energy function is a necessary part of the proof that polyconvexity guarantees the existence of a solution of a boundary value problem [88]. In a simplified form it can be expressed as C Input-convex neural networks enforcing polyconvexity The polyconvexity condition (as well as objectivity and material symmetry conditions) can be fulfilled if P is a convex function of a set of invariants which are polyconvex functions of (F, Cof F, det F) [36]. For orthotropic materials such a set is given by [62] I ortho, poly = {tr C, tr Cof C, det C, tr CN 1 , tr C 2 N 1 tr CN 2 , tr C 2 N 2 } . (C.3) C Input-convex neural networks enforcing polyconvexity Note C 2 was used for the anisotropic generators as in Ref. [62], and shown to be equivalent to the use of Cof C in Ref. [36]. In Sec. 3 a classical feedforward neural network architecture is applied to establish the TBNN framework. However, these are not able to robustly establish a polyconvex potential, since the network can not guarantee convexity of the output energy with regards to the input invariants. Recently [89], input convex neural networks (ICNN) have been proposed which, due to their specific architecture, ensure convexity of the output with regards to the input of the network. C Input-convex neural networks enforcing polyconvexity Input convex neural networks In input convex neural networks the standard update formula (cf. Eq. (18)) of neural networks can be rewritten to C Input-convex neural networks enforcing polyconvexity where W z 0 = 0, z 0 = 0, z k = Φ and {W z 1:k−1 , W x 0:k−1 , b 0:k−1 } denote the set trainable parameters. In order to guarantee convexity with these networks all weights {W z i } k−1 i=1 need to be non-negative and the activation functions g i are required to be non-decreasing and convex. C Input-convex neural networks enforcing polyconvexity In Ref. [89] "passthrough" layers, i.e. the input x is directly connected to the hidden and output layers, are established to increase the expressiveness of the network architecture. Initially, Amos et al. the requirements on a i . Recently, the Exponential Linear Units (ELU) has been proposed as an alternative [90] whose first derivative is smooth (in contrast to ReLU). The shape of both types of activation functions can be seen in Fig. 16. A schematic representation of the input convex neural network architecture is shown in Fig. 15. In solid mechanics applications, ICNNs have already been applied to fitting yield functions [91,92] as well as strain energy functions [93]. C Input-convex neural networks enforcing polyconvexity Polyconvex tensor basis neural network and training specifications Using input convex neural networks allows for the output potential to be convex with regards to the invariant inputs. However, they do not fulfill the growth condition as described in Eq. (C.2). Following Ref. [93] this requirement can be established by adding an analytical term to the output of the network C Input-convex neural networks enforcing polyconvexity For a general orthotropic material defined using the invariant set of Eq. (C.3) the stress response function then yields C Input-convex neural networks enforcing polyconvexity In order to solve the inverse problem, i.e. to find the type of symmetry and the orientations, two trainable parameters α 1 and α 2 are established that allow to promote sparsity in the anisotropic part (equivalently to Eq. (19)). Given stress-strain data, the loss for the TBNN formulation that guarantees a polyconvex potential can then be established with the same regularization formulated in Sec. 3 C Input-convex neural networks enforcing polyconvexity where ε is a L1 penalty parameter. In the following we used = 1 × 10 −4 . We investigated the efficacy of the polyconvex-TBNN in recovering the correct anisotropy type and orientation of the hyperelastic models (isotropic, transversely isotropic and orthotropic) discussed in the context of verification in Sec.4.1.1. Similarly to the results of the standard feed-forward architecture (cf. Sec. 5) N = 2, 500 sample points are utilized for all following results. C Input-convex neural networks enforcing polyconvexity The ICNN network architecture was implemented in Pytorch [65]. The network consist of 3 hidden layers resulting in roughly 3, 700 trainable parameters. All other hyperparameter, solver and initialization choices are equivalent to the ones discussed in Sec. 3. C Input-convex neural networks enforcing polyconvexity We start with a study of how the choice of the activation function affects the performance of the ICNN architecture. As mentioned the authors of the original ICNN paper only apply ReLU activation functions, c.f. Ref. [89]. As seen in Fig. 16 its first derivative is non-smooth. This appears problematic considering that, in the presented approach, the stress data is fitted through the derivative of the neural network output with regards to their inputs. Hence, a non-smooth prediction of the second Piola-Kirchhoff stress is likely. To empirically investigate this, Fig. 17 plots the training losses for all the hyperelastic model types for both ReLU and ELU activation functions over the number of epochs respectively. We can see that (presumably) due to ReLU being a C 0 function the convergence of the loss is particularly unstable, whereas for ELU the error reduces smoothly and ends up significantly lower. Hence, when employing TBNNs with polyconvex potentials we recommend to use ELU activation functions which will also be employed in the following. C Input-convex neural networks enforcing polyconvexity We proceed by studying if the proposed polyconvex approach is able to accurately recover an isotropic material model when starting from the stress representation of Eq. (C.6). For this form of material symmetry we expect the anisotropic coefficients (α 1 and α 2 ) to vanish. Figure 18 plots the evolution of the coefficients over the training process. It can be seen that the proposed model is able to recover this isotropic behavior since the coefficients are zero at the end of the training process. C Input-convex neural networks enforcing polyconvexity Equivalently, we investigate if the polyconvex framework is able to correctly identify the structure and orientation of the transversely isotropic hyperelastic law presented in Sec. 4.1.1. The ground truth direction is assumed to be n = ( 1 √ 2 , 1 √ 2 , 0). The evolution of the anisotropic coefficients are shown in Fig. 19a. We can see that the proposed framework correctly recovers the right degree of anisotropy by having only one remaining coefficient by the end of training. The corresponding direction of this coefficient over the training process is plotted in Fig. 19b which matches with the ground truth after the training is finished. C Input-convex neural networks enforcing polyconvexity Lastly, we test the polyconvex potential on its ability to correctly recover properties of orthotropic materials. For this we use the orthotropic hyperelastic law provided in Sec. 4.1.1 with the two ground truth directions chosen as n 1 = ( 1 √ 2 , 1 √ 2 , 0) and n 2 = (− 1 √ 2 , 1 √ 2 , 0). From the evolution of the anisotropic coefficients we can see that the model is able to correctly classify the data as being from an orthotropic material (c.f. Fig. 20a). Furthermore, the corresponding orientations also match the ground truth (Figs. 20b and 20c). C Input-convex neural networks enforcing polyconvexity Overall, for the presented cases, the polyconvex TBNN architecture is able to accurately recover anisotropic structures and orientations from hyperelastic stress-strain datasets. The input-convex and the standard TBNNs achieved comparable accuracy; however, the built-in polyconvexity gives us more confidence in the predictions of this architecture. Enforcing additional physical principles and model requirements (such as polyconvexity in this case), has proven as a successful approach to allow machine learning approaches to be efficient in low-data regimes and also in generating models that can efficiently generalize [51,55]. A counterpoint is the standard TBNN presented in Sec. 3 is relatively straightforward to implement with standard layers available in Pytorch [65] and the like. Introduction Many materials exhibit anisotropic stress response induced by their microstructure, such as embedded fibers or polycrystalline texture. Crystalline materials are well known to exhibit elastic anisotropy [1]. Fiber reinforced composites [2], both engineered [3,4,5] and biological [6,7,8,9,10,11,12], are another broad category of materials that exhibit strong anisotropies. In addition to inherent anisotropies, anisotropy is commonly induced by processing, such as the texture (the biased crystal orientations of a polycrystalline material) generated in worked metals [13,14,15,16,17]. Introduction The anisotropy of these materials is difficult to assess directly from mechanical tests [18]. Even with microstructural information and imaging [19,20,21,22], such as from computed tomography, the anisotropy observed in the stress response of the material may not exactly correspond to that apparent in the microstructure. Alternately the microstructure may be too complex to assess symmetry by inspection, as with fiber distributions or semi-structured arrangements of inclusions. Introduction Classical mechanics provides general representations of anisotropic response functions via structure tensors and representation theorems. Rivlin, Pipkin, Smith, Spencer, Boehler, and co-workers did pioneering work in this field starting in the 1950s [23,24,25,26,27,28,29,30,31,32,33]. Particularly notable is Boehler's treatise [33] describing how anisotropy can be represented with a set of tensor generators. Later, Zheng contributed an often-cited monograph [34] on the application of representation theory to anisotropy, which summarized many of the results to-date. Although structural tensors have been traditionally used to model symmetries that are fixed in a reference configuration they have also been employed to represent evolving symmetries [35,16,17]. Representation of physical stress response functions have additional considerations, such as polyconvexity of the underlying free energy [36,37,38,39], which need to be considered in constructing general representations. Introduction Neural networks (NNs), as universal approximators [40], present a flexible representation for response functions and have been widely employed in constitutive modeling. Pioneering work by Ghaboussi [41,42] has been extended to enable constitutive modeling in the context of hyperelasticity, viscoelasticity and elastoplasticity [43,44,45,46,47,48,49,50]. These works incorporate physical principles and model assumptions to varying degrees as means of obtaining trustworthy surrogates and working in the low-date regime. In particular, the tensor basis neural network (TBNN) [51] was developed based on classical representation theory, which proves that a complete representation can be formed from a finite sum of coefficient functions of scalar invariants, and known tensor basis elements (generators). A primary benefit of the TBNN approach, compared to more traditional NN-based approaches that learn component-based input-output maps, lies in the simplification of the maps that need to be discovered; the tensor basis elements, which do not need to be learned, carry a significant part of the functional complexity of the representation. Introduction Alternative data driven methods to neural networks exist for the representation of constitutive response functions. For instance, Flaschel, Kumar, and De Lorenzis [52,53] have developed a sparse regression technique that builds a stress response model from interpretable components. Utilizing tensor representation theory and building on the TBNN framework, Frankel, Jones and Swiler [54] and Fuhg and Bouklas [55] developed Gaussian process (GP) models of hyperelasticity which are particularly well suited to the low data regime. The latter work highlighted potential benefits of the Gaussian process models compared to NNs. Introduction Knowing the anisotropy of the material response is crucial in maintaining the objectivity of the model when it is deployed in simulations. Consequently, there has been some work on discovery and representation of anisotropic response functions with machine learning. In the general context of dynamical systems, Dehmamy et al. [56] devised a Lie algebra convolutional network by working with the generators of symmetries, as opposed to the group. With this formulation they were able to connect the equivariant properties of the network to conservation laws. In a more specific setting, Tac et al. [57] developed a neural network model of hyperelastic soft tissue material with two fiber families. The model employed a neural network for the isochoric component of the stress response with pre-selected invariant inputs. Also in the context of material physics, Fuhg and Bouklas [55] developed a TBGP model of a hyperelastic material with transverse isotropy. A significant limitation of the applications of TB representations to anisotropic materials to date is the orientation and the type of the symmetry have been assumed to be known. Introduction In this work we develop a TBNN methodology that can discover the type and the orientation of the symmetry of an anisotropic material, and at the same time provide a surrogate for its constitutive response. In the proposed TBNN symmetries are characterized by a structural tensor whose form (type) and orientation with respect to a canonical frame are learned. Although it, like other TBNNs, is a proficient representation in a prediction mode, the primary use of the model is to infer the symmetries of a particular material given samples of its stress response to various deformations. In Sec. 2 we review the classical theory that the proposed TBNN is based on. Then, in Sec. 3, we describe the network model and its training methodology in detail. Sec. 4 describes the source models and training data we use to test the model. Sec.5 demonstrates that the methodology can discover and represent a wide range of anisotropic stress response. App. B shows that the method can effectively infer material anisotropy in the low data regime, and App. C provides an input-convex variant of the proposed TBNN that satisfies polyconvexity requirements albeit with greater implementation complexity and a larger parameter space (App. A provides tensor identities relevant to the developments of Sec. 2). In Sec. 6 we conclude with a synopsis of the results and ideas for future work. Theory Hyperelasticity is framed in terms of stress being the derivative of a (free energy) potential Ψ with respect to a suitable deformation measure, for instance the second Piola-Kirchhoff stress S is given by Theory where E is the Lagrange strain. More primitively, the free energy as a function of the deformation gradient F must satisfy symmetry conditions [58,Sec. 4.3] : Theory for every Q ∈ Orth + and G ∈ G ⊆ Orth, where Q accounts for the indifference to the current coordinate frame and G embeds material symmetry through invariance to transformations of the reference configuration. Instead of creating general representations of Ψ for each symmetry group, G, it is customary to introduce a structure tensor, A, or a set of structure tensors, A = {A i }, as auxiliary arguments [59,60]: Theory and then appeal to more common isotropic function representation theorems. This provides an equivalent representation by virtue of Rychlewski's isotropization theorem [59]. A structure tensor characterizes the material symmetry group G through the property group action leaving the structure tensor invariant Theory where is the Kronecker product (G A ≡ A ij...n Ge i ⊗Ge j ⊗. . . Ge n ). Note that structure tensors are not unique, a set of lower order structure tensors can characterize the same symmetry group as a single higher order tensor [34]. Employing a set of structure tensors leads to a representation that has symmetries corresponding to the intersection of the respective symmetry groups. Isotropic function representation theorems [61,Sec. 37] imply the potential Ψ can be expressed in terms of I = {I k }, a set of mutual scalar invariants of E and A = {A i }: Theory Hence the energy conjugacy relation (1) gives: Theory where B i ≡ ∂ C I i are a known tensor basis for the representation of S and c i ≡ ∂ Ii Ψ are the associated coefficient functions. Here, C = F T F = 2E − I is the right Cauchy-Green deformation tensor. Refer to App. A for the necessary tensor calculus identities. Given these developments, we assume that the material response can be represented by a potential that is a function of a set of invariants that are possibly redundant. For example, isotropy with structure tensor A = I is a sub-class of so-called "complete" orthotropy, where all symmetric dyads are structure tensors A i ∈ {sym e i ⊗ e j }. Here e i is an element of the usual Cartesian basis and sym A ≡ 1/2(A + A T ). For this work we take {A i } to subsume isotropy A = i e i ⊗ e i , transverse isotropy A = e 1 ⊗ e 1 , and orthotropy A i ∈ {e i ⊗ e i , i = 1, 3}. For convenience we define Theory so that isotropy Theory are in the span of these structure tensors. These symmetries nest in the sense that each subsumes the higher symmetries. For isotropy the set of invariants I iso = {tr C, tr C 2 , tr C 3 } suffice. The corresponding tensor basis is B iso = {I, C, C 2 } and the stress is simply Theory For transverse isotropy, a complete set of invariants is: Theory and the corresponding tensor basis is: Theory given N n i = N i and tr N i = 1. The stress for this case is Theory With orthotropy the invariants are Theory The corresponding tensor basis is: Theory so that the stress representation is: Theory Recall there is no need to employ N 3 as a structure tensor since it is in the span of {I, N 1 , N 2 } and −n i leads to the same structure tensors as n i . Alternatively, a polyconvex basis, with the adjugate of C (or C −1 ) substituting for C 2 , could be employed [36,37,62], refer to App. C for further developments. For convenience in the following sections we will use the notation I aniso = I ortho \I iso and B aniso = B ortho \ B iso . Given that the orientation of the material anisotropy is not necessarily aligned with the Cartesian lab basis, e i , we can express the elemental structure tensors as the rotation of canonically oriented elements: Theory where n i is the symmetry axis of N i . The rotation R, has a convenient (tensor basis) Euler-Rodrigues representation: Theory where θ ∈ [0, 2π] is the rotation angle, p is the (unit) axis vector, and P ≡ εp with ε being the third order permutation tensor. The axial vector p can be parameterized in spherical coordinates as p = sin φ cos ϕ e 1 + sin φ sin ϕ e 2 + cos φ e 3 Theory with two angles φ and ϕ, or via alternative Rodrigues formulae and representations of R. Theory In the following we will use type to refer to the symmetry class or degree of symmetry as measured by the size and type of elements in the symmetry group G, and orientation to refer to the orientation of these elements in the reference configuration of the material with respect to the canonical orientations, i.e. n i vs. e i . Architecture The proposed architecture is summarized in the schematic in Fig. 1. It largely resembles a standard TBNN [51,63] except for the inclusion of a set of elemental structure tensors A = {N 1 , N 2 } in their canonical orientation, together with C, in the inputs. The inclusion of these arguments allows for the construction of the additional invariants that depend on anisotropy and orientation. Another distinction is the coefficient functions c i are derived from a potential Ψ formed as the output of a densely connected feed-forward neural network, as opposed to the output of the neural network being the coefficient functions themselves. Architecture A preprocessing layer computes anisotropic invariants I aniso = {tr CN i , tr C 2 N i } and basis elements B aniso = {N i , CN i + N i C}, where N i = N i (θp) are functions of trainable parameters. Note the isotropic invariants I iso = {tr C, tr C 2 , tr C 3 } and basis B iso = {I, C, C 2 } could be precomputed and fed in as data since they do not depend on trainable parameters, but we chose to compute them in-line for convenience. Rotation R(φ) is formed from axis vector φ = θp and the Rodrigues formula Eq. (16). The trainable parameters for the rotation of the tensor basis are the rotational angle θ ∈ [0, 2π] and the unit axis vector (p 1 , p 2 , p 3 )/ p = 1. We employed a constrained 3 parameter representation for p instead of Eq. (17) to avoid the singularities in the 2 parameter spherical coordinate representation. Architecture The invariants I = I iso ∪ I aniso are the inputs to a feed-forward neural network (blue in Fig. 1) consisting of input layer with a node for each invariant , n D −1 hidden layers of the same width, and an output layer consisting of a single node. Each layer of the neural network transforms the output of the previous layer through a trainable affine transform followed by the element-wise application of a (pre-selected) non-linear transform: Architecture where z i is the input data of the i-th layer, and W i , b i and a are the weights, biases and activation function of the i th layer. Since inferring the potential is a regression task the activation function of the output layer is chosen to be identity, i.e. the last layer is just a linear mixing of the output of the previous layer. Architecture Once the potential Φ = Φ({I k }) is formed from the output of the last layer of the NN, z n D , the coefficients c i of the tensor basis representation are obtained from partial derivatives of Φ. Finally, the tensor basis summation is reformulated as: Architecture where the basis has been selected such that A i ≡ ∂ C I i , refer to Sec. 2 and the parameters α 1 , α 2 are introduced to control the degree of anisotropy. In order to enable the method to discern the components of B aniso needed to represent the data and suppress the involvement of unneeded components, we promote sparsity in the anisotropic part of the tensor basis representation through α i . In particular L1 regularization of the α-values is employed in the loss: Architecture where ε is a L1 penalty parameter. Note is it only necessary to penalize the use of the anisotropic components of the basis since the isotropic components are always necessary to represent the response functions of interest. In the following results we used = 1 × 10 −4 . In general this penalty parameter needs to be tuned; however, data normalization helps to bound values that provide suitable conditioning of the constraint objective relative to the accuracy objective. Architecture Remark 1. Alternatively, the coefficients c i could have been directly applied to signal the degree of anisotropy instead of the α i , i.e. (c 4 + c 5 ) and (c 6 + c 7 ). However, regularizing c i means a regularization of a large set of trainable parameters of the neural network since they are dependent on derivatives of the output potential with regards to the input. Hence, by regularizing only two trainable parameters α 1 and α 2 the network can train faster. Secondly, using batch-wise errors with the batch-size M the magnitude of the sum, e.g. M (|c 4 | + |c 5 |), is difficult to judge a priori . This means that the regularization parameter is also difficult to choose in this case. For the formulation we propose, the additional α i are just two trainable parameters, i.e. not network outputs, so this parameterization is not sensitive to the batch-size which makes the regularization process more robust. Architecture Due to fact that the network architecture needs to fit data through its own derivative with respect to the inputs of the network, we found that a hidden-layer activation function that is at least C 1 is helpful for the training process. In this work we applied the tanh activation function in the hidden layers and a linear function at the final layer. The constraints θ ∈ [0, 2π] and p = 1 were enforced using gradient clipping [64]. Architecture The newly developed TBNN architecture was implemented in Pytorch [65]. The denselyconnected component of the network consisted of 3 hidden layers with 30 neurons. The weights and biases of the feed-forward network were initialized using a uniform initialization. The 6 additional trainable parameters, {α 1 , α 2 , p 1 , p 2 , p 3 , θ}, of the proposed TBNN framework were initialized independently. In order to not initially favor any particular degree of anisotropy (e.g. α 1 ≈ 0 and α 2 ≈ 1), the α-values were initialized using α 1 = α 2 = 0.1 where the value of 0.1 is chosen without Output: Figure 1: Anisotropy discovery TBNN architecture: isotropic invariants I iso (pink); anisotropic invariants I aniso that augment the description and depend on orientation θp and the associated rotation R, (red); deep densely connected, feed-forward neural network (blue); elastic potential Φ (white); isotropic tensor basis coefficients (orange); and anisotropic tensor basis coefficients subject to regularization (yellow). Architecture any fine-tuning but (magnitude-wise) roughly on par with the initial weights of the network. The values of p i were initialized from a uniform distribution p i ∼ U[0, 1] and were then normalized by p i = p i / p . The angle θ was initialized from a uniform distribution θ ∼ U[0, 2π]. The network parameters were optimized using the Adam optimizer [66] over 10 6 epochs. All the hyperparameters, such as learning rate and network size, were not tuned extensively since preliminary studies found that the selected parameters produced satisfactory results. For other applications hyperparameters, such as the L1 penalty ε, would need to be tuned in general; however, data normalization assists in the transferability of hyperparameters from one application to the next. Data In order to investigate the robustness of the proposed framework we study its performance on representing five classical hyperelastic material formulations which are summarized in this section. We also discuss the sampling strategy employed to generate training data from these models. In this work the sampling strategy and the evaluation of the approach assumes stress data under different loading conditions are accessible, e.g. cases where a micromechanical RVE or other high-fidelity model is available. Models The proposed methodology infers the orientation and type of the material symmetry and provides a model of the stress response. In the following we divide the material models from which we generate synthetic data into those that can (a) verify or (b) validate the methodology used to solve the inverse problem. Following the definitions of Ref. [67], we use the verification process to check the correctness of the inference of material symmetry by using constitutive laws with known symmetries and material orientations. Then the TBNN formulation designed to solve the inverse problem of discovering anisotropy is validated on material responses where the symmetries and orientations are a priori unknown and the proposed approach should find a best fit. Material models for verification In this section three hyperelastic laws with anisotropies from known classes: isotropy, transverse isotropy, and orthotropy, are introduced for the purpose of verifying the TBNN. App. A provides some of the tensor calculus identities necessary to derive the stress response from the potentials. Material models for verification Isotropic hyperelasticity The well-known compressible isotropic neo-Hookean model is described by a strain energy function discussed in Refs. [68,69]: Material models for verification which yields a second Piola-Kirchhoff stress of the form: Material models for verification Herein Material models for verification We choose c 1 = 1 √ 2 and c 2 = 10 3 to generate the training data. Material models for verification Transversely isotropic hyperelasticity Bonet and Burton [69] introduced a hyperelastic model of transversely isotropic stress response defined by the strain energy: Material models for verification For this model the second Piola-Kirchhoff stress is Material models for verification Herein I 4 ≡ tr CN 1 and I 5 ≡ tr C 2 N 1 . For the results shown in Sec. 5 we specify c 0 = c 1 = c 2 = 1.0 and n = ( 1 Material models for verification Orthotropic hyperelasticity The orthotropic material we selected a modified version of the strain energy function proposed in Ref. [7] which reads Material models for verification where I 4 ≡ tr CN 1 and I 6 ≡ tr CN 2 . In this case second Piola-Kirchhoff stress is given by Material models for verification In this case we choose the following material parameters: c 1 = 5.5, c 2 = 0.75, c 3 = 5.0, c 4 = 1.5, c 5 = 1.5, and preferred directions: Material models for validation The proposed framework is validated on material models that do not have explicitly known anisotropic symmetries and orientations. For this purpose we obtain stress-strain data from a fiber composite model and an elastic microstructure with inclusions. Material models for validation Fiber anisotropy Distributed fiber models are commonly employed for modeling tissues [70,71,72]. They are generally characterized by assuming a distribution of fiber orientations ρ and a strain energy Ψ fiber for each fiber. The resulting hyperelastic models can not be explicitly classified in the general orthotropic representation of Eq. (14). Following Ref. [73] and Ref. [74] and we assume that the response of a compressible fiberreinforced material results from the strain energy function composed of a matrix and a fiber contribution: Material models for validation The response of the fibers Ψ fiber is described by Material models for validation where the stretch projected on a fiber with in-plane orientation n(θ) is The fiber structure is defined by semicircular von Mises distribution function Material models for validation where ι 0 is the modified Bessel function of the first kind of order zero Material models for validation The second Piola-Kirchhoff stress is given by Material models for validation with Material models for validation Here we specify representative parameters: c 1 = 3.0, c 2 = 0.75, k 1 = 4 15 , k 2 = 170 15 and b = 1. The resulting fiber distribution is plotted in Fig. 2. The fibers lie in the e 1 -e 2 plane and the major lobe is in the e 1 direction. Material models for validation Microstructure with inclusions Lastly, the framework is also tested on training data from an effective microstructural response, specifically a microstructure with 12 inclusions used as a Representative Volume Element (RVE), see Fig. 3. The microstructural quantities are denoted by the subscript "m". Following Ref. [75] the stiffness response of the materials in both phases can be characterized by a compressible neoHookean formulation of the form Material models for validation The resulting second Piola-Kirchhoff stress reads with Material models for validation in terms of the Poisson's ratio ν and the shear modulus µ. The shear modulus in both phases is 80 GPa. The bulk modulus for the inclusions is 120 GPa and for the matrix it is 160 GPa. The effective response of the microstructure can be obtained using numerical homogenization conditioned on an imposed mean deformation gradient. The equilibrium equation at the microscale is given by Material models for validation where P m denotes the microscopic first Piola-Kirchhoff stress and ∇ m is the microscopic gradient operator with respect to the reference configuration. The RVE is assumed to have geometrically periodic boundaries. After solving this boundary value problem, the macroscopic first Piola-Kichhoff stress tensor P is computed via a volume average Material models for validation over the volume V of the RVE. The pull-back operation then allows us to obtain the averaged second Piola-Kirchhoff stress tensor Material models for validation where F is the applied macroscopic deformation gradient. For more information we refer to Ref. [76]. After discretization, the RVE consists of ≈ 25, 000 hexahedral elements. An author-modified version of the finite element (FE) simulation code provided by Ref. [77] was used for these computational homogenization simulations. Sampling In each case, we collect samples over a bounded deformation gradient space around the undeformed configuration (F = I) given by Sampling with λ > 0 and δ ij being the Kronecker delta. We employed Latin Hypercube Sampling [78] to generate N space filling samples in this nine-dimensional bounded space. The right Cauchy-Green tensor C = F T F of each sample was derived from F and the model evaluated to obtain S(C) and a dataset of the form Sampling All of the following numerical examples employ λ = 0.2. For each model N = 2500 samples were calculated. Prior to training the TBNN, both the inputs C and outputs S are normalized to lie between 0 and 1. Results In the following we demonstrate the ability of the proposed approach to: (a) recover both the orientation and the type of anisotropy for material responses where these properties are well classified (cf. Sec. 4.1.1), and (b) discover best fitting surrogates to data with imprecise symmetries (cf. Sec. 4.1.2). Results In order to visualize the proficiency of the trained TBNN surrogates, the ground truth stress as well as the predicted stress of the models are plotted for the loading case Results This loading is not part of the training dataset generated with random sampling, refer to Sec. 4.2. Results In addition to the results in this section, the influence of the number of data points on the proposed framework for the material models of Sec. 4.1.1 is reported in App. B. Also, as a modification of the TBNN approach presented in Sec. 3 with a simple feed-forward architecture which does not adhere to polyconvexity requirements [36], an alternative input-convex neural network is presented in App. C. This kind of network enables the learning hyperelastic anisotropy with polyconvex potentials. Recovering anisotropy type and orientation We start by demonstrating that the TBNN, as formulated in Sec. 3 with a full orthotropic basis, can accurately recover an isotropic response. Figure 4a plots the loss over the training process. We can see that a smooth error convergence is achieved. For isotropic materials both anisotropic coefficients, α 1 and α 2 , should converge to zero. Figure 4b shows that anisotropic coefficients rapidly go to zero over the training. Hence, this example clearly demonstrates that the method is efficient and effective in recovering isotropic material behavior. Fig. 4c plots the ground truth and the predicted stress for the load case of Eq. (41). We can see that although this test data is not part of the training dataset an accurate stress representation is found. Recovering anisotropy type and orientation Next, we consider the stress-strain data from the transversely isotropic model of Sec. 4.1.1. The preferred direction of the data source model is chosen to be n = ( 1 √ 2 , 1 √ 2 , 0). Figure 5a plots the training loss over the training process. We can see that, again, the convergence is regular and the error has essentially converged after ≈ 400, 000 epochs. For this example we expect only one anisotropic coefficient to remain while the other one should tend to zero. The recovered coefficients over the training process are plotted in Fig. 5b, and clearly shows that the presented TBNN framework accurately identifies the degree of anisotropy, with α 1 → 0 and α 2 → 1. Figure 5c displays evolution of the components of the preferred direction n 2 , which converge to the true material orientation (to within a sign). Hence, this example demonstrates the proposed anisotropy discovery method can accurately recover the response and symmetries of an off-axis transversely isotropic material. Finally, the diagonal components of the true stress and predicted stress responses for the uniaxial test case are plotted over F 11 in Fig. 5d which indicates the validity of the trained surrogate in terms of its prediction accuracy on unseen data. Recovering anisotropy type and orientation Lastly, we check if the proposed approach is able to accurately recover the anisotropy defining coefficients and orientations of the orthotropic material model described in Sec. 4.1.1. Here, we expect both of the trainable anisotropy-defining coefficients α 1 and α 2 to be non-zero. The two preferred directions of the data source model are chosen to be the off-axis unit-vectors n 1 = ( 1 Figure 6a shows the training loss over the training process. The evolution of the two anisotropic coefficients is plotted in Fig. 6b. It can be seen that both coefficient values converge to non-zero values after ≈ 200, 000 epochs. Figures 6c and 6d plot the components of the associated preferred directions n 1 and n 2 . They converge to an accurate match (up to a sign) of the ground truth n i . These results prove that the anisotropic properties of an orthotropic material can be correctly recovered. To highlight the prediction quality in terms of stress outputs of the trained surrogate, the true and predicted S 11 , S 22 and S 33 stress components are plotted in Fig. 6e over F 11 for the uniaxial test case. Discovering anisotropy structure and orientation For the following two examples neither the type of the anisotropy nor the orientations are directly expressible as a subclass of the parameterized orthotropic stress representation of Eq. (19). Applying our proposed framework on data of this kind will allow us to find best fitting anisotropy structures and orientations in terms of Eq. (19). This can help us gain insight into "effective" anisotropies and orientations that are hidden in the data. Discovering anisotropy structure and orientation First, we discuss the results for data from the fiber anisotropy model presented in Sec. 4.1.2. For this case, the loss is plotted over the number of epochs Fig. 7a. We can see that the training procedure is able to significantly decrease the initial loss. The evolution of the anisotropic coefficients is shown in Fig. 7b. Interestingly, it appears that the trained model predicts the stress-strain data to have a structure that closely resembles that of an orthotropic material, i.e. both coefficients are decidedly non-zero. This makes sense given the symmetries of the fiber distribution plotted in Fig. 2. Figure 7c and 7d show the convergence of the two associated preferred directions of this type of anisotropy. Lastly, the ground truth and predicted diagonal stress components of the second Piola-Kirchhoff stress as a function of F 11 are plotted in Fig. 7e. As with the previous cases, it can be seen that the trained surrogate is able to accurately recreate the correct stress-strain relationship even on data that are not in the training set. Discovering anisotropy structure and orientation The final example involves the microstructure problem discussed in Sec. 4.1.2. The loss over the training process is shown in Fig. 8a where we can see that the initial loss is significantly reduced. Figure 8b plot the evolution of the two anisotropic coefficients. The proposed framework identifies a representation with one preferred direction as the best fit. This preferred direction is plotted in Fig. 8c. In this case it is difficult to get an expectation of what the symmetries should be from the microstructure but we are are assured by the high accuracy the TBNN model achieves. The stress response of the trained surrogate is compared to the ground truth test case results obtained from FE simulations in Fig. 8d. Discovering anisotropy structure and orientation Lastly, we test the trained TBNN surrogate model by embedding it into the C++ FE code provided by Ref. [77]. As a commonly applied benchmark for hyperelastic response [79], we employ the so-called Cook's membrane problem, illustrated in Fig. 9a, where a hexahedral structural problem is pinned on the left and a vertical displacement of u 0 = 0.12m is applied. The Cook's membrane problem is typically used as a test case for combined bending and shear response with moderate distortion. As a proof-of-concept we show the magnitude of the displacement response in Fig. 9b which is in accordance with the solution obtained in Ref. [75]. Conclusion We proposed a tensor-basis neural network framework based on classical representation theorems and machine learning that can discover both the orientation and the type of anisotropy purely from stress-strain datasets, and, as a byproduct, provide a surrogate for the stress-strain response. Conclusion We have applied this approach to recover the exact symmetries corresponding to phenomenological constitutive laws that we used as test cases as well as the best fits to data from materials with explicit microstructure. Expanding the anisotropic basis from the orthotropic set assumed in this work may yield benefits in certain cases, e.g. crystal symmetries [1,80]; however, it appears that cross term basis generators, such as sym n 1 ⊗ n 2 were not needed for the wide range of material responses we explored. Furthermore, the viability of the trained TBNN surrogate as a usable constitutive law was demonstrated by solving a commonly employed structural test problem with a FE code. In additional results described in App. B, we found that the method provides robust inference of symmetries over a wide range of dataset sizes. We also developed an extension of the proposed TBNN architecture to generate polyconvex potentials, which is discussed in App. C and could prove useful in cases where data availability is an issue since the polyconvexity provides another constraint on the form of the representation. In future work we will pursue the application of the method to experimental data, and tackle issues of measurement noise as well as limited control and observation of the stress response. In this endeavor we envision the use of active learning techniques to guide experiments to rapidly discover anisotropies from measurements, c.f. Ref. [81,82]. For more complex materials we may need to resort to global optimization techniques, such as simulated annealing and multi-start initialization, to overcome issues with multiple minima in the objective function. We may also explore alternative methods to induce sparsity, such as Orthogonal Matching Pursuit [83,84]. Conclusion Derivatives of invariants follow these identities. For the principal isotropic invariants: Conclusion the rescaled invariants: Conclusion and the anisotropic invariants: B Influence of the number of training points The results of Sec. 5 were obtained using N =2,500 sample points. In this section we investigate the influence of N on the ability of the proposed framework to recover the anisotropy structure and orientation of the material models discussed in the context of verification in Sec. 4.1.1. Using the sampling method described in Sec.4.2, N =100, 1,000, and 10,000 stress-strain sample datasets are obtained for each of the three constitutive laws. All hyperparameter, solver and initialization choices are equivalent to the ones discussed in Sec. 3. 1 We first consider the isotropic material model discussed in Sec. 4.1.1. For this case we expect the anisotropic coefficients (α 1 , α 2 ) to go toward zero. Figure 10 plots the training loss as well as the values of the coefficients over the training process for all three dataset cases. It can be seen that the trained model is able to significantly reduce the initial training error. Furthermore the two α-values are zero after training for all three cases, indicating that the proposed approach is able to accurately identify that the data was generated from an isotropic material model even when only 100 training points are available. Note the fact that the loss is continuing to decrease for the low data case, N = 100, provides some indication that the model might be overfitting; however, for the purposes of discovering the anisotropy, i.e. the inverse problem, this is essentially irrelevant. B Influence of the number of training points Next, we study the influence of the training dataset size for the transversely isotropic hyperelastic law presented in Sec. 4.1.1. In contrast to the first example we expect one anisotropic coefficient to be non-zero and the corresponding preferred direction to be equivalent to a factor of n = (1/ √ 2, 1/ √ 2, 0). For this example, the evolution of the training loss and the coefficients are shown Figure 11. We can see that the proposed framework is able to recover the correct form of anisotropy (only one non-zero coefficient) for the small, medium and large datasets. Additionally, the respective preferred directions are accurately fit at the end of the training process as seen in Fig. 12. We can see again that even with only 100 training points the type of the anisotropy and the preferred orientations are correctly recovered. Lastly, we investigate the ability of the proposed framework to recover orthotropic material behavior based on these three datasets. As an example we employ the orthotropic hyperelastic law discussed in Sec. 4.1.1. For this material law, both anisotropic coefficients should be non-zero and the two corresponding directions should be equivalent to n 1 = (1/ √ 2, 1/ √ 2, 0) and n 2 = (1/ √ 2, −1/ √ 2, 0). We can see in Fig. 13b that the coefficient values of all three cases are decidedly non-zero at the end of the training process meaning that the correct type of anisotropy is found. Figure 14 shows that all three dataset sizes allow for a correct identification of the anisotropy orientations. B Influence of the number of training points Overall, we can see that the proposed approach shows a surprising resilience to decreasing the size of the stress-strain dataset. It appears that even 100 training points are enough to accurately recover the three major classes of anisotropy studied in this work. C Input-convex neural networks enforcing polyconvexity The standard TBNN formulation aims to find the best (strain energy) potential that fits the data, refer to Sec. 3, here we explore a variant that embeds polyconvexity of the potential. In finite elasticity theory, Ball [87] proved that minimizers for existing variational functionals exist if the energy potential is polyconvex. The polyconvexity condition is fulfilled if and only if a function P : C Input-convex neural networks enforcing polyconvexity where P is convex with regards to all the arguments. Here, Cof F denotes the cofactor operator, which results in the transpose of the adjugate of F. The growth condition on the strain energy function is a necessary part of the proof that polyconvexity guarantees the existence of a solution of a boundary value problem [88]. In a simplified form it can be expressed as C Input-convex neural networks enforcing polyconvexity The polyconvexity condition (as well as objectivity and material symmetry conditions) can be fulfilled if P is a convex function of a set of invariants which are polyconvex functions of (F, Cof F, det F) [36]. For orthotropic materials such a set is given by [62] I ortho, poly = {tr C, tr Cof C, det C, tr CN 1 , tr C 2 N 1 tr CN 2 , tr C 2 N 2 } . (C.3) C Input-convex neural networks enforcing polyconvexity Note C 2 was used for the anisotropic generators as in Ref. [62], and shown to be equivalent to the use of Cof C in Ref. [36]. In Sec. 3 a classical feedforward neural network architecture is applied to establish the TBNN framework. However, these are not able to robustly establish a polyconvex potential, since the network can not guarantee convexity of the output energy with regards to the input invariants. Recently [89], input convex neural networks (ICNN) have been proposed which, due to their specific architecture, ensure convexity of the output with regards to the input of the network. C Input-convex neural networks enforcing polyconvexity Input convex neural networks In input convex neural networks the standard update formula (cf. Eq. (18)) of neural networks can be rewritten to C Input-convex neural networks enforcing polyconvexity where W z 0 = 0, z 0 = 0, z k = Φ and {W z 1:k−1 , W x 0:k−1 , b 0:k−1 } denote the set trainable parameters. In order to guarantee convexity with these networks all weights {W z i } k−1 i=1 need to be non-negative and the activation functions g i are required to be non-decreasing and convex. C Input-convex neural networks enforcing polyconvexity In Ref. [89] "passthrough" layers, i.e. the input x is directly connected to the hidden and output layers, are established to increase the expressiveness of the network architecture. Initially, Amos et al. the requirements on a i . Recently, the Exponential Linear Units (ELU) has been proposed as an alternative [90] whose first derivative is smooth (in contrast to ReLU). The shape of both types of activation functions can be seen in Fig. 16. A schematic representation of the input convex neural network architecture is shown in Fig. 15. In solid mechanics applications, ICNNs have already been applied to fitting yield functions [91,92] as well as strain energy functions [93]. C Input-convex neural networks enforcing polyconvexity Polyconvex tensor basis neural network and training specifications Using input convex neural networks allows for the output potential to be convex with regards to the invariant inputs. However, they do not fulfill the growth condition as described in Eq. (C.2). Following Ref. [93] this requirement can be established by adding an analytical term to the output of the network C Input-convex neural networks enforcing polyconvexity For a general orthotropic material defined using the invariant set of Eq. (C.3) the stress response function then yields C Input-convex neural networks enforcing polyconvexity In order to solve the inverse problem, i.e. to find the type of symmetry and the orientations, two trainable parameters α 1 and α 2 are established that allow to promote sparsity in the anisotropic part (equivalently to Eq. (19)). Given stress-strain data, the loss for the TBNN formulation that guarantees a polyconvex potential can then be established with the same regularization formulated in Sec. 3 C Input-convex neural networks enforcing polyconvexity where ε is a L1 penalty parameter. In the following we used = 1 × 10 −4 . We investigated the efficacy of the polyconvex-TBNN in recovering the correct anisotropy type and orientation of the hyperelastic models (isotropic, transversely isotropic and orthotropic) discussed in the context of verification in Sec.4.1.1. Similarly to the results of the standard feed-forward architecture (cf. Sec. 5) N = 2, 500 sample points are utilized for all following results. C Input-convex neural networks enforcing polyconvexity The ICNN network architecture was implemented in Pytorch [65]. The network consist of 3 hidden layers resulting in roughly 3, 700 trainable parameters. All other hyperparameter, solver and initialization choices are equivalent to the ones discussed in Sec. 3. C Input-convex neural networks enforcing polyconvexity We start with a study of how the choice of the activation function affects the performance of the ICNN architecture. As mentioned the authors of the original ICNN paper only apply ReLU activation functions, c.f. Ref. [89]. As seen in Fig. 16 its first derivative is non-smooth. This appears problematic considering that, in the presented approach, the stress data is fitted through the derivative of the neural network output with regards to their inputs. Hence, a non-smooth prediction of the second Piola-Kirchhoff stress is likely. To empirically investigate this, Fig. 17 plots the training losses for all the hyperelastic model types for both ReLU and ELU activation functions over the number of epochs respectively. We can see that (presumably) due to ReLU being a C 0 function the convergence of the loss is particularly unstable, whereas for ELU the error reduces smoothly and ends up significantly lower. Hence, when employing TBNNs with polyconvex potentials we recommend to use ELU activation functions which will also be employed in the following. C Input-convex neural networks enforcing polyconvexity We proceed by studying if the proposed polyconvex approach is able to accurately recover an isotropic material model when starting from the stress representation of Eq. (C.6). For this form of material symmetry we expect the anisotropic coefficients (α 1 and α 2 ) to vanish. Figure 18 plots the evolution of the coefficients over the training process. It can be seen that the proposed model is able to recover this isotropic behavior since the coefficients are zero at the end of the training process. C Input-convex neural networks enforcing polyconvexity Equivalently, we investigate if the polyconvex framework is able to correctly identify the structure and orientation of the transversely isotropic hyperelastic law presented in Sec. 4.1.1. The ground truth direction is assumed to be n = ( 1 √ 2 , 1 √ 2 , 0). The evolution of the anisotropic coefficients are shown in Fig. 19a. We can see that the proposed framework correctly recovers the right degree of anisotropy by having only one remaining coefficient by the end of training. The corresponding direction of this coefficient over the training process is plotted in Fig. 19b which matches with the ground truth after the training is finished. C Input-convex neural networks enforcing polyconvexity Lastly, we test the polyconvex potential on its ability to correctly recover properties of orthotropic materials. For this we use the orthotropic hyperelastic law provided in Sec. 4.1.1 with the two ground truth directions chosen as n 1 = ( 1 √ 2 , 1 √ 2 , 0) and n 2 = (− 1 √ 2 , 1 √ 2 , 0). From the evolution of the anisotropic coefficients we can see that the model is able to correctly classify the data as being from an orthotropic material (c.f. Fig. 20a). Furthermore, the corresponding orientations also match the ground truth (Figs. 20b and 20c). C Input-convex neural networks enforcing polyconvexity Overall, for the presented cases, the polyconvex TBNN architecture is able to accurately recover anisotropic structures and orientations from hyperelastic stress-strain datasets. The input-convex and the standard TBNNs achieved comparable accuracy; however, the built-in polyconvexity gives us more confidence in the predictions of this architecture. Enforcing additional physical principles and model requirements (such as polyconvexity in this case), has proven as a successful approach to allow machine learning approaches to be efficient in low-data regimes and also in generating models that can efficiently generalize [51,55]. A counterpoint is the standard TBNN presented in Sec. 3 is relatively straightforward to implement with standard layers available in Pytorch [65] and the like.

섹션 본문 209문단 · 89,376자

(제목 없음)

1Anisotropy in the mechanical response of materials with microstructure is common and yet is difficult to assess and model. To construct accurate response models given only stress-strain data, we employ classical representation theory, novel neural network layers, and L1 regularization. The proposed tensor-basis neural network can discover both the type and orientation of the anisotropy and provide an accurate model of the stress response. The method is demonstrated with data from hyperelastic materials with off-axis transverse isotropy and orthotropy, as well as materials with less well-defined symmetries induced by fibers or spherical inclusions. Both plain feed-forward neural networks and input-convex neural network formulations are developed and tested. Using the latter, a polyconvex potential can be established, which, by satisfying the growth condition can guarantee the existence of boundary value problem solutions.

Introduction

2Many materials exhibit anisotropic stress response induced by their microstructure, such as embedded fibers or polycrystalline texture. Crystalline materials are well known to exhibit elastic anisotropy [1]. Fiber reinforced composites [2], both engineered [3,4,5] and biological [6,7,8,9,10,11,12], are another broad category of materials that exhibit strong anisotropies. In addition to inherent anisotropies, anisotropy is commonly induced by processing, such as the texture (the biased crystal orientations of a polycrystalline material) generated in worked metals [13,14,15,16,17].

3The anisotropy of these materials is difficult to assess directly from mechanical tests [18]. Even with microstructural information and imaging [19,20,21,22], such as from computed tomography, the anisotropy observed in the stress response of the material may not exactly correspond to that apparent in the microstructure. Alternately the microstructure may be too complex to assess symmetry by inspection, as with fiber distributions or semi-structured arrangements of inclusions.

4Classical mechanics provides general representations of anisotropic response functions via structure tensors and representation theorems. Rivlin, Pipkin, Smith, Spencer, Boehler, and co-workers did pioneering work in this field starting in the 1950s [23,24,25,26,27,28,29,30,31,32,33]. Particularly notable is Boehler's treatise [33] describing how anisotropy can be represented with a set of tensor generators. Later, Zheng contributed an often-cited monograph [34] on the application of representation theory to anisotropy, which summarized many of the results to-date. Although structural tensors have been traditionally used to model symmetries that are fixed in a reference configuration they have also been employed to represent evolving symmetries [35,16,17]. Representation of physical stress response functions have additional considerations, such as polyconvexity of the underlying free energy [36,37,38,39], which need to be considered in constructing general representations.

5Neural networks (NNs), as universal approximators [40], present a flexible representation for response functions and have been widely employed in constitutive modeling. Pioneering work by Ghaboussi [41,42] has been extended to enable constitutive modeling in the context of hyperelasticity, viscoelasticity and elastoplasticity [43,44,45,46,47,48,49,50]. These works incorporate physical principles and model assumptions to varying degrees as means of obtaining trustworthy surrogates and working in the low-date regime. In particular, the tensor basis neural network (TBNN) [51] was developed based on classical representation theory, which proves that a complete representation can be formed from a finite sum of coefficient functions of scalar invariants, and known tensor basis elements (generators). A primary benefit of the TBNN approach, compared to more traditional NN-based approaches that learn component-based input-output maps, lies in the simplification of the maps that need to be discovered; the tensor basis elements, which do not need to be learned, carry a significant part of the functional complexity of the representation.

6Alternative data driven methods to neural networks exist for the representation of constitutive response functions. For instance, Flaschel, Kumar, and De Lorenzis [52,53] have developed a sparse regression technique that builds a stress response model from interpretable components. Utilizing tensor representation theory and building on the TBNN framework, Frankel, Jones and Swiler [54] and Fuhg and Bouklas [55] developed Gaussian process (GP) models of hyperelasticity which are particularly well suited to the low data regime. The latter work highlighted potential benefits of the Gaussian process models compared to NNs.

7Knowing the anisotropy of the material response is crucial in maintaining the objectivity of the model when it is deployed in simulations. Consequently, there has been some work on discovery and representation of anisotropic response functions with machine learning. In the general context of dynamical systems, Dehmamy et al. [56] devised a Lie algebra convolutional network by working with the generators of symmetries, as opposed to the group. With this formulation they were able to connect the equivariant properties of the network to conservation laws. In a more specific setting, Tac et al. [57] developed a neural network model of hyperelastic soft tissue material with two fiber families. The model employed a neural network for the isochoric component of the stress response with pre-selected invariant inputs. Also in the context of material physics, Fuhg and Bouklas [55] developed a TBGP model of a hyperelastic material with transverse isotropy. A significant limitation of the applications of TB representations to anisotropic materials to date is the orientation and the type of the symmetry have been assumed to be known.

8In this work we develop a TBNN methodology that can discover the type and the orientation of the symmetry of an anisotropic material, and at the same time provide a surrogate for its constitutive response. In the proposed TBNN symmetries are characterized by a structural tensor whose form (type) and orientation with respect to a canonical frame are learned. Although it, like other TBNNs, is a proficient representation in a prediction mode, the primary use of the model is to infer the symmetries of a particular material given samples of its stress response to various deformations. In Sec. 2 we review the classical theory that the proposed TBNN is based on. Then, in Sec. 3, we describe the network model and its training methodology in detail. Sec. 4 describes the source models and training data we use to test the model. Sec.5 demonstrates that the methodology can discover and represent a wide range of anisotropic stress response. App. B shows that the method can effectively infer material anisotropy in the low data regime, and App. C provides an input-convex variant of the proposed TBNN that satisfies polyconvexity requirements albeit with greater implementation complexity and a larger parameter space (App. A provides tensor identities relevant to the developments of Sec. 2). In Sec. 6 we conclude with a synopsis of the results and ideas for future work.

Theory

9Hyperelasticity is framed in terms of stress being the derivative of a (free energy) potential Ψ with respect to a suitable deformation measure, for instance the second Piola-Kirchhoff stress S is given by

10where E is the Lagrange strain. More primitively, the free energy as a function of the deformation gradient F must satisfy symmetry conditions [58,Sec. 4.3] :

11for every Q ∈ Orth + and G ∈ G ⊆ Orth, where Q accounts for the indifference to the current coordinate frame and G embeds material symmetry through invariance to transformations of the reference configuration. Instead of creating general representations of Ψ for each symmetry group, G, it is customary to introduce a structure tensor, A, or a set of structure tensors, A = {A i }, as auxiliary arguments [59,60]:

12and then appeal to more common isotropic function representation theorems. This provides an equivalent representation by virtue of Rychlewski's isotropization theorem [59]. A structure tensor characterizes the material symmetry group G through the property group action leaving the structure tensor invariant

13where is the Kronecker product (G A ≡ A ij...n Ge i ⊗Ge j ⊗. . . Ge n ). Note that structure tensors are not unique, a set of lower order structure tensors can characterize the same symmetry group as a single higher order tensor [34]. Employing a set of structure tensors leads to a representation that has symmetries corresponding to the intersection of the respective symmetry groups. Isotropic function representation theorems [61,Sec. 37] imply the potential Ψ can be expressed in terms of I = {I k }, a set of mutual scalar invariants of E and A = {A i }:

14Hence the energy conjugacy relation (1) gives:

15where B i ≡ ∂ C I i are a known tensor basis for the representation of S and c i ≡ ∂ Ii Ψ are the associated coefficient functions. Here, C = F T F = 2E − I is the right Cauchy-Green deformation tensor. Refer to App. A for the necessary tensor calculus identities. Given these developments, we assume that the material response can be represented by a potential that is a function of a set of invariants that are possibly redundant. For example, isotropy with structure tensor A = I is a sub-class of so-called "complete" orthotropy, where all symmetric dyads are structure tensors A i ∈ {sym e i ⊗ e j }. Here e i is an element of the usual Cartesian basis and sym A ≡ 1/2(A + A T ). For this work we take {A i } to subsume isotropy A = i e i ⊗ e i , transverse isotropy A = e 1 ⊗ e 1 , and orthotropy A i ∈ {e i ⊗ e i , i = 1, 3}. For convenience we define

16so that isotropy

17are in the span of these structure tensors. These symmetries nest in the sense that each subsumes the higher symmetries. For isotropy the set of invariants I iso = {tr C, tr C 2 , tr C 3 } suffice. The corresponding tensor basis is B iso = {I, C, C 2 } and the stress is simply

18For transverse isotropy, a complete set of invariants is:

19and the corresponding tensor basis is:

20given N n i = N i and tr N i = 1. The stress for this case is

21With orthotropy the invariants are

22The corresponding tensor basis is:

23so that the stress representation is:

24Recall there is no need to employ N 3 as a structure tensor since it is in the span of {I, N 1 , N 2 } and −n i leads to the same structure tensors as n i . Alternatively, a polyconvex basis, with the adjugate of C (or C −1 ) substituting for C 2 , could be employed [36,37,62], refer to App. C for further developments. For convenience in the following sections we will use the notation I aniso = I ortho \I iso and B aniso = B ortho \ B iso . Given that the orientation of the material anisotropy is not necessarily aligned with the Cartesian lab basis, e i , we can express the elemental structure tensors as the rotation of canonically oriented elements:

25where n i is the symmetry axis of N i . The rotation R, has a convenient (tensor basis) Euler-Rodrigues representation:

26where θ ∈ [0, 2π] is the rotation angle, p is the (unit) axis vector, and P ≡ εp with ε being the third order permutation tensor. The axial vector p can be parameterized in spherical coordinates as p = sin φ cos ϕ e 1 + sin φ sin ϕ e 2 + cos φ e 3

27with two angles φ and ϕ, or via alternative Rodrigues formulae and representations of R.

28In the following we will use type to refer to the symmetry class or degree of symmetry as measured by the size and type of elements in the symmetry group G, and orientation to refer to the orientation of these elements in the reference configuration of the material with respect to the canonical orientations, i.e. n i vs. e i .

Architecture

29The proposed architecture is summarized in the schematic in Fig. 1. It largely resembles a standard TBNN [51,63] except for the inclusion of a set of elemental structure tensors A = {N 1 , N 2 } in their canonical orientation, together with C, in the inputs. The inclusion of these arguments allows for the construction of the additional invariants that depend on anisotropy and orientation. Another distinction is the coefficient functions c i are derived from a potential Ψ formed as the output of a densely connected feed-forward neural network, as opposed to the output of the neural network being the coefficient functions themselves.

30A preprocessing layer computes anisotropic invariants I aniso = {tr CN i , tr C 2 N i } and basis elements B aniso = {N i , CN i + N i C}, where N i = N i (θp) are functions of trainable parameters. Note the isotropic invariants I iso = {tr C, tr C 2 , tr C 3 } and basis B iso = {I, C, C 2 } could be precomputed and fed in as data since they do not depend on trainable parameters, but we chose to compute them in-line for convenience. Rotation R(φ) is formed from axis vector φ = θp and the Rodrigues formula Eq. (16). The trainable parameters for the rotation of the tensor basis are the rotational angle θ ∈ [0, 2π] and the unit axis vector (p 1 , p 2 , p 3 )/ p = 1. We employed a constrained 3 parameter representation for p instead of Eq. (17) to avoid the singularities in the 2 parameter spherical coordinate representation.

31The invariants I = I iso ∪ I aniso are the inputs to a feed-forward neural network (blue in Fig. 1) consisting of input layer with a node for each invariant , n D −1 hidden layers of the same width, and an output layer consisting of a single node. Each layer of the neural network transforms the output of the previous layer through a trainable affine transform followed by the element-wise application of a (pre-selected) non-linear transform:

32where z i is the input data of the i-th layer, and W i , b i and a are the weights, biases and activation function of the i th layer. Since inferring the potential is a regression task the activation function of the output layer is chosen to be identity, i.e. the last layer is just a linear mixing of the output of the previous layer.

33Once the potential Φ = Φ({I k }) is formed from the output of the last layer of the NN, z n D , the coefficients c i of the tensor basis representation are obtained from partial derivatives of Φ. Finally, the tensor basis summation is reformulated as:

34where the basis has been selected such that A i ≡ ∂ C I i , refer to Sec. 2 and the parameters α 1 , α 2 are introduced to control the degree of anisotropy. In order to enable the method to discern the components of B aniso needed to represent the data and suppress the involvement of unneeded components, we promote sparsity in the anisotropic part of the tensor basis representation through α i . In particular L1 regularization of the α-values is employed in the loss:

35where ε is a L1 penalty parameter. Note is it only necessary to penalize the use of the anisotropic components of the basis since the isotropic components are always necessary to represent the response functions of interest. In the following results we used = 1 × 10 −4 . In general this penalty parameter needs to be tuned; however, data normalization helps to bound values that provide suitable conditioning of the constraint objective relative to the accuracy objective.

36Remark 1. Alternatively, the coefficients c i could have been directly applied to signal the degree of anisotropy instead of the α i , i.e. (c 4 + c 5 ) and (c 6 + c 7 ). However, regularizing c i means a regularization of a large set of trainable parameters of the neural network since they are dependent on derivatives of the output potential with regards to the input. Hence, by regularizing only two trainable parameters α 1 and α 2 the network can train faster. Secondly, using batch-wise errors with the batch-size M the magnitude of the sum, e.g. M (|c 4 | + |c 5 |), is difficult to judge a priori . This means that the regularization parameter is also difficult to choose in this case. For the formulation we propose, the additional α i are just two trainable parameters, i.e. not network outputs, so this parameterization is not sensitive to the batch-size which makes the regularization process more robust.

37Due to fact that the network architecture needs to fit data through its own derivative with respect to the inputs of the network, we found that a hidden-layer activation function that is at least C 1 is helpful for the training process. In this work we applied the tanh activation function in the hidden layers and a linear function at the final layer. The constraints θ ∈ [0, 2π] and p = 1 were enforced using gradient clipping [64].

38The newly developed TBNN architecture was implemented in Pytorch [65]. The denselyconnected component of the network consisted of 3 hidden layers with 30 neurons. The weights and biases of the feed-forward network were initialized using a uniform initialization. The 6 additional trainable parameters, {α 1 , α 2 , p 1 , p 2 , p 3 , θ}, of the proposed TBNN framework were initialized independently. In order to not initially favor any particular degree of anisotropy (e.g. α 1 ≈ 0 and α 2 ≈ 1), the α-values were initialized using α 1 = α 2 = 0.1 where the value of 0.1 is chosen without Output: Figure 1: Anisotropy discovery TBNN architecture: isotropic invariants I iso (pink); anisotropic invariants I aniso that augment the description and depend on orientation θp and the associated rotation R, (red); deep densely connected, feed-forward neural network (blue); elastic potential Φ (white); isotropic tensor basis coefficients (orange); and anisotropic tensor basis coefficients subject to regularization (yellow).

39any fine-tuning but (magnitude-wise) roughly on par with the initial weights of the network. The values of p i were initialized from a uniform distribution p i ∼ U[0, 1] and were then normalized by p i = p i / p . The angle θ was initialized from a uniform distribution θ ∼ U[0, 2π]. The network parameters were optimized using the Adam optimizer [66] over 10 6 epochs. All the hyperparameters, such as learning rate and network size, were not tuned extensively since preliminary studies found that the selected parameters produced satisfactory results. For other applications hyperparameters, such as the L1 penalty ε, would need to be tuned in general; however, data normalization assists in the transferability of hyperparameters from one application to the next.

Data

40In order to investigate the robustness of the proposed framework we study its performance on representing five classical hyperelastic material formulations which are summarized in this section. We also discuss the sampling strategy employed to generate training data from these models. In this work the sampling strategy and the evaluation of the approach assumes stress data under different loading conditions are accessible, e.g. cases where a micromechanical RVE or other high-fidelity model is available.

Models

41The proposed methodology infers the orientation and type of the material symmetry and provides a model of the stress response. In the following we divide the material models from which we generate synthetic data into those that can (a) verify or (b) validate the methodology used to solve the inverse problem. Following the definitions of Ref. [67], we use the verification process to check the correctness of the inference of material symmetry by using constitutive laws with known symmetries and material orientations. Then the TBNN formulation designed to solve the inverse problem of discovering anisotropy is validated on material responses where the symmetries and orientations are a priori unknown and the proposed approach should find a best fit.

Material models for verification

42In this section three hyperelastic laws with anisotropies from known classes: isotropy, transverse isotropy, and orthotropy, are introduced for the purpose of verifying the TBNN. App. A provides some of the tensor calculus identities necessary to derive the stress response from the potentials.

43Isotropic hyperelasticity The well-known compressible isotropic neo-Hookean model is described by a strain energy function discussed in Refs. [68,69]:

44which yields a second Piola-Kirchhoff stress of the form:

45Herein

46We choose c 1 = 1 √ 2 and c 2 = 10 3 to generate the training data.

47Transversely isotropic hyperelasticity Bonet and Burton [69] introduced a hyperelastic model of transversely isotropic stress response defined by the strain energy:

48For this model the second Piola-Kirchhoff stress is

49Herein I 4 ≡ tr CN 1 and I 5 ≡ tr C 2 N 1 . For the results shown in Sec. 5 we specify c 0 = c 1 = c 2 = 1.0 and n = ( 1

50Orthotropic hyperelasticity The orthotropic material we selected a modified version of the strain energy function proposed in Ref. [7] which reads

51where I 4 ≡ tr CN 1 and I 6 ≡ tr CN 2 . In this case second Piola-Kirchhoff stress is given by

52In this case we choose the following material parameters: c 1 = 5.5, c 2 = 0.75, c 3 = 5.0, c 4 = 1.5, c 5 = 1.5, and preferred directions:

Material models for validation

53The proposed framework is validated on material models that do not have explicitly known anisotropic symmetries and orientations. For this purpose we obtain stress-strain data from a fiber composite model and an elastic microstructure with inclusions.

54Fiber anisotropy Distributed fiber models are commonly employed for modeling tissues [70,71,72]. They are generally characterized by assuming a distribution of fiber orientations ρ and a strain energy Ψ fiber for each fiber. The resulting hyperelastic models can not be explicitly classified in the general orthotropic representation of Eq. (14). Following Ref. [73] and Ref. [74] and we assume that the response of a compressible fiberreinforced material results from the strain energy function composed of a matrix and a fiber contribution:

55The response of the fibers Ψ fiber is described by

56where the stretch projected on a fiber with in-plane orientation n(θ) is The fiber structure is defined by semicircular von Mises distribution function

57where ι 0 is the modified Bessel function of the first kind of order zero

58The second Piola-Kirchhoff stress is given by

59with

60Here we specify representative parameters: c 1 = 3.0, c 2 = 0.75, k 1 = 4 15 , k 2 = 170 15 and b = 1. The resulting fiber distribution is plotted in Fig. 2. The fibers lie in the e 1 -e 2 plane and the major lobe is in the e 1 direction.

61Microstructure with inclusions Lastly, the framework is also tested on training data from an effective microstructural response, specifically a microstructure with 12 inclusions used as a Representative Volume Element (RVE), see Fig. 3. The microstructural quantities are denoted by the subscript "m". Following Ref. [75] the stiffness response of the materials in both phases can be characterized by a compressible neoHookean formulation of the form

62The resulting second Piola-Kirchhoff stress reads with

63in terms of the Poisson's ratio ν and the shear modulus µ. The shear modulus in both phases is 80 GPa. The bulk modulus for the inclusions is 120 GPa and for the matrix it is 160 GPa. The effective response of the microstructure can be obtained using numerical homogenization conditioned on an imposed mean deformation gradient. The equilibrium equation at the microscale is given by

64where P m denotes the microscopic first Piola-Kirchhoff stress and ∇ m is the microscopic gradient operator with respect to the reference configuration. The RVE is assumed to have geometrically periodic boundaries. After solving this boundary value problem, the macroscopic first Piola-Kichhoff stress tensor P is computed via a volume average

65over the volume V of the RVE. The pull-back operation then allows us to obtain the averaged second Piola-Kirchhoff stress tensor

66where F is the applied macroscopic deformation gradient. For more information we refer to Ref. [76]. After discretization, the RVE consists of ≈ 25, 000 hexahedral elements. An author-modified version of the finite element (FE) simulation code provided by Ref. [77] was used for these computational homogenization simulations.

Sampling

67In each case, we collect samples over a bounded deformation gradient space around the undeformed configuration (F = I) given by

68with λ > 0 and δ ij being the Kronecker delta. We employed Latin Hypercube Sampling [78] to generate N space filling samples in this nine-dimensional bounded space. The right Cauchy-Green tensor C = F T F of each sample was derived from F and the model evaluated to obtain S(C) and a dataset of the form

69All of the following numerical examples employ λ = 0.2. For each model N = 2500 samples were calculated. Prior to training the TBNN, both the inputs C and outputs S are normalized to lie between 0 and 1.

Results

70In the following we demonstrate the ability of the proposed approach to: (a) recover both the orientation and the type of anisotropy for material responses where these properties are well classified (cf. Sec. 4.1.1), and (b) discover best fitting surrogates to data with imprecise symmetries (cf. Sec. 4.1.2).

71In order to visualize the proficiency of the trained TBNN surrogates, the ground truth stress as well as the predicted stress of the models are plotted for the loading case

72This loading is not part of the training dataset generated with random sampling, refer to Sec. 4.2.

73In addition to the results in this section, the influence of the number of data points on the proposed framework for the material models of Sec. 4.1.1 is reported in App. B. Also, as a modification of the TBNN approach presented in Sec. 3 with a simple feed-forward architecture which does not adhere to polyconvexity requirements [36], an alternative input-convex neural network is presented in App. C. This kind of network enables the learning hyperelastic anisotropy with polyconvex potentials.

Recovering anisotropy type and orientation

74We start by demonstrating that the TBNN, as formulated in Sec. 3 with a full orthotropic basis, can accurately recover an isotropic response. Figure 4a plots the loss over the training process. We can see that a smooth error convergence is achieved. For isotropic materials both anisotropic coefficients, α 1 and α 2 , should converge to zero. Figure 4b shows that anisotropic coefficients rapidly go to zero over the training. Hence, this example clearly demonstrates that the method is efficient and effective in recovering isotropic material behavior. Fig. 4c plots the ground truth and the predicted stress for the load case of Eq. (41). We can see that although this test data is not part of the training dataset an accurate stress representation is found.

75Next, we consider the stress-strain data from the transversely isotropic model of Sec. 4.1.1. The preferred direction of the data source model is chosen to be n = ( 1 √ 2 , 1 √ 2 , 0). Figure 5a plots the training loss over the training process. We can see that, again, the convergence is regular and the error has essentially converged after ≈ 400, 000 epochs. For this example we expect only one anisotropic coefficient to remain while the other one should tend to zero. The recovered coefficients over the training process are plotted in Fig. 5b, and clearly shows that the presented TBNN framework accurately identifies the degree of anisotropy, with α 1 → 0 and α 2 → 1. Figure 5c displays evolution of the components of the preferred direction n 2 , which converge to the true material orientation (to within a sign). Hence, this example demonstrates the proposed anisotropy discovery method can accurately recover the response and symmetries of an off-axis transversely isotropic material. Finally, the diagonal components of the true stress and predicted stress responses for the uniaxial test case are plotted over F 11 in Fig. 5d which indicates the validity of the trained surrogate in terms of its prediction accuracy on unseen data.

76Lastly, we check if the proposed approach is able to accurately recover the anisotropy defining coefficients and orientations of the orthotropic material model described in Sec. 4.1.1. Here, we expect both of the trainable anisotropy-defining coefficients α 1 and α 2 to be non-zero. The two preferred directions of the data source model are chosen to be the off-axis unit-vectors n 1 = ( 1 Figure 6a shows the training loss over the training process. The evolution of the two anisotropic coefficients is plotted in Fig. 6b. It can be seen that both coefficient values converge to non-zero values after ≈ 200, 000 epochs. Figures 6c and 6d plot the components of the associated preferred directions n 1 and n 2 . They converge to an accurate match (up to a sign) of the ground truth n i . These results prove that the anisotropic properties of an orthotropic material can be correctly recovered. To highlight the prediction quality in terms of stress outputs of the trained surrogate, the true and predicted S 11 , S 22 and S 33 stress components are plotted in Fig. 6e over F 11 for the uniaxial test case.

Discovering anisotropy structure and orientation

77For the following two examples neither the type of the anisotropy nor the orientations are directly expressible as a subclass of the parameterized orthotropic stress representation of Eq. (19). Applying our proposed framework on data of this kind will allow us to find best fitting anisotropy structures and orientations in terms of Eq. (19). This can help us gain insight into "effective" anisotropies and orientations that are hidden in the data.

78First, we discuss the results for data from the fiber anisotropy model presented in Sec. 4.1.2. For this case, the loss is plotted over the number of epochs Fig. 7a. We can see that the training procedure is able to significantly decrease the initial loss. The evolution of the anisotropic coefficients is shown in Fig. 7b. Interestingly, it appears that the trained model predicts the stress-strain data to have a structure that closely resembles that of an orthotropic material, i.e. both coefficients are decidedly non-zero. This makes sense given the symmetries of the fiber distribution plotted in Fig. 2. Figure 7c and 7d show the convergence of the two associated preferred directions of this type of anisotropy. Lastly, the ground truth and predicted diagonal stress components of the second Piola-Kirchhoff stress as a function of F 11 are plotted in Fig. 7e. As with the previous cases, it can be seen that the trained surrogate is able to accurately recreate the correct stress-strain relationship even on data that are not in the training set.

79The final example involves the microstructure problem discussed in Sec. 4.1.2. The loss over the training process is shown in Fig. 8a where we can see that the initial loss is significantly reduced. Figure 8b plot the evolution of the two anisotropic coefficients. The proposed framework identifies a representation with one preferred direction as the best fit. This preferred direction is plotted in Fig. 8c. In this case it is difficult to get an expectation of what the symmetries should be from the microstructure but we are are assured by the high accuracy the TBNN model achieves. The stress response of the trained surrogate is compared to the ground truth test case results obtained from FE simulations in Fig. 8d.

80Lastly, we test the trained TBNN surrogate model by embedding it into the C++ FE code provided by Ref. [77]. As a commonly applied benchmark for hyperelastic response [79], we employ the so-called Cook's membrane problem, illustrated in Fig. 9a, where a hexahedral structural problem is pinned on the left and a vertical displacement of u 0 = 0.12m is applied. The Cook's membrane problem is typically used as a test case for combined bending and shear response with moderate distortion. As a proof-of-concept we show the magnitude of the displacement response in Fig. 9b which is in accordance with the solution obtained in Ref. [75].

Conclusion

81We proposed a tensor-basis neural network framework based on classical representation theorems and machine learning that can discover both the orientation and the type of anisotropy purely from stress-strain datasets, and, as a byproduct, provide a surrogate for the stress-strain response.

82We have applied this approach to recover the exact symmetries corresponding to phenomenological constitutive laws that we used as test cases as well as the best fits to data from materials with explicit microstructure. Expanding the anisotropic basis from the orthotropic set assumed in this work may yield benefits in certain cases, e.g. crystal symmetries [1,80]; however, it appears that cross term basis generators, such as sym n 1 ⊗ n 2 were not needed for the wide range of material responses we explored. Furthermore, the viability of the trained TBNN surrogate as a usable constitutive law was demonstrated by solving a commonly employed structural test problem with a FE code. In additional results described in App. B, we found that the method provides robust inference of symmetries over a wide range of dataset sizes. We also developed an extension of the proposed TBNN architecture to generate polyconvex potentials, which is discussed in App. C and could prove useful in cases where data availability is an issue since the polyconvexity provides another constraint on the form of the representation. In future work we will pursue the application of the method to experimental data, and tackle issues of measurement noise as well as limited control and observation of the stress response. In this endeavor we envision the use of active learning techniques to guide experiments to rapidly discover anisotropies from measurements, c.f. Ref. [81,82]. For more complex materials we may need to resort to global optimization techniques, such as simulated annealing and multi-start initialization, to overcome issues with multiple minima in the objective function. We may also explore alternative methods to induce sparsity, such as Orthogonal Matching Pursuit [83,84].

83Derivatives of invariants follow these identities. For the principal isotropic invariants:

84the rescaled invariants:

85and the anisotropic invariants:

B Influence of the number of training points

86The results of Sec. 5 were obtained using N =2,500 sample points. In this section we investigate the influence of N on the ability of the proposed framework to recover the anisotropy structure and orientation of the material models discussed in the context of verification in Sec. 4.1.1. Using the sampling method described in Sec.4.2, N =100, 1,000, and 10,000 stress-strain sample datasets are obtained for each of the three constitutive laws. All hyperparameter, solver and initialization choices are equivalent to the ones discussed in Sec. 3. 1 We first consider the isotropic material model discussed in Sec. 4.1.1. For this case we expect the anisotropic coefficients (α 1 , α 2 ) to go toward zero. Figure 10 plots the training loss as well as the values of the coefficients over the training process for all three dataset cases. It can be seen that the trained model is able to significantly reduce the initial training error. Furthermore the two α-values are zero after training for all three cases, indicating that the proposed approach is able to accurately identify that the data was generated from an isotropic material model even when only 100 training points are available. Note the fact that the loss is continuing to decrease for the low data case, N = 100, provides some indication that the model might be overfitting; however, for the purposes of discovering the anisotropy, i.e. the inverse problem, this is essentially irrelevant.

87Next, we study the influence of the training dataset size for the transversely isotropic hyperelastic law presented in Sec. 4.1.1. In contrast to the first example we expect one anisotropic coefficient to be non-zero and the corresponding preferred direction to be equivalent to a factor of n = (1/ √ 2, 1/ √ 2, 0). For this example, the evolution of the training loss and the coefficients are shown Figure 11. We can see that the proposed framework is able to recover the correct form of anisotropy (only one non-zero coefficient) for the small, medium and large datasets. Additionally, the respective preferred directions are accurately fit at the end of the training process as seen in Fig. 12. We can see again that even with only 100 training points the type of the anisotropy and the preferred orientations are correctly recovered. Lastly, we investigate the ability of the proposed framework to recover orthotropic material behavior based on these three datasets. As an example we employ the orthotropic hyperelastic law discussed in Sec. 4.1.1. For this material law, both anisotropic coefficients should be non-zero and the two corresponding directions should be equivalent to n 1 = (1/ √ 2, 1/ √ 2, 0) and n 2 = (1/ √ 2, −1/ √ 2, 0). We can see in Fig. 13b that the coefficient values of all three cases are decidedly non-zero at the end of the training process meaning that the correct type of anisotropy is found. Figure 14 shows that all three dataset sizes allow for a correct identification of the anisotropy orientations.

88Overall, we can see that the proposed approach shows a surprising resilience to decreasing the size of the stress-strain dataset. It appears that even 100 training points are enough to accurately recover the three major classes of anisotropy studied in this work.

C Input-convex neural networks enforcing polyconvexity

89The standard TBNN formulation aims to find the best (strain energy) potential that fits the data, refer to Sec. 3, here we explore a variant that embeds polyconvexity of the potential. In finite elasticity theory, Ball [87] proved that minimizers for existing variational functionals exist if the energy potential is polyconvex. The polyconvexity condition is fulfilled if and only if a function P :

90where P is convex with regards to all the arguments. Here, Cof F denotes the cofactor operator, which results in the transpose of the adjugate of F. The growth condition on the strain energy function is a necessary part of the proof that polyconvexity guarantees the existence of a solution of a boundary value problem [88]. In a simplified form it can be expressed as

91The polyconvexity condition (as well as objectivity and material symmetry conditions) can be fulfilled if P is a convex function of a set of invariants which are polyconvex functions of (F, Cof F, det F) [36]. For orthotropic materials such a set is given by [62] I ortho, poly = {tr C, tr Cof C, det C, tr CN 1 , tr C 2 N 1 tr CN 2 , tr C 2 N 2 } . (C.3)

92Note C 2 was used for the anisotropic generators as in Ref. [62], and shown to be equivalent to the use of Cof C in Ref. [36]. In Sec. 3 a classical feedforward neural network architecture is applied to establish the TBNN framework. However, these are not able to robustly establish a polyconvex potential, since the network can not guarantee convexity of the output energy with regards to the input invariants. Recently [89], input convex neural networks (ICNN) have been proposed which, due to their specific architecture, ensure convexity of the output with regards to the input of the network.

93Input convex neural networks In input convex neural networks the standard update formula (cf. Eq. (18)) of neural networks can be rewritten to

94where W z 0 = 0, z 0 = 0, z k = Φ and {W z 1:k−1 , W x 0:k−1 , b 0:k−1 } denote the set trainable parameters. In order to guarantee convexity with these networks all weights {W z i } k−1 i=1 need to be non-negative and the activation functions g i are required to be non-decreasing and convex.

95In Ref. [89] "passthrough" layers, i.e. the input x is directly connected to the hidden and output layers, are established to increase the expressiveness of the network architecture. Initially, Amos et al. the requirements on a i . Recently, the Exponential Linear Units (ELU) has been proposed as an alternative [90] whose first derivative is smooth (in contrast to ReLU). The shape of both types of activation functions can be seen in Fig. 16. A schematic representation of the input convex neural network architecture is shown in Fig. 15. In solid mechanics applications, ICNNs have already been applied to fitting yield functions [91,92] as well as strain energy functions [93].

96Polyconvex tensor basis neural network and training specifications Using input convex neural networks allows for the output potential to be convex with regards to the invariant inputs. However, they do not fulfill the growth condition as described in Eq. (C.2). Following Ref. [93] this requirement can be established by adding an analytical term to the output of the network

97For a general orthotropic material defined using the invariant set of Eq. (C.3) the stress response function then yields

98In order to solve the inverse problem, i.e. to find the type of symmetry and the orientations, two trainable parameters α 1 and α 2 are established that allow to promote sparsity in the anisotropic part (equivalently to Eq. (19)). Given stress-strain data, the loss for the TBNN formulation that guarantees a polyconvex potential can then be established with the same regularization formulated in Sec. 3

99where ε is a L1 penalty parameter. In the following we used = 1 × 10 −4 . We investigated the efficacy of the polyconvex-TBNN in recovering the correct anisotropy type and orientation of the hyperelastic models (isotropic, transversely isotropic and orthotropic) discussed in the context of verification in Sec.4.1.1. Similarly to the results of the standard feed-forward architecture (cf. Sec. 5) N = 2, 500 sample points are utilized for all following results.

100The ICNN network architecture was implemented in Pytorch [65]. The network consist of 3 hidden layers resulting in roughly 3, 700 trainable parameters. All other hyperparameter, solver and initialization choices are equivalent to the ones discussed in Sec. 3.

101We start with a study of how the choice of the activation function affects the performance of the ICNN architecture. As mentioned the authors of the original ICNN paper only apply ReLU activation functions, c.f. Ref. [89]. As seen in Fig. 16 its first derivative is non-smooth. This appears problematic considering that, in the presented approach, the stress data is fitted through the derivative of the neural network output with regards to their inputs. Hence, a non-smooth prediction of the second Piola-Kirchhoff stress is likely. To empirically investigate this, Fig. 17 plots the training losses for all the hyperelastic model types for both ReLU and ELU activation functions over the number of epochs respectively. We can see that (presumably) due to ReLU being a C 0 function the convergence of the loss is particularly unstable, whereas for ELU the error reduces smoothly and ends up significantly lower. Hence, when employing TBNNs with polyconvex potentials we recommend to use ELU activation functions which will also be employed in the following.

102We proceed by studying if the proposed polyconvex approach is able to accurately recover an isotropic material model when starting from the stress representation of Eq. (C.6). For this form of material symmetry we expect the anisotropic coefficients (α 1 and α 2 ) to vanish. Figure 18 plots the evolution of the coefficients over the training process. It can be seen that the proposed model is able to recover this isotropic behavior since the coefficients are zero at the end of the training process.

103Equivalently, we investigate if the polyconvex framework is able to correctly identify the structure and orientation of the transversely isotropic hyperelastic law presented in Sec. 4.1.1. The ground truth direction is assumed to be n = ( 1 √ 2 , 1 √ 2 , 0). The evolution of the anisotropic coefficients are shown in Fig. 19a. We can see that the proposed framework correctly recovers the right degree of anisotropy by having only one remaining coefficient by the end of training. The corresponding direction of this coefficient over the training process is plotted in Fig. 19b which matches with the ground truth after the training is finished.

104Lastly, we test the polyconvex potential on its ability to correctly recover properties of orthotropic materials. For this we use the orthotropic hyperelastic law provided in Sec. 4.1.1 with the two ground truth directions chosen as n 1 = ( 1 √ 2 , 1 √ 2 , 0) and n 2 = (− 1 √ 2 , 1 √ 2 , 0). From the evolution of the anisotropic coefficients we can see that the model is able to correctly classify the data as being from an orthotropic material (c.f. Fig. 20a). Furthermore, the corresponding orientations also match the ground truth (Figs. 20b and 20c).

105Overall, for the presented cases, the polyconvex TBNN architecture is able to accurately recover anisotropic structures and orientations from hyperelastic stress-strain datasets. The input-convex and the standard TBNNs achieved comparable accuracy; however, the built-in polyconvexity gives us more confidence in the predictions of this architecture. Enforcing additional physical principles and model requirements (such as polyconvexity in this case), has proven as a successful approach to allow machine learning approaches to be efficient in low-data regimes and also in generating models that can efficiently generalize [51,55]. A counterpoint is the standard TBNN presented in Sec. 3 is relatively straightforward to implement with standard layers available in Pytorch [65] and the like.

Introduction

106Many materials exhibit anisotropic stress response induced by their microstructure, such as embedded fibers or polycrystalline texture. Crystalline materials are well known to exhibit elastic anisotropy [1]. Fiber reinforced composites [2], both engineered [3,4,5] and biological [6,7,8,9,10,11,12], are another broad category of materials that exhibit strong anisotropies. In addition to inherent anisotropies, anisotropy is commonly induced by processing, such as the texture (the biased crystal orientations of a polycrystalline material) generated in worked metals [13,14,15,16,17].

107The anisotropy of these materials is difficult to assess directly from mechanical tests [18]. Even with microstructural information and imaging [19,20,21,22], such as from computed tomography, the anisotropy observed in the stress response of the material may not exactly correspond to that apparent in the microstructure. Alternately the microstructure may be too complex to assess symmetry by inspection, as with fiber distributions or semi-structured arrangements of inclusions.

108Classical mechanics provides general representations of anisotropic response functions via structure tensors and representation theorems. Rivlin, Pipkin, Smith, Spencer, Boehler, and co-workers did pioneering work in this field starting in the 1950s [23,24,25,26,27,28,29,30,31,32,33]. Particularly notable is Boehler's treatise [33] describing how anisotropy can be represented with a set of tensor generators. Later, Zheng contributed an often-cited monograph [34] on the application of representation theory to anisotropy, which summarized many of the results to-date. Although structural tensors have been traditionally used to model symmetries that are fixed in a reference configuration they have also been employed to represent evolving symmetries [35,16,17]. Representation of physical stress response functions have additional considerations, such as polyconvexity of the underlying free energy [36,37,38,39], which need to be considered in constructing general representations.

109Neural networks (NNs), as universal approximators [40], present a flexible representation for response functions and have been widely employed in constitutive modeling. Pioneering work by Ghaboussi [41,42] has been extended to enable constitutive modeling in the context of hyperelasticity, viscoelasticity and elastoplasticity [43,44,45,46,47,48,49,50]. These works incorporate physical principles and model assumptions to varying degrees as means of obtaining trustworthy surrogates and working in the low-date regime. In particular, the tensor basis neural network (TBNN) [51] was developed based on classical representation theory, which proves that a complete representation can be formed from a finite sum of coefficient functions of scalar invariants, and known tensor basis elements (generators). A primary benefit of the TBNN approach, compared to more traditional NN-based approaches that learn component-based input-output maps, lies in the simplification of the maps that need to be discovered; the tensor basis elements, which do not need to be learned, carry a significant part of the functional complexity of the representation.

110Alternative data driven methods to neural networks exist for the representation of constitutive response functions. For instance, Flaschel, Kumar, and De Lorenzis [52,53] have developed a sparse regression technique that builds a stress response model from interpretable components. Utilizing tensor representation theory and building on the TBNN framework, Frankel, Jones and Swiler [54] and Fuhg and Bouklas [55] developed Gaussian process (GP) models of hyperelasticity which are particularly well suited to the low data regime. The latter work highlighted potential benefits of the Gaussian process models compared to NNs.

111Knowing the anisotropy of the material response is crucial in maintaining the objectivity of the model when it is deployed in simulations. Consequently, there has been some work on discovery and representation of anisotropic response functions with machine learning. In the general context of dynamical systems, Dehmamy et al. [56] devised a Lie algebra convolutional network by working with the generators of symmetries, as opposed to the group. With this formulation they were able to connect the equivariant properties of the network to conservation laws. In a more specific setting, Tac et al. [57] developed a neural network model of hyperelastic soft tissue material with two fiber families. The model employed a neural network for the isochoric component of the stress response with pre-selected invariant inputs. Also in the context of material physics, Fuhg and Bouklas [55] developed a TBGP model of a hyperelastic material with transverse isotropy. A significant limitation of the applications of TB representations to anisotropic materials to date is the orientation and the type of the symmetry have been assumed to be known.

112In this work we develop a TBNN methodology that can discover the type and the orientation of the symmetry of an anisotropic material, and at the same time provide a surrogate for its constitutive response. In the proposed TBNN symmetries are characterized by a structural tensor whose form (type) and orientation with respect to a canonical frame are learned. Although it, like other TBNNs, is a proficient representation in a prediction mode, the primary use of the model is to infer the symmetries of a particular material given samples of its stress response to various deformations. In Sec. 2 we review the classical theory that the proposed TBNN is based on. Then, in Sec. 3, we describe the network model and its training methodology in detail. Sec. 4 describes the source models and training data we use to test the model. Sec.5 demonstrates that the methodology can discover and represent a wide range of anisotropic stress response. App. B shows that the method can effectively infer material anisotropy in the low data regime, and App. C provides an input-convex variant of the proposed TBNN that satisfies polyconvexity requirements albeit with greater implementation complexity and a larger parameter space (App. A provides tensor identities relevant to the developments of Sec. 2). In Sec. 6 we conclude with a synopsis of the results and ideas for future work.

Theory

113Hyperelasticity is framed in terms of stress being the derivative of a (free energy) potential Ψ with respect to a suitable deformation measure, for instance the second Piola-Kirchhoff stress S is given by

114where E is the Lagrange strain. More primitively, the free energy as a function of the deformation gradient F must satisfy symmetry conditions [58,Sec. 4.3] :

115for every Q ∈ Orth + and G ∈ G ⊆ Orth, where Q accounts for the indifference to the current coordinate frame and G embeds material symmetry through invariance to transformations of the reference configuration. Instead of creating general representations of Ψ for each symmetry group, G, it is customary to introduce a structure tensor, A, or a set of structure tensors, A = {A i }, as auxiliary arguments [59,60]:

116and then appeal to more common isotropic function representation theorems. This provides an equivalent representation by virtue of Rychlewski's isotropization theorem [59]. A structure tensor characterizes the material symmetry group G through the property group action leaving the structure tensor invariant

117where is the Kronecker product (G A ≡ A ij...n Ge i ⊗Ge j ⊗. . . Ge n ). Note that structure tensors are not unique, a set of lower order structure tensors can characterize the same symmetry group as a single higher order tensor [34]. Employing a set of structure tensors leads to a representation that has symmetries corresponding to the intersection of the respective symmetry groups. Isotropic function representation theorems [61,Sec. 37] imply the potential Ψ can be expressed in terms of I = {I k }, a set of mutual scalar invariants of E and A = {A i }:

118Hence the energy conjugacy relation (1) gives:

119where B i ≡ ∂ C I i are a known tensor basis for the representation of S and c i ≡ ∂ Ii Ψ are the associated coefficient functions. Here, C = F T F = 2E − I is the right Cauchy-Green deformation tensor. Refer to App. A for the necessary tensor calculus identities. Given these developments, we assume that the material response can be represented by a potential that is a function of a set of invariants that are possibly redundant. For example, isotropy with structure tensor A = I is a sub-class of so-called "complete" orthotropy, where all symmetric dyads are structure tensors A i ∈ {sym e i ⊗ e j }. Here e i is an element of the usual Cartesian basis and sym A ≡ 1/2(A + A T ). For this work we take {A i } to subsume isotropy A = i e i ⊗ e i , transverse isotropy A = e 1 ⊗ e 1 , and orthotropy A i ∈ {e i ⊗ e i , i = 1, 3}. For convenience we define

120so that isotropy

121are in the span of these structure tensors. These symmetries nest in the sense that each subsumes the higher symmetries. For isotropy the set of invariants I iso = {tr C, tr C 2 , tr C 3 } suffice. The corresponding tensor basis is B iso = {I, C, C 2 } and the stress is simply

122For transverse isotropy, a complete set of invariants is:

123and the corresponding tensor basis is:

124given N n i = N i and tr N i = 1. The stress for this case is

125With orthotropy the invariants are

126The corresponding tensor basis is:

127so that the stress representation is:

128Recall there is no need to employ N 3 as a structure tensor since it is in the span of {I, N 1 , N 2 } and −n i leads to the same structure tensors as n i . Alternatively, a polyconvex basis, with the adjugate of C (or C −1 ) substituting for C 2 , could be employed [36,37,62], refer to App. C for further developments. For convenience in the following sections we will use the notation I aniso = I ortho \I iso and B aniso = B ortho \ B iso . Given that the orientation of the material anisotropy is not necessarily aligned with the Cartesian lab basis, e i , we can express the elemental structure tensors as the rotation of canonically oriented elements:

129where n i is the symmetry axis of N i . The rotation R, has a convenient (tensor basis) Euler-Rodrigues representation:

130where θ ∈ [0, 2π] is the rotation angle, p is the (unit) axis vector, and P ≡ εp with ε being the third order permutation tensor. The axial vector p can be parameterized in spherical coordinates as p = sin φ cos ϕ e 1 + sin φ sin ϕ e 2 + cos φ e 3

131with two angles φ and ϕ, or via alternative Rodrigues formulae and representations of R.

132In the following we will use type to refer to the symmetry class or degree of symmetry as measured by the size and type of elements in the symmetry group G, and orientation to refer to the orientation of these elements in the reference configuration of the material with respect to the canonical orientations, i.e. n i vs. e i .

Architecture

133The proposed architecture is summarized in the schematic in Fig. 1. It largely resembles a standard TBNN [51,63] except for the inclusion of a set of elemental structure tensors A = {N 1 , N 2 } in their canonical orientation, together with C, in the inputs. The inclusion of these arguments allows for the construction of the additional invariants that depend on anisotropy and orientation. Another distinction is the coefficient functions c i are derived from a potential Ψ formed as the output of a densely connected feed-forward neural network, as opposed to the output of the neural network being the coefficient functions themselves.

134A preprocessing layer computes anisotropic invariants I aniso = {tr CN i , tr C 2 N i } and basis elements B aniso = {N i , CN i + N i C}, where N i = N i (θp) are functions of trainable parameters. Note the isotropic invariants I iso = {tr C, tr C 2 , tr C 3 } and basis B iso = {I, C, C 2 } could be precomputed and fed in as data since they do not depend on trainable parameters, but we chose to compute them in-line for convenience. Rotation R(φ) is formed from axis vector φ = θp and the Rodrigues formula Eq. (16). The trainable parameters for the rotation of the tensor basis are the rotational angle θ ∈ [0, 2π] and the unit axis vector (p 1 , p 2 , p 3 )/ p = 1. We employed a constrained 3 parameter representation for p instead of Eq. (17) to avoid the singularities in the 2 parameter spherical coordinate representation.

135The invariants I = I iso ∪ I aniso are the inputs to a feed-forward neural network (blue in Fig. 1) consisting of input layer with a node for each invariant , n D −1 hidden layers of the same width, and an output layer consisting of a single node. Each layer of the neural network transforms the output of the previous layer through a trainable affine transform followed by the element-wise application of a (pre-selected) non-linear transform:

136where z i is the input data of the i-th layer, and W i , b i and a are the weights, biases and activation function of the i th layer. Since inferring the potential is a regression task the activation function of the output layer is chosen to be identity, i.e. the last layer is just a linear mixing of the output of the previous layer.

137Once the potential Φ = Φ({I k }) is formed from the output of the last layer of the NN, z n D , the coefficients c i of the tensor basis representation are obtained from partial derivatives of Φ. Finally, the tensor basis summation is reformulated as:

138where the basis has been selected such that A i ≡ ∂ C I i , refer to Sec. 2 and the parameters α 1 , α 2 are introduced to control the degree of anisotropy. In order to enable the method to discern the components of B aniso needed to represent the data and suppress the involvement of unneeded components, we promote sparsity in the anisotropic part of the tensor basis representation through α i . In particular L1 regularization of the α-values is employed in the loss:

139where ε is a L1 penalty parameter. Note is it only necessary to penalize the use of the anisotropic components of the basis since the isotropic components are always necessary to represent the response functions of interest. In the following results we used = 1 × 10 −4 . In general this penalty parameter needs to be tuned; however, data normalization helps to bound values that provide suitable conditioning of the constraint objective relative to the accuracy objective.

140Remark 1. Alternatively, the coefficients c i could have been directly applied to signal the degree of anisotropy instead of the α i , i.e. (c 4 + c 5 ) and (c 6 + c 7 ). However, regularizing c i means a regularization of a large set of trainable parameters of the neural network since they are dependent on derivatives of the output potential with regards to the input. Hence, by regularizing only two trainable parameters α 1 and α 2 the network can train faster. Secondly, using batch-wise errors with the batch-size M the magnitude of the sum, e.g. M (|c 4 | + |c 5 |), is difficult to judge a priori . This means that the regularization parameter is also difficult to choose in this case. For the formulation we propose, the additional α i are just two trainable parameters, i.e. not network outputs, so this parameterization is not sensitive to the batch-size which makes the regularization process more robust.

141Due to fact that the network architecture needs to fit data through its own derivative with respect to the inputs of the network, we found that a hidden-layer activation function that is at least C 1 is helpful for the training process. In this work we applied the tanh activation function in the hidden layers and a linear function at the final layer. The constraints θ ∈ [0, 2π] and p = 1 were enforced using gradient clipping [64].

142The newly developed TBNN architecture was implemented in Pytorch [65]. The denselyconnected component of the network consisted of 3 hidden layers with 30 neurons. The weights and biases of the feed-forward network were initialized using a uniform initialization. The 6 additional trainable parameters, {α 1 , α 2 , p 1 , p 2 , p 3 , θ}, of the proposed TBNN framework were initialized independently. In order to not initially favor any particular degree of anisotropy (e.g. α 1 ≈ 0 and α 2 ≈ 1), the α-values were initialized using α 1 = α 2 = 0.1 where the value of 0.1 is chosen without Output: Figure 1: Anisotropy discovery TBNN architecture: isotropic invariants I iso (pink); anisotropic invariants I aniso that augment the description and depend on orientation θp and the associated rotation R, (red); deep densely connected, feed-forward neural network (blue); elastic potential Φ (white); isotropic tensor basis coefficients (orange); and anisotropic tensor basis coefficients subject to regularization (yellow).

143any fine-tuning but (magnitude-wise) roughly on par with the initial weights of the network. The values of p i were initialized from a uniform distribution p i ∼ U[0, 1] and were then normalized by p i = p i / p . The angle θ was initialized from a uniform distribution θ ∼ U[0, 2π]. The network parameters were optimized using the Adam optimizer [66] over 10 6 epochs. All the hyperparameters, such as learning rate and network size, were not tuned extensively since preliminary studies found that the selected parameters produced satisfactory results. For other applications hyperparameters, such as the L1 penalty ε, would need to be tuned in general; however, data normalization assists in the transferability of hyperparameters from one application to the next.

Data

144In order to investigate the robustness of the proposed framework we study its performance on representing five classical hyperelastic material formulations which are summarized in this section. We also discuss the sampling strategy employed to generate training data from these models. In this work the sampling strategy and the evaluation of the approach assumes stress data under different loading conditions are accessible, e.g. cases where a micromechanical RVE or other high-fidelity model is available.

Models

145The proposed methodology infers the orientation and type of the material symmetry and provides a model of the stress response. In the following we divide the material models from which we generate synthetic data into those that can (a) verify or (b) validate the methodology used to solve the inverse problem. Following the definitions of Ref. [67], we use the verification process to check the correctness of the inference of material symmetry by using constitutive laws with known symmetries and material orientations. Then the TBNN formulation designed to solve the inverse problem of discovering anisotropy is validated on material responses where the symmetries and orientations are a priori unknown and the proposed approach should find a best fit.

Material models for verification

146In this section three hyperelastic laws with anisotropies from known classes: isotropy, transverse isotropy, and orthotropy, are introduced for the purpose of verifying the TBNN. App. A provides some of the tensor calculus identities necessary to derive the stress response from the potentials.

147Isotropic hyperelasticity The well-known compressible isotropic neo-Hookean model is described by a strain energy function discussed in Refs. [68,69]:

148which yields a second Piola-Kirchhoff stress of the form:

149Herein

150We choose c 1 = 1 √ 2 and c 2 = 10 3 to generate the training data.

151Transversely isotropic hyperelasticity Bonet and Burton [69] introduced a hyperelastic model of transversely isotropic stress response defined by the strain energy:

152For this model the second Piola-Kirchhoff stress is

153Herein I 4 ≡ tr CN 1 and I 5 ≡ tr C 2 N 1 . For the results shown in Sec. 5 we specify c 0 = c 1 = c 2 = 1.0 and n = ( 1

154Orthotropic hyperelasticity The orthotropic material we selected a modified version of the strain energy function proposed in Ref. [7] which reads

155where I 4 ≡ tr CN 1 and I 6 ≡ tr CN 2 . In this case second Piola-Kirchhoff stress is given by

156In this case we choose the following material parameters: c 1 = 5.5, c 2 = 0.75, c 3 = 5.0, c 4 = 1.5, c 5 = 1.5, and preferred directions:

Material models for validation

157The proposed framework is validated on material models that do not have explicitly known anisotropic symmetries and orientations. For this purpose we obtain stress-strain data from a fiber composite model and an elastic microstructure with inclusions.

158Fiber anisotropy Distributed fiber models are commonly employed for modeling tissues [70,71,72]. They are generally characterized by assuming a distribution of fiber orientations ρ and a strain energy Ψ fiber for each fiber. The resulting hyperelastic models can not be explicitly classified in the general orthotropic representation of Eq. (14). Following Ref. [73] and Ref. [74] and we assume that the response of a compressible fiberreinforced material results from the strain energy function composed of a matrix and a fiber contribution:

159The response of the fibers Ψ fiber is described by

160where the stretch projected on a fiber with in-plane orientation n(θ) is The fiber structure is defined by semicircular von Mises distribution function

161where ι 0 is the modified Bessel function of the first kind of order zero

162The second Piola-Kirchhoff stress is given by

163with

164Here we specify representative parameters: c 1 = 3.0, c 2 = 0.75, k 1 = 4 15 , k 2 = 170 15 and b = 1. The resulting fiber distribution is plotted in Fig. 2. The fibers lie in the e 1 -e 2 plane and the major lobe is in the e 1 direction.

165Microstructure with inclusions Lastly, the framework is also tested on training data from an effective microstructural response, specifically a microstructure with 12 inclusions used as a Representative Volume Element (RVE), see Fig. 3. The microstructural quantities are denoted by the subscript "m". Following Ref. [75] the stiffness response of the materials in both phases can be characterized by a compressible neoHookean formulation of the form

166The resulting second Piola-Kirchhoff stress reads with

167in terms of the Poisson's ratio ν and the shear modulus µ. The shear modulus in both phases is 80 GPa. The bulk modulus for the inclusions is 120 GPa and for the matrix it is 160 GPa. The effective response of the microstructure can be obtained using numerical homogenization conditioned on an imposed mean deformation gradient. The equilibrium equation at the microscale is given by

168where P m denotes the microscopic first Piola-Kirchhoff stress and ∇ m is the microscopic gradient operator with respect to the reference configuration. The RVE is assumed to have geometrically periodic boundaries. After solving this boundary value problem, the macroscopic first Piola-Kichhoff stress tensor P is computed via a volume average

169over the volume V of the RVE. The pull-back operation then allows us to obtain the averaged second Piola-Kirchhoff stress tensor

170where F is the applied macroscopic deformation gradient. For more information we refer to Ref. [76]. After discretization, the RVE consists of ≈ 25, 000 hexahedral elements. An author-modified version of the finite element (FE) simulation code provided by Ref. [77] was used for these computational homogenization simulations.

Sampling

171In each case, we collect samples over a bounded deformation gradient space around the undeformed configuration (F = I) given by

172with λ > 0 and δ ij being the Kronecker delta. We employed Latin Hypercube Sampling [78] to generate N space filling samples in this nine-dimensional bounded space. The right Cauchy-Green tensor C = F T F of each sample was derived from F and the model evaluated to obtain S(C) and a dataset of the form

173All of the following numerical examples employ λ = 0.2. For each model N = 2500 samples were calculated. Prior to training the TBNN, both the inputs C and outputs S are normalized to lie between 0 and 1.

Results

174In the following we demonstrate the ability of the proposed approach to: (a) recover both the orientation and the type of anisotropy for material responses where these properties are well classified (cf. Sec. 4.1.1), and (b) discover best fitting surrogates to data with imprecise symmetries (cf. Sec. 4.1.2).

175In order to visualize the proficiency of the trained TBNN surrogates, the ground truth stress as well as the predicted stress of the models are plotted for the loading case

176This loading is not part of the training dataset generated with random sampling, refer to Sec. 4.2.

177In addition to the results in this section, the influence of the number of data points on the proposed framework for the material models of Sec. 4.1.1 is reported in App. B. Also, as a modification of the TBNN approach presented in Sec. 3 with a simple feed-forward architecture which does not adhere to polyconvexity requirements [36], an alternative input-convex neural network is presented in App. C. This kind of network enables the learning hyperelastic anisotropy with polyconvex potentials.

Recovering anisotropy type and orientation

178We start by demonstrating that the TBNN, as formulated in Sec. 3 with a full orthotropic basis, can accurately recover an isotropic response. Figure 4a plots the loss over the training process. We can see that a smooth error convergence is achieved. For isotropic materials both anisotropic coefficients, α 1 and α 2 , should converge to zero. Figure 4b shows that anisotropic coefficients rapidly go to zero over the training. Hence, this example clearly demonstrates that the method is efficient and effective in recovering isotropic material behavior. Fig. 4c plots the ground truth and the predicted stress for the load case of Eq. (41). We can see that although this test data is not part of the training dataset an accurate stress representation is found.

179Next, we consider the stress-strain data from the transversely isotropic model of Sec. 4.1.1. The preferred direction of the data source model is chosen to be n = ( 1 √ 2 , 1 √ 2 , 0). Figure 5a plots the training loss over the training process. We can see that, again, the convergence is regular and the error has essentially converged after ≈ 400, 000 epochs. For this example we expect only one anisotropic coefficient to remain while the other one should tend to zero. The recovered coefficients over the training process are plotted in Fig. 5b, and clearly shows that the presented TBNN framework accurately identifies the degree of anisotropy, with α 1 → 0 and α 2 → 1. Figure 5c displays evolution of the components of the preferred direction n 2 , which converge to the true material orientation (to within a sign). Hence, this example demonstrates the proposed anisotropy discovery method can accurately recover the response and symmetries of an off-axis transversely isotropic material. Finally, the diagonal components of the true stress and predicted stress responses for the uniaxial test case are plotted over F 11 in Fig. 5d which indicates the validity of the trained surrogate in terms of its prediction accuracy on unseen data.

180Lastly, we check if the proposed approach is able to accurately recover the anisotropy defining coefficients and orientations of the orthotropic material model described in Sec. 4.1.1. Here, we expect both of the trainable anisotropy-defining coefficients α 1 and α 2 to be non-zero. The two preferred directions of the data source model are chosen to be the off-axis unit-vectors n 1 = ( 1 Figure 6a shows the training loss over the training process. The evolution of the two anisotropic coefficients is plotted in Fig. 6b. It can be seen that both coefficient values converge to non-zero values after ≈ 200, 000 epochs. Figures 6c and 6d plot the components of the associated preferred directions n 1 and n 2 . They converge to an accurate match (up to a sign) of the ground truth n i . These results prove that the anisotropic properties of an orthotropic material can be correctly recovered. To highlight the prediction quality in terms of stress outputs of the trained surrogate, the true and predicted S 11 , S 22 and S 33 stress components are plotted in Fig. 6e over F 11 for the uniaxial test case.

Discovering anisotropy structure and orientation

181For the following two examples neither the type of the anisotropy nor the orientations are directly expressible as a subclass of the parameterized orthotropic stress representation of Eq. (19). Applying our proposed framework on data of this kind will allow us to find best fitting anisotropy structures and orientations in terms of Eq. (19). This can help us gain insight into "effective" anisotropies and orientations that are hidden in the data.

182First, we discuss the results for data from the fiber anisotropy model presented in Sec. 4.1.2. For this case, the loss is plotted over the number of epochs Fig. 7a. We can see that the training procedure is able to significantly decrease the initial loss. The evolution of the anisotropic coefficients is shown in Fig. 7b. Interestingly, it appears that the trained model predicts the stress-strain data to have a structure that closely resembles that of an orthotropic material, i.e. both coefficients are decidedly non-zero. This makes sense given the symmetries of the fiber distribution plotted in Fig. 2. Figure 7c and 7d show the convergence of the two associated preferred directions of this type of anisotropy. Lastly, the ground truth and predicted diagonal stress components of the second Piola-Kirchhoff stress as a function of F 11 are plotted in Fig. 7e. As with the previous cases, it can be seen that the trained surrogate is able to accurately recreate the correct stress-strain relationship even on data that are not in the training set.

183The final example involves the microstructure problem discussed in Sec. 4.1.2. The loss over the training process is shown in Fig. 8a where we can see that the initial loss is significantly reduced. Figure 8b plot the evolution of the two anisotropic coefficients. The proposed framework identifies a representation with one preferred direction as the best fit. This preferred direction is plotted in Fig. 8c. In this case it is difficult to get an expectation of what the symmetries should be from the microstructure but we are are assured by the high accuracy the TBNN model achieves. The stress response of the trained surrogate is compared to the ground truth test case results obtained from FE simulations in Fig. 8d.

184Lastly, we test the trained TBNN surrogate model by embedding it into the C++ FE code provided by Ref. [77]. As a commonly applied benchmark for hyperelastic response [79], we employ the so-called Cook's membrane problem, illustrated in Fig. 9a, where a hexahedral structural problem is pinned on the left and a vertical displacement of u 0 = 0.12m is applied. The Cook's membrane problem is typically used as a test case for combined bending and shear response with moderate distortion. As a proof-of-concept we show the magnitude of the displacement response in Fig. 9b which is in accordance with the solution obtained in Ref. [75].

Conclusion

185We proposed a tensor-basis neural network framework based on classical representation theorems and machine learning that can discover both the orientation and the type of anisotropy purely from stress-strain datasets, and, as a byproduct, provide a surrogate for the stress-strain response.

186We have applied this approach to recover the exact symmetries corresponding to phenomenological constitutive laws that we used as test cases as well as the best fits to data from materials with explicit microstructure. Expanding the anisotropic basis from the orthotropic set assumed in this work may yield benefits in certain cases, e.g. crystal symmetries [1,80]; however, it appears that cross term basis generators, such as sym n 1 ⊗ n 2 were not needed for the wide range of material responses we explored. Furthermore, the viability of the trained TBNN surrogate as a usable constitutive law was demonstrated by solving a commonly employed structural test problem with a FE code. In additional results described in App. B, we found that the method provides robust inference of symmetries over a wide range of dataset sizes. We also developed an extension of the proposed TBNN architecture to generate polyconvex potentials, which is discussed in App. C and could prove useful in cases where data availability is an issue since the polyconvexity provides another constraint on the form of the representation. In future work we will pursue the application of the method to experimental data, and tackle issues of measurement noise as well as limited control and observation of the stress response. In this endeavor we envision the use of active learning techniques to guide experiments to rapidly discover anisotropies from measurements, c.f. Ref. [81,82]. For more complex materials we may need to resort to global optimization techniques, such as simulated annealing and multi-start initialization, to overcome issues with multiple minima in the objective function. We may also explore alternative methods to induce sparsity, such as Orthogonal Matching Pursuit [83,84].

187Derivatives of invariants follow these identities. For the principal isotropic invariants:

188the rescaled invariants:

189and the anisotropic invariants:

B Influence of the number of training points

190The results of Sec. 5 were obtained using N =2,500 sample points. In this section we investigate the influence of N on the ability of the proposed framework to recover the anisotropy structure and orientation of the material models discussed in the context of verification in Sec. 4.1.1. Using the sampling method described in Sec.4.2, N =100, 1,000, and 10,000 stress-strain sample datasets are obtained for each of the three constitutive laws. All hyperparameter, solver and initialization choices are equivalent to the ones discussed in Sec. 3. 1 We first consider the isotropic material model discussed in Sec. 4.1.1. For this case we expect the anisotropic coefficients (α 1 , α 2 ) to go toward zero. Figure 10 plots the training loss as well as the values of the coefficients over the training process for all three dataset cases. It can be seen that the trained model is able to significantly reduce the initial training error. Furthermore the two α-values are zero after training for all three cases, indicating that the proposed approach is able to accurately identify that the data was generated from an isotropic material model even when only 100 training points are available. Note the fact that the loss is continuing to decrease for the low data case, N = 100, provides some indication that the model might be overfitting; however, for the purposes of discovering the anisotropy, i.e. the inverse problem, this is essentially irrelevant.

191Next, we study the influence of the training dataset size for the transversely isotropic hyperelastic law presented in Sec. 4.1.1. In contrast to the first example we expect one anisotropic coefficient to be non-zero and the corresponding preferred direction to be equivalent to a factor of n = (1/ √ 2, 1/ √ 2, 0). For this example, the evolution of the training loss and the coefficients are shown Figure 11. We can see that the proposed framework is able to recover the correct form of anisotropy (only one non-zero coefficient) for the small, medium and large datasets. Additionally, the respective preferred directions are accurately fit at the end of the training process as seen in Fig. 12. We can see again that even with only 100 training points the type of the anisotropy and the preferred orientations are correctly recovered. Lastly, we investigate the ability of the proposed framework to recover orthotropic material behavior based on these three datasets. As an example we employ the orthotropic hyperelastic law discussed in Sec. 4.1.1. For this material law, both anisotropic coefficients should be non-zero and the two corresponding directions should be equivalent to n 1 = (1/ √ 2, 1/ √ 2, 0) and n 2 = (1/ √ 2, −1/ √ 2, 0). We can see in Fig. 13b that the coefficient values of all three cases are decidedly non-zero at the end of the training process meaning that the correct type of anisotropy is found. Figure 14 shows that all three dataset sizes allow for a correct identification of the anisotropy orientations.

192Overall, we can see that the proposed approach shows a surprising resilience to decreasing the size of the stress-strain dataset. It appears that even 100 training points are enough to accurately recover the three major classes of anisotropy studied in this work.

C Input-convex neural networks enforcing polyconvexity

193The standard TBNN formulation aims to find the best (strain energy) potential that fits the data, refer to Sec. 3, here we explore a variant that embeds polyconvexity of the potential. In finite elasticity theory, Ball [87] proved that minimizers for existing variational functionals exist if the energy potential is polyconvex. The polyconvexity condition is fulfilled if and only if a function P :

194where P is convex with regards to all the arguments. Here, Cof F denotes the cofactor operator, which results in the transpose of the adjugate of F. The growth condition on the strain energy function is a necessary part of the proof that polyconvexity guarantees the existence of a solution of a boundary value problem [88]. In a simplified form it can be expressed as

195The polyconvexity condition (as well as objectivity and material symmetry conditions) can be fulfilled if P is a convex function of a set of invariants which are polyconvex functions of (F, Cof F, det F) [36]. For orthotropic materials such a set is given by [62] I ortho, poly = {tr C, tr Cof C, det C, tr CN 1 , tr C 2 N 1 tr CN 2 , tr C 2 N 2 } . (C.3)

196Note C 2 was used for the anisotropic generators as in Ref. [62], and shown to be equivalent to the use of Cof C in Ref. [36]. In Sec. 3 a classical feedforward neural network architecture is applied to establish the TBNN framework. However, these are not able to robustly establish a polyconvex potential, since the network can not guarantee convexity of the output energy with regards to the input invariants. Recently [89], input convex neural networks (ICNN) have been proposed which, due to their specific architecture, ensure convexity of the output with regards to the input of the network.

197Input convex neural networks In input convex neural networks the standard update formula (cf. Eq. (18)) of neural networks can be rewritten to

198where W z 0 = 0, z 0 = 0, z k = Φ and {W z 1:k−1 , W x 0:k−1 , b 0:k−1 } denote the set trainable parameters. In order to guarantee convexity with these networks all weights {W z i } k−1 i=1 need to be non-negative and the activation functions g i are required to be non-decreasing and convex.

199In Ref. [89] "passthrough" layers, i.e. the input x is directly connected to the hidden and output layers, are established to increase the expressiveness of the network architecture. Initially, Amos et al. the requirements on a i . Recently, the Exponential Linear Units (ELU) has been proposed as an alternative [90] whose first derivative is smooth (in contrast to ReLU). The shape of both types of activation functions can be seen in Fig. 16. A schematic representation of the input convex neural network architecture is shown in Fig. 15. In solid mechanics applications, ICNNs have already been applied to fitting yield functions [91,92] as well as strain energy functions [93].

200Polyconvex tensor basis neural network and training specifications Using input convex neural networks allows for the output potential to be convex with regards to the invariant inputs. However, they do not fulfill the growth condition as described in Eq. (C.2). Following Ref. [93] this requirement can be established by adding an analytical term to the output of the network

201For a general orthotropic material defined using the invariant set of Eq. (C.3) the stress response function then yields

202In order to solve the inverse problem, i.e. to find the type of symmetry and the orientations, two trainable parameters α 1 and α 2 are established that allow to promote sparsity in the anisotropic part (equivalently to Eq. (19)). Given stress-strain data, the loss for the TBNN formulation that guarantees a polyconvex potential can then be established with the same regularization formulated in Sec. 3

203where ε is a L1 penalty parameter. In the following we used = 1 × 10 −4 . We investigated the efficacy of the polyconvex-TBNN in recovering the correct anisotropy type and orientation of the hyperelastic models (isotropic, transversely isotropic and orthotropic) discussed in the context of verification in Sec.4.1.1. Similarly to the results of the standard feed-forward architecture (cf. Sec. 5) N = 2, 500 sample points are utilized for all following results.

204The ICNN network architecture was implemented in Pytorch [65]. The network consist of 3 hidden layers resulting in roughly 3, 700 trainable parameters. All other hyperparameter, solver and initialization choices are equivalent to the ones discussed in Sec. 3.

205We start with a study of how the choice of the activation function affects the performance of the ICNN architecture. As mentioned the authors of the original ICNN paper only apply ReLU activation functions, c.f. Ref. [89]. As seen in Fig. 16 its first derivative is non-smooth. This appears problematic considering that, in the presented approach, the stress data is fitted through the derivative of the neural network output with regards to their inputs. Hence, a non-smooth prediction of the second Piola-Kirchhoff stress is likely. To empirically investigate this, Fig. 17 plots the training losses for all the hyperelastic model types for both ReLU and ELU activation functions over the number of epochs respectively. We can see that (presumably) due to ReLU being a C 0 function the convergence of the loss is particularly unstable, whereas for ELU the error reduces smoothly and ends up significantly lower. Hence, when employing TBNNs with polyconvex potentials we recommend to use ELU activation functions which will also be employed in the following.

206We proceed by studying if the proposed polyconvex approach is able to accurately recover an isotropic material model when starting from the stress representation of Eq. (C.6). For this form of material symmetry we expect the anisotropic coefficients (α 1 and α 2 ) to vanish. Figure 18 plots the evolution of the coefficients over the training process. It can be seen that the proposed model is able to recover this isotropic behavior since the coefficients are zero at the end of the training process.

207Equivalently, we investigate if the polyconvex framework is able to correctly identify the structure and orientation of the transversely isotropic hyperelastic law presented in Sec. 4.1.1. The ground truth direction is assumed to be n = ( 1 √ 2 , 1 √ 2 , 0). The evolution of the anisotropic coefficients are shown in Fig. 19a. We can see that the proposed framework correctly recovers the right degree of anisotropy by having only one remaining coefficient by the end of training. The corresponding direction of this coefficient over the training process is plotted in Fig. 19b which matches with the ground truth after the training is finished.

208Lastly, we test the polyconvex potential on its ability to correctly recover properties of orthotropic materials. For this we use the orthotropic hyperelastic law provided in Sec. 4.1.1 with the two ground truth directions chosen as n 1 = ( 1 √ 2 , 1 √ 2 , 0) and n 2 = (− 1 √ 2 , 1 √ 2 , 0). From the evolution of the anisotropic coefficients we can see that the model is able to correctly classify the data as being from an orthotropic material (c.f. Fig. 20a). Furthermore, the corresponding orientations also match the ground truth (Figs. 20b and 20c).

209Overall, for the presented cases, the polyconvex TBNN architecture is able to accurately recover anisotropic structures and orientations from hyperelastic stress-strain datasets. The input-convex and the standard TBNNs achieved comparable accuracy; however, the built-in polyconvexity gives us more confidence in the predictions of this architecture. Enforcing additional physical principles and model requirements (such as polyconvexity in this case), has proven as a successful approach to allow machine learning approaches to be efficient in low-data regimes and also in generating models that can efficiently generalize [51,55]. A counterpoint is the standard TBNN presented in Sec. 3 is relatively straightforward to implement with standard layers available in Pytorch [65] and the like.

참고문헌 103건

  1. Adam: A Method for Stochastic Optimization 2014
  2. Applications of Tensor Functions in Solid Mechanics 1987 10.1007/978-3-7091-2810-7
  3. Isotropic integrity bases for vectors and second-order tensors Archive for Rational Mechanics and Analysis · Springer Science+Business Media · 1962 10.1007/bf00253332
  4. Polycrystalline plasticity and the evolution of crystallographic texture in FCC metals Philosophical Transactions of the Royal Society of London Series A Physical and Engineering Sciences · Royal Society · 1992 10.1098/rsta.1992.0111
  5. Neural network constitutive model for rate-dependent materials Computers & Structures · Elsevier BV · 2006 10.1016/j.compstruc.2006.02.015
  6. On the representation of constitutive relations using structure tensors International Journal of Engineering Science · Elsevier BV · 1994 10.1016/0020-7225(94)90085-x
  7. Polyconvex energies and symmetry requirements Journal of Elasticity · Springer Science+Business Media · 1991 10.1007/bf00041891
  8. Material symmetry restrictions on non-polynomial constitutive equations Archive for Rational Mechanics and Analysis · Springer Science+Business Media · 1963 10.1007/bf00281238
  9. Nonlinear Elastic Deformations Journal of Applied Mechanics · ASM International · 1985 10.1115/1.3169137
  10. Effects of fiber orientation and anisotropy on tensile strength and elastic modulus of short fiber reinforced polymer composites Composites Part B Engineering · Elsevier BV · 2014 10.1016/j.compositesb.2014.11.041
  11. Mechanical Properties of Anisotropic Fiber-Reinforced Composites Journal of Applied Mechanics · ASM International · 1970 10.1115/1.3408430
  12. Isotropic Polynomial Invariants and Tensor Functions 1987 10.1007/978-3-7091-2810-7_8
  13. Mechanical anisotropy of porcine cornea and correlation with stromal microstructure Experimental Eye Research · Elsevier BV · 2009 10.1016/j.exer.2009.01.010
  14. On the anisotropic elastic properties of woods Journal of Materials Science · Springer Science+Business Media · 2007 10.1007/s10853-007-2121-9
  15. Autoprogressive training of neural network constitutive models International Journal for Numerical Methods in Engineering · Wiley · 1998 10.1002/(sici)1097-0207(19980515)42:1<105::aid-nme356>3.0.co;2-v
  16. A strain energy function for arteries accounting for wall composition and structure Journal of Biomechanics · Elsevier BV · 2004 10.1016/j.jbiomech.2003.11.026
  17. The theory of matrix polynomials and its application to the mechanics of isotropic continua Archive for Rational Mechanics and Analysis · Springer Science+Business Media · 1958 10.1007/bf00277933
  18. Material symmetry restrictions on constitutive equations Archive for Rational Mechanics and Analysis · Springer Science+Business Media · 1964 10.1007/bf00282437
  19. Microstructural image analysis applied to fibre composite materials: a review Composites · Elsevier BV · 1993 10.1016/0010-4361(93)90246-5
  20. Application of polycrystal plasticity to sheet forming Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 1994 10.1016/0045-7825(94)90076-0
  21. A simple orthotropic, transversely isotropic hyperelastic constitutive equation for large strain computations Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 1998 10.1016/s0045-7825(97)00339-3
  22. Frame-Invariant Polyconvex Strain-Energy Functions for Some Anisotropic Solids Mathematics and Mechanics of Solids · SAGE Publishing · 2003 10.1177/10812865030085004
  23. Full-field bulge test for planar anisotropic tissues: Part II – A thin shell method for determining material parameters and comparison of two distributed fiber modeling approaches Acta Biomaterialia · Elsevier BV · 2012 10.1016/j.actbio.2012.11.034
  24. Theory of Representations for Tensor Functions—A Unified Invariant Approach to Constitutive Equations Applied Mechanics Reviews · American Society of Mechanical Engineers · 1994 10.1115/1.3111066
  25. A variational approach for materially stable anisotropic hyperelasticity International Journal of Solids and Structures · Elsevier BV · 2005 10.1016/j.ijsolstr.2004.11.021
  26. Material symmetry and the evolution of anisotropies in a simple material—I. Change of reference configuration International Journal of Non-Linear Mechanics · Elsevier BV · 1989 10.1016/0020-7462(89)90017-6
  27. Three-dimensional microstructural imaging methods for energy materials Physical Chemistry Chemical Physics · Royal Society of Chemistry · 2013 10.1039/c3cp52356j
  28. Polyconvexity of generalized polynomial-type hyperelastic strain energy functions for near-incompressibility International Journal of Solids and Structures · Elsevier BV · 2003 10.1016/s0020-7683(03)00086-6
  29. Finite integrity bases for five or fewer symmetric 3×3 matrices Archive for Rational Mechanics and Analysis · Springer Science+Business Media · 1958 10.1007/bf00277941
  30. Application of the concept of evolving structure tensors to the modeling of initial and induced anisotropy at large deformation Computers & Structures · Elsevier BV · 2006 10.1016/j.compstruc.2006.01.037
  31. Identification of symmetry type of linear elastic stiffness tensor in an arbitrarily orientated coordinate system International Journal of Solids and Structures · Elsevier BV · 2013 10.1016/j.ijsolstr.2013.03.037
  32. On isotropic integrity bases Archive for Rational Mechanics and Analysis · Springer Science+Business Media · 1965 10.1007/bf00251667
  33. Simulating anisotropic frictional response using smoothly interpolated traction fields Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2005 10.1016/j.cma.2004.11.028
  34. A class of orthotropic and transversely isotropic hyperelastic constitutive models based on a polyconvex strain energy function International Journal of Solids and Structures · Elsevier BV · 2004 10.1016/j.ijsolstr.2004.02.027
  35. A polyconvex hyperelastic model for fiber-reinforced materials in application to soft tissues Journal of Materials Science · Springer Science+Business Media · 2007 10.1007/s10853-007-1812-6
  36. Modeling the anisotropic finite-deformation viscoelastic behavior of soft fiber-reinforced composites International Journal of Solids and Structures · Elsevier BV · 2007 10.1016/j.ijsolstr.2007.06.020
  37. Microstructural imaging techniques: a comparison between light and scanning electron microscopy Tectonophysics · Elsevier BV · 1999 10.1016/s0040-1951(98)00263-7
  38. Fiber distributed hyperelastic modeling of biological tissues Mechanics of Materials · Elsevier BV · 2011 10.1016/j.mechmat.2011.06.004
  39. Convexity conditions and existence theorems in nonlinear elasticity Archive for Rational Mechanics and Analysis · Springer Science+Business Media · 1976 10.1007/bf00279992
  40. Computational modeling of mechanical anisotropy in the cornea and sclera Journal of Cataract & Refractive Surgery · Lippincott Williams & Wilkins · 2005 10.1016/j.jcrs.2004.10.048
  41. A polyconvex model for materials with cubic symmetry Modelling and Simulation in Materials Science and Engineering · IOP Publishing · 2007 10.1088/0965-0393/15/5/006
  42. A Nonlinear Anisotropic Viscoelastic Model for the Tensile Behavior of the Corneal Stroma Journal of Biomechanical Engineering · ASM International · 2008 10.1115/1.2947399
  43. Verification and validation of knowledge-based systems IEEE Transactions on Knowledge and Data Engineering · IEEE Computer Society · 1999 10.1109/69.755629
  44. Signal Recovery From Random Measurements Via Orthogonal Matching Pursuit IEEE Transactions on Information Theory · Institute of Electrical and Electronics Engineers · 2007 10.1109/tit.2007.909108
  45. Orthogonal matching pursuit: recursive function approximation with applications to wavelet decomposition 2002 10.1109/acssc.1993.342465
  46. The anisotropic Hooke's Law for cancellous bone and wood arXiv (Cornell University) · Cornell University · 1998
  47. Multilayer feedforward networks are universal approximators Neural Networks · Elsevier BV · 1989 10.1016/0893-6080(89)90020-8
  48. On the elasticity of monatomic crystals Mathematical Proceedings of the Cambridge Philosophical Society · Cambridge University Press · 1976 10.1017/s0305004100052804
  49. Constitutive modelling of arteries Proceedings of the Royal Society A Mathematical Physical and Engineering Sciences · Royal Society · 2010 10.1098/rspa.2010.0058
  50. Large elastic deformations and non-linear continuum mechanics Journal of Physics and Chemistry of Solids · Elsevier BV · 1961 10.1016/0022-3697(61)90229-3
  51. Machine learning strategies for systems with invariance properties Journal of Computational Physics · Elsevier BV · 2016 10.1016/j.jcp.2016.05.003
  52. ORTHOGONAL INTEGRITY BASIS FOR N SYMMETRIC MATRICES Elsevier eBooks · Elsevier BV · 1969 10.1016/b978-0-08-012822-1.50013-9
  53. Input Convex Neural Networks arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1609.07152
  54. Homogenization Methods and Multiscale Modeling: Nonlinear Problems 2017 10.1002/9781119176817.ecm2107
  55. Computational microstructure characterization and reconstruction: Review of the state-of-the-art techniques Progress in Materials Science · Elsevier BV · 2018 10.1016/j.pmatsci.2018.01.005
  56. Modern Neural Networks Generalize on Small Data Sets Neural Information Processing Systems · 2018
  57. Mechanical anisotropy of aligned fiber reinforced composite for extrusion-based 3D printing Construction and Building Materials · Elsevier BV · 2019 10.1016/j.conbuildmat.2019.01.008
  58. Overfitting Mechanism and Avoidance in Deep Neural Networks arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1901.06566
  59. PRISMS-Plasticity: An open-source crystal plasticity finite element software Computational Materials Science · Elsevier BV · 2019 10.1016/j.commatsci.2019.109078
  60. Machine Learning Models of Plastic Flow Based on Representation Theory Computer Modeling in Engineering & Sciences · Tech Science Press · 2018 10.31614/cmes.2018.04285
  61. Anisotropy Properties of Tissues: A Basis for Fabrication of Biomimetic Anisotropic Scaffolds for Tissue Engineering Journal of Bionic Engineering · Elsevier BV · 2019 10.1007/s42235-019-0101-9
  62. Geometric deep learning for computational mechanics Part I: anisotropic hyperelasticity Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2020.113299
  63. 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
  64. Why gradient clipping accelerates training: A theoretical justification for adaptivity arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1905.11881
  65. 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
  66. TENSOR BASIS GAUSSIAN PROCESS MODELS OF HYPERELASTIC MATERIALS Journal of Machine Learning for Modeling and Computing · Begell House · 2020 10.1615/jmachlearnmodelcomput.2020033325
  67. State-of-the-Art and Comparative Review of Adaptive Sampling Methods for Kriging Archives of Computational Methods in Engineering · Springer Science+Business Media · 2020 10.1007/s11831-020-09474-6
  68. A Selection of Benchmark Problems in Solid Mechanics and Applied Mathematics Archives of Computational Methods in Engineering · Springer Science+Business Media · 2020 10.1007/s11831-020-09477-3
  69. How Neural Networks Extrapolate: From Feedforward to Graph Neural Networks arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2009.11848
  70. Using structural tensors for inelastic material modeling in the finite strain regime – A novel approach to anisotropic damage Journal of the Mechanics and Physics of Solids · Elsevier BV · 2020 10.1016/j.jmps.2020.104174
  71. Mimetization of the elastic properties of cancellous bone via a parameterized cellular material Journal of Elasticity · Springer Science+Business Media · 1998 10.1023/a:1007575322693
  72. 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
  73. 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
  74. 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
  75. Model-data-driven constitutive responses: Application to a multiscale computational framework International Journal of Engineering Science · Elsevier BV · 2021 10.1016/j.ijengsci.2021.103522
  76. A new Constitutive Framework for Arterial Wall Mechanics and a Comparative Study of Material Models Kluwer Academic Publishers eBooks · Springer Science+Business Media · 2006 10.1007/0-306-48389-0_1
  77. Unsupervised discovery of interpretable hyperelastic constitutive laws Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2021 10.1016/j.cma.2021.113852
  78. Local approximate Gaussian process regression for data-driven constitutive models: development and comparison with neural networks Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2021 10.1016/j.cma.2021.114217
  79. Data-driven modeling of the mechanical behavior of anisotropic soft biological tissue Engineering With Computers · Springer Science+Business Media · 2022 10.1007/s00366-022-01733-3
  80. Predictive constitutive modelling of arteries by deep learning Journal of The Royal Society Interface · Royal Society · 2021 10.1098/rsif.2021.0411
  81. Automatic Symmetry Discovery with Lie Algebra Convolutional Network 2021
  82. On physics-informed data-driven isotropic and anisotropic constitutive models through probabilistic machine learning and space-filling sampling Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.114915
  83. The Curious Case of Convex Neural Networks Lecture notes in computer science · Springer Science+Business Media · 2021 10.1007/978-3-030-86486-6_45
  84. Polyconvex anisotropic hyperelasticity with neural networks Journal of the Mechanics and Physics of Solids · Elsevier BV · 2021 10.1016/j.jmps.2021.104703
  85. 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
  86. Mathematical Elasticity: Three-Dimensional Elasticity Society for Industrial and Applied Mathematics eBooks · Society for Industrial and Applied Mathematics · 2021 10.1137/1.9781611976786
  87. Integrity bases for vectors ? The crystal classes Archive for Rational Mechanics and Analysis · Springer Science+Business Media · 1964 10.1007/bf00275631
  88. Discovering plasticity models without stress data npj Computational Materials · Nature Portfolio · 2022 10.1038/s41524-022-00752-4
  89. Machine-learning convex and texture-dependent macroscopic yield from crystal plasticity simulations Materialia · Elsevier BV · 2022 10.1016/j.mtla.2022.101446
  90. Isotropic Integrity Bases for Vectors and Second-Order Tensors Springer eBooks · Springer Nature · 1997 10.1007/978-1-4612-2416-7_79
  91. Proceedings of 1994 28th Asilomar Conference on Signals, Systems and Computers 1994 10.1109/acssc.1994.471404
  92. Encyclopedia of Computational Mechanics Second Edition Wiley eBooks · Wiley · 2016 10.1002/9781119176817
  93. A strain energy function for arteries accounting for wall composition and structure Journal of Biomechanics · Elsevier BV · 2004 10.1016/s0021-9290(03)00439-1
  94. A class of orthotropic and transversely isotropic hyperelastic constitutive models based on a polyconvex strain energy function International Journal of Solids and Structures · Elsevier BV · 2004 10.1016/s0020-7683(04)00083-6
  95. Large Sample Properties of Simulations Using Latin Hypercube Sampling Technometrics · Taylor & Francis · 1987 10.1080/00401706.1987.10488205
  96. Autoprogressive training of neural network constitutive models International Journal for Numerical Methods in Engineering · Wiley · 1998 10.1002/(sici)1097-0207(19980515)42:1<105::aid-nme356>3.3.co;2-m
  97. Elasto-plasticity with convex model-data-driven yield functions HAL (Le Centre pour la Communication Scientifique Directe) · Centre National de la Recherche Scientifique · 2022
  98. Non-linear elastic deformations Engineering Analysis · Elsevier BV · 1984 10.1016/0264-682x(84)90061-3
  99. PyTorch: An Imperative Style, High-Performance Deep Learning Library arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1912.01703
  100. Nonlinear Solid Mechanics: A Continuum Approach for Engineering Science Meccanica · Springer Science+Business Media · 2002 10.1023/a:1020843529530
  101. An Introduction to Continuum Mechanics Mathematics in Science and Engineering/Mathematics in science and engineering · Elsevier BV · 1981 10.1016/s0076-5392(08)x6102-8
  102. Contributions to mechanics : Markus Reiner eightieth anniversary volume Pergamon Press eBooks · Pergamon Press · 1969
  103. Representations for Isotropic and Anisotropic Non-Polynomial Tensor Functions 1987 10.1007/978-3-7091-2810-7_3