bioRxivAnimal Behavior & CognitionPreprint
Identity-stable multi-animal tracking using bidirectional segmentation with object-level memory
Shuyu WangiD, Kara Quine, Audrey Jordan, Shreya Dasari, Devanand S. ManoliiD, Christoph KirstiD
Abstract
Tracking animal behavior in naturalistic settings is essential for understanding social dynamics and their neural underpinnings. Pose estimation methods can produce accurate keypoints using framewise inference. However, post hoc tracking steps often struggle to maintain consistent identity over time, particularly during close and rapid social interactions between visually similar animals. We present a pipeline for bidirectional video object segmentation (VOS) to correct identity swaps with much less manual annotation effort, addressing the prohibitive cost of identity correction of pose estimation data in long recordings and large cohorts. Our approach makes use of a state-of-the-art VOS algorithm, Cutie, which leverages both pixel- and object-level representations across multiple memory timescales. By comparing segmentation masks from independent forward and reverse inference runs, we identify localized zones of disagreement and flag them for manual review. When applied to more than 160 hours of dyadic vole interaction videos, our method reduces identity swaps by two orders of magnitude compared to typical pose estimation workflows and requires review of less than 0.3% of frames per video to achieve identity error-free segmentation masks and aligned keypoints. Our approach generalizes to social interactions involving three or more animals, with scalability constrained primarily by behavioral complexity (e.g., complete occlusion of multiple individuals). Our method enables scalable, long-term tracking of unmarked animals in group settings and provides a practical foundation for more naturalistic studies of social behavior. To lower the barrier for researchers facing similar tracking challenges, we provide an accessible graphical user interface for general use.
- 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
- DIPLOMAT: multi-animal tracking with efficient manual editing
Isaac Robinson, George Glidden-Handgis, … Travis J. Wheeler·bioRxiv·Aug 11, 2025
- Multi-animal pose estimation and tracking with DeepLabCut
J. Lauer, M. Zhou, … A. Mathis·Nature MethodsPeer-reviewed·Apr 12, 2022
- New idtracker.ai: rethinking multi-animal tracking as a representation learning problem to increase accuracy and reduce tracking times
Jordi Torrents, Tiago Costa, Gonzalo G. de Polavieja·bioRxiv·May 30, 2025
- Evidence-based re-identification: Leveraging appearance cues to correct tracking mistakes rather than trying to prevent them
V. Coulombe, Q. Leboulleux, … Benoit Labonte·bioRxiv·Nov 10, 2026
- AMADEUS: Annotation-free multi-animal direction estimation using self-supervised learning
Yusuke Notomi, Kentarou Matsumura, Shigeto Dobata·bioRxiv·Sep 24, 2026
- idtracker.ai: Tracking all individuals in large collectives of unmarked animals
F. Romero Ferrero, m. g. bergomi, … G. de Polavieja·Nature MethodsPeer-reviewed·Jan 14, 2019