{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"institution":[{"name":"bioRxiv"}],"indexed":{"date-parts":[[2026,10,13]],"date-time":"2026-10-13T10:54:19Z","timestamp":1791888859738,"version":"4.3.4"},"posted":{"date-parts":[[2026,10,8]]},"group-title":"Neuroscience","reference-count":45,"publisher":"openRxiv","license":[{"start":{"date-parts":[[2026,10,8]],"date-time":"2026-10-08T00:00:00Z","timestamp":1791417600000},"content-version":"vor","delay-in-days":0,"URL":"http:\/\/creativecommons.org\/licenses\/by-nc-nd\/4.0\/"}],"funder":[{"name":"NIH","award":["R35"],"award-info":[{"award-number":["R35"]}]},{"name":"NIH","award":["R01 NS104899"],"award-info":[{"award-number":["R01 NS104899"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"accepted":{"date-parts":[[2026,10,7]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                <jats:p>\n                  Within natural environments, different sensory stimuli can drive mutually-exclusive behaviors such as fighting, feeding, or courting. When experiencing competing cues, how do animals decide to continue executing the current behavior or to switch to a new behavior? To address this question, we developed a closed-loop behavioral paradigm that presents actively courting male\n                  <jats:italic>Drosophila<\/jats:italic>\n                  with a fictive heat stimulus, forcing the male to choose between two competing behaviors: continue courting (stay) or escape the heat (switch). By modeling the sensorimotor transformations underlying this decision process, we discovered that male flies continually evaluate social cues\u2014including the female\u2019s speed and her distance\u2014in order to make a stay\/switch decision. We investigated the neural correlates of stay\/switch decision-making via brain-wide calcium imaging in head-fixed male flies presented with both fictive female visual cues and heat stimuli. We built models that predicted stay\/switch decisions from neural data, which revealed that activity in a small number of brain regions, including the anterior optic tubercle, predicted decision outcomes up to 4 seconds prior to stimulus onset, whereas after stimulus onset, distributed activity across the brain was correlated with the behavioral decision. Together, these results demonstrate that\n                  <jats:italic>Drosophila<\/jats:italic>\n                  continually evaluate social feedback to inform decisions about how to respond to environmental cues, and that brain activity changes prior to presentation of the environmental cue can inform upcoming decisions. Overall, this study provides new insight into the processes underlying naturalistic decision-making in\n                  <jats:italic>Drosophila<\/jats:italic>\n                  .\n                <\/jats:p>","DOI":"10.64898\/2026.10.01.756036","type":"posted-content","created":{"date-parts":[[2026,10,9]],"date-time":"2026-10-09T05:25:14Z","timestamp":1791523514000},"source":"Crossref","is-referenced-by-count":0,"title":["Social feedback structures stay\/switch decision-making in\n                  <i>Drosophila<\/i>"],"prefix":"10.64898","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-6935-0381","authenticated-orcid":false,"given":"Max J.","family":"Aragon","sequence":"first","affiliation":[{"name":"Princeton Neuroscience Institute, Princeton University, Princeton, NJ, USA"},{"name":"Columbia University, New York, NY, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3063-3389","authenticated-orcid":false,"given":"Mala","family":"Murthy","sequence":"additional","affiliation":[{"name":"Princeton Neuroscience Institute, Princeton University, Princeton, NJ, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"54368","reference":[{"key":"2026101303400710000_2026.10.01.756036v1.1","doi-asserted-by":"crossref","unstructured":"Jiang, X. & Pan, Y. Neural control of action selection among innate behaviors 38, 1541\u20131558. URL https:\/\/www.ncbi.nlm.nih.gov\/pmc\/articles\/PMC9723052\/.","DOI":"10.1007\/s12264-022-00886-x"},{"key":"2026101303400710000_2026.10.01.756036v1.2","doi-asserted-by":"crossref","unstructured":"Sareen, P. , Wolf, R. & Heisenberg, M . Attracting the attention of a fly 108, 7230\u20137235. URL https:\/\/www.pnas.org\/doi\/full\/10.1073\/pnas.1102522108.","DOI":"10.1073\/pnas.1102522108"},{"key":"2026101303400710000_2026.10.01.756036v1.3","doi-asserted-by":"crossref","unstructured":"Wang, L. & Krauzlis, R. J . Visual selective attention in mice 28, 676\u2013685.e4. URL https:\/\/www.sciencedirect.com\/science\/article\/pii\/S096098221830040X.","DOI":"10.1016\/j.cub.2018.01.038"},{"key":"2026101303400710000_2026.10.01.756036v1.4","doi-asserted-by":"crossref","unstructured":"Fernandes, A. M. et al. Neural circuitry for stimulus selection in the zebrafish visual system 109, 805\u2013822.e6. URL https:\/\/linkinghub.elsevier.com\/retrieve\/pii\/S0896627320309612.","DOI":"10.1016\/j.neuron.2020.12.002"},{"key":"2026101303400710000_2026.10.01.756036v1.5","doi-asserted-by":"crossref","unstructured":"Bahl, A. & Engert, F. Neural circuits for evidence accumulation and decision making in larval zebrafish 23, 94\u2013102.","DOI":"10.1038\/s41593-019-0534-9"},{"key":"2026101303400710000_2026.10.01.756036v1.6","doi-asserted-by":"crossref","unstructured":"Skals, N. , Anderson, P. , Kanneworff, M. , L\u00f6fstedt, C. & Surlykke, A. Her odours make him deaf: crossmodal modulation of olfaction and hearing in a male moth 208, 595\u2013601. URL https:\/\/journals.biologists.com\/jeb\/article\/208\/4\/595\/9405\/Her-odours-make-him-deaf-crossmodal-modulation-of.","DOI":"10.1242\/jeb.01400"},{"key":"2026101303400710000_2026.10.01.756036v1.7","unstructured":"Richman, E. B. , Ticea, N. , Allen, W. E. , Deisseroth, K. & Luo, L. Neural landscape diffusion resolves conflicts between needs across time | nature URL https:\/\/www.nature.com\/articles\/s41586-023-06715-z."},{"key":"2026101303400710000_2026.10.01.756036v1.8","doi-asserted-by":"crossref","unstructured":"Crickmore, M. & Vosshall, L . Opposing dopaminergic and GABAergic neurons control the duration and persistence of copulation in drosophila 155, 881\u2013893. URL https:\/\/linkinghub.elsevier.com\/retrieve\/pii\/S0092867413012312.","DOI":"10.1016\/j.cell.2013.09.055"},{"key":"2026101303400710000_2026.10.01.756036v1.9","doi-asserted-by":"crossref","unstructured":"Gautham, A. K. , Miner, L. E. , Franco, M. N. , Thornquist, S. C. & Crickmore, M. A. Dopamine biases decisions by limiting temporal integration 632, 850\u2013857.","DOI":"10.1038\/s41586-024-07749-7"},{"key":"2026101303400710000_2026.10.01.756036v1.10","unstructured":"Cazal\u00e9-Debat, L. et al. Mating proximity blinds threat perception 1\u20139. URL https:\/\/www.nature.com\/articles\/s41586-024-07890-3."},{"key":"2026101303400710000_2026.10.01.756036v1.11","doi-asserted-by":"crossref","unstructured":"Coen, P. et al. Dynamic sensory cues shape song structure in drosophila 507, 233\u2013237.","DOI":"10.1038\/nature13131"},{"key":"2026101303400710000_2026.10.01.756036v1.12","doi-asserted-by":"crossref","unstructured":"Calhoun, A. J. , Pillow, J. W. & Murthy, M. Unsupervised identification of the internal states that shape natural behavior 22, 2040\u20132049. URL https:\/\/www.nature.com\/articles\/s41593-019-0533-X. Number: 12.","DOI":"10.1038\/s41593-019-0533-x"},{"key":"2026101303400710000_2026.10.01.756036v1.13","unstructured":"Garrett, N. & Daw, N. D. Biased belief updating and suboptimal choice in foraging decisions 11, 3417. URL https:\/\/www.nature.com\/articles\/ s41467-020-16964-5."},{"key":"2026101303400710000_2026.10.01.756036v1.14","doi-asserted-by":"crossref","unstructured":"Constantino, S. M. & Daw, N. D. Learning the opportunity cost of time in a patch-foraging task 15, 837\u2013853.","DOI":"10.3758\/s13415-015-0350-y"},{"key":"2026101303400710000_2026.10.01.756036v1.15","unstructured":"Stephens, D. W. & Krebs, J. R. Foraging theory Monographs in behavior and ecology (Princeton University Press)."},{"key":"2026101303400710000_2026.10.01.756036v1.16","doi-asserted-by":"crossref","unstructured":"Cisek, P. Cortical mechanisms of action selection: the affordance competition hypothesis 362, 1585\u20131599. URL https:\/\/www.ncbi.nlm.nih.gov\/pmc\/articles\/ PMC2440773\/.","DOI":"10.1098\/rstb.2007.2054"},{"key":"2026101303400710000_2026.10.01.756036v1.17","doi-asserted-by":"crossref","unstructured":"Cisek, P. Evolution of behavioural control from chordates to primates 377, 20200522. URL https:\/\/royalsocietypublishing.org\/doi\/full\/10.1098\/rstb.2020.0522.","DOI":"10.1098\/rstb.2020.0522"},{"key":"2026101303400710000_2026.10.01.756036v1.18","doi-asserted-by":"crossref","unstructured":"Cisek, P. & Kalaska, J. F. Neural mechanisms for interacting with a world full of action choices 33, 269\u2013298.","DOI":"10.1146\/annurev.neuro.051508.135409"},{"key":"2026101303400710000_2026.10.01.756036v1.19","unstructured":"Findling, C. et al. Brain-wide representations of prior information in mouse decision-making 645, 192\u2013200. URL https:\/\/www.nature.com\/articles\/s41586-025-09226-1."},{"key":"2026101303400710000_2026.10.01.756036v1.20","doi-asserted-by":"crossref","unstructured":"Pereira, T. D. et al. SLEAP: A deep learning system for multi-animal pose tracking 19, 486\u2013495. URL https:\/\/www.nature.com\/articles\/s41592-022-01426-1.","DOI":"10.1038\/s41592-022-01426-1"},{"key":"2026101303400710000_2026.10.01.756036v1.21","doi-asserted-by":"crossref","unstructured":"Hindmarsh Sten, T. , Li, R. , Otopalik, A. & Ruta, V. Sexual arousal gates visual processing during drosophila courtship 595, 549\u2013553. URL http:\/\/www.nature.com\/articles\/s41586-021-03714-w.","DOI":"10.1038\/s41586-021-03714-w"},{"key":"2026101303400710000_2026.10.01.756036v1.22","doi-asserted-by":"crossref","unstructured":"Gallio, M. , Ofstad, T. A. , Macpherson, L. J. , Wang, J. W. & Zuker, C. S . The coding of temperature in the drosophila brain 144, 614\u2013624. URL https:\/\/www.cell.com\/cell\/abstract\/S0092-8674(11)00067-5.","DOI":"10.1016\/j.cell.2011.01.028"},{"key":"2026101303400710000_2026.10.01.756036v1.23","doi-asserted-by":"crossref","unstructured":"Sim\u00f5es, J. M. et al. Robustness and plasticity in drosophila heat avoidance 12, 2044. URL https:\/\/www.nature.com\/articles\/s41467-021-22322-w. Number: 1.","DOI":"10.1038\/s41467-021-22322-w"},{"key":"2026101303400710000_2026.10.01.756036v1.24","doi-asserted-by":"crossref","unstructured":"Ache, J. M. et al. Neural basis for looming size and velocity encoding in the drosophila giant fiber escape pathway 29, 1073\u20131081.e4.","DOI":"10.1016\/j.cub.2019.01.079"},{"key":"2026101303400710000_2026.10.01.756036v1.25","doi-asserted-by":"crossref","unstructured":"Ache, J. M. , Namiki, S. , Lee, A. , Branson, K. & Card, G. M. State-dependent decoupling of sensory and motor circuits underlies behavioral flexibility in drosophila 22, 1132\u20131139.","DOI":"10.1038\/s41593-019-0413-4"},{"key":"2026101303400710000_2026.10.01.756036v1.26","doi-asserted-by":"crossref","unstructured":"Roemschied, F. A. et al. Flexible circuit mechanisms for context-dependent song sequencing 622, 794\u2013801. URL https:\/\/www.nature.com\/articles\/s41586-023-06632-1.","DOI":"10.1038\/s41586-023-06632-1"},{"key":"2026101303400710000_2026.10.01.756036v1.27","doi-asserted-by":"crossref","unstructured":"Klapoetke, N. C. et al. Independent optical excitation of distinct neural populations 11, 338\u2013346.","DOI":"10.1038\/nmeth.2836"},{"key":"2026101303400710000_2026.10.01.756036v1.28","doi-asserted-by":"crossref","unstructured":"McKellar, C. E. et al. Threshold-based ordering of sequential actions during Drosophila courtship 29, 426\u2013434.e6. URL https:\/\/www.sciencedirect.com\/science\/article\/pii\/S0960982218316518.","DOI":"10.1016\/j.cub.2018.12.019"},{"key":"2026101303400710000_2026.10.01.756036v1.29","doi-asserted-by":"crossref","unstructured":"Clowney, E. J. , Iguchi, S. , Bussell, J. J. , Scheer, E. & Ruta, V. Multimodal chemosensory circuits controlling male courtship in drosophila 87, 1036\u20131049.","DOI":"10.1016\/j.neuron.2015.07.025"},{"key":"2026101303400710000_2026.10.01.756036v1.30","doi-asserted-by":"crossref","unstructured":"Chen, T.-W. et al. Ultra-sensitive fluorescent proteins for imaging neuronal activity 499, 295\u2013300. URL https:\/\/www.ncbi.nlm.nih.gov\/pmc\/articles\/PMC3777791\/.","DOI":"10.1038\/nature12354"},{"key":"2026101303400710000_2026.10.01.756036v1.31","doi-asserted-by":"crossref","unstructured":"Pfeiffer, B. D. et al. Tools for neuroanatomy and neurogenetics in drosophila 105, 9715\u20139720. URL https:\/\/pmc.ncbi.nlm.nih.gov\/articles\/PMC2447866\/.","DOI":"10.1073\/pnas.0803697105"},{"key":"2026101303400710000_2026.10.01.756036v1.32","doi-asserted-by":"crossref","unstructured":"Henry, G. L. , Davis, F. P. , Picard, S. & Eddy, S. R. Cell type\u2013specific genomics of drosophila neurons 40, 9691\u20139704. URL https:\/\/pmc.ncbi.nlm.nih.gov\/articles\/PMC3479168\/.","DOI":"10.1093\/nar\/gks671"},{"key":"2026101303400710000_2026.10.01.756036v1.33","doi-asserted-by":"crossref","unstructured":"Brezovec, B. E. et al. Mapping the neural dynamics of locomotion across the drosophila brain 34, 710\u2013726.e4. URL https:\/\/linkinghub.elsevier.com\/retrieve\/pii\/S0960982223017633.","DOI":"10.1016\/j.cub.2023.12.063"},{"key":"2026101303400710000_2026.10.01.756036v1.34","unstructured":"Brezovec, L. E. et al. BIFROST: a method for registering diverse imaging datasets. URL https:\/\/www.biorxiv.org\/content\/10.1101\/2023.06.09.544408v1. Pages: 2023.06.09.544408 Section: New Results."},{"key":"2026101303400710000_2026.10.01.756036v1.35","unstructured":"Collie, M. F. et al. Specialized parallel pathways for adaptive control of visual object pursuit. URL https:\/\/www.biorxiv.org\/content\/10.1101\/2025.04.23.650240v1. Pages: 2025.04.23.650240 Section: New Results."},{"key":"2026101303400710000_2026.10.01.756036v1.36","doi-asserted-by":"crossref","unstructured":"Clemens, J. et al. Connecting neural codes with behavior in the auditory system of drosophila 87, 1332\u20131343. URL https:\/\/www.cell.com\/neuron\/abstract\/S0896-6273(15)00708-4.","DOI":"10.1016\/j.neuron.2015.08.014"},{"key":"2026101303400710000_2026.10.01.756036v1.37","unstructured":"Pang, R. , Baker, C. A. , Murthy, M. & Pillow, J . Inferring neural population codes for drosophila acoustic communication 122, e2417733122. URL https:\/\/www.pnas.org\/doi\/abs\/10.1073\/pnas.2417733122."},{"key":"2026101303400710000_2026.10.01.756036v1.38","unstructured":"Tinbergen, N. The study of instinct 1st ed. 2nd impression edn (Clarendon P)."},{"key":"2026101303400710000_2026.10.01.756036v1.39","doi-asserted-by":"crossref","unstructured":"Ribeiro, I. M. et al. Visual projection neurons mediating directed courtship in drosophila 174, 607\u2013621.e18. URL https:\/\/linkinghub.elsevier.com\/retrieve\/pii\/S0092867418307888.","DOI":"10.1016\/j.cell.2018.06.020"},{"key":"2026101303400710000_2026.10.01.756036v1.40","doi-asserted-by":"crossref","unstructured":"Brezovec, L. E. , Berger, A. B. , Druckmann, S. & Clandinin, T. R. Neural correlates of future volitional action in drosophila. URL https:\/\/www.biorxiv.org\/content\/10.1101\/2023.09.08.556917v1. Pages: 2023.09.08.556917 Section: New Results.","DOI":"10.1101\/2023.09.08.556917"},{"key":"2026101303400710000_2026.10.01.756036v1.41","doi-asserted-by":"crossref","unstructured":"Weber, A. I. & Pillow, J. W. Capturing the dynamical repertoire of single neurons with generalized linear models 29, 3260\u20133289. URL https:\/\/direct.mit.edu\/neco\/article\/29\/12\/3260-3289\/8316.","DOI":"10.1162\/neco_a_01021"},{"key":"2026101303400710000_2026.10.01.756036v1.42","unstructured":"Drosophila neurobiology: a laboratory manual."},{"key":"2026101303400710000_2026.10.01.756036v1.43","unstructured":"Avants, B. B. , Tustison, N. & Johnson, H. Advanced normalization tools (ANTS)."},{"key":"2026101303400710000_2026.10.01.756036v1.44","doi-asserted-by":"publisher","DOI":"10.7554\/eLife.66135"},{"key":"2026101303400710000_2026.10.01.756036v1.45","doi-asserted-by":"crossref","unstructured":"Friedrich, J. , Zhou, P. & Paninski, L. Fast online deconvolution of calcium imaging data 13, e1005423. URL https:\/\/journals.plos.org\/ploscompbiol\/article?id=10.1371\/journal.pcbi.1005423.","DOI":"10.1371\/journal.pcbi.1005423"}],"container-title":[],"original-title":[],"link":[{"URL":"https:\/\/syndication.highwire.org\/content\/doi\/10.64898\/2026.10.01.756036","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,10,13]],"date-time":"2026-10-13T10:40:22Z","timestamp":1791888022000},"score":1,"resource":{"primary":{"URL":"http:\/\/biorxiv.org\/lookup\/doi\/10.64898\/2026.10.01.756036"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,10,8]]},"references-count":45,"URL":"https:\/\/doi.org\/10.64898\/2026.10.01.756036","relation":{},"subject":[],"published":{"date-parts":[[2026,10,8]]},"subtype":"preprint"}}