Larval and juvenile zebrafish behavioral tracking and modeling data in response to temporal and spatial luminance cues – related to Capelle et al. 2026

DOI

Animals undergo major behavioral adjustments during ontogeny, but how the underlying cognitive algorithms change during this process remains elusive. Here, we describe that zebrafish shift from light-seeking to dark-seeking, as they grow from larval to juvenile stage, within the first few weeks of their life. We apply a combination of complementary phototaxis assays in virtual reality and modeling to dissect the computational basis of this transition. We identify three parallel pathways, one analyzing ambient whole-field luminance levels, one spatially comparing light levels across the eyes, and one computing eye-specific temporal derivatives. Larvae mostly use the latter two spatio-temporal computations for navigation, while juveniles largely employ the first one. We build a library of agent-based models to predict animal behavior across stimulation conditions and in more complex environments. Model-based extraction of latent cognitive variables points towards potential neural correlates of the observed behavioral inversion and illustrates a novel way to explore the processes of vertebrate ontogeny. We suggest that zebrafish phototaxis is regulated via parallel processing streams, which could be a universal implementation to change strategies depending on developmental stage, context, or internal state, making behavior flexible and goal-oriented.

Tracking setup and computational modeling

Custom-written Python scripts

Identifier
DOI https://doi.org/10.48606/sb32fkvwj5avwhbr
Related Identifier IsSupplementTo https://doi.org/10.1101/2025.06.13.659371
Related Identifier IsSupplementedBy https://doi.org/10.48606/m9v18p3c6cb7k77q
Related Identifier HasPart https://doi.org/10.48606/dr1hy17aa6b2q3sn
Related Identifier HasPart https://doi.org/10.48606/x6xjjyddnzkkzd9c
Related Identifier HasPart https://doi.org/10.48606/nna8rgk4eubsecb7
Related Identifier HasPart https://doi.org/10.48606/35e9wy2nk0ahmka4
Related Identifier HasPart https://doi.org/10.48606/ajpum5r3qy9ywxhr
Related Identifier HasPart https://doi.org/10.48606/dbxyv9jmhhvh2ayr
Metadata Access https://www.radar-service.eu/oai/OAIHandler?verb=GetRecord&metadataPrefix=datacite&identifier=10.48606/sb32fkvwj5avwhbr
Provenance
Creator Capelle, Maxim Q. ORCID logo; Bahl, Armin ORCID logo
Publisher University of Konstanz
Contributor RADAR
Publication Year 2026
Funding Reference Deutsche Forschungsgemeinschaft https://ror.org/018mejw64 ROR BA 5923/1-1 ; European Commission https://ror.org/00k4n6c32 ROR 101075541 CollectiveDecisions; Deutsche Forschungsgemeinschaft https://ror.org/018mejw64 ROR EXC 2117 – 422037984 ; Zukunftskolleg, Universität Konstanz https://doi.org/10.13039/501100024848 Crossref Funder ID ; Max Planck Society https://ror.org/01hhn8329 ROR IMPRS-QBEE ; Boehringer Ingelheim Fonds https://ror.org/00dkye506 ROR ; National Institute of Health https://ror.org/05h1kgg64 ROR U19NS104653
Rights Open Access; Creative Commons Attribution 4.0 International; info:eu-repo/semantics/openAccess; https://creativecommons.org/licenses/by/4.0/legalcode
OpenAccess true
Representation
Language English
Resource Type Behavioral tracking and modeling data; Dataset
Format application/x-tar
Discipline Biology; Life Sciences
Spatial Coverage GERMANY