bioRxivNeurosciencePreprint
Precise kinematic and muscle recording in freely behaving flies enabled by closed-loop tracking and annotation-free pose estimation
Sibo Wang-Chen, Victor Alfred StimpflingiD, Maite AzcorraiD, Pavan P RamdyaiD
Abstract
Understanding the neuromuscular basis for behavior requires measuring both kinematic and physiological data at high resolution in unconstrained conditions: a technically challenging goal. Here we present an integrated experimental-computational pipeline for measuring and quantifying body part kinematics and muscle activity in freely behaving Drosophila melanogaster. We first present Spotlight, a closed-loop videography system that performs real-time tracking to record untethered flies at high resolution (6 {micro}m/pixel) and high frame rate (330 Hz) while also enabling optical recordings of limb muscle activity via a fluorescent calcium reporter. To analyze these massive datasets without manual image annotation, we introduce PoseForge, a synthetic-data-driven framework that exploits morphologically accurate biomechanical simulations to generate synthetic data, and contrastive self-supervised learning to infer 3D keypoints and dense body-part segmentation from a single camera view. Using resulting 3D kinematic data, we can replay recorded behaviors in a biomechanical digital twin, NeuroMechFly, to infer forces generated and experienced by the flys limbs. Finally, we illustrate the capability of our system to optically record muscle activity. We show how the legs long-tendon muscles activate upon mechanical vibration, possibly to activate gripping and to maintain a stable posture. Taken together, this workflow enables scalable, high-resolution measurement and modeling of unconstrained, natural behavior.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Whole-body 3D kinematics of freely behaving Drosophila
Juan Ignacio Ispizua, Elliott T. T. Abe, … Robert Evan Johnson·bioRxiv·Sep 16, 2026
- FlyLimbTracker: an active contour based approach for leg segment tracking in unmarked, freely behaving Drosophila
Virginie Uhlmann, Pavan P Ramdya, … Michael A. Unser·PLoS ONEPeer-reviewed·Apr 28, 2017
- DeepFly3D: A deep learning-based approach for 3D limb and appendage tracking in tethered, adult Drosophila
- NeuroMechFly, a neuromechanical model of adult Drosophila melanogaster
Victor Lobato Ríos, Shravan Tata Ramalingasetty, … Pavan P Ramdya·Nature MethodsPeer-reviewed·May 1, 2022
- The Fly Disco: Hardware and software for optogenetics and fine-grained fly behavior analysis
Alice A. Robie, Adam L. Taylor, … Kristin M. Branson·bioRxiv·Nov 4, 2024
- FLiTrak3D: Improved deep-learning-based 3D insect flightkinematics tracking using spatial and temporal encoding
Antoine Cribellier, Abel-John Buchner·bioRxiv·Sep 10, 2026