Threshold-Free Neural Network Models for Swim Bout Detection of Larval Zebrafish
Haochen WangiD, Grant KroeschelliD, Yunlong ZhuiD, Jeff S. MummiD, Ji YiiD
Abstract
Accurate detection of swim bouts is essential for decoding motor behavior in larval zebrafish, yet conventional threshold-based methods rely on subjective cutoffs and per-experiment tuning. To address this limitation, we developed threshold-free deep learning models operating on tail-curvature time series: an offline model for post hoc analysis and an online model for real-time detection. Both improved precision over threshold-based methods, particularly for low-amplitude bouts. Using the offline model, we show that a head-fixed, closed-loop preparation largely preserves naturalistic swimming kinematics. Repeated trials reduced bout frequency and increased interbout interval, whereas genetic background primarily affects bout duration and maximum amplitude; notably, casper larvae lacked the late-trial decline observed in wildtype and nacre. We further show that detector choice can alter inferred behavioral outcomes. Together, these results establish a high-throughput framework for robust and reproducible analysis of zebrafish swimming behavior across experimental conditions.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Organism
- Assay
- Research Focus
- Approach
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
- ZebraTrack: An Open-Source Object Detection Algorithm to Detect and Track Larval Zebrafish Motor Touch Responses
Adrien Connor Lacroix, Gary A.B. Armstrong·bioRxiv·Oct 17, 2025
- Automatic classification of behavior in zebrafish larvae
Adrien Jouary, German Sumbre·bioRxiv·May 10, 2016
- Plug-and-Play automated behavioral tracking of zebrafish larvae with DeepLabCut and SLEAP: pre-trained networks and datasets of annotated poses
Leandro A. Scholz, Tessa Mancienne, … Conrad C.Y. Lee·bioRxiv·Jun 4, 2025
- High throughput machine learning pipeline to characterize larval zebrafish motor behavior
John Hageter, John P. Efromson, … Eric James Horstick·PLoS ONEPeer-reviewed·Oct 17, 2025
- Rapid whole brain imaging of neural activity in freely behaving larval zebrafish (Danio rerio)
Lin Cong, Zeguan Wang, … Quan Wen·eLifePeer-reviewed·Sep 20, 2017
- From behavior to circuit modeling of light-seeking navigation in zebrafish larvae
S. Karpenko, S. Wolf, … G. Debregeas·bioRxiv·Oct 21, 2019