Back to search

Johns Hopkins University

THRESHOLD-FREE NEURAL NETWORK MODELS FOR DETECTION OF ZEBRAFISH LARVAE BOUTS FROM TAIL ANGLE KINEMATICS

Abstract

dc:description.abstract

Zebrafish larvae are a powerful model for studying sensorimotor processing, often utilizing the optomotor response (OMR). Accurately detecting discrete swimming bouts- the fundamental units of zebrafish locomotion- from kinematic data is crucial for behavioral analysis. However, traditional threshold-based detection methods struggle with noise and variability in bout kinematics. This thesis addresses the need for robust, threshold-free bout detection by developing and evaluating deep learning models based on tail angle kinematics. We present two convolutional neural network (CNN)-based models: an offline CNN-LSTM model for post-processing analysis and a streamlined online CNN model for real-time applications. These models were trained and validated using tail tracking data acquired from head-fixed larval zebrafish subjected to OMR stimuli via a novel, integrated Stytra+PsychoPy closed-loop workflow, which overcomes stimulus refresh rate limitations of default setups. Both models achieved high performance without relying on pre-defined thresholds; the offline model yielded mean precision/recall of 83.15%/89.83%, while the online model demonstrated viability for real-time use with minimal performance decrease (mean precision/recall 84.09%/87.14%), albeit with measurable latency. We validated our experimental setup by showing that bout kinematics in head-fixed fish under closed-loop conditions were largely comparable to free-swimming behavior, supporting the biological relevance of the training data. Furthermore, we applied the offline model to compare OMR kinematics across wild-type (WT) AB, Nacre, and Casper strains. While Nacre and Casper exhibited similar kinematics, both differed significantly from WT AB, particularly in bout duration under closed-loop conditions and in adaptation dynamics during closed-loop/open-loop transitions. These findings highlight the effectiveness of threshold-free deep learning models for zebrafish bout detection and underscore the importance of considering strain-specific behavioral differences in sensorimotor research.

Degree

thesis:*
Name thesis:degree_name
M.S.E.
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Biomedical Engineering
Department thesis:degree_department
Biomedical Engineering
Grantor dc:publisher
Johns Hopkins University
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Wang, Haochen
Advisor dc:contributor.advisor
  • Yi, Ji
Committee members dc:contributor.committeemember
  • Li, Xingde
  • Mumm, Jeff S
ORCID person:identifier.orcid

Subjects

dc:subject × 5

Rights

Language dc:language.iso
en_US

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
https://jscholarship.library.jhu.edu/handle/1774.2/70824

Chain of custody

source
Harvested from
Johns Hopkins University
Base URL
jscholarship.library.jhu.edu/server/oai/request
Last updated
2026-11-20
Source record
OAI-PMH GetRecord
citation

Wang, Haochen. THRESHOLD-FREE NEURAL NETWORK MODELS FOR DETECTION OF ZEBRAFISH LARVAE BOUTS FROM TAIL ANGLE KINEMATICS. Masters thesis, Johns Hopkins University, 2025. https://jscholarship.library.jhu.edu/handle/1774.2/70824