bioRxivAnimal Behavior & CognitionPreprint
A promptable foundation model enables automated multi-task dataset construction and real-time pose estimation in mice
Juan CobosiD, Steeve ThirardiD, Marwen BelkaidiD, Jérémie NaudéiD
Abstract
Behavioural experiments often hinge on moments when animals crowd together. In these situations, existing pose-estimation methods usually fail because detected crops include neighbouring animals, and their body parts are easily confused between individuals. We solved it with DeepLabSAM, a pipeline that segments and tracks every animal from a single text prompt using the SAM 3 foundation model, followed by a mask-gated pretrained pose estimation network from DeepLabCut. Across recordings of multiple interacting mice, the proposed method substantially reduces misassigned keypoints under heavy occlusion. Furthermore, we used DeepLabSAM to automatically construct the Multi-Task Mouse Behaviour (MTMB) dataset, comprising 14,300 frames spanning nine behavioural assays, with each instance annotated for bounding box, mask, identity, and pose. SuperAnimal pretrained pose models transferred unpredictably across this dataset. Conversely, MouseLite, our RF-DETR pose-estimation model trained on the MTMB dataset, matched their in-distribution accuracy, generalized better to unseen assays, and achieved real-time (faster-than-acquisition) inference. Combined, DeepLabSAM, MTMB dataset, and MouseLite provide a scalable framework for robust, cross-assay behavioural pose tracking of freely interacting mice.
- organism: mouse
- assay: spatial transcriptomics
- research focus: cell type annotation
- approach: deep learning
- 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
- Multi-animal pose estimation and tracking with DeepLabCut
J. Lauer, M. Zhou, … A. Mathis·Nature MethodsPeer-reviewed·Apr 12, 2022
- Adoption of MMPose, a general purpose pose estimation library, for animal tracking
Jessica D. Choi, Vivek Kumar·bioRxiv·Apr 1, 2026
- DAMM for the detection and tracking of multiple animals within complex social and environmental settings
G. Kaul, J. McDevitt, … A. Eban-Rothschild·bioRxiv·Jan 18, 2024
- PyMouse Lifter: Real Time 3-D Pose Estimation for Mice with Only 2-D Annotation Via Data Synthesis
Haozong Zeng, Hao Hu, … Timothy H. Murphy·bioRxiv·Aug 2, 2025
- DeepPoseKit, a software toolkit for fast and robust animal pose estimation using deep learning
J. M. Graving, D. Chae, … I. D. Couzin·bioRxiv·Sep 4, 2019
- Using DeepLabCut for 3D markerless pose estimation across species and behaviors
Tanmay Nath, Alexander Mathis, … Mackenzie Weygandt Mathis·Nature ProtocolsPeer-reviewed·Jun 21, 2019