Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

  • Article
  • Published:

Engineering morphogenesis of cell clusters with differentiable programming

A preprint version of the article is available at arXiv.

Abstract

Understanding the fundamental rules of organismal development is a central, unsolved problem in biology. These rules dictate how individual cellular actions coordinate over macroscopic numbers of cells to grow complex structures with exquisite functionality. We use recent advances in automatic differentiation to discover local interaction rules and genetic networks that yield emergent, systems-level characteristics in a model of development. We consider a growing tissue with cellular interactions mediated by morphogen diffusion, cell adhesion and mechanical stress. Each cell has an internal genetic network that is used to make decisions based on the cell’s local environment. Here we show that one can learn the parameters governing cell interactions in the form of interpretable genetic networks for complex developmental scenarios. When combined with recent experimental advances measuring spatio-temporal dynamics and gene expression of cells in a growing tissue, the methodology outlined here offers a promising path to unraveling the cellular bases of development.

This is a preview of subscription content, access via your institution

Access options

Buy this article

USD 39.95

Prices may be subject to local taxes which are calculated during checkout

Fig. 1: Modeling and optimization framework.
Fig. 2: Chemical control of directional proliferation.
Fig. 3: Chemical regulation of homeostasis.
Fig. 4: Mechano-chemical regulation of homogeneous growth.

Similar content being viewed by others

Data availability

No further data are needed to reproduce this study. Source data are provided with this manuscript.

Code availability

The Jax-Morph library is available at https://github.com/fmottes/jax-morph (ref. 49). Code, as well as the instructions to reproduce the results from this work, are available from the ‘paper-natcompsci-2025’ branch of the GitHub repository49, and on Zenodo30.

References

  1. Rubenstein, M., Cornejo, A. & Nagpal, R. Programmable self-assembly in a thousand-robot swarm. Science 345, 795–799 (2014).

    Article  Google Scholar 

  2. Collinet, C. & Lecuit, T. Programmed and self-organized flow of information during morphogenesis. Nat. Rev. Mol. Cell Biol. 22, 245–265 (2021).

    Article  Google Scholar 

  3. Davies, J. Using synthetic biology to explore principles of development. Development144, 1146–1158 (2017).

    Article  Google Scholar 

  4. Velazquez, J. J., Su, E., Cahan, P. & Ebrahimkhani, M. R. Programming Morphogenesis through systems and synthetic biology. Trends Biotechnol. 36, 415–429 (2018).

    Article  Google Scholar 

  5. Ma, Y. et al. Synthetic mammalian signaling circuits for robust cell population control. Cell 185, 967–979.e12 (2022).

    Article  Google Scholar 

  6. Toda, S. et al. Engineering synthetic morphogen systems that can program multicellular patterning. Science 370, 327–331 (2020).

    Article  Google Scholar 

  7. Lancaster, M. A. et al. Guided self-organization and cortical plate formation in human brain organoids. Nat. Biotechnol. 35, 659–666 (2017).

    Article  Google Scholar 

  8. Lewis, A., Keshara, R., Kim, Y. H. & Grapin-Botton, A. Self-organization of organoids from endoderm-derived cells. J. Mol. Med. 99, 449–462 (2021).

    Article  Google Scholar 

  9. Brassard, J. A. & Lutolf, M. P. Engineering stem cell self-organization to build better organoids. Cell Stem Cell 24, 860–876 (2019).

    Article  Google Scholar 

  10. Sthijns, M. M. J. P. E., LaPointe, V. L. S. & van Blitterswijk, C. A. Building complex life through self-organization. Tissue Eng. A 25, 1341–1346 (2019).

    Article  Google Scholar 

  11. Werner, S., Vu, H. T.-K. & Rink, J. C. Self-organization in development, regeneration and organoids. Cur. Opin. Cell Biol. 44, 102–109 (2017).

    Article  Google Scholar 

  12. Hofer, M. & Lutolf, M. P. Engineering organoids. Nat. Rev. Mater. 6, 402–420 (2021).

    Article  Google Scholar 

  13. François, P. & Hakim, V. Design of genetic networks with specified functions by evolution in silico. Proc. Natl. Acad. Sci. USA 101, 580–585 (2004).

    Article  Google Scholar 

  14. François, P., Hakim, V. & Siggia, E. D. Deriving structure from evolution: metazoan segmentation. Mol. Syst. Biol. 3, 154 (2007).

    Article  Google Scholar 

  15. Osborne, J. M., Fletcher, A. G., Pitt-Francis, J. M., Maini, P. K. & Gavaghan, D. J. Comparing individual-based approaches to modelling the self-organization of multicellular tissues. PLoS Comput. Biol. 13, e1005387 (2017).

    Article  Google Scholar 

  16. Runser, S., Vetter, R. & Iber, D. SimuCell3D: three-dimensional simulation of tissue mechanics with cell polarization. Nat. Comput. Sci. 4, 299–309 (2024).

    Article  Google Scholar 

  17. Anil, R. et al. PaLM 2 technical report. Preprint at https://arxiv.org/abs/2305.10403 (2023).

  18. Brown, T. et al. Language models are few-shot learners. In 34th Conference on Neural Information Processing Systems https://papers.nips.cc/paper_files/paper/2020/file/1457c0d6bfcb4967418bfb8ac142f64a-Paper.pdf (NeurIPS, 2020).

  19. Goodrich, C. P., King, E. M., Schoenholz, S. S., Cubuk, E. D. & Brenner, M. P. Designing self-assembling kinetics with differentiable statistical physics models. Proc. Natl Acad. Sci. USA 118, e2024083118 (2021).

    Article  Google Scholar 

  20. Bar-Sinai, Y., Hoyer, S., Hickey, J. & Brenner, M. P. Learning data-driven discretizations for partial differential equations. Proc. Natl Acad. Sci. USA 116, 15344–15349 (2019).

    Article  MathSciNet  Google Scholar 

  21. Engel, M. C., Smith, J. A. & Brenner, M. P. Optimal control of nonequilibrium systems through automatic differentiation. Phys. Rev. X 13, 041032 (2023).

    Google Scholar 

  22. Vargas-Hernández, R. A., Chen, R. T. Q., Jung, K. A. & Brumer, P. Fully differentiable optimization protocols for non-equilibrium steady states. New J. Phys. 23, 123006 (2021).

    Article  MathSciNet  Google Scholar 

  23. Mordvintsev, A., Randazzo, E., Niklasson, E. & Levin, M. Growing Neural Cellular Automata. Distill 5, e23 (2020).

    Article  Google Scholar 

  24. Hiscock, T. W. Adapting machine-learning algorithms to design gene circuits. BMC Bioinformatics 20, 214 (2019).

    Article  Google Scholar 

  25. Koyama, H. et al. Effective mechanical potential of cell–cell interaction explains three-dimensional morphologies during early embryogenesis. PLOS Comput. Biol. 19, e1011306 (2023).

    Article  Google Scholar 

  26. Bradbury, J. et al. JAX: composable transformations of Python+NumPy programs. GitHub http://github.com/jax-ml/jax (2018).

  27. Kidger, P. & Garcia, C. Equinox: neural networks in JAX via callable PyTrees and filtered transformations. In Differentiable Programming workshop at Neural Information Processing Systems 2021 https://neurips.cc/virtual/2021/workshop/21882#wse-detail-35230 (2021).

  28. Schoenholz, S. S. & Cubuk, E. D. JAX M.D. A framework for differentiable physics. J. Stat. Mech. https://doi.org/10.1088/1742-5468/ac3ae9 (2020).

  29. Sutton, R. S. & Barto, A. G. Reinforcement Learning: An Introduction 2nd edn (MIT Press, 2018).

  30. Mottes, F. & Deshpande, R. Jax-Morph v0.3.0—engineering morphogenesis of cell clusters with differentiable programming. Zenodo https://doi.org/10.5281/zenodo.15531406 (2025).

  31. Kingma, D. P. & Ba, J. Adam: a method for stochastic optimization. Preprint at https://arxiv.org/abs/1412.6980 (2017).

  32. Guo, Y., Nitzan, M. & Brenner, M. P. Programming cell growth into different cluster shapes using diffusible signals. PLoS Comput. Biol. 17, e1009576 (2021).

    Article  Google Scholar 

  33. Darras, S. et al. Anteroposterior axis patterning by early canonical wnt signaling during hemichordate development. PLoS Biol. 16, e2003698 (2018).

    Article  Google Scholar 

  34. Lam, C. et al. Parameterized computational framework for the description and design of genetic circuits of morphogenesis based on contact-dependent signaling and changes in cell-cell adhesion. ACS Synth. Biol. 11, 1417–1439 (2022).

    Article  Google Scholar 

  35. Courte, J. et al. Programming the elongation of mammalian cell aggregates with synthetic gene circuits. Preprint at bioRxiv https://doi.org/10.1101/2024.12.11.627621 (2024).

  36. Boehm, B. et al. The role of spatially controlled cell proliferation in limb bud morphogenesis. PLoS Biol. 8, e1000420 (2010).

    Article  Google Scholar 

  37. Hicks-Berthet, J. et al. Yap/taz inhibit goblet cell fate to maintain lung epithelial homeostasis. Cell Rep. 36, 109347 (2021).

    Article  Google Scholar 

  38. Kim, J. M., Lin, C., Stavre, Z., Greenblatt, M. B. & Shim, J. H. Osteoblast-osteoclast communication and bone homeostasis. Cells 9, 2073 (2020).

    Article  Google Scholar 

  39. Zhou, X. et al. Circuit design features of a stable two-cell system. Cell 172, 744–757.e17 (2018).

    Article  Google Scholar 

  40. Saiz, N. et al. Growth-factor-mediated coupling between lineage size and cell fate choice underlies robustness of mammalian development. eLife 9, e56079 (2020).

    Article  Google Scholar 

  41. Raina, D. et al. Cell-cell communication through FGF4 generates and maintains robust proportions of differentiated cell types in embryonic stem cells. Development 148, dev199926 (2021).

    Article  Google Scholar 

  42. Agarwal, P. & Zaidel-Bar, R. Mechanosensing in embryogenesis. Curr. Opin. Cell Biol. 68, 1–9 (2021).

    Article  Google Scholar 

  43. Irvine, K. D. & Shraiman, B. I. Mechanical control of growth: ideas, facts and challenges. Development 144, 4238–4248 (2017).

    Article  Google Scholar 

  44. Trinh, D.-C. et al. How mechanical forces shape plant organs. Curr. Biol. 31, R143–R159 (2021).

    Article  Google Scholar 

  45. LeGoff, L., Rouault, H. & Lecuit, T. A global pattern of mechanical stress polarizes cell divisions and cell shape in the growing Drosophila wing disc. Development 140, 4051–4059 (2013).

    Article  Google Scholar 

  46. Shraiman, B. I. Mechanical feedback as a possible regulator of tissue growth. Proc. Natl Acad. Sci. USA 102, 3318–3323 (2005).

    Article  Google Scholar 

  47. Hufnagel, L., Teleman, A. A., Rouault, H., Cohen, S. M. & Shraiman, B. I. On the mechanism of wing size determination in fly development. Proc. Natl Acad. Sci. USA 104, 3835–3840 (2007).

    Article  Google Scholar 

  48. Tripathi, B. K. & Irvine, K. D. The wing imaginal disc. Genetics 220, iyac020 (2022).

    Article  Google Scholar 

  49. fmottes/jax-morph. GitHub https://github.com/fmottes/jax-morph (2025).

Download references

Acknowledgements

This work is dedicated to the memory of Alma Dal Co. We thank the members of the Brenner Group, as well as the members of the former Dal Co Group for insightful discussions. We thank B. Shraiman and D. Cislo for insightful discussions. R.D. thanks H. Turlier for helpful discussions. This work was supported by the Office of Naval Research through grant nos. ONR N00014-17-1-3029, ONR N00014-23-1-2654 and the NSF AI Institute of Dynamic Systems (2112085).

Author information

Authors and Affiliations

Authors

Contributions

A.D.C., M.P.B., F.M. and R.D. designed the research. F.M. and R.D. developed the code and performed the research. R.D., F.M. and A.-D.V. performed computational experiments. F.M. and R.D. produced and interpreted the results. A.D.C. and M.P.B. supervised the research. R.D., F.M. and M.P.B. wrote the paper.

Corresponding authors

Correspondence to Ramya Deshpande, Francesco Mottes or Michael P. Brenner.

Ethics declarations

Competing interests

M.P.B. is an employee of Google Research.

Peer review

Peer review information

Nature Computational Science thanks the anonymous reviewer(s) for their contribution to the peer review of this work. Primary Handling Editor: Ananya Rastogi, in collaboration with the Nature Computational Science team. Peer reviewer reports are available.

Additional information

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

Supplementary Information

Supplementary Figs. 1–7, Table 1, Methods and Discussion.

Reporting Summary

Peer Review file

Source data

Source Data Fig. 2

Statistical source data (single csv file).

Source Data Fig. 3

Statistical source data (one csv per panel).

Source Data Fig. 4

Statistical source data (one csv per panel).

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.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Deshpande, R., Mottes, F., Vlad, AD. et al. Engineering morphogenesis of cell clusters with differentiable programming. Nat Comput Sci 5, 875–883 (2025). https://doi.org/10.1038/s43588-025-00851-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • Version of record:

  • Issue date:

  • DOI: https://doi.org/10.1038/s43588-025-00851-4

Search

Quick links

Nature Briefing AI and Robotics

Sign up for the Nature Briefing: AI and Robotics newsletter — what matters in AI and robotics research, free to your inbox weekly.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing: AI and Robotics