cs.LGOct 19, 2026

Representing short-term movement to reveal animal identity and learning progress

Authors: Ping Zhang, Quang-Huy Nguyen, Yingtie Lei, Sameera Shridhar, Zachary Leveroni, Ellie Quattrocchi, Jai Y Yu, Wei-Lun Chao

Organizations: Boston University · The Ohio State University · University of Chicago

Abstract

How learning progresses over time and varies across individuals is a longstanding question in cognitive and behavioral science. However, a major challenge is identifying observable behavioral measures that faithfully capture learning progression. Existing approaches commonly rely on predefined behavioral features or task-level performance, while fine-scale posture and movement in freely behaving animals remain less explored. In this paper, we ask: can short-term movement trajectories reveal learning progress and individual identity? We introduce a self-supervised representation learning framework built on a simple hypothesis: behavioral characteristics associated with identity and learning remain relatively stable over nearby time intervals. Using temporal proximity as supervision, our framework learns compact representations directly from movement trajectories without manually defining behavioral states or kinematic features. Using behavior data from freely behaving rats, we show that the learned representations not only improve prediction of identity and learning-related readouts over existing methods, but also provide a tool for investigating broader scientific questions about when and how these signals appear in behavior. Specifically, trajectories as short as one second contain informative learning and identity signals. Egocentric pose dynamics are more predictive of identity, whereas allocentric motion is more predictive of learning-related variation, and both signals are strongest at decision junctions in the alternation cohort. We further use a representation-conditioned diffusion model to inspect movement patterns associated with identity and learning progress. Our findings establish short-term movement as an informative behavioral "fingerprint" for studying learning and individual differences. Our code is available at https://github.com/pizhn/TRAIL.

Figures & tables

Appendix figures & tables25 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. IBAD: Interpretable Behavioral Anomaly Detection on Human Mobility Data

    Jun 14, 2026Bita Azarijoo, John Krumm, Cyrus ShahabiInterpretable Anomaly DetectionAnomaly Detection

  2. Modeling Fly Social Behavior with Agent-Centric Pose Forecasting

    Jul 21, 2026Eyrun Eyjolfsdottir, Kristin BransonMulti-Agent Trajectory PredictionAnimal Behavior Analysis

  3. REFINE: Trajectory Representation Learning via Closed-Loop Transcription -- Extended Version

    Sep 7, 2026Sean Bin Yang, Ying Sun, Jilin Hu +5Contrastive LearningTrajectory Reconstruction