CoChat

The DOI matches its Crossref record; 61 of the 61 references it cites were found in a registry or an index; 7 of the 14 sources its claims cite were checked for support.

The Behavioral Space of Zebrafish Locomotion and Its Neural Network Analog

Open access

Abstract

How simple is the underlying control mechanism for the complex locomotion of vertebrates? We explore this question for the swimming behavior of zebrafish larvae. A parameter-independent method, similar to that used in studies of worms and flies, is applied to analyze swimming movies of fish. The motion itself yields a natural set of fish "eigenshapes" as coordinates, rather than the experimenter imposing a choice of coordinates. Three eigenshape coordinates are sufficient to construct a quantitative "postural space" that captures >96% of the observed zebrafish locomotion. Viewed in postural space, swim bouts are manifested as trajectories consisting of cycles of shapes repeated in succession. To classify behavioral patterns quantitatively and to understand behavioral variations among an ensemble of fish, we construct a "behavioral space" using multi-dimensional scaling (MDS). This method turns each cycle of a trajectory into a single point in behavioral space, and clusters points based on behavioral similarity. Clustering analysis reveals three known behavioral patterns-scoots, turns, rests-but shows that these do not represent discrete states, but rather extremes of a continuum. The behavioral space not only classifies fish by their behavior but also distinguishes fish by age. With the insight into fish behavior from postural space and behavioral space, we construct a two-channel neural network model for fish locomotion, which produces strikingly similar postural space and behavioral space dynamics compared to real zebrafish.

Overview

CoChat Summary

## TL;DR

Using high-speed video of free-swimming zebrafish larvae, the paper shows that just three eigenshapes explain 96% of backbone-shape variation and that swim bouts can be embedded in a low-dimensional behavioral space. A simple two-channel neuro-kinematic model, tuned with a genetic algorithm, reproduces scoot- and turn-like trajectories and suggests these behaviors lie on a continuum rather than as sharply separated states.

## Key findings

  • Singular value decomposition of 115 swim bouts from 20 larvae showed that the first three eigenshapes account for 96% of variation in backbone shape; the residual error after reconstructing with three eigenshapes was ~7%.
  • In the postural space defined by these three coordinates, swim bouts form trajectories with distinct regions: turn region (excursion in U1–U3), scoot region (mostly U2–U3), and resting region.
  • Multidimensional scaling of cycle-to-cycle trajectories showed that three dimensions captured ~85% of behavioral variability, and k-means clustering grouped data into three clusters corresponding to turn-like, scoot-like, and resting behavior.
  • The clustering was weak: scoot-like behavior and rests appeared as distinct peaks, but turn-like behavior was described as a wing of the scoot-like maximum, supporting a continuum rather than discrete behavioral states. The behavioral space also separated younger (7–8 dpf) from older (9–10 dpf) larvae.

## Methods

  • Recorded free-swimming wild-type AB zebrafish larvae, 7–10 dpf, in a 21-mm Petri dish using 500 fps high-speed video under IR illumination; the study analyzed 20 larvae and 115 swimming bouts.
  • Extracted backbone shapes with background subtraction, thresholding, skeletonization, and spline fitting; used SVD to derive eigenshapes and MDS plus k-means clustering (with the gap method) to build and analyze behavioral space.
  • Built a two-channel neuro-kinematic model with 10 neurons per side; optimized firing times, amplitudes, delays, and stiffness with a genetic algorithm to match experimental trajectories.

## Limitations

  • The paper states that the behavioral-space clustering is weak, with no strong boundaries and points occupying intermediate regions; this limits discrete state classification.
  • The authors note that the simple model should not be taken to comment on the neural architecture of the real organism.
  • Evident from the text: the analysis focuses on free swimming in quasi-2D and uses a simplified representation of body shape, explicitly sacrificing eye angle, fin position, and other body parameters for simplicity.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

Crossref · 10.1371/journal.pone.0128668

Cites

61 of 61 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Figures

Fig 1 Workflow from swim observation to neuro-kinematic model. (A) Snapshots of a larval zebrafish free swimming movie in which the fish backbone is fitted to a 10-point spline. (B) A linear combination of three “eigenshapes” accurately reconstructs the backbone shapes of the zebrafish. (C) A swimming bout is represented as a trajectory in the “postural space” spanned by the three eigenshapes. (D) A “behavioral space” generated by multi-dimensional scaling reduces each cycle of a trajectory to a point, and clusters them by their similarity. (E) A 2-channel neuro-kinematic model is constructed based on the observed behavioral patterns and evaluated using the same work flow.
Fig 1 Workflow from swim observation to neuro-kinematic model. (A) Snapshots of a larval zebrafish free swimming movie in which the fish backbone is fitted to a 10-point spline. (B) A linear combination of three “eigenshapes” accurately reconstructs the backbone shapes of the zebrafish. (C) A swimming bout is represented as a trajectory in the “postural space” spanned by the three eigenshapes. (D) A “behavioral space” generated by multi-dimensional scaling reduces each cycle of a trajectory to a point, and clusters them by their similarity. (E) A 2-channel neuro-kinematic model is constructed based on the observed behavioral patterns and evaluated using the same work flow.CC BY · PubMed Central
Fig 2 Decomposition of free swimming zebrafish larval backbone shapes into orthonormal basis. (A) Still images of a swim bout from a representative movie of free swimming zebrafish larva, recorded at 500 fps. (B) Spline fit of fish backbone (cyan). Tangent vectors (black arrow) at 10 evenly spaced segments along the backbone from head (s 0 = 0) to tail (s 9 = 9) point along a direction θ(s j). (C) Swim bout from A parameterized by Δθ(s j,t i) = θ(s j,t i)–θ(0,t i). (D) Singular value decomposition of Δθ into eigenshapes V k(s j) (j = 1, 2… 9), the first three of which are plotted (red, blue, and green, respectively). The light colors correspond to eigenshapes determined from analyzing individual fish from a population, and dark colors are the collective eigenshapes from analyzing the entire population at once. (E) Bar plot of % weights (Skk/∑k′=110Sk′k′, where S kk are the singular values) of each eigenfunction V k(s j). The right axis in cyan shows the cumulative contribution of each eigenshape. The first three eigenshapes contribute 96% of the total variance in Δθ.
Fig 2 Decomposition of free swimming zebrafish larval backbone shapes into orthonormal basis. (A) Still images of a swim bout from a representative movie of free swimming zebrafish larva, recorded at 500 fps. (B) Spline fit of fish backbone (cyan). Tangent vectors (black arrow) at 10 evenly spaced segments along the backbone from head (s 0 = 0) to tail (s 9 = 9) point along a direction θ(s j). (C) Swim bout from A parameterized by Δθ(s j,t i) = θ(s j,t i)–θ(0,t i). (D) Singular value decomposition of Δθ into eigenshapes V k(s j) (j = 1, 2… 9), the first three of which are plotted (red, blue, and green, respectively). The light colors correspond to eigenshapes determined from analyzing individual fish from a population, and dark colors are the collective eigenshapes from analyzing the entire population at once. (E) Bar plot of % weights (Skk/∑k′=110Sk′k′, where S kk are the singular values) of each eigenfunction V k(s j). The right axis in cyan shows the cumulative contribution of each eigenshape. The first three eigenshapes contribute 96% of the total variance in Δθ.CC BY · PubMed Central
Fig 3 Representation of free swimming zebrafish in low-dimensional postural space. (A) Still images of a representative turning bout during free swimming. As discussed in the text, it is convenient to divide the bout into a “turn” region (t = 50–100 ms) followed by a “scoot” region (100–250 ms). (B) Plot of the amplitudes U 1(t), U 2(t), and U 3(t) of the three collective eigenshapes corresponding to the movie in A. Each amplitude undergoes multiple oscillation cycles before returning to zero. The regions marked by dashed lines and labeled as cycles (1–4) in U 1(t), U 2(t), and U 3(t) are obtained from the oscillation cycles in U 1(t). The colored dots mark time points corresponding to the still images in A. (C) Representation of a turn bout in postural space. The three-dimensional coordinates of the trajectory are the amplitudes U 1(t), U 2(t), and U 3(t) in B. In this space, the bout involves a turn region (t = 50–100 ms), represented as a bent ellipse (cycle 1), followed by a scoot region (t = 100–250 ms) represented as multiple cycles (2–4) along the flat ellipses, and a final return to the rest behavior. Throughout, time (0–250 ms) is represented by the black—magenta colormap. An analysis of a representative scooting bout is shown in S5 Fig.
Fig 3 Representation of free swimming zebrafish in low-dimensional postural space. (A) Still images of a representative turning bout during free swimming. As discussed in the text, it is convenient to divide the bout into a “turn” region (t = 50–100 ms) followed by a “scoot” region (100–250 ms). (B) Plot of the amplitudes U 1(t), U 2(t), and U 3(t) of the three collective eigenshapes corresponding to the movie in A. Each amplitude undergoes multiple oscillation cycles before returning to zero. The regions marked by dashed lines and labeled as cycles (1–4) in U 1(t), U 2(t), and U 3(t) are obtained from the oscillation cycles in U 1(t). The colored dots mark time points corresponding to the still images in A. (C) Representation of a turn bout in postural space. The three-dimensional coordinates of the trajectory are the amplitudes U 1(t), U 2(t), and U 3(t) in B. In this space, the bout involves a turn region (t = 50–100 ms), represented as a bent ellipse (cycle 1), followed by a scoot region (t = 100–250 ms) represented as multiple cycles (2–4) along the flat ellipses, and a final return to the rest behavior. Throughout, time (0–250 ms) is represented by the black—magenta colormap. An analysis of a representative scooting bout is shown in S5 Fig.CC BY · PubMed Central
Fig 4 Behavioral space of free swimming zebrafish. (A–B) Ensemble of swim bout trajectories (N = 115) embedded by multi-dimensional scaling (MDS) into low-dimensional “behavioral” space. Each cycle of every trajectory is represented by a single point (filled circles for younger larvae (N = 8; 7–8 dpf), open circles for older larvae (N = 12; 9–10 dpf)). The distances between points reflect their behavioral similarities/differences. MDS dimensions 1 and 2 (A) reveal behavioral regions corresponding to turns (red points), scoots (green) and rests (blue). The shaded ellipses demarcate the points from cycles 1–3 of the trajectory (orange, light green, green, respectively. S8A Fig displays the cycles individually). MDS dimensions 2 and 3 (B) reveal differences with zebrafish age (solid ellipse for younger larvae; dotted ellipse for older larvae). The ellipses were determined using PCA analysis of the behavioral space in MDS dimension 1 and dimension 2 for each cycle in (A) and MDS dimension 2 and dimension 3 for cycle 1 in (B). The principal axes of the ellipses are the singular values from PCA. Simulated trajectories from the neuro-kinematic model in Figs 5 and 6 and its training data are shown in diamonds and circles with black outline, respectively. (C) Amplitudes U 1, U 2, and U 3 vs. normalized time of the trajectories in A and B from younger larvae. (D) Same plot for older larvae. Shaded areas demarcate each cycle of the trajectory. (E–F) Postural space representation of the trajectories in C and D, respectively. Throughout, color represents the location in the behavioral space and cycle number: in the RGB colormap, red and green channels correspond to position along MDS dimension 1 and 2, respectively, and the blue channel to the cycle number.
Fig 4 Behavioral space of free swimming zebrafish. (A–B) Ensemble of swim bout trajectories (N = 115) embedded by multi-dimensional scaling (MDS) into low-dimensional “behavioral” space. Each cycle of every trajectory is represented by a single point (filled circles for younger larvae (N = 8; 7–8 dpf), open circles for older larvae (N = 12; 9–10 dpf)). The distances between points reflect their behavioral similarities/differences. MDS dimensions 1 and 2 (A) reveal behavioral regions corresponding to turns (red points), scoots (green) and rests (blue). The shaded ellipses demarcate the points from cycles 1–3 of the trajectory (orange, light green, green, respectively. S8A Fig displays the cycles individually). MDS dimensions 2 and 3 (B) reveal differences with zebrafish age (solid ellipse for younger larvae; dotted ellipse for older larvae). The ellipses were determined using PCA analysis of the behavioral space in MDS dimension 1 and dimension 2 for each cycle in (A) and MDS dimension 2 and dimension 3 for cycle 1 in (B). The principal axes of the ellipses are the singular values from PCA. Simulated trajectories from the neuro-kinematic model in Figs 5 and 6 and its training data are shown in diamonds and circles with black outline, respectively. (C) Amplitudes U 1, U 2, and U 3 vs. normalized time of the trajectories in A and B from younger larvae. (D) Same plot for older larvae. Shaded areas demarcate each cycle of the trajectory. (E–F) Postural space representation of the trajectories in C and D, respectively. Throughout, color represents the location in the behavioral space and cycle number: in the RGB colormap, red and green channels correspond to position along MDS dimension 1 and 2, respectively, and the blue channel to the cycle number.CC BY · PubMed Central
Fig 5 Spike train of zebrafish free swimming. (A) Schematic of neuro-kinematic model depicting the fish backbone divided into ten segments on the right and left sides. (B) Spike train generated by an optimized neural model. The right and left spike trains are shown in red and green, respectively. The height of each spike represents the amplitude a of the stimulus. τ f is the firing time for each spike in the head segment. The segment-to-segment delay d is the time difference between spikes in adjacent segments of the fish backbone.
Fig 5 Spike train of zebrafish free swimming. (A) Schematic of neuro-kinematic model depicting the fish backbone divided into ten segments on the right and left sides. (B) Spike train generated by an optimized neural model. The right and left spike trains are shown in red and green, respectively. The height of each spike represents the amplitude a of the stimulus. τ f is the firing time for each spike in the head segment. The segment-to-segment delay d is the time difference between spikes in adjacent segments of the fish backbone.CC BY · PubMed Central
Fig 6 Minimal neuro-kinematic simulation of zebrafish free swimming. (A) Still images from a free swimming zebrafish movie. Each snapshot shows the fish backbone reduced to a thin skeleton fitted to a cubic spline fit (cyan) and obtained from the neural simulation (red), respectively. The neural model was optimized against the experimental data as described in S1 File. (B) Decomposition of simulated swimming traces from neuro-kinematic model into eigenshapes V k(s j). The eigenshapes from the neural model of a turn (dashed light red, blue, and green lines) match those from experimental data of a turn (solid red, blue, and green). (C) Bar plot of % weights of each eigenshapes V k(s j) (j = 1, 2… 9) (left axis) and cumulative contribution of each eigenshape (right axis, cyan). The first three eigenshapes contribute 98% in total to the variance in Δθ. (D) Plot of head-to-tail zebrafish compliance (1/W(s j)) obtained after optimization of neuro-kinematic model against experimental data. (E) Simulated neuro-kinematic model trajectory of a turning bout in postural space.
Fig 6 Minimal neuro-kinematic simulation of zebrafish free swimming. (A) Still images from a free swimming zebrafish movie. Each snapshot shows the fish backbone reduced to a thin skeleton fitted to a cubic spline fit (cyan) and obtained from the neural simulation (red), respectively. The neural model was optimized against the experimental data as described in S1 File. (B) Decomposition of simulated swimming traces from neuro-kinematic model into eigenshapes V k(s j). The eigenshapes from the neural model of a turn (dashed light red, blue, and green lines) match those from experimental data of a turn (solid red, blue, and green). (C) Bar plot of % weights of each eigenshapes V k(s j) (j = 1, 2… 9) (left axis) and cumulative contribution of each eigenshape (right axis, cyan). The first three eigenshapes contribute 98% in total to the variance in Δθ. (D) Plot of head-to-tail zebrafish compliance (1/W(s j)) obtained after optimization of neuro-kinematic model against experimental data. (E) Simulated neuro-kinematic model trajectory of a turning bout in postural space.CC BY · PubMed Central

Verification

Claims the paper makes

4 Valid · 2 Not valid · 4 Not checked · 51 Own results and interpretations

35 more claims

Create a free account to see all 61 claims and every source verdict.

See all claims — free account
  • It may state two separate claims as one. 17
  • Probably not a substantial claim. 5

Create a free account to see these claims.

Citations

Cites

Show all 61 references

Cited by

See all 60

Metadata

Authors
Girdhar, K., Gruebele, M., & Chemla, Y. R.
Affiliations
University of Illinois Urbana-Champaign (US)
Corresponding author
  • Gruebele, Martin
  • Chemla, Yann R.
Venue
PLoS ONE
Published
2015-07-01
Volume
10
Issue
7
Pages
e0128668
ISSN
1932-6203 (ISSN-L)
OpenAlex
W774008956
Cited by
60
References
61
Citations by year
2026: 8 · 2025: 8 · 2024: 10 · 2023: 5 · 2022: 3 · 2021: 9 · 2020: 3 · 2019: 5 · 2018: 4 · 2017: 4 · 2016: 1
FWCI
1.60
Type
journal article
Language
en
Open access
Locations
  • PLoS ONE (publishedVersion, cc-by)
  • Europe PMC (PubMed Central) (publishedVersion, cc-by)
  • PubMed Central (publishedVersion, cc-by)
  • PubMed (publishedVersion)
  • Illinois Digital Environment for Access to Learning and Scholarship (University of Illinois at Urbana-Champaign) (submittedVersion)
  • DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
  • Figshare (submittedVersion, cc-by)
Funders
National Science Foundation (1430124)
Topics
  • Life Sciences › Biochemistry, Genetics and Molecular Biology › Cell Biology › Zebrafish Biomedical Research Applications
  • Physical Sciences › Engineering › Aerospace Engineering › Biomimetic flight and propulsion mechanisms
  • Life Sciences › Neuroscience › Cognitive Neuroscience › Motor Control and Adaptation
Keywords
zebrafish larvae, swimming behavior, locomotion control, behavioral space, multidimensional scaling, behavioral clustering, neural network model
MeSH terms
Animals, Behavior, Animal, Larva, Locomotion, Swimming, Zebrafish, Neural Networks, Computer

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

The claim verdicts this report counts are experimental: their accuracy is not yet measured.

A language model drew the claims from the paper on 2026-10-10, under version 3 of the claim definition (model deepseek-v4.1-flash, prompt extract-v3).

A second model labelled each claim on 2026-10-10 (model jev-1.13-20260917, definition revision gold-guideline-v0.2).

Cited sources are checked with a language model’s help (gpt-6-sol).

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: The Behavioral Space of Zebrafish Locomotion and Its Neural Network Analog. https://app.cochat.ai/papers/10.1371/journal.pone.0128668
The paper
Girdhar, K., Gruebele, M., & Chemla, Y. R. (2015). The Behavioral Space of Zebrafish Locomotion and Its Neural Network Analog. PLoS ONE. https://doi.org/10.1371/journal.pone.0128668

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.