Search bioRxiv⌕ Search

bioRxiv · 10.1101/2025.09.22.677949

Identity-stable multi-animal tracking using bidirectional segmentation with object-level memory

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Wang, S., Quine, K., Jordan, A., Dasari, S., Manoli, D. S., Kirst, C.. 2025-09-25. Identity-stable multi-animal tracking using bidirectional segmentation with object-level memory. https://doi.org/10.1101/2025.09.22.677949

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Shared brain transcriptome signatures of social evolution and plasticity in shell-dwelling cichlid fishes

Inter-individual variability in phenotypic traits is widespread in nature both across and within species, with similar patterns of variation often occurring between and within species. Given that these two types of variation are generated by evolutionary and plasticity processes respectively, it raises the question to what extent the causal mechanisms underlying such variability at these two different levels are shared or not. To address this question, we studied the variation in brain transcriptomes in Tanganyikan cichlids that exhibit both intra- and interspecific variation in social behavior. We compared two facultatively social cichlid species, each containing naturally occurring solitary and social-living individuals, with a closely related obligatory solitary resembling the ancestral state. Differential gene expression and Gene Set Enrichment Analyses were performed in the telencephalon and diencephalon transcriptomes to investigate the molecular basis of both behavioral plasticity and the evolution of sociality. Behavioral plasticity involved few differentially expressed genes but extensive changes in biological pathways, supporting a highly polygenic architecture of social behavior. Across both species, social-living individuals consistently upregulated pathways involved in translation, protein homeostasis, and energy metabolism, whereas solitary individuals showed enrichment of neuronal morphogenesis, cell adhesion, and structural plasticity. Remarkably, these same functional programs were associated with the independent evolution of sociality, revealing a strong overlap between evolutionary and plastic transcriptional responses. This convergence was largely restricted to the telencephalon, while the diencephalon showed limited and inconsistent functional signatures. Together, our results support the repeated recruitment of gene regulatory programs during the evolution of sociality and demonstrate that behavioral plasticity and evolutionary transitions share common neurogenomic responses, consistent with a conserved genetic toolkit for social behavior.

animal behavior and cognition↗

Causal Multiscale Modeling of Ocular FLASH Electroretinography: Model Development, Experimental Fitting, and Spin-Glass--Percolation Predictions

\textbf{Purpose:} To develop a causal multiscale model of retinal electroretinography (ERG) after ocular ultrahigh-dose-rate (FLASH) and conventional-dose-rate (CONV) irradiation, evaluate the framework against published ocular ERG data, and derive prospective dose-response predictions for future validation. \textbf{Methods:} The retina was coarse-grained into $N=200$ functional modules. Local rate equations were formulated as Hodgkin--Huxley-inspired conductance-balance/RC reductions of retinal ion-channel and synaptic pathways. Radiation generated an injury field that altered phototransduction, a-wave and b-wave dynamics and, in the network extension, inter-module coupling and bond survival. A reduced amplitude benchmark and nested M0/M1/M2 causal models were evaluated. \textbf{Results:} The reduced benchmark achieved $R^2=0.9721$ and RMSE $=11.94~\mu$V. M0, M1, and M2 yielded $R^2=0.8546$, 0.8559, and 0.8560, respectively, indicating limited independent identifiability of the network terms from amplitude data alone. Under an exploratory 50\% retained-gain criterion, the reduced benchmark predicted a-wave preservation thresholds of 28.6 Gy for FLASH and 23.7 Gy for CONV, and b-wave thresholds of 29.2 Gy and 24.1 Gy, respectively, corresponding to a model-based functional dose-modifying factor (DMF) of 1.21. \textbf{Conclusion:} The ERG amplitude data support the causal radiation-injury-to-ERG framework, while additional observables will be needed to distinguish the predicted collective-network contributions. The model also provides quantitative dose targets for prospective studies of the FLASH retinal-preservation window and a framework for testing how local retinal injury may propagate into collective dysfunction.

animal behavior and cognition↗

Neonatal personality is associated with sex-specific developmental trajectories in a wild mammal

Animal personality, defined as consistent among-individual differences in behaviour, is an important source of phenotypic variation, but its developmental origins and associations with subsequent development remain poorly understood. We measured neonatal personalities, early-life growth, and yearling male antler length in wild fallow deer (Dama dama). Using eight years of data, we estimated repeatability and among-individual correlations among neonatal personalities and growth and applied structural equation modelling to examine associations with yearling male morphology. Heart rate and behavioural reaction measures showed repeatable among-individual variation, demonstrating that stable differences were detectable shortly after birth. Behavioural reaction was negatively correlated with growth in males but not in females. Heart rate was not associated with growth in either sex. In males, the effects of neonatal behavioural reactivity persisted beyond early life: more behaviourally reactive neonates had shorter antlers as yearlings, indirectly through reduced early-life growth. These findings show that stable among-individual differences emerge during the neonatal period and are associated with sex-specific developmental trajectories.

animal behavior and cognition↗