Abstract

The brain adaptively integrates present sensory input, past experience, and options for future action. The insect mushroom body exemplifies how a central brain structure brings about such integration. Here we use a combination of systematic single-cell labeling, connectomics, transgenic silencing, and activation experiments to study the mushroom body at single-cell resolution, focusing on the behavioral architecture of its input and output neurons (MBINs and MBONs), and of the mushroom body intrinsic APL neuron. Our results reveal the identity and morphology of almost all of these 44 neurons in stage 3 Drosophila larvae. Upon an initial screen, functional analyses focusing on the mushroom body medial lobe uncover sparse and specific functions of its dopaminergic MBINs, its MBONs, and of the GABAergic APL neuron across three behavioral tasks, namely odor preference, taste preference, and associative learning between odor and taste. Our results thus provide a cellular-resolution study case of how brains organize behavior.

Introduction

The insect mushroom body is an intensely studied example of a central brain structure that integrates present sensory input, past experience, and options for future behavior1,2,3,4,5,6. We use larval Drosophila melanogaster to study these processes at single-cell resolution. Our focus is on the mushroom body input (MBINs) and output neurons (MBONs), and their role in the association of odor with taste reward as a biologically meaningful learning process. Combined with the connectome of the larval mushroom body7, this provides a framework for understanding how a central brain structure is functionally organized.

The larval olfactory system is organized like that of adult insects, yet at much reduced cell numbers8,9,10,11,12,13 (Fig. 1a, b). Its 21 olfactory sensory neurons define the range of odors detectable for the larva. Each olfactory sensory neuron targets just one glomerulus in the antennal lobe. The 21 antennal lobe glomeruli are laterally connected by 14 interneurons8, 14. A total of 34 olfactory projection neurons then connect the antennal lobe with the lateral horn and the mushroom body. Depending on the odorant receptors expressed and the connectivity within this system, olfactory stimuli can thus be coded combinatorially across these pathways (but also see ref. 15). Processing along the lateral horn pathway is largely sufficient for olfactory behavior in experimentally naïve animals, whereas learned olfactory behavior requires the mushroom body loop16,17,18 (but also see ref. 19). The olfactory pathways remain mostly ipsilateral8, are bilaterally symmetrical, and are largely stereotyped. A notable exception to stereotypy is that the olfactory projection neurons connect in a predominantly random fashion to ~800 mushroom body intrinsic Kenyon cells (KCs)7, 20, 21. The high input resistance of the KCs and GABAergic gain control result in a sparse combinatorial code across the mushroom body22. This architecture of the olfactory system resembles that of mammals3.

Fig. 1
Fig. 1

Overview of anatomical relationships, and of the requirement of MBINs and MBONs across behavioral tasks. a Body plan of stage 3 Drosophila larvae102 (modified with permission from ref. 102); brain refers to the ventral nerve cord plus the two brain hemispheres toward the left. Also see Supplementary Movies 1-5. b Simplified diagram of the olfactory and gustatory pathways, and of the organization of innate and learned olfactory behavior, as well as of innate gustatory behavior in the larva. AL antennal lobe, KC Kenyon cells of the mushroom body, LH lateral horn, MBIN mushroom body input neurons, MBON mushroom body output neurons, OSN olfactory sensory neurons, PN olfactory projection neurons. The red triangles indicate KC output synapses that are modulated by the joint presentation of odor and fructose; gray and black triangles indicate silent and active synapses, respectively. The gray boxes indicate mushroom body compartments. The integral sign implies that learned odor valence can be based on an integration of MBON activity from multiple compartments. Circuitry within the AL and the APL neuron are not displayed. Also, circuit motifs newly discovered7, namely KC-KC connections as well as KC > DAN and MBIN > MBON connections, are not included. c Schematic of the location and orientation of the mushroom body within the larval nervous system. The mushroom body is only shown in one hemisphere. A anterior, D dorsal, P posterior, L lateral, M medial, V ventral. d Organization of the larval mushroom body in 11 compartments. CX calyx; IP and LP intermediate and lower peduncle; LA lateral appendix; UVL, IVL, and LVL upper, intermediate, and lower vertical lobe; SHA, UT, IT, LT shaft as well as upper, intermediate, and lower toe of the medial lobe. Single-letter synonyms of compartment names are given as “a–k”; these letters are used to indicate compartment innervation by the MBEs in Fig. 2. e Summary of the requirement of MBINs, MBONs, and of the APL neuron across behavioral tasks, based on the data shown in Figs. 24, and Supplementary Table 1

Despite significant advances23,24,25,26,27,28,29,30,31, the taste system of the larva is less well understood. The ~80 larval gustatory sensory neurons are located in three external and four pharyngeal sense organs. However, a comprehensive picture of taste coding in the brain is just emerging9, 11, 32, 33. What is clear is that gustatory sensory neurons project to the subesophageal zone. From the subesophageal zone taste information is passed on for steering innate gustatory behavior (throughout this study, “innate” is used in the sense of “experimentally naïve”), and toward the brain. These brain projections connect, via an unknown number of synaptic steps, to MBINs. There follows a simplified account of how associative learning comes about at the interface of MBINs, KCs, and the MBONs (Fig. 1b).

The majority of MBINs are either dopaminergic or octopaminergic/tyraminergic (DANs and OANs, respectively) and are necessary and sufficient for reinforcement signaling in insects34,35,36,37,38,39,40,41,42. Optogenetic activation of OANs in larval Drosophila is sufficient as an internal reward signal36, as is activation of DANs from the pPAM cluster42. In turn, activation of DANs from other clusters that innervate separate mushroom body compartments is sufficient as a punishment36. Accordingly, a knockdown of the DopR1 dopamine receptor in the KCs impairs both appetitive and aversive learning37 (in adult Drosophila43). During odor-reward training, for example, an odor-specific subset of KCs is activated via the projection neurons. At the same time, a subset of MBINs is activated by the reward. Locally within the MBINs’ target compartments, therefore, most if not all KCs receive an aminergic internal reward signal (for punishment learning and potentially also for non-associative forms of learning different MBINs and their target compartments are involved). As has been shown in adult Drosophila, coincident input of odor and the aminergic reinforcement signal is detected within the odor-activated KCs44,45,46, resulting in modification of their output synapses. In this way the level of activity in the MBONs will reflect what has been learned about an odor47,48,49,50,51,52. Such learned-valence signals from the MBONs are then summed up with innate odor valence information delivered toward the lateral horn by the projection neurons49, 53 (Fig. 1b). The mushroom bodies thus are an example of a central brain structure integrating present sensory input (projection neurons, MBINs) and past experience associated with such input (the modified KC-to-MBON presynaptic terminals) to provide instruction for future behavior (via the MBONs).

For both larval and adult Drosophila the exact division of labor among individual MBINs remains to be elucidated54. Elucidation is required specifically in order to understand how separate memories for distinct kinds of reward can be established55. Likewise, the way in which MBONs affect learned behavior has only recently begun to be understood in adults47,48,49, 51, 52, 56 and remains clouded in the case of larvae. Here these issues are addressed at the single-cell level, in the larva.

Results

Atlas of mushroom body extrinsic neurons in stage 3 larvae

We selected 877 Gal4 driver strains with expression in the central nervous system of stage 3 Drosophila larvae57(http://flweb.janelia.org/cgi-bin/flew.cgi) and inspected them for coverage of mushroom body extrinsic neurons (MBEs). Systematic multicolor flp-out57, 58 revealed the identity and morphology of 11 mushroom body compartments and 44 individual MBE neurons (Figs. 1c, d and  2, Supplementary Table 1-3). We then established a subcollection of 102 Gal4 strains thus known to include MBE neurons in their expression pattern for functional analysis, and for narrowing down expression patterns by intersectional strategies59, 60 (Supplementary Table 4). A recent electron microscope reconstruction of a stage 1 larval brain7 has revealed three MBE neurons that have not yet been found in stage 3 larvae; in turn, six MBE neurons were identified that are present in stage 3 larvae but not in stage 1 (Supplementary Fig. 1, Supplementary Fig. 2). These differences suggest that our stage 3 MBE neuron atlas is about 95% complete, and that MBE neurons are incorporated into the system as the larvae grow and develop. Still, the behavioral faculties of stage 1 larvae qualitatively match those of stage 3 larvae across multiple assays, including those for odor preference, taste preference and odor-taste associative learning61.

Fig. 2
Fig. 2

Atlas of the MBE neurons. Identification of the MBE neurons by compartment innervation, input and output regions, and cell body location. The MBE of only one hemisphere is shown (for the segmentally homologous, unpaired OAN-a1 and OAN-a2 neurons the cell bodies are located at the midline). For MBE pairs, the second neuron of the pair is indicated by its cell body and stippled primary neurite. Anatomical panels show z-projections of those parts of the larval brain that include the respective MBE. MBEs are visible based on antibody staining against the flp-out effectors; anti-neuroglian staining in gray reveals the local brain structure. Note that the nomenclature for the MBIN-l1 and MBON-p1 neuron is based on their compartment innervation in the stage 1 larva (Supplementary Fig. 1). For more details, see Supplementary Table 1

Most MBE neurons are present as one cell per hemisphere, with mirror-image symmetry of the cells on the left and right side of the brain (pairs). Exceptions are the OAN-a1 and OAN-a2 neurons, with unpaired cell bodies located at the midline in the maxillary and mandibular segment, respectively (Supplementary Fig. 3); both these cells have bilaterally symmetrical morphology. In five cases MBE neurons are present as double pairs, i.e., with two cells per hemisphere (Supplementary Fig. 3, Supplementary Table 1).

The arborizations of the MBE neurons define 11 non-overlapping compartments of the mushroom body (Figs. 1d and 2, Supplementary Fig. 4). The majority of MBE neurons innervate a single compartment per hemisphere (38 out of 44) and in 14 of these 38 cases they also innervate the same compartment on the contralateral side (Fig. 2; for DAN-i1 as an example we provide more detail below). We have designated these neurons single-compartment MBE neurons. The six MBEs that innervate multiple compartments are called multiple-compartment MBE neurons.

The innervation by the MBE neurons intersects the axonal projections of the KCs. Within each compartment the MBE neurons can thus relate to the coding space encompassed across the KCs (for DAN-i1 and the anterior paired lateral (APL) neuron as examples we provide more detail below). In most cases the morphology of the MBE neurons allowed regions rich in presynaptic boutons to be distinguished from regions dominated by spine-like postsynaptic structures; electron microscopy verified these interpretations7. The MBE neurons were accordingly classified as MBINs or MBONs. The compartments are in register for MBINs and MBONs (Fig. 2). The APL neuron is the only MBE that communicates almost exclusively within the mushroom body and is therefore labeled as MBIN/MBON.

All MBINs except OAN-e1 provide inter-hemispheric cross talk; the same is observed for more than half of the MBONs (12/21 single-compartment MBONs and 3/4 multiple-compartment MBONs; Supplementary Table 1). This is striking, because little inter-hemispheric integration is otherwise seen along olfactory ascending pathways in the larva7, 8, 62.

With the exception of MBIN-m1 all MBINs are classified as being of the single-compartment type, whereas the MBONs feature four cases classified as multiple-compartment type. This suggests that mushroom body output is more integrated across compartments than mushroom body input is.

Specific and sparse requirement of MBEs across behaviors

For a pre-screen of the function of the MBE neurons, the above-mentioned collection of 102 MBE-covering Gal4 driver strains was crossed to UAS-shits (Supplementary Table 2 and Supplementary Table 3; four MBE neurons were not covered by this collection). At restrictive temperature, and thus with an acute block of synaptic output, the offspring were assayed in an odor-fructose (FRU) reward association task. The larvae received the odor and a FRU reward either in a paired manner or, in independent groups of animals, in an unpaired way. Then, the animals were tested for their preference for the odor. From the difference in preference between the paired-trained versus the unpaired-trained groups an associative performance index (PI) was calculated. Combining the data from the strains that cover a given MBE neuron, and taking into account a previous report42, this identified the MBEs innervating the medial lobe compartments, the lower vertical lobe compartment, and the APL neuron as candidates for being required in the odor-FRU association (Supplementary Fig. 5).

Next, a collection of 12 split-Gal4 driver strains was generated expressing reliably, strongly, and specifically in 13 MBEs (Supplementary Table 4; in three cases, the drivers were specific for the indicated double pair). These driver strains were crossed to UAS-Kir2.1::GFP to silence neuronal activity by an immunohistologically detectable transgene; expression of Kir2.1::GFP was confirmed in all cases (not shown). The larvae were then assayed for (i) odor-FRU reward association, as well as for (ii) odor preference and for (iii) FRU preference (Figs. 3 and 4). Our results show that MBEs play a sparse and specific role in these tasks (Figs. 1e, 3, and 4). That is, in three cases impairments specifically concerned the odor-FRU association task, but not odor preference and not FRU preference (DAN-h1: Fig. 3a; MBON-j2: Fig. 4c; MBON-g1,g2: Fig. 4f; Supplementary Fig. 6a, g, and j). In one case an impairment was found in the preference for odor as well as for FRU, but no impairment of the odor-FRU association (DAN-k1: Fig. 3c; Supplementary Fig. 6c, Supplementary Fig. 7a and b). Silencing DAN-g1 impaired none of these three tasks (Fig. 4e), but rendered olfactory behavior more susceptible to non-associative effects of odor-only as well as of FRU-only exposure (Supplementary Fig. 8). In the remaining five cases, no phenotype in any of the tasks was observed (MBON-h1,h2: Fig. 3b; MBON-k1: Fig. 3d; DAN-i1: Fig. 4a; MBON-i1: Fig. 4b; MBON-j1: Fig. 4d; Supplementary Fig. 6b, d, e, f, and h). The fact that all observed impairments were partial suggests a fair degree of redundancy for the studied MBE neurons and behavioral tasks. Strikingly, no case was observed of impairment in all tasks. Together, these results suggest sparseness and specificity in the requirement of the studied MBE neurons for odor-FRU association, odor preference, and FRU preference (Fig. 1e).

Fig. 3
Fig. 3

Requirement of shaft and lower-toe MBE neurons for odor-fructose reward association, odor preference, and fructose preference. ad Expression pattern of the indicated split-Gal4 strain and schematic overview of the covered MBE (leftmost column), associative performance indices for odor-fructose reward associative memory (second column), and preference scores of experimentally naïve larvae for the odor (third column) as well as for fructose (rightmost column). Experimental larvae are heterozygous for the indicated split-Gal4 drivers and for UAS-Kir2.1::GFP, leading to silencing of the respective MBE (MBE block). Control larvae are heterozygous for only the UAS-Kir2.1::GFP effector (effector Ctrl), or for only the split-Gal4 drivers (driver Ctrl). Box plots show the median as the middle line, and 25/75% and 10/90% quantiles as box boundaries and whiskers, respectively. Sample sizes are indicated within the figure. At plain horizontal lines * refers to P < 0.05/2 and ns to P > 0.05/2 in Mann–Whitney U-tests; at horizontal lines with arrowheads, ns refers to P > 0.05 in Kruskal–Wallis tests. Significant phenotypes upon silencing a given MBE are marked by red frames. The preference scores underlying the associative performance indices in the leftmost panels can be found in Supplementary Fig. 6. Expression patterns of split-Gal4 drivers covering the respective MBE are visible based on anti-GFP staining (black); the central nervous system is visible based on background fluorescence (gray). e From left to right the panel shows schematics of the odor-fructose reward association task, and of the odor preference or fructose preference tasks. The orange cloud indicates n-amylacetate as the odor, the green circle indicates the fructose reward. In half of the cases the sequence of training trials was as indicated in the leftmost display, while for the other half it was reversed (not shown)

Fig. 4
Fig. 4

Requirement of upper and middle toe and of lower vertical lobe MBE neurons across behavioral tasks. af Analyses corresponding to the ones from Fig. 3a–d, for the upper and middle toe and of lower vertical lobe MBE neurons. Columns show, from left to right, the expression pattern of the indicated split-Gal4 strain and schematic overview of the covered MBE, the associative performance indices for odor-fructose reward associative memory, and the preference scores of experimentally naïve larvae for the odor as well as for fructose. Experimental larvae are heterozygous for the indicated split-Gal4 drivers and for UAS-Kir2.1::GFP, leading to silencing of the respective MBE (MBE block). Control larvae are heterozygous for only the UAS-Kir2.1::GFP effector (effector Ctrl), or for only the split-Gal4 drivers (driver Ctrl). Sample sizes are indicated within the figure. At plain horizontal lines * refers to P < 0.05/2 and ns to P > 0.05/2 in Mann–Whitney U-tests; at horizontal lines with arrowheads, ns refers to P > 0.05 in Kruskal–Wallis tests. Significant phenotypes upon silencing a given MBE are marked by red frames. The preference scores underlying the associative performance indices in the leftmost panels can be found in Supplementary Fig. 6. Expression patterns of split-Gal4 drivers covering the respective MBE are visible based on anti-GFP staining (black); the central nervous system is visible based on background fluorescence (gray). Behavioral tasks and other details were as in Fig. 3e

Sufficiency of DAN-h1 and DAN-i1 as internal reward signal

The MBIN found to be required for full performance in the odor-FRU association task was DAN-h1, a member of the pPAM cluster of DANs innervating the medial lobe42 (Fig. 3a). This raised the question whether this and/or other pPAM neurons are also sufficient for mediating an internal reward signal. To this end, instead of presenting a real FRU reward, ChR2-XXL was used to optogenetically activate DAN-h1, DAN-k1, or DAN-i1 as an internal reward signal (attempts to generate a suitable driver strain for DAN-j1 have failed). Activation of DAN-h1 as well as activation of DAN-i1 was sufficient as an internal reward signal, but activation of DAN-k1 was without any such effect (Fig. 5a–d; Supplementary Fig. 9a-d). While the rewarding effect of activating either DAN-h1 or DAN-i1 was replicated with a tomato-tagged version of ChR2-XXL (Supplementary Fig. 9e), using Chrimson as an optogenetic effector yielded a rewarding effect only for DAN-i1 (Supplementary Fig. 10). Thus, levels of activation by Chrimson may be less for DAN-h1 than for DAN-i1. Alternatively, Chrimson may be a generally weaker activator than ChR2-XXL such that a stronger rewarding effect of DAN-i1 than of DAN-h1 is revealed with Chrimson but, because of a ceiling effect, not with ChR2-XXL.

Fig. 5
Fig. 5

Sufficiency of DAN-h1 and of DAN-i1 as an internal reward signal. ac Larvae are trained for association of odor with optogenetic activation of dopaminergic mushroom body input neurons (DANs) as an internal reward. The panels show a schematic of the covered DAN, plus the associative performance indices after odor-internal-reward training. Experimental larvae are heterozygous for the split-Gal4 drivers as well as UAS-ChR2-XXL (DAN activation). Control larvae are heterozygous for only the UAS-ChR2-XXL effector (effector Ctrl), or only the indicated split-Gal4 drivers (driver Ctrl). Activation of DAN-h1 (a) and activation of DAN-i1 (c) is sufficient as a reward, whereas activation of DAN-k1 is not (b). Other details as in Fig. 3. The preference scores underlying the associative performance indices can be found in Supplementary Fig. 9. d Schematic of the odor-internal-reward association task. The blue color indicates optogenetic activation of the respectively covered neuron. Other details as in Fig. 3. eg Locomotor “footprint” of memories established by optogenetic DAN activation as reward. e Sample tracks by individual larvae recorded after training with paired (top left) or unpaired (bottom left) presentation of odor and DAN-i1 activation. Right: after paired training with odor and DAN-i1 activation, larvae have a higher preference for the odor than after unpaired training. Displayed is the median preference of the full sample (N = 13 with approx. 30 animals each) over time (sliding average 5 s). Similar results were observed for DAN-h1 activation (not shown). f Modulations of head cast (HC) rate. After paired training with either DAN-i1 (middle panel) or DAN-h1 activation (right panel) the larvae perform more HCs while they are heading away from the odor than while they are heading toward it, measured as a positive HC rate modulation; after unpaired training the opposite effect is observed. g HC direction. Larvae direct their HCs more toward the odor after paired training than after unpaired training with DAN-i1 (middle panel) or DAN-h1 activation (right panel). Sample sizes are indicated within the figure. *P < 0.05 in Mann–Whitney U-tests. Other details as in Fig. 3

Behavioral footprint of DAN-h1 and DAN-i1 induced memories

The behavioral properties of memories established by DAN-i1 or DAN-h1 reinforcement were explored by means of video tracking (Fig. 5e–g). Optogenetically induced associative memory turned out to have the same “footprint” as memory established by FRU as a real reward53. That is, the innate bias of the larvae to run straight rather than turn when heading toward an odor source was strengthened after paired presentations of odor and DAN-i1 activation; likewise their tendency to direct turns toward, rather than away, from the odor source was strengthened (Fig. 5f, g; after presentations of odor unpaired from DAN-i1 activation both these effects were reverse). Corresponding effects, albeit somewhat weaker, were observed for DAN-h1 activation (Fig. 5f, g).

Timing-dependent valence reversal of DAN-i1 reinforcement

We further asked whether the valence of the reinforcing effect of DAN-i1 activation is timing-dependent (Fig. 6, Supplementary Fig. 11; for a detailed account of DAN-i1 structure and connectivity: Fig. 7, Supplementary Fig. 12, Supplementary Fig. 13). That is, in mammals and bees, presenting a cue before presenting a real reward can establish an association of the cue with reward gain, whereas presenting the cue only upon termination of a reward can establish an association with reward loss63, 64. We found that “forward” pairings of odor followed by DAN-i1 activation induced appetitive memory, whereas “backward” pairings of DAN-i1 activation followed by odor induced aversive memory (Fig. 6). Thus, larval Drosophila show timing-dependent valence reversal. Specifically, DAN-i1 activation can be sufficient for appetitive learning about receiving a reward, and for aversive learning about reward termination.

Fig. 6
Fig. 6

Timing-dependent valence reversal of optogenetic DAN-i1 reinforcement. a Larvae of the experimental genotype (heterozygous for SS00864-Gal4 and UAS-ChR2-XXL) were trained by presenting an odor and optogenetically activating DAN-i1, at various relative timings. A 30-s odor presentation either preceded a 30-s DAN-i1 activation (forward conditioning, plotted as negative inter-stimulus interval, ISI) or the odor followed DAN-i1 activation (backward conditioning, positive ISI). Subsequently, larvae were tested for their odor preference. For short-interval forward conditioning, positive scores reveal appetitive memory. For short-interval backward conditioning, negative scores indicate aversive memory. b Appetitive memory scores were confirmed after forward conditioning (ISI of −10 s) for the experimental genotype (heterozygous for SS00864-Gal4 and UAS-ChR2-XXL (DAN-i1 activation)). Control larvae heterozygous for only UAS-ChR2-XXL (effector Ctrl) or SS00864-Gal4 (driver Ctrl) did not show any memory. c Aversive memory scores were also confirmed after backward conditioning (ISI of 30 s) for the experimental genotype (DAN-i1 activation). Again, genetic controls did not show any memory. The preference scores underlying the associative performance indices can be found in Supplementary Fig. 11. Sample sizes are indicated within the figure. Other details as in Fig. 3. d Schematic of the timed odor-DAN-i1 association protocol. Orange and blue colors indicate the timing of odor presentation and optogenetic activation of DAN-i1, respectively, during each of the three 12-min training trials. In the example timeline, paired training (top) involves intervals between the onset of odor presentation and optogenetic activation of −30 s (left) and 30 s (right); the timing of events for unpaired training is shown to the bottom. After either paired or unpaired training, larvae are tested for their preference for the odor; the associative performance indices (PIs) are then calculated from the difference in preference between paired-trained and unpaired-trained larvae

Fig. 7
Fig. 7

Structure of DAN-i1 and connectivity with KCs. ad KC-to-DAN-i1 and DAN-i1-to-KC connections. a, b Electron microscopy reconstruction of the right-hemisphere DAN-i1 neuron and the mushroom body Kenyon cells (KCs). The regions highlighted by the box are shown in b for all KCs, and separated for KCs only presynaptic, pre- and postsynaptic, only postsynaptic, or not connected to DAN-i1, at a slightly tilted view relative to a. KC-to-DAN-i1 and DAN-i1-to-KC synapses are marked in blue and red, respectively. Inter-hemispheric connections are from aberrantly developed KCs, not from the so-called ni-cells62. The left-hemisphere DAN-i1 neuron is organized correspondingly (not shown). c Quantification of the numbers of single- and multiple-claw KCs synaptically connected to DAN-i1 (or not), separated for KCs that are only presynaptic, pre- and postsynaptic, only postsynaptic, or not connected to DAN-i1. This analysis does not suggest discrepancies between the right- and left-hemisphere DAN-i1, or between the DAN-i1 innervation of ipsi- and contralateral KCs. d For each KC reciprocally connected with DAN-i1, the numbers of KC-to-DAN-i1 versus DAN-i1-to-KC synapses are plotted (Supplementary Fig. 13a shows the data separated by hemisphere; Supplementary Fig. 13b plots each KC’s connections to the ipsi- and contralateral DAN-i1). The observed correlation (Spearman rank correlation analyses at P < 0.05) contrasts with the case of the APL neuron (Fig. 9c). e Relation of DAN-i1 to the KC inputs. The total input that DAN-i1 receives from KCs that in turn receive their input from the indicated classes on PNs was considered to calculate the matrix product of the respective PN-to-KC and KC-to-DAN-i1 connections. This was done separately for the right-hemisphere DAN-i1 and its connections to the contralateral and the ipsilateral KCs (top), and for the left-hemisphere DAN-i1 (bottom). The observed correlations (also see Supplementary Fig. 13c) reveal that both DAN-i1s sample the KC coding space in the same way (corresponding to the case of the APL neuron: Fig. 9d and Supplementary Fig. 17a), and that both DAN-i1s sample the ipsi- and contralateral KC coding space in the same way. A visualization of DAN-i1 connectivity within the mushroom body using a standard force-directed algorithm103 can be found in Supplementary Movie 6

DANs differ in the kinds of reward they mediate

It is striking that activation of either DAN-h1 or DAN-i1 is sufficient to mediate a “virtual” internal reward signal (Fig. 5, Supplementary Fig. 9e), whereas only DAN-h1 activity participates in mediating the rewarding effect of a real FRU reward (Figs. 3a and 4a). Is it that DAN-i1 is required for mediating other rewards, whereas for those other rewards DAN-h1 is dispensable? Silencing DAN-h1 impaired learning about a FRU reward, but not learning about low-salt or aspartic acid (ASP) rewards (Fig. 8a, Supplementary Fig. 14). By contrast, silencing DAN-i1 did not impair learning about any of the known taste rewards (FRU, low salt, and ASP: Fig. 8b, Supplementary Fig. 14; arabinose (ARA) and sorbitol (SOR): Supplementary Fig. 15). Whether silencing DAN-i1 would affect learning about any hitherto uncharacterized reward X remains to be tested. In any event, these results show that more than one DAN can mediate an internal reward signal, and that DANs differ with respect to the kinds of reward they mediate. Does a corresponding separation of processing channels carry through to mushroom body output?

Fig. 8
Fig. 8

Requirement of DAN-h1, but not DAN-i1, for specifically odor-fructose association. a Silencing of DAN-h1 by means of Kir2.1::GFP expression leads to an impairment in odor-fructose association (left) (these data include the odor-fructose association data shown in Fig. 3a), but not in odor-lowsalt (middle) and not in odor-amino-acid association (right). b Silencing DAN-i1 does not impair association of odor with any of these three rewards (odor-fructose association data include those shown in Fig. 4a). Likewise, odor-arabinose association as well as odor-sorbitol association is unaffected by silencing of DAN-i1 (Supplementary Fig. 15). The preference scores underlying the associative performance indices can be found in Supplementary Fig. 14. c From left to right, schematics of the indicated association tasks are shown. The green, light blue, and brown circles indicate the fructose, odor-lowsalt, and amino-acid reward, respectively. Other details as in Fig. 3

Requirement of MBINs and MBONs does not match by compartment

In none of the studied cases did the requirement of MBINs and MBONs for a task match by compartment (Figs. 1e, 3, and 4). That is, the only MBIN found to be required for proper performance in the odor-FRU association task innervates the medial lobe shaft (DAN-h1: Fig. 3a), but silencing the MBONs from this compartment does not impair performance (MBON-h1,h2: Fig. 3b, Supplementary Fig. 16). Rather, silencing MBONs from two other compartments causes impairments in odor-FRU association scores (MBON-j2 from the intermediate toe: Fig. 4c; MBON-g1,g2 from the lower vertical lobe: Fig. 4f).

Likewise, silencing the MBIN to the lower toe impairs both odor and FRU preference (DAN-k1: Fig. 3c, Supplementary Fig. 7a and b), whereas silencing its output neuron does not (MBON-k1: Fig. 3d, Supplementary Fig. 7c and d).

Last but not least, silencing the MBIN to the lower vertical lobe modulates the effects of non-associative exposure to either odor or FRU (DAN-g1: Supplementary Fig. 8) but neither odor-FRU association nor odor preference or FRU preference (Fig. 4e). By contrast, the MBONs from this compartment affect odor-FRU association (MBON-g1,g2: Fig. 4f).

This suggests that within-mushroom-body and between-compartment cross talk takes place during the organization of behavior. Does the larval mushroom body provide a circuit-level substrate for such cross talk?

Circuit motifs for integration across compartments

At least four circuit motifs could provide intercompartmental cross talk, possibly in addition to molecular mechanisms of cross-compartmental integration within the KCs. First, four mMBONs integrate inputs from multiple compartments (MBON-e2, MBON-m1, MBON-n1, and MBON-d3: Fig. 2), and of these MBON-d3 also integrates across hemispheres. Second, KC-KC synapses provide direct lateral connections7. Third, MBON-MBON synapses establish an intricate network of mushroom body efferent circuitry7. Fourth, the GABAergic APL neuron integrates input from nearly half of the compartments and provides inhibition toward the calyx, where the signal is distributed across the KCs (Fig. 9a, b, Supplementary Fig. 17). Indeed, a connectivity analysis of the APL neuron revealed that very few KCs are either exclusively presynaptic or exclusively postsynaptic to it, and that for a given KCx the number of KCx-APL synapses is unrelated to the number of APL-KCx synapses; rather, APL establishes distributive inhibition such that most KCs receive inhibition proportional to an integrated read-out of the activity in all KCs and across at least six compartments7 (Figs. 2 and 9c). In turn, the APL neuron samples most, if not all, of the olfactory input that the olfactory projection neurons deliver toward the KCs, plus a sizeable non-olfactory input7 (Fig. 9d, Supplementary Fig. 17). Taken together, there is an ample substrate for circuit-level integration across the mushroom body and across compartments. The behavioral significance of such integration was explored, taking the APL neuron as an example.

Fig. 9
Fig. 9

Structure and connectivity of the APL neuron. The larval APL neuron provides distributive inhibition within the mushroom body. a Electron microscopy reconstruction of the APL neuron relative to the mushroom body Kenyon cells (KCs) in both brain hemispheres (left panel). Sites of KC-to-APL synapses are marked in blue (middle panel) and sites of APL-to-KC synapses in red (right panel). Inter-hemispheric connections are from aberrantly developed “freak” KCs and do not correspond to the so-called ni-cells identified by Kunz et al.62; these were found in the electron microscopy reconstruction but are not shown here. b KCs are classified as either being only presynaptic, as both pre- and postsynaptic, as only postsynaptic, or as unconnected to the APL neuron. The anatomy of these KC classes is shown, including their number and the number and the site of KC-to-APL synapses (blue) and APL-to-KC synapses (red). KCs without any synapse with the APL neuron are apparently lacking proper dendrites and axons, and therefore are classified as young and probably immature. c For each KC the number of APL-to-KC synapses versus respectively the number of all KC-to-APL synapses (top), the number of KC to APL-dendrite synapses (middle), and the number of KC to APL-axon synapses are plotted (bottom). The type of KC (single-claw, multi-claw, and young KC) is color-coded. The lack of correlation implies that inhibition through the APL neuron is distributive, i.e., with only random levels of KCx-APL-KCx feedback. This lack of correlation contrasts to the case of the reciprocal connections between the KCs and the DAN-i1 neuron (Fig. 7d). A quantification of the connections of APL with non-KCs can be found in Supplementary Fig. 17b. d The APL neuron samples the complete information delivered to the KCs via projection neurons (PNs). To determine the total input that the APL neuron receives from KCs that in turn receive their input from uniglomerular olfactory PNs (black and dark gray), multiglomerular olfactory PNs (light gray), and non-olfactory PNs (white), the matrix product of the respective PN-to-KC connections and the KC-to-APL connections was calculated. The sampling of the KC coding space by the right- and the left-hemisphere APL neuron is strongly correlated (Supplementary Fig. 17a). A visualization of APL connectivity within the mushroom body using a standard force-directed algorithm103 and based on the connectivity data available with ref. 7 can be found in Supplementary Movie 7

Silencing or driving APL impairs odor-FRU association

Cross-compartmental integration via the GABAergic APL neuron is required for proper odor-FRU association, as shown by the impairment in this task upon blocking APL; this requirement is specific, as both odor preference and FRU preference remain unchanged (Fig. 10a–c, Supplementary Fig. 6l). Thus, without the possibility to maintain a sparse activity pattern across the KCs the larvae are unable to perform properly in the present seemingly non-discriminatory association task. Arguably, this is because such sparseness is required to discriminate olfactory stimulus foreground from non-olfactory, contextual background (see Discussion). In turn, optogenetically driving the GABAergic APL neuron should effectively silence the KCs; fittingly, under such conditions odor-FRU association is impaired, both when such GABAergic activation is exerted during the training phase only, and when it is exerted only during testing (Fig. 10d, e, Supplementary Fig. 18). Again, this effect is specific, as driving the APL neuron affects neither odor preference nor FRU preference (Fig. 10f, g).

Fig. 10
Fig. 10

Behavioral function of the APL neuron. a Silencing the APL neuron impairs odor-fructose association. Shown are the expression pattern of the split-Gal4 strain covering the APL neuron and a schematic of its innervation of the mushroom body (top left), associative performance indices for odor-fructose reward associative memory (top right), and a schematic of the behavioral task. Experimental larvae are heterozygous for the split-Gal4 driver and for UAS-Kir2.1::GFP (APL block). Control larvae are heterozygous for only the UAS-Kir2.1::GFP effector (effector Ctrl), or for only the split-Gal4 driver (driver Ctrl). Other details as in Fig. 3. The preference scores underlying the associative performance indices can be found in Supplementary Fig. 6. b Silencing the APL neuron does not impair innate odor preference; other details as in a. c Silencing the APL neuron does not impair innate fructose preference; other details as in a. d Optogenetic activation of the APL neuron during training abolishes odor-fructose association. Experimental larvae are heterozygous for the split-Gal4 driver as well as UAS-ChR2-XXL (APL activation). Control larvae are heterozygous for only the UAS-ChR2-XXL effector (effector Ctrl), or for only the split-Gal4 drivers (driver Ctrl). Other details as in Figs. 3 and 5a–d. The preference scores underlying the associative performance indices can be found in Supplementary Fig. 18. The bottom of the panel shows a schematic of the behavioral task. Blue shading indicates optogenetic stimulation. Other details as in Fig. 3. e As in d, showing that activation of the APL neuron during only the test reduces odor-fructose association scores. f, g As in b, c, showing that activation of the APL neuron in experimentally naïve animals affects neither odor preference nor fructose preference

Discussion

The present study reveals the identity and morphology of almost all neurons of the MBIN-MBON-APL network of stage 3 Drosophila larvae. For a subset of these neurons, it provides a collection of split-Gal4 drivers for specific manipulation and a survey of their function in olfactory preference, gustatory preference, and odor-taste associative learning.

A stage 3 larva shares characters with its earlier self as a stage 1 larva and its later self as an adult fly65, 66. Across the larval stages body length and speed of locomotion increase about fourfold. Nevertheless, the behavioral faculties of stage 1 larvae qualitatively match those of stage 366. Appropriately, the number and morphology of their MBINs and MBONs and the morphology of the APL neuron are similar7 (Supplementary Fig. 1, Supplementary Fig. 2)—with the absence of the DAN-h1 neuron in stage 1 as the arguably most obvious exception. Despite this absence of DAN-h1, however, stage 1 larvae are capable of odor-FRU association17, 61. This is consistent with our observation in stage 3 larvae that silencing DAN-h1 only partially impairs odor-FRU association (Figs. 3a and 8a).

The organization of the MBIN-MBON-APL network in stage 3 larvae is also similar to that in adult Drosophila56, with at least three notable exceptions. First, the number of PAM-cluster DANs increases from 1 to up to 20 (sic) per cell type and compartment in adult Drosophila56. PAM-DANs preferentially innervate the medial lobes and are responsible for reward learning in both larval and adult Drosophila39, 40, 42. An increase in the number of PAM-DANs thus suggests a better signal-to-noise ratio for reward processing in adult Drosophila. Differences in the sensitivity to reward between PAM-DANs would broaden the dynamic range across which reward strength can be mapped in adult Drosophila. Higher-sensitivity and broader-range mapping of memory strength to reward strength is relevant when memory formation or memory-based decisions need to be quick, for example, when facing shallow gradients during fast walking or during flight. Qualitative differences in the reward inputs that different PAM-DANs receive would additionally allow for more nuanced processing of reward kind in adult Drosophila. Together, this may be critical for adult flies to keep track of rewards that are further away, more variable in strength, time, or space, or that are of relevance for adults only, such as sexual rewards. By contrast, the representation of punishment, for the most part mediated by PPL-DANs36, 37 (adult Drosophila35, 38, 52), does not differ in numbers of neurons between larvae and adults.

Second, neither our inspection of the driver lines of the Janelia collection nor our extensive flp-out analysis nor the electron microscope reconstruction in a stage 1 larva7 revealed a larval dorsal paired median (DPM) neuron67. Further, none of the driver strains known to cover the DPM neuron in adult Drosophila includes a larval DPM neuron (Thum, unpublished). In adult Drosophila, the DPM neuron innervates the ipsilateral mushroom body and ramifies throughout it, excluding the calyx. The DPM neuron produces the amnesiac neuropeptide67, serotonin68, and GABA69. In accordance with the absence of the DPM neuron in the larva, there is no detectable immunoreactivity against serotonin in its mushroom body70.

Third, in the larva KC-APL synapses are present in the mushroom body calyx and lobes, but APL-KC synapses are restricted to the calyx (Fig. 9a, b). In addition to a local KC-APL-KC network in the calyx, the APL neuron may thus establish a lobe-to-calyx connection in larvae, reminiscent of mushroom body feedback neurons in the bee71. No such polarity is apparent in adult Drosophila (i.e., KC-APL and APL-KC synapses are intermingled in both calyx and lobes56, 72, 73). Furthermore, in the case of the larva the APL neuron innervates 7 out of 11 mushroom body compartments (Figs. 2 and 9a, b), whereas the APL neuron innervates all MB compartments in adult Drosophila72, 73. Differences in function between the larval and the adult APL neuron are also to be expected because the DPM neuron, anatomically and functionally entangled with APL in adult Drosophila73, is absent in the larva (see previous paragraph). Of note is that despite these differences in structure and probably also in function, the larval APL neuron does persist through metamorphosis (Supplementary Fig. 19).

Larvae form associative memories between odor and taste reward that can be specific not only for the odor74, 75 but also for the reward55. That is, after odor-FRU reward training learned odor attraction is abolished if the test is carried out in the presence of FRU55, 76, 77 (innate olfactory behavior is not likewise affected). This is adaptive because tracking down the learned odor in search of a reward is pointless if the sought-for reward is actually present. Indeed, learned search after odor-FRU training is abolished in the presence of FRU, but not in the presence of an equally strong ASP reward, and vice versa55. Thus, memories from odor-FRU and from odor-ASP training can be established and behaviorally expressed independently of each other. Accordingly, we found that activity in DAN-h1 is required for proper odor-FRU association but is dispensable for odor-ASP association (Fig. 8a). This suggests a division of labor between DANs for signaling FRU (and similar rewards) and other DANs for signaling ASP (and similar rewards; see the following section). Indeed, a similar picture may be emerging for adult Drosophila too39, 78. Once it becomes possible to study defined subsets of DANs in mammals, it will be feasible to test for similar breaches of the common-currency hypothesis of DAN function79. It is noteworthy that behavioral analyses suggest that reward-general and reward-specific memories co-exist in the larva55 (regarding humans80).

Our results suggest that the requirement for MBE activity in behavior organization is sparse and specific. For each behavioral tasks under study, it was only in a few MBEs that silencing activity had a measurable effect; conversely, for each MBE under study, the requirement for their activity was task-specific (Fig. 1e). For example, silencing DAN-h1 left odor preference and FRU preference intact (Fig. 3a), yet selectively impaired the odor-FRU association, but neither the odor-ASP association nor the association of odor with low-concentration salt as a reward (Figs. 3a and 8a). This suggests that MBIN identity may carry at least some non-redundant information about reward kind. On the other hand, in this as in all other cases of impairment, the impairment was partial, suggesting an at least partially redundant code. Together, the way MBINs process rewards is discrete and sparse enough for single MBINs to contribute measurably to the processing of specific rewards, yet broad enough such that ensuing impairments are only partial.

For the studied MBONs as well, the impairments upon silencing them were sparse, selective, and partial (Fig. 1e). Strikingly, the impairments in odor-FRU association did not match the impairments observed upon silencing the MBINs to the same compartment. Thus, although the physiological effects of MBIN-KC coincidence may remain local to the MBINs’ target compartment (as shown in adult Drosophila52), the organization of learned behavior apparently involves cross-compartmental integration. This is consistent with a view of the MBON network as providing a learned-valence signal integrated across large aspects if not the whole of the mushroom body, and thus reflecting most if not all memories associated with a situation. Summing this learned-valence signal with the innate valence of the stimuli comprising that situation will result in approach or avoidance53 (for adult Drosophila49). Within the mushroom body, relatively high-dimensional representations of predictive stimuli (across the KCs) and of reinforcement (across the MBINs) are thus “reformatted” to provide a rather low-dimensional output of behavioral valence.

Optogenetic activation of DAN-i1 is sufficient as an internal reward signal (Fig. 5a, e–g, Supplementary Fig. 9e, Supplementary Fig. 10e). Specifically, it is sufficient for two types of reward learning: appetitive learning about receiving a reward during odor-then-DAN-i1 training, and aversive learning about reward termination upon DAN-i1-then-odor training (Fig. 6). This conforms to earlier suggestions that it is the temporal difference in reinforcement that determines affect and memory valence63, 64, 81,82,83: it feels good to receive a reward but its termination feels bad, resulting respectively in appetitive and aversive learning of the associated cues. This implies that the onset of DAN-i1 activity is rewarding, while the offset of DAN-i1 activity is punishing. Conversely, receiving punishment versus being relieved from it respectively supports aversive or appetitive learning64, 84,85,86. Such timing-dependency is also a feature of molecular coincidence detection87, and of synaptic plasticity88. This has inspired computational models relating timing-dependent valence reversal at the behavioral level to the timing-dependent reversal in the “sign” of synaptic plasticity83, 89.

The APL neuron collects input from and distributes inhibitory GABAergic output across the KCs22 (Fig. 9a–c; adult Drosophila56, 72, 73). The level of activity in a given KC will thus be scaled to the level of activity across the KCs. Innate preference for odor and for FRU are not affected by altering APL neuron function, while odor-FRU association is impaired both by silencing and by driving the APL neuron (Fig. 10). Why is this so?

When encountering an odor, a subset of KCs will be phasically activated. Further KCs may be activated by tonic contextual input. Together these inputs can drive the APL neuron22 (adult Drosophila72, 90, 91 and bees92). Distributive GABAergic inhibition through APL will reduce activity in strongly activated KCs, and silence weakly active KCs. In effect, the strongest, most salient input will dominate the KC activity pattern (winner takes all). When at the same time a reward such as FRU is presented, it will be this most salient input that preferentially enters into association with it. Thus, in our paradigm the salient, phasic olfactory “foreground” rather than the tonic, non-olfactory contextual “background” will be associated with FRU. Strongly reducing APL activity will lift inhibition of the KCs and disable the winner-take-all mechanism, such that the odor will be less discriminable from the background. Mildly increasing APL activity will make the olfactory input more distinct from the background. Strongly driving APL, however, may silence the KCs altogether. Such a scenario can explain why both strongly reducing and strongly driving APL reduces performance in the one-odor, non-discriminatory paradigm of the present study (Fig. 10a, d, e).

We note that a modulation of the sparseness of KC activity through APL could tweak the set point between generalization and discrimination of stimuli, which can indeed be adjusted in a task-dependent way in larvae93 and adults94.

In adult Drosophila odor-electric shock training entails an odor-specific and associative weakening of odor-evoked activity in the APL neuron72. This corresponds to the synaptic depression that has been observed after associative learning at the KC-MBON synapse in adult Drosophila47, 51, 52 (bee4; but also see refs. 48, 50). The proximity of the KC-MBON synapses to the KC-APL synapses7 (Supplementary Fig. 20) suggests that local learning-induced molecular alterations at KC-MBON presynaptic sites may affect the closely neighboring KC-APL synapses, too. A strengthening of the memory trace would thus correspond to more severe depression of both the KC-MBON and the KC-APL synapses. In effect, a learned odor would evoke less APL activity and render the KCs more excitable than an untrained odor would.

Together with the upcoming future analyses of the medial lobe MBINs and MBONs and the full synaptic connectome of the MBINs, MBONs, and KCs7 the present work provides the most detailed view to date of the structure and behavioral function of the mushroom body in larval Drosophila. The apparent principles are largely shared with adult Drosophila and other insects1,2,3,4,5,6 providing a study case of how a central brain structure is organized, and how it organizes behavior.

Methods

Fly lines

All experiments used third-instar feeding-stage, 5-day-old Drosophila melanogaster larvae, raised and treated under standard conditions (25 °C temperature, 65–70% humidity, 12/12 light-dark cycle, and standard food), unless stated otherwise. Larvae were chosen at random from their food vials and used immediately for behavioral experiments. As is usual for larval assays, yet unlike the usual procedure for reward learning in adult Drosophila, there was no additional starvation period. Behavioral experiments were performed under adjustable temperature and humidity conditions using a custom-built setup (blueprints are available upon request). For the pre-screen, larvae were incubated in a water bath for 5 min at 36 °C to ensure that synaptic transmission was blocked when using shibirets as the effector (see below). Training and test were then performed at a restrictive, yet slightly lower temperature (32 °C).

The statistical analyses used two-tailed, non-parametric tests throughout (Statistica 12.0, StatSoft software, Hamburg, Germany; multiple-group comparison with Kruskal–Wallis tests, in case of significance followed by pairwise comparisons with Mann–Whitney U-tests); statistical assumptions for these tests were met. Bonferroni corrections were used to maintain error rates of multiple pairwise comparisons below 5%. Sample sizes were based on previous reports of chemosensory behavior and learning with moderate to weak effect sizes18, 36, 95. All behavioral experiments were run in parallel for the respective experimental group and genetic controls. Experimenters were blind to the specific genotypes.


Odor-FRU reward association for the pre-screen

A standard odor-FRU reward associative learning paradigm was used95,96,97 (Fig. 3e), adapted to facilitate the pre-screen. The pre-screen was performed at HHMI Janelia Research Campus by a team of 4 experimenters of which 1–3 worked in parallel. From a list of Gal4 strains known to cover MBEs from flp-out analyses, sets of approx. six Gal4 strains were randomly selected (without “replacement”) for crossings every week, yielding sample sizes of approximately N = 6/genotype and week. Once all genotypes had been tested, this cycle was repeated, yielding sample sizes of typically N = 9 or 15/genotype. When information about additional Gal4 strains covering MBEs became available from the flp-out analyses, these strains were included during and/or after the first two cycles of experimentation. Throughout, the genetic control strain was tested in parallel, at approximately N = 3/week, yielding N = 150 in total.

Groups of 30 larvae each were free to move in 90-mm-diameter plastic Petri dishes filled with either plain 2.5% agar (CAS: 9002-18-0; Fisher BioReagent, Fair Lawn, NJ, USA) or, during rewarded trials, agar with 2 mol/l FRU as a reward (+: CAS: 57-48-7; Fisher Scientific, Pittsburgh, PA, USA). Whenever an odor was to be presented, 10 µl n-amylacetate (AM: CAS: 628-63-7, diluted 1:50 in mineral oil: CAS: 8012-95-1; both Avantor Performance Materials, Center Valley, PA, USA) was pipetted onto 5 × 5 mm filter papers taped to the lid of the Petri dish. When no odor was to be presented, a blank filter paper was used.

In the paired group, odor and reward were presented together throughout a given 2.5 min trial (AM+), whereas the unpaired group received odor and reward during separate 2.5 min trials (AM/+). To equate the unpaired and paired group for handling and total training duration, sham trials were alternately performed for the paired group during which neither odor nor reward were presented (AM+/blank). In half of the cases, the sequence of training trials was reversed (blank/AM+ and +/AM, respectively). After three training cycles, preference for AM was assayed by placing the larvae in the middle of a fresh plain-agar Petri dish that featured AM on one side and a blank on the other side. After 3 min the number of larvae on either side was determined, and the preference for the odor AM in the paired and unpaired groups calculated:

$${\mathrm {Odor}}{\hbox{-}}{\mathrm {Pref}}=({{\rm number}} \ {{\rm on}} \ {{\rm AM}} \ {{\rm side}}-{{\rm number}} \ {{\rm on}} \ {{\rm blank}} \ {{\rm side}})/{{\rm total}} \ {{\rm number}}$$
(1)

From the difference in preference between the paired-trained and unpaired-trained groups the PI was calculated

$${{\rm PI}} = \left( {{{\rm Odor} {\hbox{-}} {\rm Pref}}_{{{\rm Paired}}}-{{\rm Odor} {\hbox{-}} {\rm Pref}}_{{{\rm Unpaired}}}} \right)/2$$
(2)

PI scores are thus bound between −1 and 1, with positive scores indicating appetitive and negative scores aversive memory. Each PI score (N = 1) is based on Odor-Pref data from 60 larvae (N = 30 each for the paired-trained and unpaired-trained case).


Odor-FRU reward association experiments for the screen

For the validation of candidates from the pre-screen with more specific drivers, it was considered important to be able to observe the effector expression directly, and UAS-Kir2.1::GFP was chosen as the effector. These experiments, and the ones mentioned below, were performed at the LIN Magdeburg in the way described above except that (i) training and test for these experiments were run at 25 °C because the Kir2.1::GFP effector does not require heat induction; (ii) 1% agarose (NEEO Ultra-Quality; CAS: 9012-36-6; Roth, Karlsruhe, Germany) was used instead of agar; (iii) fresh Petri dishes were used for each training trial; (iv) odors were applied using custom-made Teflon containers with perforated lids to allow for evaporation of the odor (AM; CAS: 628-63-7; Merck Millipore, Darmstadt, Germany, diluted 1:20 in paraffin oil, CAS: 8042-47-5; PanReac AppliChem, Darmstadt, Germany); and (v) experiments were organized per genotype, i.e., the experiments using a given driver and its genetic controls were performed in parallel until finished, followed by the next driver and its respective genetic controls.


Association of odor with other taste rewards

The experiments for odor-lowsalt, odor-ASP, odor-ARA, and odor-SOR reward association were performed as detailed for odor-FRU association in the previous section, except that 0.4 mol/l NaCl (salt; CAS: 7647-14-5; Roth), 10 mmol/l ASP (CAS: 56-84-8, Sigma-Aldrich Chemie GmbH, Munich, Germany), 2 mol/l ARA (CAS: 10323-20-3; Sigma-Aldrich Chemie GmH), and 2 mol/l SOR (CAS: 50-70-4; Roth) were used, respectively.


Innate odor preference

Groups of 30 experimentally naïve larvae were placed in the middle of a Petri dish that featured the odor on one side and a blank on the other side. After 3 min the number of larvae on either side was determined, and the preference for AM was calculated according to Eq. (1).


Innate FRU, ASP, and low-salt preference

Split Petri dishes were prepared by filling one-half with 1% agarose (blank), and the other half with agarose plus 2 mol/l FRU. Thirty larvae were collected and placed in the middle of these dishes, and after 3 min their numbers were scored on either side, or on a 10 mm middle zone. The preference for fructose was calculated as:

$${{\rm FRU} {\hbox{-}} {\rm Pref}} = \left( {{{\rm number}}\,{{\rm on}}\,{{\rm FRU}}\,{{\rm side}}-{{\rm number}}\,{{\rm on}}\,{{\rm blank}}\,{{\rm side}}} \right)/{{\rm total}}\,{{\rm number}}$$
(3)

Positive values thus indicate a preference for, and negative values an avoidance of FRU.

Low-salt and ASP preferences were determined in the same way, except that 0.4 mol/l NaCl and 10 mmol/l ASP were used, respectively.


Genotypes and transgenes for the pre-screen

For the pre-screen we used the double-heterozygous offspring from crosses of Gal4 strains from the Janelia collection57 (available from the Bloomington Stock Center or the Vienna Drosophila Resource Center; Supplementary Table 2 and Supplementary Table 3) to drive a temperature-sensitive dynamin transgene from the UAS-shits effector98 (Bloomington Stock Center no. 44222). In the Gal4-expressing cells, this allows synaptic output to be acutely disabled in a temperature-dependent way.

The Gal4 strains used feature insertions of a given enhancer fragment combined with the Gal4 gene as the driver construct; these driver constructs were inserted into an attp2 landing site. Therefore, a strain carrying this attp2 landing site but no Gal4 construct (empty) was crossed to UAS-shits to obtain baseline, control memory scores for the pre-screen (Ctrl). Note that the same Gal4 construct (respectively combined with a different enhancer fragment) likewise inserted at the attp2 site is used in all strains to drive the UAS-shits construct. Adverse effects of the attp2 site, the Gal4 construct, or of a leakiness of the UAS-shits construct would have affected all screened strains, and thus cannot account for differences in memory scores between them.


Genotypes and transgenes for the screen

For the validation of candidate cells from the pre-screen a collection of 12 split-Gal4 intersection strains was generated (Supplementary Table 4). These express either the transcription activation domain (p65ADZp) or the DNA-binding domain (ZpGAL4DBD) of GAL4, each under the control of one of the selected enhancer fragments59, 60. The landing sites for the p65ADZp and the ZpGAL4DBD construct were attp40 and attP2, respectively. Upon combining the p65ADZp and ZpGAL4DBD strains by classical genetics, a functional Gal4 protein is thus expressed only in the intersection of the two strains59, 60. Specificity was confirmed by crossing the split-Gal4 drivers to UAS-GFP from ref. 60 (Bloomington Stock Center no. 32185 and 32186) or UAS-Kir2.1::GFP (5xUAS-DCSP-eGFPKir2.1 at VK00005 as landing site; available upon request) and inspecting expression under a Zeiss LSM 510 and/or a Leica DM 6000 CS confocal microscope.

Split-Gal4 strains with a confirmed expression pattern were crossed to UAS-Kir2.1::GFP as the effector, an inward-rectifying potassium channel that silences expressing neurons by preventing them from spiking99. The advantage of this effector relative to UAS-shits is that the expression pattern and therefore the manipulated cells can be directly verified via the GFP tag. For the single-cell analyses we were aiming for, this advantage appeared to outweigh the disadvantage of it being constitutive in effect. As driver controls, the split-Gal4 strains were crossed to the wild-type strain (CSMH, available upon request) that had been used as the genetic background for the UAS-Kir2.1::GFP strain (driver Ctrl). As an effector control, a strain homozygous for both the attP40 and attP2 landing sites, yet without a Gal4 domain inserted (empty), was crossed to UAS-Kir2.1::GFP (effector Ctrl).


Genotypes and methods for optophysiology

The indicated driver strains were crossed to UAS-ChR2-XXL as the effector100 (Bloomington Stock Center no. 58374). Double-heterozygous progeny was used for activation; larvae heterozygous for either the Gal4 or the effector were used as genetic controls. Optogenetic experiments were performed in a dark custom-built box equipped for illumination from a blue LED light table (wavelength: 470 nm; intensity: 1.2 µW/mm2). For the learning experiments, one group of larvae received the odor presentation during blue light illumination alternated with blank trials without odor and without illumination (AM+/blank), whereas a reciprocally trained group of larvae received the odor unpaired with light stimulation (AM/+). All other aspects of the learning task were performed as described for odor-FRU learning. The same type of experiment was also performed using a tomato-tagged version of UAS-ChR2-XXL (UAS-ChR2-XXL::tdtomato, kindly provided by R. Kittel, University of Würzburg) under the same conditions as the experiments with UAS-ChR2-XXL, as well as using UAS-Chrimson as the effector101 (Bloomington Stock Center no. 55134). For the UAS-Chrimson experiments, 630 nm red light at an intensity of 3.5 µW/mm2 was used, and the odor for training was ethyl acetate (CAS: 141-78-6; Sigma-Aldrich Chemie GmbH) diluted in distilled water at a concentration of 10−4.


Genotype for movies

To obtain the data shown in Movies 1-5, we generated recombinations of nSyb-Gal4 as driver (Bloomington Stock Center no. 51635) and UAS-mCherryCAAX as effector (Bloomington Stock Center no. 59021) and viewed fluorescence with a confocal microscope (for more details see end of movies).


Locomotor footprint of memories established by DAN activation

For the experiments shown in Fig. 5e–g the larval behavior was video-tracked and analyzed as described in detail in ref.53. In brief, two aspects of larval chemotaxis were analyzed. First, based on the number of head casts (#HC) performed while either heading away from the odor of when heading towards it, the modulation of HC rate was determined:

$$\begin{array}{ccccc}\\ {{\rm HC} \, {\rm rate} {\hbox{-}} {\rm modulation}} &= \left( {\# {{\rm HC}}/{{\rm s}}\left( {{{\rm away}}} \right) - \# {{\rm HC}}/{{\rm s}}\left( {{{\rm towards}}} \right)} \right)\\ & /\left( {\# {{\rm HC}}/{{\rm s}}\left( {{{\rm away}}} \right) + \# {{\rm HC}}/{{\rm s}}\left( {{{\rm towards}}} \right)} \right)\\ \end{array}$$
(4)

This measure yields positive scores for attraction, i.e., when larvae systematically perform more HCs while heading away from the odor (i.e., when odor concentration decreases) than while heading toward it (i.e., when odor concentration increases). Conversely, it yields negative scores for aversion.

Second, based on the absolute heading angle before a HC α and the absolute heading angle after it β, the modulation of HC direction is measured by the reorientation per HC:

$$\begin{array}{ccccc}\\ {{\rm Reorientation}}\,{{\rm per}}\,{{\rm HC}} = & {\alpha}- {\beta}\\ \end{array}$$
(5)

The heading angle describes the orientation of the animal’s head relative to the odor, with absolute heading angles of 0° or 180°, for example, indicating that the odor is to the front or to the rear of the larvae, respectively. This measure thus yields positive scores for attraction, i.e., when the HC directs the larvae towards rather than away from the odor target, whereas it yields negative scores for aversion.


Timing-dependent reversal of DAN-i1 reinforcement

For the experiment shown in Fig. 6, a modified optophysiological activation protocol was used, varying the inter-stimulus interval (ISI) between odor and DAN-i1 activation. Double-heterozygous progeny of SS00864 split-Gal4 crossed to UAS-ChR2-XXL were used; animals heterozygous for either construct were used as genetic controls. The larvae were placed in the middle of an agarose-filled Petri dish that was covered with a lid. For the case of forward conditioning with an ISI of −30 s as an example (Fig. 6d), the paired training consisted of presenting the odor at time 3.5 min for 30 s by replacing the standard, blank lid with a modified lid equipped with odor-loaded filter papers as for the pre-screen experiments. At 4 min, and thus at a 30-s ISI relative to odor onset, DAN-i1 was activated for 30 s by blue light. Then the larvae were left untreated until 12 min, when the next of a total of three such training trials began. Only after the end of the third training trial were the larvae collected, moved to a fresh test Petri dish, and scored for their odor preference according to Eq. (1). Larvae of the unpaired groups were treated the same, except that odor presentation was temporally removed from DAN-i1 activation by 4 min. Performance indices were then calculated according to Eq. (2). The critical variable of the experiment was that the ISI in the paired groups varied between experimental conditions: for the case of backward conditioning with an ISI of 30 s as an example, DAN-i1 activation came first and was followed by odor presentation after 30 s. In order to equate paired and unpaired groups for manipulations of the lid, exchanges of blank lids were included at the time points of odor presentation for the corresponding other group.


Immunohistochemistry

In all, 877 Gal4 driver strains preselected for expression in the central nervous system of stage 3 Drosophila larvae57 (http://flweb.janelia.org/cgi-bin/flew.cgi) were screened for coverage of MBE neurons. Anatomical screening was further refined by systematic multicolor flp-out analysis of all 877 Gal4 driver lines57, 58 (Fig. 2, Supplementary Table 1, 2 and 3). In addition, expression patterns of split-Gal4 strains (Figs. 34, and 10; Supplementary Fig. 8, Supplementary Fig. 10, Supplementary Fig. 15, Supplementary Fig. 16, and Supplementary Fig. 21) were anatomically verified. Specifically, larval brains of the indicated genotypes were dissected in phosphate-buffered saline (PBS) and fixed for 1 h in 4% paraformaldehyde at room temperature. After multiple rinses in PBS with 1% Triton X-100 (PBT) and incubation in 3% normal donkey serum in PBT (2 h at room temperature), samples were incubated over two nights at 4 °C with the indicated primary antibodies. After multiple rinses in PBT, brains were incubated for 2 days at 4 °C with the indicated secondary antibodies. For mounting, the brains were rinsed multiple times in PBT, transferred on a poly-l-lysine-coated cover glass, dehydrated through a graded ethanol series, cleared in xylene, and embedded in the DPX Mountant (Sigma). Detailed information including step-by-step protocol and movies can be found on the HHMI Janelia Research Campus website (https://www.janelia.org/project-team/flylight/protocols). Immunolabeled larval nervous systems were imaged on a Zeiss 510 confocal microscope.

To verify UAS-Kir2.1::GFP effector gene expression a different protocol was applied, modified after37. Larval brains of the indicated genotypes were dissected in Ringer solution. The brains were fixed in 4% formaldehyde (Merck) in PBS for 25 min. After several washes with PBT (PBS with 3% Triton X-100, Sigma-Aldrich, St. Louis, MO), the brains were blocked with 5% normal goat serum (Jackson ImmunoResearch Laboratories, West Grove, PA) in PBS for 2 h and then incubated for 1 day with the indicated primary antibodies at 4 °C. After several washes with PBS, the indicated secondary antibodies were applied for 1 day at 4 °C. Finally, the brains were again washed with PBS and mounted in Vectashield (Vector Laboratories).


Antibodies

To visualize the expression patterns of split-Gal4 strains, mouse anti-neuroglian (1:50; BP-104; Developmental Studies Hybridoma Bank), rat anti-N-cadherin (1:50; DN-Ex #8; Developmental Studies Hybridoma Bank), and rabbit anti-GFP (1:1000; Life Technologies A11122) were used as primary antibodies. Alexa Fluor 568 donkey anti-mouse IgG (1:500; Life Technologies A10037), Alexa Fluor 647 donkey anti-rat IgG (1:500; Jackson ImmunoResearch 712-605-153), and fluorescein isothiocyanate-conjugated donkey anti-rabbit (1:500; Jackson ImmunoResearch 711-095-152) were used as secondary antibodies.

To visualize the morphology of individual neurons the multicolor flp-out58 technique was applied. Primary antibodies included mouse anti-neuroglian (1:50; BP-104; Developmental Studies Hybridoma Bank), rabbit anti-HA Tag (1:500; Cell Signal Technologies 3724S), and rat anti-FLAG Tag (DYKDDDDK Epitope Tag; 1:500; Novus Biologicals NBP1-06712). Secondary antibodies were Alexa Fluor 488 donkey anti-mouse IgG (1:500; Life Technologies A10037), DyLight 549 goat anti-rabbit (1:800; Rockland Antibodies and Assays 611-142-002), and Alexa Fluor 594 donkey anti-rat IgG (1:500; Jackson ImmunoResearch 712-585-150). In addition, the protocol included a post-secondary antibody wash using PBT, with blocking using normal mouse serum (1:20 in PBT), and additional incubation with Alexa Fluor 647 mouse anti-V5 Tag (1:200; AbD Serotec MCA1360A647) overnight at 4 °C.

To verify UAS-Kir2.1::GFP effector gene expression, rabbit anti-GFP (1:1000; Invitrogen A11122) and mouse anti-FASII (1:50; DSHB) were used as primary antibodies, and Alexa Fluor 488 goat anti-rabbit (1:200; Invitrogen A11034) and Cy3 donkey anti-mouse (1:200; Jackson ImmunoResearch Laboratories 715-165-150) as secondary antibodies.


Electron microscopy

We took advantage of the electron microscopy reconstruction of the MB intrinsic neurons, the KCs, and all their pre- and postsynaptic partners, from a 6-h-old stage 1 larva7. Images were taken at 3.8 × 3.8 × 50 nm resolution. Reconstruction methods were previously described in detail7.


Data availability

All data are included in Supplementary Data File 1, or are available from the authors upon request. Connectomic analyses are based on data available with ref. 7.

Additional information

Publisher's note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  1. 1.

    Heisenberg, M. Mushroom body memoir: from maps to models. Nat. Rev. Neurosci. 4, 266–275 (2003).

  2. 2.

    Strausfeld, N. J., Sinakevitch, I., Brown, S. M. & Farris, S. M. Ground plan of the insect mushroom body: functional and evolutionary implications. J. Comp. Neurol. 513, 265–291 (2009).

  3. 3.

    Davis, R. L. Olfactory learning. Neuron 44, 31–48 (2004).

  4. 4.

    Menzel, R. The insect mushroom body, an experience-dependent recoding device. J. Physiol. Paris 108, 84–95 (2014).

  5. 5.

    Owald, D. & Waddell, S. Olfactory learning skews mushroom body output pathways to steer behavioral choice in Drosophila. Curr. Opin. Neurobiol. 35, 178–184 (2015).

  6. 6.

    Gerber, B. & Aso, Y. in Learning and Memory: A Comprehensive Reference Vol. 1 (ed. Menzel, R.) 463–473 (Elsevier, Oxford, 2017).

  7. 7.

    Eichler, K. et al. The complete connectome of a learning and memory centre in an insect brain. Nature 548, 175–182 (2017).

  8. 8.

    Berck, M. E. et al. The wiring diagram of a glomerular olfactory system. Elife 5, e14859 (2016).

  9. 9.

    Gerber, B. & Stocker, R. F. The Drosophila larva as a model for studying chemosensation and chemosensory learning: a review. Chem. Senses 32, 65–89 (2007).

  10. 10.

    Vosshall, L. B. & Stocker, R. F. Molecular architecture of smell and taste in Drosophila. Annu. Rev. Neurosci. 30, 505–533 (2007).

  11. 11.

    Gerber, B., Stocker, R. F., Tanimura, T. & Thum, A. S. Smelling, tasting, learning: Drosophila as a study case. Results Probl. Cell Differ. 47, 139–185 (2009).

  12. 12.

    Martin, J. P. et al. The neurobiology of insect olfaction: sensory processing in a comparative context. Prog. Neurobiol. 95, 427–447 (2011).

  13. 13.

    Diegelmann, S., Klagges, B., Michels, B., Schleyer, M. & Gerber, B. Maggot learning and Synapsin function. J. Exp. Biol. 216, 939–951 (2013).

  14. 14.

    Thum, A. S., Leisibach, B., Gendre, N., Selcho, M. & Stocker, R. F. Diversity, variability, and suboesophageal connectivity of antennal lobe neurons in D.melanogaster larvae. J. Comp. Neurol. 519, 3415–3432 (2011).

  15. 15.

    Gupta, N. & Stopfer, M. A temporal channel for information in sparse sensory coding. Curr. Biol. 24, 2247–2256 (2014).

  16. 16.

    Heimbeck, G., Bugnon, V., Gendre, N., Keller, A. & Stocker, R. F. A central neural circuit for experience-independent olfactory and courtship behavior in Drosophila melanogaster. Proc. Natl Acad. Sci. USA 98, 15336–15341 (2001).

  17. 17.

    Pauls, D., Selcho, M., Gendre, N., Stocker, R. F. & Thum, A. S. Drosophila larvae establish appetitive olfactory memories via mushroom body neurons of embryonic origin. J. Neurosci. 30, 10655–10666 (2010).

  18. 18.

    Michels, B. et al. Cellular site and molecular mode of synapsin action in associative learning. Learn. Mem. 18, 332–344 (2011).

  19. 19.

    Lewis, L. P. et al. A higher brain circuit for immediate integration of conflicting sensory information in Drosophila. Curr. Biol. 25, 2203–2214 (2015).

  20. 20.

    Ito, K. & Hotta, Y. Proliferation pattern of postembryonic neuroblasts in the brain of Drosophila melanogaster. Dev. Biol. 149, 134–148 (1992).

  21. 21.

    Masuda-Nakagawa, L. M., Tanaka, N. K. & O’Kane, C. J. Stereotypic and random patterns of connectivity in the larval mushroom body calyx of Drosophila. Proc. Natl Acad. Sci. USA 102, 19027–19032 (2005).

  22. 22.

    Masuda-Nakagawa, L. M., Ito, K., Awasaki, T. & O’Kane, C. J. A single GABAergic neuron mediates feedback of odor-evoked signals in the mushroom body of larval Drosophila. Front. Neural Circuits 8, 35 (2014).

  23. 23.

    Colomb, J., Grillenzoni, N., Ramaekers, A. & Stocker, R. F. Architecture of the primary taste center of Drosophila melanogaster larvae. J. Comp. Neurol. 502, 834–847 (2007).

  24. 24.

    Kwon, J. Y., Dahanukar, A., Weiss, L. A. & Carlson, J. R. Molecular and cellular organization of the taste system in the Drosophila larva. J. Neurosci. 31, 15300–15309 (2011).

  25. 25.

    Mishra, D. et al. The molecular basis of sugar sensing in Drosophila larvae. Curr. Biol. 23, 1466–1471 (2013).

  26. 26.

    Apostolopoulou, A. A., Mazija, L., Wust, A. & Thum, A. S. The neuronal and molecular basis of quinine-dependent bitter taste signaling in Drosophila larvae. Front. Behav. Neurosci. 8, 6 (2014).

  27. 27.

    Croset, V., Schleyer, M., Arguello, J. R., Gerber, B. & Benton, R. A molecular and neuronal basis for amino acid sensing in the Drosophila larva. Sci. Rep. 6, 34871 (2016).

  28. 28.

    Hückesfeld, S., Peters, M. & Pankratz, M. J. Central relay of bitter taste to the protocerebrum by peptidergic interneurons in the Drosophila brain. Nat. Commun. 7, 12796 (2016).

  29. 29.

    Kim, H., Choi, M. S., Kang, K. & Kwon, J. Y. Behavioral analysis of bitter taste perception in Drosophila larvae. Chem. Senses 41, 85–94 (2016).

  30. 30.

    Schlegel, P. et al. Synaptic transmission parallels neuromodulation in a central food-intake circuit. Elife 5, e16799 (2016).

  31. 31.

    Rist, A. & Thum, A. S. A map of sensilla and neurons in the taste system of Drosophila larvae. J. Comp. Neurol. 525, 3865–3889 (2017).

  32. 32.

    Apostolopoulou, A. A., Rist, A. & Thum, A. S. Taste processing in Drosophila larvae. Front. Integr. Neurosci. 9, 50 (2015).

  33. 33.

    Freeman, E. G. & Dahanukar, A. Molecular neurobiology of Drosophila taste. Curr. Opin. Neurobiol. 34, 140–148 (2015).

  34. 34.

    Hammer, M. An identified neuron mediates the unconditioned stimulus in associative olfactory learning in honeybees. Nature 366, 59–63 (1993).

  35. 35.

    Schwaerzel, M. et al. Dopamine and octopamine differentiate between aversive and appetitive olfactory memories in Drosophila. J. Neurosci. 23, 10495–10502 (2003).

  36. 36.

    Schroll, C. et al. Light-induced activation of distinct modulatory neurons triggers appetitive or aversive learning in Drosophila larvae. Curr. Biol. 16, 1741–1747 (2006).

  37. 37.

    Selcho, M., Pauls, D., Han, K. A., Stocker, R. F. & Thum, A. S. The role of dopamine in Drosophila larval classical olfactory conditioning. PLoS ONE 4, e5897 (2009).

  38. 38.

    Aso, Y. et al. Three dopamine pathways induce aversive odor memories with different stability. PLoS Genet. 8, e1002768 (2012).

  39. 39.

    Burke, C. J. et al. Layered reward signalling through octopamine and dopamine in Drosophila. Nature 492, 433–437 (2012).

  40. 40.

    Liu, C. et al. A subset of dopamine neurons signals reward for odour memory in Drosophila. Nature 488, 512–516 (2012).

  41. 41.

    Selcho, M., Pauls, D., Huser, A., Stocker, R. F. & Thum, A. S. Characterization of the octopaminergic and tyraminergic neurons in the central brain of Drosophila larvae. J. Comp. Neurol. 522, 3485–3500 (2014).

  42. 42.

    Rohwedder, A. et al. Four individually identified paired dopamine neurons signal reward in larval Drosophila. Curr. Biol. 26, 661–669 (2016).

  43. 43.

    Kim, Y. C., Lee, H. G. & Han, K. A. D1 dopamine receptor dDA1 is required in the mushroom body neurons for aversive and appetitive learning in Drosophila. J. Neurosci. 27, 7640–7647 (2007).

  44. 44.

    Tomchik, S. M. & Davis, R. L. Dynamics of learning-related cAMP signaling and stimulus integration in the Drosophila olfactory pathway. Neuron 64, 510–521 (2009).

  45. 45.

    Gervasi, N., Tchenio, P. & Preat, T. PKA dynamics in a Drosophila learning center: coincidence detection by rutabaga adenylyl cyclase and spatial regulation by dunce phosphodiesterase. Neuron 65, 516–529 (2010).

  46. 46.

    Vasmer, D., Pooryasin, A., Riemensperger, T. & Fiala, A. Induction of aversive learning through thermogenetic activation of Kenyon cell ensembles in Drosophila. Front. Behav. Neurosci. 8, 174 (2014).

  47. 47.

    Sejourne, J. et al. Mushroom body efferent neurons responsible for aversive olfactory memory retrieval in Drosophila. Nat. Neurosci. 14, 903–910 (2011).

  48. 48.

    Placais, P. Y., Trannoy, S., Friedrich, A. B., Tanimoto, H. & Preat, T. Two pairs of mushroom body efferent neurons are required for appetitive long-term memory retrieval in Drosophila. Cell Rep. 5, 769–780 (2013).

  49. 49.

    Aso, Y. et al. Mushroom body output neurons encode valence and guide memory-based action selection in Drosophila. Elife 3, e04580 (2014).

  50. 50.

    Cohn, R., Morantte, I. & Ruta, V. Coordinated and compartmentalized neuromodulation shapes sensory processing in Drosophila. Cell 163, 1742–1755 (2015).

  51. 51.

    Owald, D. et al. Activity of defined mushroom body output neurons underlies learned olfactory behavior in Drosophila. Neuron 86, 417–427 (2015).

  52. 52.

    Hige, T., Aso, Y., Modi, M. N., Rubin, G. M. & Turner, G. C. Heterosynaptic plasticity underlies aversive olfactory learning in Drosophila. Neuron 88, 985–998 (2015).

  53. 53.

    Paisios, E., Rjosk, A., Pamir, E. & Schleyer, M. Common microbehavioral “footprint” of two distinct classes of conditioned aversion. Learn. Mem. 24, 191–198 (2017).

  54. 54.

    Das, G., Lin, S. & Waddell, S. Remembering components of food in Drosophila. Front. Integr. Neurosci. 10, 4 (2016).

  55. 55.

    Schleyer, M., Miura, D., Tanimura, T. & Gerber, B. Learning the specific quality of taste reinforcement in larval Drosophila. Elife 4, e04711 (2015).

  56. 56.

    Aso, Y. et al. The neuronal architecture of the mushroom body provides a logic for associative learning. Elife 3, e04577 (2014).

  57. 57.

    Li, H. H. et al. A GAL4 driver resource for developmental and behavioral studies on the larval CNS of Drosophila. Cell Rep. 8, 897–908 (2014).

  58. 58.

    Nern, A., Pfeiffer, B. D. & Rubin, G. M. Optimized tools for multicolor stochastic labeling reveal diverse stereotyped cell arrangements in the fly visual system. Proc. Natl Acad. Sci. USA 112, E2967–E2976 (2015).

  59. 59.

    Luan, H., Peabody, N. C., Vinson, C. R. & White, B. H. Refined spatial manipulation of neuronal function by combinatorial restriction of transgene expression. Neuron 52, 425–436 (2006).

  60. 60.

    Pfeiffer, B. D. et al. Refinement of tools for targeted gene expression in Drosophila. Genetics 186, 735–755 (2010).

  61. 61.

    Almeida-Carvalho, M. J. et al. The Ol1mpiad: concordance of behavioural faculties of stage 1 and stage 3 Drosophila larvae. J. Exp. Biol. 220, 2452–2475 (2017).

  62. 62.

    Kunz, T., Kraft, K. F., Technau, G. M. & Urbach, R. Origin of Drosophila mushroom body neuroblasts and generation of divergent embryonic lineages. Development 139, 2510–2522 (2012).

  63. 63.

    Hellstern, F., Malaka, R. & Hammer, M. Backward inhibitory learning in honeybees: a behavioral analysis of reinforcement processing. Learn. Mem. 4, 429–444 (1998).

  64. 64.

    Gerber, B. et al. Pain-relief learning in flies, rats, and man: basic research and applied perspectives. Learn. Mem. 21, 232–252 (2014).

  65. 65.

    Hartenstein, V., Spindler, S., Pereanu, W. & Fung, S. The development of the Drosophila larval brain. Adv. Exp. Med. Biol. 628, 1–31 (2008).

  66. 66.

    Ito, M., Masuda, N., Shinomiya, K., Endo, K. & Ito, K. Systematic analysis of neural projections reveals clonal composition of the Drosophila brain. Curr. Biol. 23, 644–655 (2013).

  67. 67.

    Waddell, S., Armstrong, J. D., Kitamoto, T., Kaiser, K. & Quinn, W. G. The amnesiac gene product is expressed in two neurons in the Drosophila brain that are critical for memory. Cell 103, 805–813 (2000).

  68. 68.

    Lee, P. T. et al. Serotonin-mushroom body circuit modulating the formation of anesthesia-resistant memory in Drosophila. Proc. Natl Acad. Sci. USA 108, 13794–13799 (2011).

  69. 69.

    Haynes, P. R., Christmann, B. L. & Griffith, L. C. A single pair of neurons links sleep to memory consolidation in Drosophila melanogaster. Elife 4, e03868 (2015).

  70. 70.

    Huser, A. et al. The serotonergic central nervous system of the Drosophila larva: anatomy and behavioral function. PLoS ONE 7, e47518 (2012).

  71. 71.

    Grünewald, B. Morphology of feedback neurons in the mushroom body of the honeybee, Apis mellifera. J. Comp. Neurol. 404, 114–126 (1999).

  72. 72.

    Liu, X. & Davis, R. L. The GABAergic anterior paired lateral neuron suppresses and is suppressed by olfactory learning. Nat. Neurosci. 12, 53–59 (2009).

  73. 73.

    Wu, C. L. et al. Heterotypic gap junctions between two neurons in the Drosophila brain are critical for memory. Curr. Biol. 21, 848–854 (2011).

  74. 74.

    Chen, Y. C., Mishra, D., Schmitt, L., Schmuker, M. & Gerber, B. A behavioral odor similarity “space” in larval Drosophila. Chem. Senses 36, 237–249 (2011).

  75. 75.

    Chen, Y. C. & Gerber, B. Generalization and discrimination tasks yield concordant measures of perceived distance between odours and their binary mixtures in larval Drosophila. J. Exp. Biol. 217, 2071–2077 (2014).

  76. 76.

    Gerber, B. & Hendel, T. Outcome expectations drive learned behaviour in larval Drosophila. Proc. Biol. Sci. 273, 2965–2968 (2006).

  77. 77.

    Schleyer, M. et al. A behavior-based circuit model of how outcome expectations organize learned behavior in larval Drosophila. Learn. Mem. 18, 639–653 (2011).

  78. 78.

    Lin, S. et al. Neural correlates of water reward in thirsty Drosophila. Nat. Neurosci. 17, 1536–1542 (2014).

  79. 79.

    Lak, A., Stauffer, W. R. & Schultz, W. Dopamine prediction error responses integrate subjective value from different reward dimensions. Proc. Natl Acad. Sci. USA 111, 2343–2348 (2014).

  80. 80.

    Howard, J. D., Gottfried, J. A., Tobler, P. N. & Kahnt, T. Identity-specific coding of future rewards in the human orbitofrontal cortex. Proc. Natl Acad. Sci. USA 112, 5195–5200 (2015).

  81. 81.

    Sutton, R. S. & Barto, A. G. in Learning and Computational Neuroscience: Foundations of Adaptive Networks (eds Gabriel, M. & Moore, J. W.) 497–537 (MIT Press, Cambridge, 1990).

  82. 82.

    Malaka, R. Models of classical conditioning. Bull. Math. Biol. 61, 33–83 (1999).

  83. 83.

    Yarali, A., Nehrkorn, J., Tanimoto, H. & Herz, A. V. Event timing in associative learning: from biochemical reaction dynamics to behavioural observations. PLoS ONE 7, e32885 (2012).

  84. 84.

    Tanimoto, H., Heisenberg, M. & Gerber, B. Experimental psychology: event timing turns punishment to reward. Nature 430, 983 (2004).

  85. 85.

    Vogt, K., Yarali, A. & Tanimoto, H. Reversing stimulus timing in visual conditioning leads to memories with opposite valence in Drosophila. PLoS ONE 10, e0139797 (2015).

  86. 86.

    Aso, Y. & Rubin, G. M. Dopaminergic neurons write and update memories with cell-type-specific rules. Elife 5, e16135 (2016).

  87. 87.

    Yovell, Y. & Abrams, T. W. Temporal asymmetry in activation of Aplysia adenylyl cyclase by calcium and transmitter may explain temporal requirements of conditioning. Proc. Natl Acad. Sci. USA 89, 6526–6530 (1992).

  88. 88.

    Cassenaer, S. & Laurent, G. Hebbian STDP in mushroom bodies facilitates the synchronous flow of olfactory information in locusts. Nature 448, 709–713 (2007).

  89. 89.

    Drew, P. J. & Abbott, L. F. Extending the effects of spike-timing-dependent plasticity to behavioral timescales. Proc. Natl Acad. Sci. USA 103, 8876–8881 (2006).

  90. 90.

    Wu, Y., Ren, Q., Li, H. & Guo, A. The GABAergic anterior paired lateral neurons facilitate olfactory reversal learning in Drosophila. Learn. Mem. 19, 478–486 (2012).

  91. 91.

    Ren, Q., Li, H., Wu, Y., Ren, J. & Guo, A. A GABAergic inhibitory neural circuit regulates visual reversal learning in Drosophila. J. Neurosci. 32, 11524–11538 (2012).

  92. 92.

    Filla, I. & Menzel, R. Mushroom body extrinsic neurons in the honeybee (Apis mellifera) brain integrate context and cue values upon attentional stimulus selection. J. Neurophysiol. 114, 2005–2014 (2015).

  93. 93.

    Mishra, D., Louis, M. & Gerber, B. Adaptive adjustment of the generalization-discrimination balance in larval Drosophila. J. Neurogenet. 24, 168–175 (2010).

  94. 94.

    Barth, J. et al. Differential associative training enhances olfactory acuity in Drosophila melanogaster. J. Neurosci. 34, 1819–1837 (2014).

  95. 95.

    Saumweber, T., Husse, J. & Gerber, B. Innate attractiveness and associative learnability of odors can be dissociated in larval Drosophila. Chem. Senses 36, 223–235 (2011).

  96. 96.

    Scherer, S., Stocker, R. F. & Gerber, B. Olfactory learning in individually assayed Drosophila larvae. Learn. Mem. 10, 217–225 (2003).

  97. 97.

    Michels, B. et al. Pavlovian conditioning of larval Drosophila: an illustrated, multilingual, hands-on manual for odor-taste associative learning in maggots. Front. Behav. Neurosci. 11, 45 (2017).

  98. 98.

    Kitamoto, T. Conditional modification of behavior in Drosophila by targeted expression of a temperature-sensitive shibire allele in defined neurons. J. Neurobiol. 47, 81–92 (2001).

  99. 99.

    Baines, R. A., Uhler, J. P., Thompson, A., Sweeney, S. T. & Bate, M. Altered electrical properties in Drosophila neurons developing without synaptic transmission. J. Neurosci. 21, 1523–1531 (2001).

  100. 100.

    Dawydow, A. et al. Channelrhodopsin-2-XXL, a powerful optogenetic tool for low-light applications. Proc. Natl Acad. Sci. USA 111, 13972–13977 (2014).

  101. 101.

    Klapoetke, N. C. et al. Independent optical excitation of distinct neural populations. Nat. Methods 11, 338–346 (2014).

  102. 102.

    Demerec, M. & Kaufmann, B. P., Drosophila Guide: Introduction to the Genetics and Cytology of Drosophila melanogaster (Carnegie Institution of Washington, Washington, D.C., 1940).

  103. 103.

    Fruchtermann, E. G. & Reingold, E. M. Graph drawing by force-directed placement. J. Softw. Pract. Exp. 21, 1129–1164 (1991).

Download references

Acknowledgements

Institutional support: HHMI Janelia Research Campus, HHMI Janelia Visiting Scientist Program, Leibniz Institut für Neurobiologie (LIN) Magdeburg, Wissenschaftsgemeinschaft Gottfried Wilhelm Leibniz (WGL), Universities of Magdeburg, Leipzig, and Konstanz, and Center of Behavioral and Brain Sciences (CBBS), Magdeburg. Project funding: Deutsche Forschungsgemeinschaft (CRC 779 and GE1091/4-1 to B.G.; TH1584/1-1 and TH1584/3-1 to A.S.T.), Zukunftskolleg of the University of Konstanz (to A.S.T.), Elite Program of the Baden-Württemberg Stiftung (to A.S.T.), and European Commission (FP7-ICT Miniature Insect Model for Active Learning (MINIMAL) to B.G.). Comments and discussion: members of our labs, as well as Ayse Yarali (LIN) and Gerald Rubin (Janelia). Language editing: Rupert D.V. Glasgow, Zaragoza, Spain. Reagents and help: Alison Howard and Jui-Chun Kao (Janelia); the FlyLight team (Janelia); Juliane Saumweber, Juliane Thöner, Thomas Niewalda, Emmanouil Paisios, Naoko Toshima, Michael Thane, Tessa Meyer, Ulrich Thomas, and Werner Zuschratter (LIN); Edanur Shen (Bilkent University); and the workshop team at the LIN.

Author information

Author notes

  1. These authors contributed equally: Timo Saumweber, Astrid Rohwedder, Michael Schleyer, James W. Truman, Andreas S. Thum and Bertram Gerber.

Affiliations

  1. Department of Genetics, Leibniz Institute for Neurobiology (LIN), Brenneckestr. 6, 39118, Magdeburg, Germany

    • Timo Saumweber
    • , Michael Schleyer
    • , Yi-chun Chen
    • , Anne Voigt
    • , Archana Durairaja
    • , Nino Mancini
    •  & Bertram Gerber
  2. Institute for Biology, University of Konstanz, Universitätsstraße 10, 78464, Konstanz, Germany

    • Astrid Rohwedder
    • , Katharina Eichler
    •  & Andreas S. Thum
  3. HHMI Janelia Research Campus, Helix Drive 19700, Ashburn, VA, 20147, USA

    • Katharina Eichler
    • , Yoshinori Aso
    • , Albert Cardona
    • , Claire Eschbach
    • , Marta Zlatic
    •  & James W. Truman
  4. Special Lab Electron and Laserscanning Microscopy and Combinatorial Neuro Imaging Core Facility, Leibniz Institute for Neurobiology (LIN), Brenneckestr. 6, 39118, Magdeburg, Germany

    • Oliver Kobler
  5. Friday Harbor Laboratories, University of Washington, Friday Harbor, WA, 98250, USA

    • James W. Truman
  6. Zukunftskolleg, University of Konstanz, Universitätsstraße 10, 78464, Konstanz, Germany

    • Andreas S. Thum
  7. Institute for Biology, University of Leipzig, Talstraße 33, 04103, Leipzig, Germany

    • Andreas S. Thum
  8. Center for Behavioral Brain Sciences (CBBS), Universitätsplatz 2, 39106, Magdeburg, Germany

    • Bertram Gerber
  9. Institute for Biology, Otto von Guericke University Magdeburg, Universitätsplatz 2, 39106, Magdeburg, Germany

    • Bertram Gerber

Authors

  1. Search for Timo Saumweber in:

  2. Search for Astrid Rohwedder in:

  3. Search for Michael Schleyer in:

  4. Search for Katharina Eichler in:

  5. Search for Yi-chun Chen in:

  6. Search for Yoshinori Aso in:

  7. Search for Albert Cardona in:

  8. Search for Claire Eschbach in:

  9. Search for Oliver Kobler in:

  10. Search for Anne Voigt in:

  11. Search for Archana Durairaja in:

  12. Search for Nino Mancini in:

  13. Search for Marta Zlatic in:

  14. Search for James W. Truman in:

  15. Search for Andreas S. Thum in:

  16. Search for Bertram Gerber in:

Contributions

T.S. conceived the study, coordinated and contributed behavioral experiments, analyzed behavioral, light and electron microscope data, designed figures, and wrote the manuscript. A.R. conceived the study, contributed behavioral and light microscopy data and analysis, and contributed to writing of the manuscript. M.S. conceived the study, contributed experiments and analysis for Figs. 5, 6, and 10, and Supplementary Fig. 8, and contributed to writing and revision of the manuscript. K.E. contributed electron microscopy data and analysis, contributed to experiments for Supplementary Fig. 5, and contributed to the writing of the manuscript. Y.c.C. contributed experiments and analysis for Fig. 8, and contributed to writing of the manuscript. Y.A. contributed to design and analysis of split-Gal4 strains, contributed to Supplementary Table 1, and contributed to writing of the manuscript. A.C. contributed electron microscopy data and analysis, and contributed to writing of the manuscript. C.E. contributed experiments and analysis for Supplementary Fig. 10, and contributed to writing of the manuscript. O.K. contributed movies 1-5 and related text. A.V. contributed to experiments and analysis for Fig. 6. A.D. contributed to experimental design and experiments for Fig. 6. N.M. contributed experiments and analysis for Supplementary Fig. 9e. M.Z. conceived of the study, co-coordinated design of split-Gal4 strains, and contributed to writing of the manuscript. J.W.T. conceived of study, contributed and coordinated light microscopy analyses, co-coordinated design of split-Gal4 strains, and contributed to writing of the manuscript. A.S.T. conceived of study, analyzed data, designed figures, and wrote the manuscript. B.G. conceived of and coordinated study, analyzed data, designed figures, and wrote the manuscript.

Competing interests

The authors declare no competing financial interests.

Corresponding authors

Correspondence to Andreas S. Thum or Bertram Gerber.

Electronic supplementary material

About this article

Publication history

Received

Accepted

Published

DOI

https://doi.org/10.1038/s41467-018-03130-1

Comments

By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.