bioRxivNeurosciencePreprint
Evidence-based re-identification: Leveraging appearance cues to correct tracking mistakes rather than trying to prevent them
V. Coulombe, Q. Leboulleux, B. Gosselin, C. Testard, Benoit Labonte
Abstract
Naturalistic behavioral neuroscience experiments, in which groups of animals interact in enriched environments over prolonged periods, require each animal's identity to remain correct throughout the recording. Current multi-animal tracking tools assign identities frame by frame without revisiting past assignment decisions. A single, even sporadic, identity swap is therefore likely to persist until the end of the recording. Consequently, error-free tracking results become progressively less likely as recordings lengthen and cohorts grow. Even state-of-the-art multi-object tracking (MOT) methods that leverage appearance cues do so only to make each assignment more robust. This robustness, however, only delays the inevitable as even the most robust assignment process will eventually make a mistake over prolonged recordings. A mistake that will then persist just as it otherwise would have. Here, we introduce evidence-based re-identification, which uses appearance cues to correct tracking mistakes rather than prevent them. This fundamental shift allows the algorithm to build and progressively enrich appearance representations for each tracked subject. Tracking mistakes are then detected by continuously monitoring the evolution of these representations, triggering a correction whenever two representations drift toward one another in a sustained way. On two distinct, minutes-long benchmarks of mice interacting in enriched environments, motion-only trackers (DeepLabCut, SLEAP, ByteTrack) and the appearance-based BoT-SORT-ReID began accumulating identity errors within seconds, whereas ByteTrack paired with evidence-based re-identification remained reliable, outperforming even ByteTrack paired with the marker-based Tailtag system. This reliability was also positively correlated with the accuracy of the appearance extractor, but only when it was used through evidence-based re-identification. Foundation image encoders (CLIP, MegaDescriptor, DINOv3) showed promising out-of-the-box performance yet still required fine-tuning to be effective. Together, these results show that multi-animal tracking algorithms can remain reliable over prolonged periods only if they can reliably recover from tracking mistakes, and that fine-tuning appearance extractors remains essential to doing so.
- organism: mouse
- assay: imaging
- assay: behavioral assay
- research focus: cell type annotation
- research focus: clustering
- approach: deep learning
- approach: contrastive learning
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
- 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
- DIPLOMAT: multi-animal tracking with efficient manual editing
Isaac Robinson, George Glidden-Handgis, … Travis J. Wheeler·bioRxiv·Aug 11, 2025
- 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
- TRex, a fast multi-animal tracking system with markerless identification, and 2D estimation of posture and visual fields
T. Walter, I. D. Couzin·bioRxiv·Oct 14, 2020
- Identity-stable multi-animal tracking using bidirectional segmentation with object-level memory
Shuyu Wang, Kara Quine, … Christoph Kirst·bioRxiv·Sep 22, 2025
- Markerless mouse tracking for social experiments
V. A. Le, T.-L. Sterley, … K. Murari·bioRxiv·Oct 20, 2021