IDEAS home Printed from https://ideas.repec.org/a/nat/nature/v643y2025i8074d10.1038_s41586-025-09029-4.html
   My bibliography  Save this article

Whole-body physics simulation of fruit fly locomotion

Author

Listed:
  • Roman Vaxenburg

    (HHMI Janelia Research Campus)

  • Igor Siwanowicz

    (HHMI Janelia Research Campus)

  • Josh Merel

    (Fauna Robotics)

  • Alice A. Robie

    (HHMI Janelia Research Campus)

  • Carmen Morrow

    (HHMI Janelia Research Campus)

  • Guido Novati

    (Google DeepMind)

  • Zinovia Stefanidi

    (HHMI Janelia Research Campus
    Tübingen University and Tübingen AI Center)

  • Gert-Jan Both

    (HHMI Janelia Research Campus)

  • Gwyneth M. Card

    (HHMI Janelia Research Campus
    Columbia University)

  • Michael B. Reiser

    (HHMI Janelia Research Campus)

  • Matthew M. Botvinick

    (Google DeepMind
    University College London)

  • Kristin M. Branson

    (HHMI Janelia Research Campus)

  • Yuval Tassa

    (Google DeepMind)

  • Srinivas C. Turaga

    (HHMI Janelia Research Campus)

Abstract

The body of an animal influences how its nervous system generates behaviour1. Accurately modelling the neural control of sensorimotor behaviour requires an anatomically detailed biomechanical representation of the body. Here we introduce a whole-body model of the fruit fly Drosophila melanogaster in a physics simulator2. Designed as a general-purpose framework, our model enables the simulation of diverse fly behaviours, including both terrestrial and aerial locomotion. We validate its versatility by replicating realistic walking and flight behaviours. To support these behaviours, we develop phenomenological models for fluid and adhesion forces. Using data-driven, end-to-end reinforcement learning3,4, we train neural network controllers capable of generating naturalistic locomotion5–7 along complex trajectories in response to high-level steering commands. Furthermore, we show the use of visual sensors and hierarchical motor control8, training a high-level controller to reuse a pretrained low-level flight controller to perform visually guided flight tasks. Our model serves as an open-source platform for studying the neural control of sensorimotor behaviour in an embodied context.

Suggested Citation

  • Roman Vaxenburg & Igor Siwanowicz & Josh Merel & Alice A. Robie & Carmen Morrow & Guido Novati & Zinovia Stefanidi & Gert-Jan Both & Gwyneth M. Card & Michael B. Reiser & Matthew M. Botvinick & Kristi, 2025. "Whole-body physics simulation of fruit fly locomotion," Nature, Nature, vol. 643(8074), pages 1312-1320, July.
  • Handle: RePEc:nat:nature:v:643:y:2025:i:8074:d:10.1038_s41586-025-09029-4
    DOI: 10.1038/s41586-025-09029-4
    as

    Download full text from publisher

    File URL: https://www.nature.com/articles/s41586-025-09029-4
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1038/s41586-025-09029-4?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:nat:nature:v:643:y:2025:i:8074:d:10.1038_s41586-025-09029-4. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.nature.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.