Unsupervised identification of the internal states that shape natural behavior

Research output: Contribution to journalArticlepeer-review

19 Scopus citations


Internal states shape stimulus responses and decision-making, but we lack methods to identify them. To address this gap, we developed an unsupervised method to identify internal states from behavioral data and applied it to a dynamic social interaction. During courtship, Drosophila melanogaster males pattern their songs using feedback cues from their partner. Our model uncovers three latent states underlying this behavior and is able to predict moment-to-moment variation in song-patterning decisions. These states correspond to different sensorimotor strategies, each of which is characterized by different mappings from feedback cues to song modes. We show that a pair of neurons previously thought to be command neurons for song production are sufficient to drive switching between states. Our results reveal how animals compose behavior from previously unidentified internal states, which is a necessary step for quantitative descriptions of animal behavior that link environmental cues, internal needs, neuronal activity and motor outputs.

Original languageAmerican English
Pages (from-to)2040-2049
Number of pages10
JournalNature neuroscience
Issue number12
StatePublished - Dec 1 2019

ASJC Scopus subject areas

  • General Neuroscience

Cite this