bioRxivNeurosciencePreprint
CASTLE: a training-free foundation-model pipeline for cross-species behavioral classification
Yu-Shun LiuiD, Han‐Yuan YehiD, Yu-Ting HuiD, Bing-Shiuan WuiD, Yi-Fang CheniD, Jiabin YangiD, Sureka JasminiD, Ching-Lung HsuiD, Suewei LiniD, Chun‐Hao CheniD, Yu‐Wei WuiD
Abstract
Accurately and efficiently quantifying animal behavior at scale without intensive manual labeling is a long-standing challenge for neuroscience and ethology. Keypoint-based tracking emphasizes simplicity and efficiency but loses the richness of posture and context, while emerging foundation models capture pixel-level details, yet often require nontrivial efforts of retraining and can be more sensitive to backgrounds or lighting. Here, we present CASTLE, a training-free pipeline that addresses all these issues by synergistically combining foundation models for segmentation, tracking, and feature extraction. By isolating regions-of-interest (ROI), CASTLE first generates "focused (ROI-masked)" and orientation-invariant latent features, capturing rich postural details in zero-shot, fine-tuning-free manners. Following ROI isolation, CASTLE, through an interactive "Behavior Microscope" module, supports hierarchical clustering, for progressive, human-in-the-loop embedding and clustering. This enables raw-image-assisted discovery of behavioral classes without predefined categories. Across mice, Drosophila and C. elegans, CASTLE matches expert class annotations (>90%), reveals disease-relevant phenotypes in Parkinsonian mouse models. By eliminating purpose-specific model training and providing a raw-image-informed accessible workflow, CASTLE offers a scalable framework for interpretable, cross-species behavioral phenotyping.
- organism: mouse
- organism: Drosophila
- organism: C. elegans
- assay: imaging
- research focus: cell type annotation
- research focus: clustering
- approach: experimental assay
- 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
- PoseR - A deep learning toolbox for decoding animal behavior
Pierce N. Mullen, Beatrice Bowlby, … Maarten Zwart·Open BiologyPeer-reviewed·Jan 21, 2026
- SingleBehavior Lab: behavioral sequencing and phenotyping with lightweight task specific adaptation
Almir Aljović, Nina Heinrichs, … Florence M. Bareyre·bioRxiv·Apr 20, 2026
- B-REAL: A keypoint-less behavior platform for offline classification and real-time detection
Eric A. Yttri, Aden Eagle, … Runcheng Li·bioRxiv·Oct 20, 2026
- OpenLabCluster: Active Learning Based Clustering and Classification of Animal Behaviors in Videos Based on Automatically Extracted Kinematic Body Keypoints
J. Li, M. L. Keselman, E. Shlizerman·bioRxiv·Oct 10, 2022
- ABEL: an active-learning behavior estimation and labeling platform
Jobe L. Ritchie, Brianna A. George, … Thomas L. Kash·bioRxiv·Sep 9, 2026
- Video Foundation Models for Animal Behavior Analysis
Jennifer J. Sun, Hao Zhou, … Ting Liu·bioRxiv·Jul 30, 2024