Learning Reusable Behavioral Motifs for Continuous Animal Behavior Modeling
Organizations: School of Computational Science and Engineering, Georgia Institute of Technology, Atlanta, US
Abstract
Natural behavior evolves continuously and often reuses movement structure across contexts, but existing behavioral segmentation methods typically assign a single discrete syllable at each time point or impose restrictive generative assumptions. We introduce Motif-based Continuous Dynamics (MCD), a computational framework that models behavior as time-varying combinations of reusable behavioral motifs. MCD learns motifs as latent behavior-level features from transition dynamics, through spectral representation learning within a reinforcement learning framework. MCD then infers policies that combine these motifs across time or context, through offline imitation learning. This formulation avoids hard behavioral boundaries while capturing continuity and compositionality. Across simulated gridworld and continuous-control tasks, mouse maze navigation and pose data, MCD identifies reusable motifs that explain task and temporal variation. MCD therefore provides a flexible and interpretable framework for computational behavior analysis. Code is available in https://github.com/G1NO3/MCD.
Figures & tables
Appendix figures & tables20 assets
Supplementary material from the paper’s appendix.
Appendix
| Subset | Contents | Purpose |
|---|---|---|
| Isolated primitive basis | 413 isolated strokes from 19 predefined single-shape types | MCD training and K-means template construction |
| Practised characters | 9,981 strokes from 1,071 character identities | MCD training |
| Novel characters | 2,040 strokes from 665 character identities | Held-out evaluation |
| Primitive controls | 3,577 strokes from separate isolated and grid trials | Similarity-threshold calibration |
| Method | Full test set | Shared subset |
|---|---|---|
| Label-based DTW | 85.0% (83.5–86.6%) | 90.3% (87.0–93.2%) |
| MCD | 80.2% (78.5–81.8%) | 86.9% (83.6–90.1%) |
| Untrained MCD | 65.1% (63.1–67.1%) | 70.9% (66.2–75.5%) |
| Representation | Boundary entropy | Interior entropy | Interior top-1 mass |
|---|---|---|---|
| Continuous MCD | |||
| Smoothed discrete labels |
| Representation | Decoding accuracy |
|---|---|
| Continuous MCD | |
| Hard -state K-means | |
| Smoothed -state K-means | |
| Majority-class baseline |
Animal Behavior Analysis
Animal behavior analysis uses computational tools to measure how animals move, interact, communicate, and respond to their environments.
See all 44 papers