Murthy, MalaAragon, Max JamesonNeuroscience Department2025-10-062026-09-302026-09-302025-01-012025http://arks.princeton.edu/ark:/88435/dsp012514np980https://theses-dissertations.princeton.edu/handle/88435/dsp012514np980To survive in natural environments, animals must integrate sensory cues and internal states to generate contextually appropriate behaviors. We leverage the fruit fly Drosophila melanogaster to gain insight into both the strategies and neural codes accompanying this flexibility. In our first study, we examine how male flies choose to either persist with or terminate courtship in response to a threat cue. During this “stay-switch” decision-making, we show that male flies structure their ongoing decisions based on changing social feedback from the female, and that neural dynamics in multiple brain regions predict the animal’s decision outcome. This study reveals that flies are capable of flexible decision-making and reveals that distributed circuits participate in this process. In our second study, we investigate the prevalence of state-dependent neural coding in the fly brain during naturalistic courtship. We show that neural coding of both female-related and self-motion information is widespread in the brain; that coding for female-related cues is enhanced during high-engagement states; and that coding for self-motion information is suppressed during theses states. This study highlights the power of coupling brain-wide imaging with natural behavior to uncover flexible coding properties in the brain. In our third study, we provide a joint-statistical and experimental framework for uncovering the causal interaction map of the fly brain, which we call the “effectome.” We first propose that optogenetic stimulation can be used as an instrumental variable (IV) to distinguish between causal and correlational relationships between neurons. Leveraging the recently completed whole-brain connectome for Drosophila, we show that dynamics in the fly brain consist of a large number of independent activity modes arising from sparse populations of neurons. We show how this organization is amenable to efficiently uncovering the true effectome using our IV approach—a major step beyond correlation-based descriptions of neural activity and small-scale functional mapping. Altogether, our work couples brain-scale analysis of connectivity and dynamics with naturalistic paradigms to uncover fundamental principles of state-dependent coding and behavior.application/pdfencausalitycodingconnectomicsdecision-makinginternal-stateNeurosciencesBrain-wide connectivity and activity underlying state-dependent behaviors in DrosophilaAcademic dissertations (Ph.D.)