Abstract
Advances in data-driven design and additive manufacturing have substantially accelerated the development of truss metamaterials—three-dimensional truss networks—offering exceptional mechanical properties at a fraction of the weight of conventional solids. While existing design approaches can generate metamaterials with target linear properties, such as elasticity, they struggle to capture complex nonlinear behaviours and to incorporate geometric and manufacturing constraints—including defects—crucial for engineering applications. Here we present GraphMetaMat, an autoregressive graph-based framework capable of designing three-dimensional truss metamaterials with programmable nonlinear responses, originating from hard-to-capture physics such as buckling, frictional contact and wave propagation, along with arbitrary geometric constraints and defect tolerance. Integrating graph neural networks, physics biases, imitation learning, reinforcement learning and tree search, we show that GraphMetaMat can target stress–strain curves across four orders of magnitude and vibration transmission responses with varying attenuation gaps, unattainable by previous methods. We further demonstrate the use of GraphMetaMat for the inverse design of novel material topologies with tailorable high-energy absorption and vibration damping that outperform existing polymeric foams and phononic crystals, potentially suitable for protective equipment and electric vehicles. This work sets the stage for the automatic design of manufacturable, defect-tolerant materials with on-demand functionalities.
This is a preview of subscription content, access via your institution
Access options
Access Nature and 54 other Nature Portfolio journals
Get Nature+, our best-value online-access subscription
$32.99 / 30 days
cancel any time
Subscribe to this journal
Receive 12 digital issues and online access to articles
$119.00 per year
only $9.92 per issue
Buy this article
- Purchase on SpringerLink
- Instant access to the full article PDF.
USD 39.95
Prices may be subject to local taxes which are calculated during checkout





Similar content being viewed by others
Data availability
All training and test datasets, benchmark models and data are available via figshare at https://doi.org/10.6084/m9.figshare.28773806 (ref. 72).
Code availability
The code developed in this study is available via GitHub at https://github.com/marcomau06/GraphMetaMat and via Zenodo at https://doi.org/10.5281/ZENODO.15498444 (ref. 73).
References
Cui, H. et al. Design and printing of proprioceptive three-dimensional architected robotic metamaterials. Science 376, 1287–1293 (2022).
Bauer, J. et al. Nanolattices: an emerging class of mechanical metamaterials. Adv. Mater. 29, 1701850 (2017).
Filipov, E. T., Tachi, T. & Paulino, G. H. Origami tubes assembled into stiff, yet reconfigurable structures and metamaterials. Proc. Natl Acad. Sci. USA 112, 12321–12326 (2015).
Portela, C. M. et al. Supersonic impact resilience of nanoarchitected carbon. Nat. Mater. 20, 1491–1497 (2021).
Schaedler, T. A. et al. Ultralight metallic microlattices. Science 334, 962–965 (2011).
Xia, X., Spadaccini, C. M. & Greer, J. R. Responsive materials architected in space and time. Nat. Rev. Mater. 7, 683–701 (2022).
Ashby, M. F. The properties of foams and lattices. Phil. Trans. R. Soc. A 364, 15–30 (2006).
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 three-dimensional ceramic nanolattices. Science 345, 1322–1326 (2014).
Meier, T. et al. Obtaining auxetic and isotropic metamaterials in counterintuitive design spaces: an automated optimization approach and experimental characterization. npj Comput. Mater. 10, 3 (2024).
Xu, S., Shen, J., Zhou, S., Huang, X. & Xie, Y. M. Design of lattice structures with controlled anisotropy. Mater. Des. 93, 443–447 (2016).
Cui, H. et al. Three-dimensional printing of piezoelectric materials with designed anisotropy and directional response. Nat. Mater. 18, 234–241 (2019).
Cheung, K. C. & Gershenfeld, N. Reversibly assembled cellular composite materials. Science 341, 1219–1221 (2013).
Gregg, C. E. et al. Ultralight, strong, and self-reprogrammable mechanical metamaterials. Sci. Robot. 9, eadi2746 (2024).
Woodman, S. J., Moore, A., Tagare, S., Cheung, K. & Kramer-Bottiglio, R. Deployable cuboctahedrons for adaptive space infrastructure. In 2024 IEEE 7th International Conference on Soft Robotics (RoboSoft) 75–81 (IEEE, 2024); https://doi.org/10.1109/RoboSoft60065.2024.10521988
Huang, Z., Panozzo, D. & Zorin, D. Optimized shock-protecting microstructures. ACM Trans. Graph. 43, 181 (2024).
Yang, D. et al. Buckling of elastomeric beams enables actuation of soft machines. Adv. Mater. 27, 6323–6327 (2015).
Gerard, N. J. et al. Three-dimensional trampolinelike behavior in an ultralight elastic metamaterial. Phys. Rev. Appl. 16, 024015 (2021).
Bastek, J.-H., Kumar, S., Telgen, B., Glaesener, R. N. & Kochmann, D. M. Inverting the structure–property map of truss metamaterials by deep learning. Proc. Natl Acad. Sci. USA 119, e2111505119 (2022).
Kumar, S., Tan, S., Zheng, L. & Kochmann, D. M. Inverse-designed spinodoid metamaterials. npj Comput. Mater. 6, 73 (2020).
Li, B. et al. Computational discovery of microstructured composites with optimal stiffness–toughness trade-offs. Sci. Adv. 10, eadk4284 (2024).
Liu, H. et al. De novo atomistic discovery of disordered mechanical metamaterials by machine learning. Adv. Sci. 11, 2304834 (2024).
Luan, S., Chen, E., John, J. & Gaitanaros, S. A data-driven framework for structure–property correlation in ordered and disordered cellular metamaterials. Sci. Adv. 9, eadi1453 (2023).
Mao, Y., He, Q. & Zhao, X. Designing complex architectured materials with generative adversarial networks. Sci. Adv. 6, eaaz4169 (2020).
Shen, S. C. & Buehler, M. J. Nature-inspired architected materials using unsupervised deep learning. Commun. Eng. 1, 37 (2022).
Van’T Sant, S., Thakolkaran, P., Martínez, J. & Kumar, S. Inverse-designed growth-based cellular metamaterials. Mech. Mater. 182, 104668 (2023).
Zheng, L., Kumar, S. & Kochmann, D. M. Data-driven topology optimization of spinodoid metamaterials with seamlessly tunable anisotropy. Comput. Meth. Appl. Mech. Eng. 383, 113894 (2021).
Bastek, J.-H. & Kochmann, D. M. Inverse design of nonlinear mechanical metamaterials via video denoising diffusion models. Nat. Mach. Intell. 5, 1466–1475 (2023).
Maurizi, M., Gao, C. & Berto, F. Inverse design of truss lattice materials with superior buckling resistance. npj Comput. Mater. 8, 247 (2022).
Lew, A. J., Jin, K. & Buehler, M. J. Designing architected materials for mechanical compression via simulation, deep learning, and experimentation. npj Comput. Mater. 9, 80 (2023).
Thakolkaran, P., Espinal, M. A., Dhulipala, S., Kumar, S. & Portela, C. M. Experiment-informed finite-strain inverse design of spinodal metamaterials. Extreme Mech. Lett. 74, 102274 (2025).
Indurkar, P. P., Karlapati, S., Shaikeea, A. J. D. & Deshpande, V. S. Predicting deformation mechanisms in architected metamaterials using GNN. Preprint at https://arxiv.org/abs/2202.09427 (2022).
Zhou, Z., Kearnes, S., Li, L., Zare, R. N. & Riley, P. Optimization of molecules via deep reinforcement learning. Sci. Rep. 9, 10752 (2019).
Simm, G. N. C., Pinsler, R., Csányi, G. & Hernández-Lobato, J. M. Symmetry-aware actor-critic for 3D molecular design. Preprint at https://arxiv.org/abs/2011.12747 (2020).
Xu, M., Powers, A., Dror, R., Ermon, S. & Leskovec, J. Geometric latent diffusion models for 3D molecule generation. In Proc. 40th International Conference on Machine Learning Vol. 202 (eds Krause, A. et al.) 38592–38610 (PMLR, 2023).
Zhou, C., Wang, X. & Zhang, M. Unifying generation and prediction on graphs with latent graph diffusion. Preprint at https://arxiv.org/abs/2402.02518 (2024).
Zeni, C. et al. A generative model for inorganic materials design. Nature 639, 624–632 (2025).
Du, W. et al. Automatic truss design with reinforcement learning. In Proc. 32nd International Joint Conference on Artificial Intelligence 3659–3667 (International Joint Conferences on Artificial Intelligence Organization, 2023); https://doi.org/10.24963/ijcai.2023/407
Luo, R., Wang, Y., Liu, Z., Xiao, W. & Zhao, X. A reinforcement learning method for layout design of planar and spatial trusses using kernel regression. Appl. Sci. 12, 8227 (2022).
Kupwiwat, C., Hayashi, K. & Ohsaki, M. Multi-objective optimization of truss structure using multi-agent reinforcement learning and graph representation. Eng. Appl. Artif. Intell. 129, 107594 (2024).
Dold, D. & Aranguren Van Egmond, D. Differentiable graph-structured models for inverse design of lattice materials. Cell Rep. Phys. Sci. 4, 101586 (2023).
Zheng, X., Zhang, X., Chen, T. & Watanabe, I. Deep learning in mechanical metamaterials: from prediction and generation to inverse design. Adv. Mater. 35, 2302530 (2023).
Lee, D. et al. Data‐driven design for metamaterials and multiscale systems: a review. Adv. Mater. 36, 2305254 (2024).
Zheng, X., Chen, T.-T., Guo, X., Samitsu, S. & Watanabe, I. Controllable inverse design of auxetic metamaterials using deep learning. Mater. Des. 211, 110178 (2021).
Zheng, X., Chen, T.-T., Jiang, X., Naito, M. & Watanabe, I. Deep-learning-based inverse design of three-dimensional architected cellular materials with the target porosity and stiffness using voxelized Voronoi lattices. Sci. Technol. Adv. Mater. 24, 2157682 (2023).
Wang, L. et al. Deep generative modeling for mechanistic-based learning and design of metamaterial systems. Comput. Meth. Appl. Mech. Eng. 372, 113377 (2020).
Yang, Y. et al. Guided diffusion for fast inverse design of density-based mechanical metamaterials. Preprint at https://arxiv.org/abs/2401.13570 (2024).
Wang, H. et al. GraphGAN: Graph representation learning with generative adversarial nets. In Proc. 32nd AAAI Conference on Artificial Intelligence 2508–2515 (AAAI, 2018).
Liu, Q., Allamanis, M., Brockschmidt, M. & Gaunt, A. L. Constrained graph variational autoencoders for molecule design. In Proc. 32nd International Conference on Neural Information Processing Systems (eds Bengio, S. et al.) 7806–7815 (Curran Associates, 2019).
Ha, C. S. et al. Rapid inverse design of metamaterials based on prescribed mechanical behavior through machine learning. Nat. Commun. 14, 5765 (2023).
Zheng, L., Karapiperis, K., Kumar, S. & Kochmann, D. M. Unifying the design space and optimizing linear and nonlinear truss metamaterials by generative modeling. Nat. Commun. 14, 7563 (2023).
Xu, K., Hu, W., Leskovec, J. & Jegelka, S. How powerful are graph neural networks? Preprint at https://arxiv.org/abs/1810.00826 (2018).
Lew, A. J. & Buehler, M. J. Single-shot forward and inverse hierarchical architected materials design for nonlinear mechanical properties using an Attention-Diffusion model. Mater. Today 64, 10–20 (2023).
Liu, K., Sun, R. & Daraio, C. Growth rules for irregular architected materials with programmable properties. Science 377, 975–981 (2022).
Panetta, J. et al. Elastic textures for additive fabrication. ACM Trans. Graph. 34, 135 (2015).
Makatura, L. et al. Procedural metamaterials: a unified procedural graph for metamaterial design. ACM Trans. Graph. 42, 168 (2023).
Maurizi, M., Gao, C. & Berto, F. Predicting stress, strain and deformation fields in materials and structures with graph neural networks. Sci Rep. 12, 21834 (2022).
Schulman, J., Wolski, F., Dhariwal, P., Radford, A. & Klimov, O. Proximal policy optimization algorithms. Preprint at https://arxiv.org/abs/1707.06347 (2017).
Huang, G. et al. Snapshot Ensembles: train 1, get M for free. Preprint at https://arxiv.org/abs/1704.00109 (2017).
Pasini, D. & Guest, J. K. Imperfect architected materials: mechanics and topology optimization. MRS Bull. 44, 766–772 (2019).
Glaesener, R. N. et al. Predicting the influence of geometric imperfections on the mechanical response of 2D and 3D periodic trusses. Acta Mater. 254, 118918 (2023).
Ziemke, P. et al. The defect sensitivity of brittle truss-based metamaterials. Mater. Des. 239, 112776 (2024).
Symons, D. D. & Fleck, N. A. The imperfection sensitivity of isotropic two-dimensional elastic lattices. J. Appl. Mech. 75, 051011 (2008).
Meek, B., Van Der Auwear, H. & De Langhe, K. Challenges in NVH for electric vehicles. In Proc. FISITA 2012 World Automotive Congress Vol. 191 (eds SAE-China & FISITA) 675–685 (Springer, 2013).
Muhammad & Lim, C. W. Phononic metastructures with ultrawide low frequency three-dimensional bandgaps as broadband low frequency filter. Sci Rep. 11, 7137 (2021).
Meyer, P. P., Bonatti, C., Tancogne-Dejean, T. & Mohr, D. Graph-based metamaterials: deep learning of structure-property relations. Mater. Des. 223, 111175 (2022).
Deng, B. et al. Inverse design of mechanical metamaterials with target nonlinear response via a neural accelerated evolution strategy. Adv. Mater. 34, 2206238 (2022).
Yang, R., Sun, X. & Narasimhan, K. A Generalized algorithm for multi-objective reinforcement learning and policy adaptation. In Proc. 33rd International Conference on Neural Information Processing Systems (eds Wallach, H. M. et al.) 14636–14647 (Curran Associates, 2019).
Buterez, D., Janet, J. P., Kiddle, S. J., Oglic, D. & Lió, P. Transfer learning with graph neural networks for improved molecular property prediction in the multi-fidelity setting. Nat. Commun. 15, 1517 (2024).
Boley, J. W. et al. Shape-shifting structured lattices via multimaterial 4D printing. Proc. Natl Acad. Sci. USA 116, 20856–20862 (2019).
Dorléans, V., Delille, R., Notta-Cuvier, D., Lauro, F. & Michau, E. Time–temperature superposition in viscoelasticity and viscoplasticity for thermoplastics. Polym. Test. 101, 107287 (2021).
Maurizi, M. Designing metamaterials with programmable nonlinear responses and geometric constraints in graph space. figshare https://doi.org/10.6084/m9.figshare.28773806 (2025).
Maurizi, M. & Xu, D. marcomau06/GraphMetaMat: GraphMetaMat. Zenodo https://doi.org/10.5281/ZENODO.15498444 (2025).
Acknowledgements
We thank O. Chen for her assistance in characterizing the commercial chest protector foams, and H. Lu for his help in setting up the vibration experiments. We also used OpenAI’s ChatGPT (GPT-4o) to assist in proofreading portions of the abstract and main text, with subsequent human revision and editing. We acknowledge support from the following funding sources: NSF DMREF grant 2119643 (M.M., D.X., D.Y., D.H., A.S., M.B., W.W. and X.R.Z.); NSF grant 1829071 (D.X. and W.W.); NSF grant 2106859 (W.W.); NSF grant 2312501 (D.X. and Y.S.); ONR grant N00014-23-1-2797 (X.R.Z.); DARPA grant HR00112490370 (Y.S.); and NSF DMREF grant 2119545 (Y.-T.W., M.O. and Y.J.).
Author information
Authors and Affiliations
Contributions
X.R.Z., M.M., W.W., Y.S., M.B. and Y.J. contributed to the conceptualization of the study. The methodology was developed by M.M., D.X., Y.-T.W., D.Y., X.R.Z., W.W., Y.S., M.B. and Y.J. M.M., D.X., Y.-T.W., D.Y., D.H., M.O. and A.S. carried out the investigation. M.M., Y.-T.W. and D.Y. led the visualization efforts. Funding was acquired by X.R.Z., W.W., Y.S., M.B. and Y.J. Project administration was carried out by X.R.Z., M.M., W.W., Y.S., M.B. and Y.J., with supervision provided by X.R.Z., W.W., Y.S., M.B. and Y.J. M.M. and D.X. wrote the original draft of the manuscript, and M.M., X.R.Z., D.X., Y.-T.W., D.Y., M.O., W.W., Y.S. and Y.J. contributed to the review and editing process.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Nature Machine Intelligence thanks Xiaoyang Zheng, Jan-Hendrik Bastek and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Extended data
Extended Data Fig. 1 Schematic of the policy network (top) and forward model (bottom).
The physics bias for stress predictions is encoded in the ‘Magnitude Decoder’ of the forward model, predicting the coefficients C and n of the power-scaling law, \({y}_{max}={C}_{\rho }^{-n}\), with the relative density \(\bar{\rho }\).
Extended Data Fig. 2 Ablation study to quantify the impact of search and policy training.
Distribution of the relative error (NMAE) for stress-strain inverse design on the (a) 90:5:5 split test set, (b) user-defined target curves, and (c) energy absorbing-oriented target curves. Distribution of the accuracy for wave transmission inverse design on the (d) 90:5:5 split test set, (e) user-defined target sequences, and (f) noise control-oriented target responses. The relative error and accuracy are computed between the predicted responses of the generated metamaterials and the target responses. These results demonstrate how all components, from IL to RL and MCTS, contribute to the performance of our model.
Extended Data Fig. 3 Impact of printability constraint.
(a) Distribution of the relative error (NMAE) between the target and predicted test stress-strain responses, with and without printability constraint. (b) Distribution of the degree of support, Rsupp of the generated graphs on the test stress-strain target responses, with and without printability constraint. (c) Two examples of generated structures with and without printability constraint along with the corresponding FE-reconstructed stress-strain curves. These results reveal that, for certain target responses, printable structures can outperform non-printable truss networks. Overall, GraphMetaMat demonstrates the new capability of encoding manufacturing constraints, and offers flexibility in balancing performance and manufacturability constraints, as highlighted in (a) and (b).
Extended Data Fig. 4 Inverse design of representative unseen nonlinear responses (known curve space).
(a) Target stress-strain curves from the test set. NMAE values are computed between the target and FE-reconstructed curves. Stress is normalized by the constitutive material’s Young’s modulus Es. (b) Target transmission curves from the test set. Accuracy values are computed between the target and FE-reconstructed curves using a transmission threshold of Tth = −10 dB. In both (a) and (b), predictions are shown as mean curves, with shaded regions denoting the estimated uncertainty from the forward model, defined as the range (minimum to maximum) across five snapshots using the snapshot ensemble technique59 (n = 5).
Extended Data Fig. 6 Example of defect-aware inverse design.
(a) Target and predicted defect-free stress-strain curves of five generated designs. (b) Defect sensitivity of the five designs, defined as \(1-\bar{J}\), where \(\bar{J}\) represents the average curve similarity between pristine and flawed design responses across different defect parameters, such as the fraction of broken struts. Error bars represent the estimated uncertainty from the forward model, defined as the range (minimum to maximum) across five snapshots using the snapshot ensemble technique59 (n = 5). (c) Design 2 identified as the metamaterial with optimal defect tolerance.
Supplementary information
Supplementary Information (download PDF )
Supplementary Text, Figs. 1–57, Tables 1–11 and References 1–48.
Supplementary Video 1 (download MP4 )
Graph generation for a target nonlinear stress–strain response with linear strain hardening during RL training. The target curve is from the validation dataset.
Supplementary Video 2 (download MP4 )
Graph generation for a target nonlinear stress–strain response with nonlinear strain hardening during RL training. The target curve is from the validation dataset.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Maurizi, M., Xu, D., Wang, YT. et al. Designing metamaterials with programmable nonlinear responses and geometric constraints in graph space. Nat Mach Intell 7, 1023–1036 (2025). https://doi.org/10.1038/s42256-025-01067-x
Received:
Accepted:
Published:
Version of record:
Issue date:
DOI: https://doi.org/10.1038/s42256-025-01067-x
This article is cited by
-
Design framework for programmable three-dimensional woven metamaterials
Nature Communications (2026)
-
Symmetry-driven artificial phononic media
Nature Reviews Materials (2025)


