Abstract
After a decade of periodic truss, plate, and shellbased architectures having dominated the design of metamaterials, we introduce the nonperiodic class of spinodoid topologies. Inspired by natural selfassembly processes, spinodoid metamaterials are a close approximation of microstructures observed during spinodal phase separation. Their theoretical parametrization is so intriguingly simple that one can bypass costly phasefield simulations and obtain a rich and seamlessly tunable property space. Counterintuitively, breaking with the periodicity of classical metamaterials is the enabling factor to the large property space and the ability to introduce seamless functional grading. We introduce an efficient and robust machine learning technique for the inverse design of (meta)materials which, when applied to spinodoid topologies, enables us to generate uniform and functionally graded cellular mechanical metamaterials with tailored directiondependent (anisotropic) stiffness and density. We specifically present biomimetic artificial bone architectures that not only reproduce the properties of trabecular bone accurately but also even geometrically resemble natural bone.
Introduction
Tailoring the architecture of cellular materials — including random foams as well as deterministic truss, plate, and shellbased lattices — has produced a wide variety of metamaterials (also referred to as architected materials) whose macroscale physical and mechanical properties can be controlled by a careful design at the microstructural level. Supported by optimization techniques^{1,2,3,4,5,6,7} and advances in additive manufacturing^{8}, truss and platebased mechanical metamaterials^{9,10,11,12,13,14,15} have gained prominence as, e.g., lightweight cellular solids with engineered stiffness, strength, or energy absorption. Unfortunately, they also suffer from detrimental stress concentrations found at all intersections of structural members, which generally leads to low strength and poor recoverability^{16,17,18}. Metamaterials based on smooth topologies — such as triply periodic minimal surfaces (TPMS) — address this shortcoming^{19} by avoiding points of stress concentration while also showing excellent scaling of stiffness and strength with respect to density^{20,21,22} (leveraging the benefits of doubly curved surfaces^{23} that engage slender structures primarily in stretching rather than bending^{24,25}). Most recently, spinodal topologies — extensively studied in the 1960s–1990s — have found a revival in metamaterials^{26,27,28,29}. They are naturally created by selfassembly processes such as spinodal decomposition during phase separation^{30,31} in, e.g., nanoporous metal foams^{32,33,34}, microemulsions^{35,36}, and polymer blends^{37,38}. Similar to TPMS, spinodal topologies consist of smooth, nonintersecting surfaces having nearly zero mean curvature^{29,39} with unique topological properties^{26,28,29,39,40,41,42}. Spinodal topologies can be realized as solid networks (obtained from removing one of the two phases after phase separation, such as in nanoporous foams^{26,29}) and as shell networks (retaining only the interfaces between the two phases^{27,28}). Overall, spinodal topologies cover an extreme and seamless range of anisotropic (directiondependent) mechanical properties, as verified, e.g., by their tailorable anisotropic elastic moduli^{26} — creating materials that are stiff in some directions and soft in others. By contrast to unitcellbased truss, plate, or TPMStype architectures, spinodal designs are nonperiodic, which greatly enhances the design space and achievable directionality. Moreover, nonperiodic architectures do not suffer from the fabricationbased introduction of symmetrybreaking defects — by contrast to periodic metamaterials whose sensitivity to defects deteriorates their mechanical properties^{22,27,28,43,44}. As we further demonstrate here, the nonperiodicity of spinodal networks (without geometric unit cell limitations or tessellation requirements) — counterintuitively — enables the effortless creation of functionally graded materials with spatially varying properties. Finally, the emergence of spinodal topologies during selfassembly (such as by arresting spinodal decomposition in polymeric emulsions^{27}) promises scalable manufacturing of centimeterscale samples with nanoscale features, in contrast to conventional additive manufacturingbased designs.
While spinodal topologies hence promise an intriguingly large design space as well as advantages over most competing architectures, key challenges persist. It is practically impossible to theoretically explore the full anisotropic design space, since topologies are obtained by simulating the timedependent Cahn–Hilliard phase separation process^{26,28} (see Fig. 1a), which can take hours per simulation on a modern computer. The only reported alternative^{29} is limited to isotropy, which strongly limits the achievable property space. To overcome this limitation, we here deploy a cellular design strategy that bypasses expensive simulations and leverages the statistics of spinodal topologies, resulting in a class of metamaterial architectures, which we term spinodoid (spinodallike) topologies, with enormous anisotropic design and property spaces. Exploring those, however, requires another approach for the inverse design to be reported here.
Structure–property relations of all existing metamaterials have primarily been explored in a forward fashion: given a microstructure, one extracts the effective properties by methods of homogenization. The inverse challenge — identifying a microstructural topology that meets the mechanical property requirements — has often been addressed by inefficient trial and error, requiring a designer’s intuitive understanding of the structure–property relations. Systematic approaches such as topology optimization and genetic algorithms^{2,45,46} are not only beneficial but also computationally expensive (relying on repeated sampling and/or computation of the effective properties) and highly dependent on initial guesses. In addition, while the forward problem, i.e., mapping from topological parameters to property space, is well defined, the inverse problem is illposed (multiple topologies can have the exact same or similar effective properties). Recent advances in machine learning and deep learning have shown success in overcoming this challenge. Machine learningbased surrogate models — trained in a datadriven^{47,48} (supervised) or physicsdriven^{49,50,51,52} (unsupervised) setting, which can bypass expensive simulations and/or experiments — have been developed for applications, including metamaterials^{3,53}, composites^{54,55}, twodimensional materials, and nanotubes^{56,57}. More recently, surrogate models based on autoencoders and variational autoencoders^{58,59} have attracted interest due to their ability to obtain a lowdimensional latent space parametrization of the design space. Once trained, surrogate models accelerate the search for possible candidates that fit the design requirements from a large design space. However, such approaches require solving an optimization problem based on the (forwardonly) surrogate model, which prevents an ondemand inverse design framework.
We here deploy a machine learning strategy for the inverse design of the newly introduced spinodoid topologies, which efficiently predicts an optimal topology for a given set of sought properties. Our approach, in contrast to surrogate optimization methods, provides a computationally inexpensive twoway relationship between topological parameters and mechanical properties. Although we focus on the anisotropic elasticity of spinodoid architectures (and demonstrate their potential for, e.g., spatially varying patientspecific bone replacements), our inverse design approach — inspired by similar problems in the nanophotonic and plasmonic community^{60,61,62,63,64,65} — is sufficiently general to apply, in principle, to any physical material properties and to any finite set of design parameters.
In the following, we first introduce the class of spinodoid topologies, followed by a discussion of the tunable anisotropic material behavior with opportunities for functionally graded spinodoid metamaterials. Next, we present the datadriven inverse design framework, whose application to spinodoid metamaterials results in topologies with asdesigned anisotropic stiffness. We close by demonstrating the (inverse) design of synthetic bones based on spinodoids.
Results
From spinodal to spinodoid topologies with tunable anisotropy
Spinodal topologies form naturally when a homogeneous solution decomposes into two spatially separated uniform phases in a diffusiondriven fashion. During the early stages of phase separation, small fluctuations in the phase distribution are described accurately by the linear Cahn–Hilliard model^{66} for an isotropic evolution of the underlying phase field φ(x) representing the concentration fluctuation of one phase at position x ∈ Ω in a domain \(\Omega \subset {\mathbb{R}}^{3}\) (Fig. 1a). Cahn^{30} showed that the phase field may be described by a superposition of a large number N ≫ 1 of standing waves of constant wavenumber β > 0, mathematically known as a Gaussian random field (GRF)^{67}:
where \({S}^{2}=\{{\boldsymbol{k}}\in {\mathbb{R}}^{3}:\,\parallel {\boldsymbol{k}}\parallel\, =1\}\) denotes the unit sphere in threedimensional (3D). n_{i} and γ_{i} denote, respectively, the directions and phase angles of the i^{th} wave vector, which are random variables independently sampled from uniform probability distributions. While the original Cahn–Hilliard equation applies only to isotropic systems, it has been exploited for simulating anisotropic phase separation^{68,69,70,71,72,73,74,75} by introducing directionaldependent interface energy or phase mobility/diffusivity, both of which result in cellular architectures with anisotropic properties. Toward the same objective but without the need to simulate the phase separation process, we here propose an anisotropic extension of Cahn’s GRFbased solution (1) as a means to efficiently generate smooth spinodallike topologies.
Our point of departure is the observation that the wave vectors in (1) are isotropically sampled from the unit sphere. To introduce anisotropy, we restrict those n_{i} directions by biasing their statistical sampling with a nonuniform orientation distribution function (ODF), favoring some directions and neglecting others. Since the resulting topologies approximate the products of spinodal decomposition, we speak of spinodoid topologies. As a particular example, inspired by crystallographic texture poles, we introduce the distribution
where \(\{{\hat{{\boldsymbol{e}}}}_{1},{\hat{{\boldsymbol{e}}}}_{2},{\hat{{\boldsymbol{e}}}}_{3}\}\) denotes the Cartesian basis and angles \({\theta }_{1},{\theta }_{2},{\theta }_{3}\in \{0\}\cup [{\theta }_{\min },\pi /2]\) represent the allowed spread of wave vectors about each of the three orthogonal base directions (Fig. 1b). Choosing, e.g., θ_{1} = θ_{2} = 0 restricts wave vectors to the cone, which forms an angle less than θ_{3} > 0 with the x_{3}axis (and the interfaces of the topologies align preferentially perpendicular to those n_{i} vectors). Controlling the value of θ_{3} allows a seamless transition from a phase field with an isotropic structure (θ_{3} = π/2, reducing to the unit sphere) to that with a lamellar structure (θ_{3} < π/2). As representative examples, Figs 1c and 2 show specific choices of \(\left({\theta }_{1},{\theta }_{2},{\theta }_{3}\right)\) and the resulting isotropic, lamellar, columnar, and cubic symmetries.
From the above phase field, a bicontinuous topology is constructed by computing level sets or isosurfaces of the phase field^{29,30,40,41}. To this end, we define a binary indicator function χ(x) that denotes the presence of material vs. void at x. This applies equally to the generation of solid and shelltype architectures^{27,28}:
For solid networks, threshold φ_{0} is computed as the quantile (of normally distributed random variable φ) evaluated at the average relative density \(\rho =\mathbb{E}[\chi ]\) of the solid phase: \({\varphi }_{0}=\sqrt{2}\ {{\rm{erf}}}^{1}(2\rho 1)\). The relative density ρ provides a measure of the porosity of a given topology. Since small relative densities ρ ≪ 1 may contain disjoint solid domains, we restrict the design space to ρ ∈ [0.3, 1] in the following (for the same reason, we choose the minimum cone angle as \({\theta }_{\min }=1{5}^{\circ }\)); for isotropic topologies, ρ > 0.159 was recently shown to ensure bicontinuity^{29}. For shell topologies, the zero isosurface (φ_{0} = 0) is chosen. We note that the area per unit volume of the isosurface of stochastic fields of type (1) is constant regardless of the anisotropy^{76}, and the area per unit volume of the zero isosurface of an isotropic GRF bounded by a unit cell is^{40,41}
so that the relative density of all slender shell topologies is obtained as ρ = sh with shell thickness h (note that the relative density of shell architectures can be orders of magnitude below that of their solid counterparts). The complete set of design parameters to characterize our anisotropic spinodoid topologies is hence Θ = (ρ, θ_{1}, θ_{2}, θ_{3}).
We stress that the thus generated topologies are not mere mathematical constructs but have physical relevance: they may be interpreted as an approximate solution to the modified Cahn–Hilliard equation modeling spinodal decomposition in case of an anisotropic diffusive mobility (see Supplementary Information, Section 1). It is for this reason that the spinodoid architectures presented here may indeed be expected from phase separation with directiondependent interface mobility. While the selfassembly based fabrication has been demonstrated only for isotropic structures^{27}, phase separation in block copolymers and polymeric microemulsions is a promising avenue for the selfassembly of anisotropic spinodal topologies^{36,37,38,77,78}.
The above architectures are generally nonperiodic, which is expected from foams but is a departure from conventional metamaterial designs and comes with advantages. First, nonperiodic topologies are more resilient to fabricationrelated, symmetrybreaking imperfections^{27,28}. The lack of symmetry also affects the buckling behavior and suppresses bifurcation modes of intermediate wavelengths (spanning single to multiple unit cells) often exploited in periodic metamaterials^{79,80,81,82,83}. Second, despite the complex architecture (applying to an, in principle, infinite design space without periodicity or symmetries), the mathematical description is simple and can be encoded in an ODF and parametrized by a finite set of design parameters (e.g., Θ). Third, the topology can be varied smoothly and seamlessly across a given body for the purpose of functional grading without issues arising from unit cell tessellation and discontinuous topologies (which, in contrast, is an active challenge for periodic topologies, including trusses, plates, and shells). Although functional grading with smooth transitions was demonstrated for TPMS topologies^{84,85,86}, the tripleperiodicity constraint results in a limited and discrete design space (including the wellknown Schwarz Primitive^{87} and Schoen Gyroid^{88}) and included limited examples of anisotropy in TPMS topologies^{89,90,91}. A unified continuous design space, particularly in terms of a tunable anisotropy of the resultant metamaterial, has remained a challenge. Here a spatially variant spinodoid topology can be generated by the spatial superposition of two or more random fields (Fig. 3 and Supplementary Information, Section 4), which offers unprecedented opportunities for spatially variant architectures. In addition to locally varying the topology, this approach can also create architectures with spatially variant microstructural length scales (e.g., to vary locally the characteristic pore size); an example is shown in Supplementary Information, Section 4. Finally, the nonperiodic fieldbased formulation (1) is spacefilling and can be leveraged to create spinodoid solids of arbitrary macroscopic shapes (without the need for adaptive tessellation and conforming algorithms near the body’s boundary, as is the case for most periodic unit cellbased designs).
Tunable anisotropic material behavior
As a representative example of effective properties, we characterize the 3D elastic stiffness of solid topologies (shell topologies can be treated analogously, which have great potential due to their optimal scaling of stiffness and strength with density^{28} and their extreme resilience verified experimentally in ceramic thinshell architectures^{27}). We apply computational homogenization by the finite element method (FEM), using a representative volume element (RVE) for each chosen topology made of a homogeneous, isotropic, linear elastic base material (Young’s modulus E_{s}, Poisson’s ratio ν_{s} = 0.3). The resulting effective (homogenized) constitutive behavior of the metamaterial is linear elastic with an effective fourthorder elastic modulus tensor \(\mathbb{C}\) extracted from the RVE via applying average strains 〈ϵ〉, computing volumeaveraged stresses 〈σ〉, and solving \(\langle {\sigma }_{ij}\rangle ={\mathbb{C}}_{ijkl}\langle {\epsilon }_{kl}\rangle\). Since the topologies lack periodicity, we apply affine displacement boundary conditions to the RVE, so that the homogenized stiffness is generally an overestimate of the true stiffness (for sufficiently large RVEs relative to microstructural features, assuring statistical homogeneity and a separation of scales, this estimate presents a good measure of the effective stiffness of the metamaterial). Numerical details are contained in Supplementary Information, Section 2. The microstructural length scale is inversely proportional to the wavenumber β in (1). For a cubic RVE of size l × l × l, we found β = 10π/l to be sufficient for an effective separation of scales; similar observations were reported previously for spinodal topologies^{28,29}.
To visualize the elastic anisotropy, the elastic surface is computed, showing the effective Young’s modulus along a direction d ∈ S^{2} as
Figure 2 illustrates how design parameters (θ_{1}, θ_{2}, θ_{3}) control the elastic surface. In addition, the relative density ρ controls the absolute stiffness scaling (see Supplementary Fig. 2). Note that the principal stiffness directions here are by choice always aligned with coordinates \(\{{\hat{{\boldsymbol{e}}}}_{1},{\hat{{\boldsymbol{e}}}}_{2},{\hat{{\boldsymbol{e}}}}_{3}\}\). However, a coordinate rotation (i.e., \(\hat{\mathbb{C}}_{pqrs}={\sum }_{i,j,k,l}{R}_{pi}{R}_{qj}{R}_{rk}{R}_{sl}{\mathbb{C}}_{ijkl}\) for a rotation tensor R ∈ SO(3)) can further expand the design space to obtain stiffness tensors with arbitrary principal directions.
All information related to the structure of the elastic surface of a metamaterial is now encoded in the effective stiffness matrix \(\mathbb{C}\), whose components — by exploiting symmetries and the orthotropic nature of all architectures defined by Eq. (2) — reduces to the following vector of independent elastic moduli: \({\boldsymbol{S}}=({\mathbb{C}}_{1111},{\mathbb{C}}_{1122},{\mathbb{C}}_{1133},{\mathbb{C}}_{2222},{\mathbb{C}}_{2233},{\mathbb{C}}_{3333},{\mathbb{C}}_{2323},{\mathbb{C}}_{3131},{\mathbb{C}}_{1212})\).
Datadriven inverse design
Toward the creation of cellular solids with asdesigned properties, we need to address the inverse design question: how can we systematically and efficiently find a topology from within the design space that has the target anisotropic elastic moduli? In contrast to existing methods, we use offline training of a machine learning model that provides a computationally inexpensive twoway relationship between topological parameters and mechanical properties. We propose a machine learning technique based on deep neural networks (NNs)^{92}, which require the apriori creation of a sufficiently large and representative training dataset \({\mathcal{D}}=\left\{\{{{\mathbf{\Theta}}}_{i},{{\boldsymbol{S}}}_{i}\},i=1,\ldots ,n\right\}\) consisting of n pairs of design parameters Θ and corresponding stiffness S, which are computed by FEM homogenization. Note that a large dataset is made possible only because of the computationally inexpensive GRFbased formulation of the spinodoid topology. Creating a dataset by simulating the timedependent Cahn–Hilliard phase separation process is impractical as each simulation can take several hours on a modern computer (in contrast to few seconds for the GRFbased formulation; see Supplementary Information, Section 5).
Let \({{\mathcal{F}}}_{\omega }\) be a NN that maps design parameters Θ onto stiffness S in a forward fashion and is hence referred to as fNN. We choose a multilayer perceptron (MLP) architecture (Fig. 4a) whose parameter set ω contains the weights and biases of all hidden layers (see Supplementary Information, Section 5). Training the fNN requires minimizing the (mean squared error) loss between true values and predictions with respect to the fNNparameters ω, i.e.,
This problem is well posed, and we use a backpropagation algorithm^{93} to perform the optimization in Eq. (6). We leverage automatic differentiation^{94} (which is also the implementation basis of backpropagation in most modern machine learning packages) to compute the gradients \({\mathcal{F}}^{\prime} [{{\mathbf{\Theta}}}_{i}]=\partial {\mathcal{F}}_{\omega }[{{\mathbf{\Theta}}}_{i}]/\partial {{\mathbf{\Theta}}}_{i}\) (the latter will be important for the inverse problem).
To address the inverse problem, we introduce another MLP NN \({{\mathcal{G}}}_{\tau }\) (the iNN), which maps stiffness S onto design parameters Θ. Here the challenge lies in defining a measure (a loss function) that identifies the correctness of an answer while ignoring the multiplicity of correct answers (since various design parameters may yield the same or similar effective stiffness). As a trivial example, the spinodoid topologies corresponding to Θ = (ρ, 90°, 0, 0), (ρ, 90°, 90°, 0), and (ρ, 90°, 90°, 90°) all have the same (isotropic) stiffness. This prevents the straightforward application of machine learning tools, which rely on direct computation of errors. For example, the naive approach to minimize \(\mathop{\sum }\nolimits_{i = 1}^{n}\parallel {{\mathcal{G}}}_{\tau }[{{\boldsymbol{S}}}_{i}]{{\mathbf{\Theta}}}_{i}{\parallel }^{2}\) is illposed and may not converge to a correct solution (see Supplementary Information, Section 7). To overcome this challenge, we leverage the fNN and propose to train the iNN using the loss function
The reconstruction loss computes the error between the stiffness of a predicted topology and the true stiffness that has been queried, the rationale being that the predicted topology must have the correct stiffness irrespective of the design parameters used to create that topology. Ideally, the reconstruction should be computed using FEM. For efficiency, we instead leverage the above fNN as a computationally inexpensive approximator of the FEM homogenization scheme. The advantage is twofold. First, the numerous evaluations of the reconstruction loss via the pretrained fNN are several orders of magnitude less expensive than if FEM was used for reconstruction (see Supplementary Information, Section 5) during the iNN training. Second, the backpropagation algorithm^{93} requires computing the derivatives of the loss function with respect to the NN parameters (socalled sensitivities). Numerical differentiation by FEM (perturbing the design parameters and recalculating the effective stiffness for each perturbation) would incur prohibitive expenses — the fNN as an approximator instead provides analytical gradients via automatic differentiation^{94} (see Supplementary Information, Section 5). Note that during the iNN training, the pretrained fNN remains unchanged; i.e., no further do we train the parameters ω of the fNN. The prediction loss in Eq. (7) acts as a soft regularization by measuring the error in the predicted design parameters. Although this regularization is not necessary (equivalent to choosing λ = 0), we observe that it accelerates the training of iNN and the convergence of the reconstruction loss as long as λ is sufficiently small (e.g., λ ~ 0.01–1.0). For example, in the initial epochs of training when the parameters of the iNN are untrained, the prediction loss ensures that the design parameter predictions from the iNN are not nonsensical. For this reason, we activate the prediction loss only during the first few epochs of the training stage before deactivating it again (details in Supplementary Information, Section 5).
For a quantitative assessment of our machine learning technique, we generated a set of training and test data containing, respectively, 19,170 and 2130 pairs of topologies and their corresponding effective elastic stiffnesses (details about datasets and training protocols are in Supplementary Information, Section 5). For each queried stiffness S_{i} from the test dataset, the iNN predicts a set of design parameters \({{\mathbf{\Theta}}}_{i}^{* }\) expected to yield the sought effective stiffness S_{i}. For verification, we reconstruct the stiffness \({{\boldsymbol{S}}}_{i}^{* }\) of the identified design \({{\mathbf{\Theta}}}_{i}^{* }\) (i) exactly via FEM simulations and (ii) approximately using the fNN (recall that we cannot compare \({{\mathbf{\Theta}}}_{i}^{* }\) to Θ_{i} from the test data, since the mapping between design parameters and stiffnesses is nonunique). Ideally, in both cases the reconstructed stiffness of the identified topology should agree with the target stiffness, i.e., \({{\boldsymbol{S}}}_{i}^{* }\approx {{\boldsymbol{S}}}_{i}\). In a plot of predicted (or reconstructed) vs. queried stiffness components, we hence expect each data point to ideally lie on a line with zero intercept and unit slope, and we may use the coefficient of determination (R^{2}) with respect to the aforementioned line as a measure of accuracy.
Representative example results of reconstruction vs. true (queried) stiffness component \({\mathbb{C}}_{1111}\) are shown in Fig. 4b, c. Since the iNN has been trained against the fNN (which only serves as an approximation of FEMbased homogenization), the FEM reconstruction of stiffness shows a lower accuracy (R^{2} = 0.997) than when using fNN (R^{2} = 0.999), as expected. Nevertheless, we generally observed excellent agreement of queried (true) vs. achieved (reconstructed) stiffness values across all stiffness components tested (we verified R^{2} ≥ 0.995 and 0.998, respectively, across all FEM and fNNbased reconstructions).
As expected, the predicted topological parameters Θ^{*} for a queried stiffness S may vary significantly from those in the dataset due to nonuniqueness (Fig. 4e). When queried, e.g., with a stiffness S originally obtained from a sample with Θ = (0.35, 70°, 70°, 0°), the iNN predicted an architecture with Θ^{*} = (0.34, 47.99°, 55.88°, 31.79°) with only negligible differences in stiffness. In addition, for closetoisotropic stiffness queries (obtained from a sample with e.g., at least one of θ_{1}, θ_{2}, or θ_{3} >80°), the iNN predicts all three θ_{1}, θ_{2}, and θ_{3} in the range of 45°–65° (contributing to the decrease in prediction accuracy for high values of θ_{1} in Fig. 4e). This highlights the advantages of our approach in overcoming the illposedness of the inverse problem. Note that the stiffness dependence on relative density ρ is so dominant that the iNN generally recovers the relative density of architectures from the training set for a given stiffness (Fig. 4d).
While the inverse model is successful on test queries similar to the training dataset, a natural question arises: is the model applicable to arbitrary stiffness queries? There are two requirements: (i) a queried stiffness must be thermodynamically admissible, i.e., it must satisfy major and minor symmetries (\({\mathbb{C}}_{ijkl}={\mathbb{C}}_{klij}={\mathbb{C}}_{ijlk},\,i,j,k,l=1,2,3\)) and strong ellipticity for reasons of stability (using Einstein’s summation convention: \({\mathbb{C}}_{ijkl}{u}_{i}{v}_{j}{u}_{k}{v}_{l}\,>\,0\) for all nonzero \({\boldsymbol{u}},{\boldsymbol{v}}\in \mathbb{R}^{3}\)). Furthermore, it must not violate the Voigt upper bound that limits the maximally achievable stiffness for a given relative density (e.g., one cannot ask for an architecture that is stiffer than the base material). (ii) The query S must lie within the design space (i.e., there must be at least one Θ^{*} within the bounds of the design parameters whose stiffness matches the query S). If these requirements are not satisfied, the iNN will likely predict a Θ^{*}, which does not lie within the design space (an indication that the S does not satisfy the aforementioned conditions). In the unlikely event Θ^{*} does lie within the design space, a quick reconstruction of S^{*} via fNN (and comparison with the query S) will invalidate the iNN prediction.
Once trained, the fNN and iNN together provide a computationally inexpensive twoway structure–property map as a design tool for spinodoid metamaterials (Supplementary Information, Section 5 estimates computational costs). Moreover, the machine learning framework presented here can be readily integrated into the functional grading approach of Fig. 3 to inversedesign spatially variant solids. The iNN can be used to generate multiple independent GRFs that locally satisfy the anisotropic stiffness requirements (queries to the iNN), followed by the straightforward GRF interpolation approach outlined in Supplementary Information, Section 4.
Inverse design of artificial bone
Synthetic bones or bonemimetic scaffolds and implants are prime examples that have benefited from advances in additive manufacturing^{95,96,97}. Matching the topological and mechanical properties of bones in 3Dprinted architectures (important for successful longterm compatibility^{98}) has remained a challenge though. Although bone properties have been mimicked by truss and TPMS architectures^{95,98,99}, the thus available design space is highly limited. For example, those designs did not cover the required high level of elastic anisotropy and heterogeneity as well as porosity found^{100} across different patients or even across bones within the same patient. Leveraging the approach introduced here can overcome those challenges and create bonemimetic structures with properties closer to those of natural bone than any of the aforementioned designs.
As an example, we consider trabecular bone from bovine femur samples, whose relative density and anisotropic stiffness components were measured experimentally^{101} (see Supplementary Information, Section 5). Using the measured directional modulus variations as a query (and assuming the base material of bone tissue is isotropic), the iNN predicts the spinodoid architectures and their stiffnesses and relative densities summarized in Fig. 5. Remarkably, the inverse model accurately predicts the target relative density and matches the anisotropic elastic stiffness of the bone specimens despite no prior information about trabecular bone during the learning stage. The small differences between the reconstructed and experimentally measured stiffnesses are attributed to small but nonzero normal–shear coupling terms in the measured stiffness tensor (deviations diminish when the corresponding stiffness components are set to zero). Moreover, unlike previous approaches^{95,101}, the resulting columnar spinodoid architectures bear topological resemblance to natural bone specimens (microcomputed tomographic images of the original bones are included in Fig. 5). The columnar topology makes structural features align with the loadbearing directions, akin to the trabecular alignment in natural femoral bones.
Discussion
Bone datasets are scarce, particularly from a datadriven inversedesign perspective. Our approach bypasses this challenge and applies an inverse model trained on spinodoid metamaterials to the in silico generation of artificial bone, preserving the anisotropic stiffness and level of porosity (while the characteristic length scale is controlled by the wavelength). If a small but representative dataset for trabecular bones becomes available, the accuracy of the inverse model may be improved even further by first training on the spinodoid design space followed by finetuning on bone data. Finally, spatially varying architectures matching patientspecific mechanical properties across an individual bone (if known) can be realized readily by the GRF interpolation approach of Fig. 3. This capability of creating cellular solids with asdesigned spatially varying stiffness and density is key to, e.g., acoustic cloaking^{102} or tissue engineering^{103}. We close by noting that, with possible integration into multiscale topology optimization or as a standalone framework to explore the design space (e.g., via genetic algorithms), our combination of forward and inverse maps of the structure–property relation accelerates the design process of metamaterials with a wide range of tunable mechanical response (anisotropic stiffness only being the tip of the iceberg).
Methods
Details of the anisotropic spinodal decomposition theory (Section 1), the simulation procedures and postprocessing of data (Sections 2 and 3), the spatially variant architecture simulations (Section 4), the machine learning protocols (Section 5), and the bone data (Section 6) are summarized in the Supplementary Information.
Data availability
The datasets generated during the current study are available from the corresponding author upon reasonable request.
Code availability
The machine learning codes used during the current study are available from the corresponding author upon reasonable request.
References
Xia, L. & Breitkopf, P. Recent advances on topology optimization of multiscale nonlinear structures. Arch. Comput. Methods Eng. 24, 227–249 (2017).
Gao, J., Luo, Z., Li, H. & Gao, L. Topology optimization for multiscale design of porous composites with multidomain microstructures. Computer Methods Appl. Mech. Eng. 344, 451–476 (2019).
White, D. A., Arrighi, W. J., Kudo, J. & Watts, S. E. Multiscale topology optimization using neural network surrogate models. Computer Methods Appl. Mech. Eng. 346, 1118–1135 (2019).
Wu, Z., Xia, L., Wang, S. & Shi, T. Topology optimization of hierarchical lattice structures with substructuring. Computer Methods Appl. Mech. Eng. 345, 602–617 (2019).
Xia, L. & Breitkopf, P. Design of materials using topology optimization and energybased homogenization approach in matlab. Struct. Multidiscip. Optim. 52, 1229–1241 (2015).
Cadman, J. E., Zhou, S., Chen, Y. & Li, Q. On design of multifunctional microstructural materials. J. Mater. Sci. 48, 51–66 (2013).
Rodrigues, H., Guedes, J. & Bendsoe, M. Hierarchical optimization of material and structure. Struct. Multidiscip. Optim. 24, 1–10 (2002).
Gibson, I., Rosen, D. W. & Stucker, B. Additive Manufacturing Technologies (Springer, New York, 2015).
Zheng, X. et al. Ultralight, ultrastiff mechanical metamaterials. Science 344, 1373–1377 (2014).
Meza, L. R., Das, S. & Greer, J. R. Strong, lightweight, and recoverable threedimensional ceramic nanolattices. Science 345, 1322–1326 (2014).
Zheng, X. et al. Multiscale metallic metamaterials. Nat. Mater. 15, 1100 (2016).
Meza, L. R. et al. Reexamining the mechanical property space of threedimensional lattice architectures. Acta Mater. 140, 424–432 (2017).
Bauer, J. et al. Nanolattices: an emerging class of mechanical metamaterials. Adv. Mater. 29, 1701850 (2017).
TancogneDejean, T., Diamantopoulou, M., Gorji, M. B., Bonatti, C. & Mohr, D. 3D platelattices: an emerging class of lowdensity metamaterial exhibiting optimal isotropic stiffness. Adv. Mater. 30, 1803334 (2018).
TancogneDejean, T., Li, X., Diamantopoulou, M., Roth, C. C. & Mohr, D. High strain rate response of additivelymanufactured platelattices: experiments and modeling. J. Dyn. Behav. Mater. 5, 361–375 (2019).
Portela, C. M., Greer, J. R. & Kochmann, D. M. Impact of node geometry on the effective stiffness of nonslender threedimensional truss lattice architectures. Extrem. Mech. Lett. 22, 138–148 (2018).
Mateos, A. J., Huang, W., Zhang, Y.W. & Greer, J. R. Discretecontinuum duality of architected materials: failure, flaws, and fracture. Adv. Funct. Mater. 29, 1806772 (2019).
Latture, R. M., Rodriguez, R. X., Holmes, L. R. & Zok, F. W. Effects of nodal fillets and external boundaries on compressive response of an octet truss. Acta Mater. 149, 78–87 (2018).
AlKetan, O. & Abu AlRub, R. K. Multifunctional mechanical metamaterials based on triply periodic minimal surface lattices. Adv. Eng. Mater. 21, 1900524 (2019).
Nguyen, B. D., Han, S. C., Jung, Y. C. & Kang, K. Design of the psurfaced shellular, an ultralow density material with microarchitecture. Comput. Mater. Sci. 139, 162–178 (2017).
Rajagopalan, S. & Robb, R. A. Schwarz meets Schwann: design and fabrication of biomorphic and durataxic tissue engineering scaffolds. Med. Image Anal. 10, 693–712 (2006).
Han, S. C., Choi, J. M., Liu, G. & Kang, K. A microscopic shell structure with Schwarz’s Dsurface. Sci. Rep. 7, 13405 (2017).
Lazarus, A., Florijn, H. C. B. & Reis, P. M. Geometryinduced rigidity in nonspherical pressurized elastic shells. Phys. Rev. Lett. 109, 144301 (2012).
Han, S. C., Lee, J. W. & Kang, K. A new type of low density material: shellular. Adv. Mater. 27, 5506–5511 (2015).
AlKetan, O. et al. Microarchitected stretchingdominated mechanical metamaterials with minimal surface topologies. Adv. Eng. Mater. 20, 1800029 (2018).
Vidyasagar, A., Krödel, S. & Kochmann, D. M. Microstructural patterns with tunable mechanical anisotropy obtained by simulating anisotropic spinodal decomposition. Proc. R. Soc. A Math. Phys. Eng. Sci. 474, 20180535 (2018).
Portela, C. M. et al. Extreme mechanical resilience of selfassembled nanolabyrinthine materials. Proc. Natl Acad. Sci. USA 117, 5686–5693 (2020).
Hsieh, M.T., Endo, B., Zhang, Y., Bauer, J. & Valdevit, L. The mechanical response of cellular materials with spinodal topologies. J. Mech. Phys. Solids 125, 401–419 (2019).
Soyarslan, C., Bargmann, S., Pradas, M. & Weissmüller, J. 3D stochastic bicontinuous microstructures: generation, topology and elasticity. Acta Mater. 149, 326–340 (2018).
Cahn, J. W. On spinodal decomposition. Acta Metall. 9, 795–801 (1961).
Allen, S. In Encyclopedia of Materials: Science and Technology (eds Buschow, K. J.et al.) 8761–8764 (Elsevier, Oxford, 2001).
Miller, M. et al. Spinodal decomposition in FeCr alloys: experimental study at the atomic level and comparison with computer models  I. Introduction and methodology. Acta Metall. Mater. 43, 3385–3401 (1995).
Hodge, A. et al. Scaling equation for yield strength of nanoporous opencell foams. Acta Mater. 55, 1343–1349 (2007).
Erlebacher, J., Aziz, M., Karma, A., Dimitrov, N. & Sieradzki, K. Evolution of nanoporosity in dealloying. Nature 410, 450–453 (2001).
Lee, M. N. & Mohraz, A. Bicontinuous macroporous materials from bijel templates. Adv. Mater. 22, 4836–4841 (2010).
Bates, F. S. et al. Polymeric bicontinuous microemulsions. Phys. Rev. Lett. 79, 849–852 (1997).
Bell, J. R., Chang, K., LópezBarrón, C. R., Macosko, C. W. & Morse, D. C. Annealing of cocontinuous polymer blends: effect of block copolymer molecular weight and architecture. Macromolecules 43, 5024–5032 (2010).
Khaderi, S. et al. The indentation response of nickel nano double gyroid lattices. Extrem. Mech. Lett. 10, 15–23 (2017).
Jinnai, H., Koga, T., Nishikawa, Y., Hashimoto, T. & Hyde, S. T. Curvature determination of spinodal interface in a condensed matter system. Phys. Rev. Lett. 78, 2248–2251 (1997).
Berk, N. F. Scattering properties of the leveledwave model of random morphologies. Phys. Rev. A 44, 5069–5079 (1991).
Teubner, M. Level surfaces of Gaussian random fields and microemulsions. Europhys. Lett. (EPL) 14, 403–408 (1991).
McDevitt, K. M., Thorson, T. J., Botvinick, E. L., Mumm, D. R. & Mohraz, A. Microstructural characteristics of bijeltemplated porous materials. Materialia 7, 100393 (2019).
Hutchinson, J. W. & Thompson, J. M. T. Imperfections and energy barriers in shell buckling. Int. J. Solids Struct. 148–149, 157–168 (2018).
Gross, A., Pantidis, P., Bertoldi, K. & Gerasimidis, S. Correlation between topology and elastic properties of imperfect trusslattice materials. J. Mech. Phys. Solids 124, 577–598 (2019).
Sigmund, O. & Maute, K. Topology optimization approaches. Struct. Multidiscip. Optim. 48, 1031–1055 (2013).
Dong, H.W., Su, X.X., Wang, Y.S. & Zhang, C. Topological optimization of twodimensional phononic crystals based on the finite element method and genetic algorithm. Struct. Multidiscip. Optim. 50, 593–604 (2014).
Mozaffar, M. et al. Deep learning predicts pathdependent plasticity. Proc. Natl Acad. Sci. USA 116, 26414–26420 (2019).
Stainier, L., Leygue, A. & Ortiz, M. Modelfree datadriven methods in mechanics: material data identification and solvers. Comput. Mech. 64, 381–393 (2019).
Sirignano, J. & Spiliopoulos, K. DGM: a deep learning algorithm for solving partial differential equations. J. Comput. Phys. 375, 1339–1364 (2018).
Raissi, M., Perdikaris, P. & Karniadakis, G. Physicsinformed neural networks: a deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. J. Comput. Phys. 378, 686–707 (2019).
Lu, L., Meng, X., Mao, Z. & Karniadakis, G. E. DeepXDE: a deep learning library for solving differential equations. Preprint at https://arxiv.org/abs/1907.04502 (2019).
Zhu, Y., Zabaras, N., Koutsourelakis, P.S. & Perdikaris, P. Physicsconstrained deep learning for highdimensional surrogate modeling and uncertainty quantification without labeled data. J. Computational Phys. 394, 56–81 (2019).
Bessa, M. A., Glowacki, P. & Houlder, M. Bayesian machine learning in metamaterial design: fragile becomes supercompressible. Adv. Mater. 31, 1904845 (2019).
Gu, G. X., Chen, C.T. & Buehler, M. J. De novo composite design based on machine learning algorithm. Extrem. Mech. Lett. 18, 19–28 (2018).
Bessa, M. et al. A framework for datadriven analysis of materials under uncertainty: countering the curse of dimensionality. Computer Methods Appl. Mech. Eng. 320, 633–667 (2017).
Hanakata, P. Z., Cubuk, E. D., Campbell, D. K. & Park, H. S. Accelerated search and design of stretchable graphene kirigami using machine learning. Phys. Rev. Lett. 121, 255304 (2018).
Papadopoulos, V., Soimiris, G., Giovanis, D. & Papadrakakis, M. A neural networkbased surrogate model for carbon nanotubes with geometric nonlinearities. Computer Methods Appl. Mech. Eng. 328, 411–430 (2018).
GómezBombarelli, R. et al. Automatic chemical design using a datadriven continuous representation of molecules. ACS Cent. Sci. 4, 268–276 (2018).
Kiarashinejad, Y., Abdollahramezani, S. & Adibi, A. Deep learning approach based on dimensionality reduction for designing electromagnetic nanostructures. npj Comput. Mater. 6, 12 (2020).
Liu, Z., Zhu, D., Rodrigues, S. P., Lee, K.T. & Cai, W. Generative model for the inverse design of metasurfaces. Nano Lett. 18, 6570–6576 (2018).
Tahersima, M. H. et al. Deep neural network inverse design of integrated photonic power splitters. Sci. Rep. 9, 1368 (2019).
Ma, W., Cheng, F., Xu, Y., Wen, Q. & Liu, Y. Probabilistic representation and inverse design of metamaterials based on a deep generative model with semisupervised learning strategy. Adv. Mater. 31, 1901111 (2019).
Baxter, J. et al. Deep learning and inverse design in plasmonic. In 2019 International Conference on Numerical Simulation of Optoelectronic Devices (NUSOD) 3–4 (IEEE, 2019).
Long, Y., Ren, J., Li, Y. & Chen, H. Inverse design of photonic topological state via machine learning. Appl. Phys. Lett. 114, 181105 (2019).
Malkiel, I. et al. Plasmonic nanostructure design and characterization via deep learning. Light Sci. Appl. 7, 60 (2018).
Cahn, J. W. & Hilliard, J. E. Free energy of a nonuniform system. I. Interfacial free energy. J. Chem. Phys. 28, 258–267 (1958).
Adler, R. J. & Taylor, J. E. Random Fields and Geometry (SpringerVerlag, New York, 2007).
McFadden, G. B., Wheeler, A. A., Braun, R. J., Coriell, S. R. & Sekerka, R. F. Phasefield models for anisotropic interfaces. Phys. Rev. E 48, 2016–2024 (1993).
Vaithyanathan, V., Wolverton, C. & Chen, L. Q. Multiscale modeling of precipitate microstructure evolution. Phys. Rev. Lett. 88, 125503 (2002).
Yu, P. & Du, Q. A variational construction of anisotropic mobility in phasefield simulation. Discret. Continuous Dyn. Syst. B 6, 391 (2006).
Feng, W. Phasefield models of microstructure evolution and new numerical strategies. PhD thesis, The Pennsylvania State Univ. (2007).
Vuijk, H. D., Brader, J. M. & Sharma, A. Effect of anisotropic diffusion on spinodal decomposition. Soft Matter 15, 1319–1326 (2019).
Vidyasagar, A., Tutcuoglu, A. D. & Kochmann, D. M. Deformation patterning in finitestrain crystal plasticity by spectral homogenization with application to magnesium. Computer Methods Appl. Mech. Eng. 335, 584–609 (2018).
Salvalaglio, M., Backofen, R., Bergamaschini, R., Montalenti, F. & Voigt, A. Faceting of equilibrium and metastable nanostructures: a phasefield model of surface diffusion tackling realistic shapes. Cryst. Growth Des. 15, 2787–2794 (2015).
Torabi, S., Lowengrub, J., Voigt, A. & Wise, S. A new phasefield model for strongly anisotropic systems. Proc. R. Soc. A Math. Phys. Eng. Sci. 465, 1337–1359 (2009).
Berryman, J. G. Relationship between specific surface area and spatial correlation functions for anisotropic porous media. J. Math. Phys. 28, 244–245 (1987).
Tsujioka, N., Ishizuka, N., Tanaka, N., Kubo, T. & Hosoya, K. Wellcontrolled 3D skeletal epoxybased monoliths obtained by polymerization induced phase separation. J. Polym. Sci. Part A Polym. Chem. 46, 3272–3281 (2008).
Zhou, N., Bates, F. S. & Lodge, T. P. Mesoporous membrane templated by a polymeric bicontinuous microemulsion. Nano Lett. 6, 2354–2357 (2006).
Triantafyllidis, N., Nestorović, M. D. & Schraad, M. W. Failure surfaces for finitely strained twophase periodic solids under general inplane loading. J. Appl. Mech. 73, 505–515 (2005).
Mullin, T., Deschanel, S., Bertoldi, K. & Boyce, M. C. Pattern transformation triggered by deformation. Phys. Rev. Lett. 99, 084301 (2007).
Bertoldi, K. & Boyce, M. Wave propagation and instabilities in monolithic and periodically structured elastomeric materials undergoing large deformations. Phys. Rev. B 78, 184107 (2008).
Overvelde, J. T. B., Shan, S. & Bertoldi, K. Compaction through buckling in 2d periodic, soft and porous structures: effect of pore shape. Adv. Mater. 24, 2337–2342 (2012).
Li, J., Pallicity, T. D., Slesarenko, V., Goshkoderia, A. & Rudykh, S. Domain formations and pattern transitions via instabilities in soft heterogeneous materials. Adv. Mater. 31, 1807309 (2019).
Yang, N., Tian, Y. & Zhang, D. Novel real function based method to construct heterogeneous porous scaffolds and additive manufacturing for use in medical engineering. Med. Eng. Phys. 37, 1037–1046 (2015).
Yang, N., fei Du, C., Wang, S., Yang, Y. & Zhang, C. Mathematically defined gradient porous materials. Mater. Lett. 173, 136–140 (2016).
Liu, F. et al. Functionally graded porous scaffolds in multiple patterns: new design method, physical and mechanical properties. Mater. Des. 160, 849–860 (2018).
Schwarz, H. A. Gesammelte Mathematische Abhandlungen (Springer, Berlin, Heidelberg, 1890).
Schoen, A. Infinite Periodic Minimal Surfaces Without Selfintersections. NASA technical note (National Aeronautics and Space Administration, 1970).
Bonatti, C. & Mohr, D. Smoothshell metamaterials of cubic symmetry: anisotropic elasticity, yield strength and specific energy absorption. Acta Mater. 164, 301–321 (2019).
Bonatti, C. & Mohr, D. Mechanical performance of additivelymanufactured anisotropic and isotropic smooth shelllattice materials: simulations & experiments. J. Mech. Phys. Solids 122, 1–26 (2019).
Lu, Y., Zhao, W., Cui, Z., Zhu, H. & Wu, C. The anisotropic elastic behavior of the widelyused triplyperiodic minimal surface based scaffolds. J. Mech. Behav. Biomed. Mater. 99, 56–65 (2019).
LeCun, Y., Bengio, Y. & Hinton, G. Deep learning. Nature 521, 436 (2015).
Goodfellow, I., Bengio, Y. & Courville, A. Deep Learning (MIT Press, 2016).
Paszke, A. et al. Pytorch: an imperative style, highperformance deep learning library. In Advances in Neural Information Processing Systems 32 (eds Wallach, H. et al.) 8024–8035 (Curran Associates, Inc., 2019).
Barba, D., Alabort, E. & Reed, R. Synthetic bone: design by additive manufacturing. Acta Biomater. 97, 637–656 (2019).
Alvarez, K. & Nakajima, H. Metallic scaffolds for bone regeneration. Materials 2, 790–832 (2009).
Yan, C., Hao, L., Hussein, A. & Young, P. Ti6Al4V triply periodic minimal surface structures for bone implants fabricated via selective laser melting. J. Mech. Behav. Biomed. Mater. 51, 61–73 (2015).
Arabnejad, S., Johnston, B., Tanzer, M. & Pasini, D. Fully porous 3D printed titanium femoral stem to reduce stressshielding following total hip arthroplasty. J. Orthop. Res. 35, 1774–1783 (2017).
Arabnejad Khanoki, S. & Pasini, D. The fatigue design of a bone preserving hip implant with functionally graded cellular material. J. Med. Devices 7, 020907 (2013).
Oftadeh, R., PerezViloria, M., VillaCamacho, J. C., Vaziri, A. & Nazarian, A. Biomechanics and mechanobiology of trabecular bone: a review. J. Biomech. Eng. 137, 010802 (2015).
Colabella, L., Cisilino, A. P., Häiat, G. & Kowalczyk, P. Mimetization of the elastic properties of cancellous bone via a parameterized cellular material. Biomech. Model. Mechanobiol. 16, 1485–1502 (2017).
Norris, A. Acoustic cloaking theory. Proc. R. Soc. A 464, 2411–2434 (2008).
Siemers, B., Stempien, A., Craven, R., Napiwocki, B. & Crone, W. Biomaterials with functionally graded stiffness. FASEB J. 33, 785.9 (2019).
Author information
Authors and Affiliations
Contributions
S.K. and D.M.K. conceived the research. S.K. developed the anisotropic spinodoid topology theory. S.K. and S.T. conceptualized and developed the inverse design framework. L.Z. performed training and optimization of the neural networks. S.K. and D.M.K. wrote the paper.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Kumar, S., Tan, S., Zheng, L. et al. Inversedesigned spinodoid metamaterials. npj Comput Mater 6, 73 (2020). https://doi.org/10.1038/s4152402003416
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s4152402003416
Further reading

Discovering plasticity models without stress data
npj Computational Materials (2022)

Generation of Tubular and Membranous Shape Textures with Curvature Functionals
Journal of Mathematical Imaging and Vision (2022)

Remixing functionally graded structures: datadriven topology optimization with multiclass shape blending
Structural and Multidisciplinary Optimization (2022)

Machine learning assisted design of new lattice core for sandwich structures with superior load carrying capacity
Scientific Reports (2021)