A new study from Yale University has found that sensory neurons — the nerve cells that carry information from the environment to the brain — may do more than simply relay data. According to research published in the journal Current Biology, these cells can also integrate an animal's learned goals into their activity, effectively helping to guide behavior toward a desired outcome.

The study, led by Daniel Colón-Ramos, the Dorys McConnell Duberg Professor of Neuroscience and Cell Biology at Yale School of Medicine, used the transparent roundworm Caenorhabditis elegans to examine how the nervous system transforms sensory information into purposeful action. The team trained the worms to associate a specific temperature with a food reward. When placed on a temperature gradient, the worms moved toward the temperature they had learned to prefer.

"They remember the temperature at which they were under favorable conditions happily eating, and they go back to that temperature," Colón-Ramos said in a Yale News report.

But the researchers observed something unexpected inside the worms' nervous systems. Temperature-sensing neurons, known as AFD (Amphid Finger-like Endings) neurons, are known to detect temperature changes. In this experiment, however, the neurons did not respond uniformly to all temperature shifts. Instead, they increased their activity when the worm was near its learned preferred temperature and decreased it when the worm strayed off course.

"Our study shows how a sensory neuron combines information about changes in the environment with information from a learned goal," said co-first author Malcom Díaz García, a Ph.D. student at Vanderbilt University who previously worked in Colón-Ramos' lab. "It starts in the way the sensory cell itself represents the experience. The sensory cell is capable of sophisticated computation to represent the environment differently based on a learned goal."

To reach these findings, the Yale team developed a novel experimental setup. They tracked the worms' movement while simultaneously measuring neural activity in the AFD neurons using AI-assisted methods. They then created what they describe as a "thermal virtual reality": they recorded the sequences of temperature changes experienced by individual worms as they navigated the gradient and replayed those sequences to worms that were not allowed to move. This allowed the researchers to control the sensory inputs precisely and compare how worms with different learned temperature preferences responded to the same thermal experience.

Using mathematical models and behavioral simulations, the team tested whether changes in neuron sensitivity could explain the patterns they observed. They concluded that the strength of a neuron's reaction to a given temperature change depended on the worm's learned temperature preference.

The study may have implications for understanding conditions that affect focus and sensory processing, such as attention-deficit/hyperactivity disorder (ADHD).

"From a molecular perspective, many of our sensory cells are, number one, sensing changes, and number two, using very similar mechanisms to the ones that the sensory cells in the worm are using," said co-first author Sandeep Kumar, a postdoctoral associate at Yale School of Medicine. "We have maybe been underestimating how sensory systems are actually plastically representing things based on goals."

Because sensory cells act as the interface between the brain and the external world, understanding how they function is key to understanding how information is processed and acted upon, the researchers said. The findings offer a framework for how experience can shape what the nervous system emphasizes and transforms into behavior.

For university students studying neuroscience, psychology, or biology, the research provides a concrete example of how fundamental neural mechanisms — often studied in simple model organisms — can inform our understanding of learning, memory, and attention in more complex systems, including humans. The study was conducted with collaborators from Yale's Wu Tsai Institute, the Howard Hughes Medical Institute's Janelia Research Campus, and the University of Connecticut Health Center.