Abstract
As animals adapt to new situations, neuromodulation is a potent way to alter behavior, yet mechanisms by which neuromodulatory nuclei compute during behavior are underexplored. The serotonergic raphe supports motor learning in larval zebrafish by visually detecting distance traveled during swims, encoding action effectiveness, and modulating motor vigor. We found that swimming opens a gate for visual input to cause spiking in serotonergic neurons, enabling encoding of action outcomes and filtering out learning-irrelevant visual signals. Using light-sheet microscopy, voltage sensors, and neurotransmitter/modulator sensors, we tracked millisecond-timescale neuronal input-output computations during behavior. Swim commands initially inhibited serotonergic neurons via GABA, closing the gate to spiking. Immediately after, the gate briefly opened: voltage increased consistent with post-inhibitory rebound, allowing swim-induced visual motion to evoke firing through glutamate, triggering serotonin secretion and modulating motor vigor. Ablating GABAergic neurons impaired raphe coding and motor learning. Thus, serotonergic neuromodulation arises from action-outcome coincidence detection within the raphe, suggesting the existence of similarly fast and precise circuit computations across neuromodulatory nuclei.
Competing Interest Statement
The authors have declared no competing interest.