Main Menu (Mobile)- Block
Main Menu - Block
Abstract
Sensory neurons must extract behaviorally relevant features from dynamic environments while maintaining sensitivity across wide stimulus ranges. To understand how sensory encoding adapts to experience during behavior, we combine long-duration calcium imaging in freely moving C. elegans with a temperature-trajectory playback paradigm to determine how the thermosensory neuron AFD extracts behaviorally relevant sensory features during navigation. We observe that AFD functions as a leaky integrator of recently experienced temperature changes, accumulating thermal inputs over a rolling window of tens of seconds, resulting in calcium levels that represent recent temperature dynamics during runs. Importantly, we determine that AFD selectively amplifies responses to temperature changes near its learned preferred temperature. This experience-dependent gain control aligns encoding with the navigational goal, providing a mechanism for representing temperature preference within a derivative-based sensory system. A minimal mathematical model incorporating derivative detection, leaky integration, and temperature-dependent gain captures the calcium dynamics over a range of stimuli, and a simulation based on the mathematical model predicts goal-oriented locomotor strategies across stimulus regimes. Together, these findings show how gain control allows a derivative-based sensory code to represent an absolute goal and guide locomotory strategies during navigation.

