Skip to main content
Ecology and Evolution logoLink to Ecology and Evolution
. 2013 Sep 23;3(12):4139–4148. doi: 10.1002/ece3.783

Drosophila rely on learning while foraging under semi-natural conditions

Vukašin Zrelec 1, Marco Zini 1, Sandra Guarino 2, Julien Mermoud 2, Joël Oppliger 2, Annabelle Valtat 2, Valérian Zeender 2, Tadeusz J Kawecki 1
PMCID: PMC3853559  PMID: 24324865

Abstract

Learning is predicted to affect manifold ecological and evolutionary processes, but the extent to which animals rely on learning in nature remains poorly known, especially for short-lived non-social invertebrates. This is in particular the case for Drosophila, a favourite laboratory system to study molecular mechanisms of learning. Here we tested whether Drosophila melanogaster use learned information to choose food while free-flying in a large greenhouse emulating the natural environment. In a series of experiments flies were first given an opportunity to learn which of two food odours was associated with good versus unpalatable taste; subsequently, their preference for the two odours was assessed with olfactory traps set up in the greenhouse. Flies that had experienced palatable apple-flavoured food and unpalatable orange-flavoured food were more likely to be attracted to the odour of apple than flies with the opposite experience. This was true both when the flies first learned in the laboratory and were then released and recaptured in the greenhouse, and when the learning occurred under free-flying conditions in the greenhouse. Furthermore, flies retained the memory of their experience while exploring the greenhouse overnight in the absence of focal odours, pointing to the involvement of consolidated memory. These results support the notion that even small, short lived insects which are not central-place foragers make use of learned cues in their natural environments.

Keywords: Cognitive ecology, Drosophila melanogaster, foraging, insects, learning, resource preference

Introduction

Learning can be defined as a change in behaviour driven by the memory of previous experience (Davis 2005) and may help an animal to adapt its behaviour in response to changing environmental circumstances (Dukas 2004). While many vertebrates have been shown to rely on learning under natural conditions (Dukas 2004), evidence for ecological relevance of learning in insects is mostly limited to bees (e.g., Menzel and Muller 1996; Hill et al. 1997; Menzel et al. 2005; Raine and Chittka 2008; Ings et al. 2012), parasitoids (e.g., van Nouhuys and Kaartinen 2008; Hoedjes et al. 2011; Froissart et al. 2012; Thiel et al. 2013) and macrolepidoptera (e.g., Rausher 1978; Stanton 1984; Cunningham et al. 2004; Snell-Rood and Papaj 2009). Several of those studies provide ecological underpinning for specific laboratory assays of learning in those insect groups (e.g., Menzel and Muller 1996; Raine and Chittka 2008; Hoedjes et al. 2011; Thiel et al. 2013). However, not all laboratory learning assays extrapolate to nature. For example, although honey bees remember flowers associated with perceived danger in the laboratory, they are apparently unable to learn to avoid flowers with predatory crab spiders in the field (Dukas et al. 2005). Thus, even though many more insect species have been shown to learn in laboratory conditioning assays, extrapolating from such assays to nature may be problematic, especially when the assays do not have an obvious connection with the animal's ecology.

A case in point is the fruit fly Drosophila melanogaster, a favourite model species for studying the genetics, neural mechanisms and evolution of associative learning (Fig. 1; Davis 2005; Kawecki 2010). Several experimental paradigms for quantifying associative learning in Drosophila in the laboratory have been developed, involving associations of odours or visual cues with shock, heat, bitter taste or sugar reward (e.g., Tempel et al. 1983; Tully and Quinn 1985; Scherer et al. 2003; Foucaud et al. 2010). The use of these paradigms has greatly advanced our understanding of the mechanisms of learning, but their relevance to what Drosophila may learn in nature is unclear. In these assays the flies are either immobilized or confined to a very small space; the experimental stimuli are strong and the flies cannot avoid perceiving them. A few somewhat more ecologically relevant laboratory assays have demonstrated that experience can change flies' mating and oviposition behaviour (Wolf and Heisenberg 1991; Mery and Kawecki 2002; Dukas 2005b). Still, even those assays confine flies to highly spatially restricted and very simple environments. It is not clear to what extent those learned responses would scale up to natural environments, where the spatial scale is orders of magnitude larger and a multitude of stimuli compete for the fly's attention. For example, a male fruit fly constrained with an unreceptive female in a small space subsequently refrains from courting even receptive females for several hours (“courtship conditioning”; Siegel and Hall 1979); however, this does not occur under less constrained conditions more akin to flies' natural environment (Dukas 2005a). Similarly poor correspondence between laboratory and field have been found for an innate behavioural pattern – circadian activity rhythm (Vanin et al. 2012).

Figure 1.

Figure 1

Fruit flies Drosophila melanogaster feeding on decomposing fruit. Photo copyright T. J. Kawecki.

Not having a nest or brood care, fruit flies may not need the cognitive abilities required for homing, while their short lifespan under natural conditions (Rosewell and Shorrocks 1987) would limit their chances to benefit from past experience. It could be argued that the learning observed in the laboratory indirectly supports the relevance of learning ability to fitness in nature: if learning were not beneficial, this costly trait (Mery and Kawecki 2003) would be eliminated by natural selection. Yet, it is also possible that some basic level of learning ability is conserved as a by-product of general neuronal plasticity (important in nervous system development), even if learning is ecologically irrelevant or costly (Dukas 2009). So the fact that fruit flies learn in the laboratory does not necessarily imply that learning is ecologically relevant for this animal in nature.

Knowing if and what fruit flies learn in nature would throw light on the evolutionary forces maintaining learning ability and provide ecological underpinning for the neuroscience-oriented research on learning in this model species. Furthermore, learning has been proposed to buffer populations against environmental fluctuations (Stephens 1991), affect predator-prey population dynamics (Ishii and Shimada 2012), facilitate expansion into novel habitats (Sutter and Kawecki 2009), modulate evolutionary change (Paenke et al. 2007) and initiate speciation (Thorpe and Jones 1937; Dukas 2005b). Thus, showing that even a small, short lived, non-social insect makes use of learning in nature would greatly extend the potential taxonomic relevance of those hypotheses.

A few studies have addressed the effect of experience on behaviour of Drosophila under field conditions, with mixed results. Jaenike (1985, 1986)) reports increased attraction of D. melanogaster (and Drosophila tripunctata) in field releases to food on which the flies had been previously kept in the laboratory for a week. Similarly, D. melanogaster which emerged from pupa in immediate vicinity of a particularly flavoured food were subsequently more attracted to that flavour under field conditions (Jaenike 1988). However, other studies with similar design (Hoffmann and Turelli 1985; Hoffmann 1988; Turelli and Hoffmann 1988), found no or inconsistent evidence for effects of prior food exposure on its subsequent attractiveness to flies released in the field. All those studies involved non-differential learning; i.e., the flies only acquired experience of one food type rather than comparing food sources of different palatability. Thus, where effects were detected, they could reflect imprinting or sensitization (or habituation in cases where reduced attraction to previously experienced food was found; Hoffmann and Turelli 1985; Turelli and Hoffmann 1988), irrespective of food quality. Furthermore, while flies possess consolidated memory and can remember an association between shock and odour for over at least 24 h in laboratory assays (Dubnau and Tully 1998; Isabel et al. 2004; Mery et al. 2007), it is not clear if consolidated memory is relevant to food choice in nature.

In this paper we address the ecological relevance of learning in fruit flies by testing if they learn about food quality, retain this information overnight, and use it to choose between food types in a greenhouse setting. This setting emulates the natural environment in that expanse of space the flies can explore is vast compared to typical laboratory learning assays, and the food sources must be located from afar and approached in flight. Furthermore, plants, pots, soil and greenhouse construction elements provide olfactory and visual complexity and heterogeneity. In our assays, flies were first given the opportunity to learn which of two food substrates (apple- or orange-flavoured) tastes good and which one is less palatable as a result of being laced with quinine (“learning phase”). Subsequently, their attraction to the two food sources was assayed in the greenhouse by setting out traps baited with apple and orange (“test phase”). If their food choices were affected by past experience, the flies should shift their food preference in the test phase towards the previously palatable flavour. We report three experiments which show that fruit flies modify their food preference under the greenhouse conditions based on what they previously learned in the laboratory (experiment 1), that they do so even after remaining in the greenhouse overnight, indicating involvement of consolidated memory (experiment 2), and that they can acquire new learned information while free-flying in the greenhouse (experiment 3).

Materials and Methods

General methods

The learning assays were derived from a laboratory oviposition learning paradigm developed by Mery and Kawecki (2002). The food substrates used in the learning assays (both during the learning phase and to bait the traps during the test phase) were made by cooking either orange or apple juice with 22 g/L agar. To make a substrate unpalatable (bitter), quinine hydrochloride was added at the concentration of 7 g/L. Substrates were poured into Petri dishes (for the learning phase) and into the traps (for the test phase), and allowed to cool before a pinch of dry yeast was added onto their surface. The traps were assembled from 160 mL polystyrene vials covered with 45 mm diameter plastic lids perforated with several radial slits with a small central opening leading into a narrow vertical descending tube (Fig. 2A). Flies could thus readily detect and be drawn to odours emanating from the substrate within each trap but once inside could not escape.

Figure 2.

Figure 2

(A) Design of the fly trap used in this study. Clear polystyrene culture vial containing fruit juice jelly sprinkled with dry yeast is capped by a perforated circular lid. Flies are drawn to trap's top by the odour of food emanating through the narrow radial slits (0.6 mm); they cannot pass through the slits and thus converge to the central opening (6 mm diameter) and descend the vertical tube leading to the food. Once inside, the flies tend to cluster on the inner walls of the trap and cannot readily escape. (B) View from the entrance of one of the 18 × 6 m greenhouses where the experiments were performed.

We used three large (6 × 14 m) greenhouses (Fig. 2B); however, only one greenhouse was available at any particular time for reasons beyond our control. The greenhouses were illuminated by natural ambient light; additionally halogen lamps set to 12:12 h light–dark cycle were activated when the natural light was low. Temperature varied between 18 and 25°C, relative humidity between 30% and 65%. Numerous potted plants of various species were distributed in the greenhouses. Plants were densely packed on tables which covered most of the greenhouses' surface; the species represented were not under our control and varied over time. To assay flies' choice between orange and apple odours eight pairs of traps, consisting of one orange- and one apple-baited about 5 cm distant from each other, were distributed around the perimeter of the greenhouse. The flies were released at the centre of the greenhouse, at least 2 m from the nearest trap pair. The released flies were observed roosting on the plants and potted soil in the greenhouses, which allowed them to obtain moisture, but no apparent food sources were available (except for the substrates provided in experiment 3; see below).

We used an outbred D. melanogaster population derived from a natural population in Valais, Switzerland in 2007. Flies were reared at 25°C and 60% relative humidity under a 12: 12 light: dark cycle on standard cornmeal-sugar-yeast medium. The experiments were done with flies aged 3–10 days, sexes mixed. Flies used in the experiments were counted under light CO2 anaesthesia, marked with red or yellow fluorescent powder according to the learning treatment (see below) and kept for 12 h on an agar substrate before the start of the experiments. The marking was effective as all of the trapped flies invariably showed traces of the powder; this also indicates that no flies entered the greenhouse from outside. The experiments described below were carried out over the span of a year, with at least 3 day interval between successive experiments in the same greenhouse. In a pilot study we verified that no flies were recaptured after 3 days in the greenhouse with no food provided, consistent with the known starvation time in Drosophila (Rion and Kawecki 2007). Thus, flies released in one experimental run could not “contaminate” the following run.

Following the majority of choice-based assays of olfactory associative learning in Drosophila (e.g., Davis 2005; Mery and Kawecki 2005; Mery et al. 2007; Placais and Preat 2013), the hypothesis of learning was tested by comparing the relative attraction to the two odours between flies that experienced opposite association between odours and the unconditioned stimulus (here food quality). That is, we tested if flies previously exposed to palatable apple substrate and quinine-laced orange substrate were more likely to be recaptured in the apple traps than flies subject to the opposite treatment.

Experiment 1: Laboratory learning, immediate greenhouse testing

This experiment aimed to test if flies modify their choice of food odour in response to experience acquired in the laboratory immediately before. For the learning treatments, groups of 200 flies marked with red or yellow fluorescent powder were transferred to 58 × 80 × 97 mm polystyrene boxes with one 35 mm Petri dish with orange and one with apple substrate. In one treatment orange was supplemented with quinine (i.e., flies learned that apple was more palatable); in the other treatment apple contained quinine (i.e., flies learned that orange was more palatable). Flies laid eggs on both substrates during this phase (although as expected fewer on the one laced with quinine), indicating that both substrates were sampled. After 15 h of this learning experience all flies were released in the greenhouse where the traps baited with apple and orange were already set up. The traps were collected 10 h after fly release. This experiment was performed twice in October 2011 in greenhouse #1, with 400 flies per treatment released in each experimental run.

Flies in each trap were counted according to the trap flavour and learning treatment (recognized by the marking colour). The proportion of flies caught in apple rather than orange traps is a measure of their preference for the odour of the apple substrate. This proportion was expected to be higher for flies which learned during the learning phase that apple was more palatable (i.e., experienced orange with quinine) than for flies which learned that orange was more palatable. To test this hypothesis we compared the proportion of flies recaptured in apple traps between learning treatments with a nominal logistic model (with JMP v. 8; SAS Institute Inc.), using treatment as the effect and trap pair as block. To check for robustness of the results against heterogeneity across traps, we additionally performed the Cochran–Mantel–Haenszel test stratified by trap pair (using JMP v. 8). The results of both analyses were in a very good agreement, and we only report the Cohran–Mantel–Haenszel test because it was in all cases slightly more conservative. The proportion of flies recaptured was also compared between conditioning treatments with nominal logistic regression. For graphs, standard errors of proportions were calculated as (q(1 − q)/N)1/2 where q is the estimate of proportion and N is the sample size.

Experiment 2: Laboratory learning, overnight retention in the greenhouse

Here, we tested whether memory of experience acquired in the laboratory is retained in the greenhouse overnight in the absence of the food stimuli. Flies were allowed to learn for 8 h in groups of 100 individuals as in experiment 1 and then released in the greenhouse in late afternoon. However, the traps were only set up next morning. This experiment was performed twice, in November 2011 in greenhouse #2, with 300 and 800 flies per treatment, respectively. In run 1 the recapture began 16 h after release and lasted for 24 h; in run 2 it began 13 h after release and for logistic reasons lasted only for 7 h. The results were analysed as in experiment 1. Because each experiment was analysed separately and treated as an independent test of the hypothesis, the differences in details of the design between the two runs do not bias the results.

Experiment 3: Learning acquisition in the greenhouse

In this experiment we tested if flies can learn about food in the greenhouse. Flies were released in the greenhouse without any prior exposure to orange, apple or quinine; rather, they were given an opportunity to learn while free-flying in the greenhouse. To allow them to learn, we set out Petri dishes (100 mm diameter) with a divider in the middle, one half containing the orange and the other the apple substrate; depending on the treatment one of the substrates was supplemented with quinine. We used a single dish with both flavours rather than putting them in separate dishes to maximize the chances of flies experiencing both substrates. Flies were indeed observed walking across the divider (which was flush with the agar surface and so was not obstacle to the flies). Eight such dishes were distributed throughout the greenhouse; the flies were then released and allowed to explore them and the rest of the environment for 24 h, thus having the opportunity to learn about the quality of orange- and apple-flavoured food. Subsequently, the Petri dishes were removed and traps baited with these two substrates were set out as in experiments 1 and 2; the flies in the traps were counted after 8 h. Because the greenhouse could not be divided, we could not simultaneously condition two groups of flies in opposite directions in a single greenhouse. Rather, in four sequential replicate runs of the experiment the orange substrate contained quinine (i.e., flies learned that apple was more palatable), and in four runs apple contained quinine. The first replicate of each treatment was performed in greenhouse #1 in December 2011, the second replicate in February 2012 in greenhouse #3, and the remaining replicates in September 2012 in greenhouse #2. The treatments alternated between successive runs, with 800–1400 flies released per run. The proportion of flies choosing apple versus orange traps was analysed with a Generalized Mixed Model (using PROC GLIMMIX of SAS v. 9.2; SAS Institute Inc.) with binomial error distribution and a logit link function. Treatment was the fixed factor while experimental run nested within treatment was included as a random factor to account for variation in overall attractiveness of apple versus orange traps among experimental runs. This way the experimental run is treated as the main unit of replication when testing the effect of treatment. We also included greenhouse identity in the model, but it was not significant and was removed.

Unconditioned preference and control for marking effect

This assay aimed to test if the colour of fluorescent powder used to mark flies affects their preference for apple versus orange or their likelihood of being recaptured. It also provided an estimate of unconditioned preference for the two odours, exhibited by flies which did not experience the association between quinine and flavour. It involved the same procedures as Experiment 1 except that neither substrate contained quinine in the learning phase. Thus, flies marked with both colours were exposed to the same treatment, in which they experienced both substrates as palatable. (For simplicity we refer to these flies as being “unconditioned”, keeping in mind that the exposure to two palatable substrates may have changed their relative preference for them.) The first run of this assay, with 400 flies released per marking colour, was performed a few days after the end of experiment 1 in greenhouse #1. Because we saw a shift towards overall greater attractiveness of apple over orange in later experiments (see below), we repeated this assay after the last replicate of experiment 3 in September 2012 in greenhouse #2, with 600 flies released per marking colour. The data were analysed as those from experiment 1 and 2.

Results

Experiment 1

In both runs of this experiment flies that previously experienced apple as more palatable were more likely to be found in apple-flavoured traps than flies with the opposite experience (Fig. 3A). Thus, attraction to odours in free-flying flies in the greenhouse environment was modified by their prior learning treatment in the laboratory. The learning treatment affected the recapture probability, but in opposite directions in the two runs: 66% versus 59% in run 1 (Inline graphic = 3.6, P = 0.057), 34% versus 44% in run 2(Inline graphic = 8.8, P = 0.0093). In both runs the treatment with higher recapture was marked with the yellow powder, suggesting that recapture may be affected by powder colour. The fact that in the two runs the learning treatment had very similar effect on the proportion of flies captured on apple (among total flies captured) confirms that preference for orange versus apple is not biased by recapture rate or marking colour.

Figure 3.

Figure 3

The effect of experience acquired during the learning phase in the laboratory (apple palatable/orange bitter or vice versa) on subsequent odour preference in the greenhouse (the proportion ± SE of flies caught in apple rather than orange traps). (A) Experiment 1: recapture directly after release. (B) Experiment 2: recapture next day (13–16 h) after release. Statistics refer to the Cochran–Mantel–Haenszel test for the effect of treatment; *P < 0.05, **P < 0.01, ***P < 0.001; the numbers above the horizontal axis indicate the total numbers of recaptured flies (i.e., the sample size of the proportion).

Experiment 2

Despite the long interval (13–16 h) between the release and the recapture, the attraction to food sources in the greenhouse (i.e. the likelihood of being recaptured in orange versus apple traps) was affected by the previous day's experience in the direction consistent with the predictions (Fig. 3B). The proportion of flies recaptured was higher in run 2 than in run 1, possibly reflecting the longer time between release and recapture (16 vs. 13 h); the recapture probability was not affected by the learning treatment (0.33 vs. 0.36 in run 1, 0.45 vs. 0.44 in run 2, both Inline graphic < 1, P > 0.4). Irrespective of treatment, flies showed a higher overall preference for apple in Experiment 2 than in Experiment 1.

Experiment 3

As predicted, flies which had been exposed to palatable apple and bitter orange substrate while free-flying in the greenhouse were subsequently more likely to be found in apple traps than flies with the opposite experience (back-transformed least-square mean proportions ± SE: 0.72 ± 0.04 vs. 0.47 ± 0.05). Despite considerable variation among the replicate runs within treatments (Fig. 4), the difference was significant (F1,6 = 13.0, P = 0.011). The recapture probability tended to be on average higher for flies which experienced palatable apple/bitter orange than for the opposite learning treatment (0.38 ± 0.05 vs. 0.28 ± 0.04), but varied across replicate run so that the overall difference was not significant (F1,6 = 2.7, P = 0.15). Overall, recapture rates in Experiment 3 were somewhat lower than in the other two experiments, presumably reflecting the longer time spent by flies in the greenhouse before recapture and the shorter recapture period.

Figure 4.

Figure 4

The effect of experience acquired while free-flying in the greenhouse on subsequent food preference (Experiment 3). Each bar shows the proportion (±SE) of flies captured in apple traps in one replicate run of the experiment; the numbers above the horizontal axis indicate the total numbers of recaptured flies (i.e., the sample size of the proportion).

Unconditioned preference and control for marking effect

Flies marked with the red powder tended to have somewhat lower recapture probability than those marked yellow (0.59 vs. 0.65; Inline graphic = 3.1, P = 0.081, likelihood ratio test). This is consistent with greater recapture of yellow marked flies in experiment 1 (see above). Such a difference in overall recapture probability should not bias our results because they are based on the proportion of flies captured in apple versus orange traps among total flies captured, and because the marking colour was swapped between runs of experiments.

The marking colour did not affect the choice between apple and orange odours: when flies marked with either colour experienced both flavours as palatable (without quinine), similar proportions of them were recaptured in apple-flavoured traps (39% of 235 red marked and 36% of 259 yellow-marked flies recaptured; Inline graphic = 0.1, P = 0.75, Cochran–Mantel–Haenszel test). This low preference of unconditioned flies for apple traps is consistent with the overall low attractiveness of apple observed in experiment 1 (Fig. 3A), which was carried out a few days before this assay in the same greenhouse. In the second release of unconditioned flies performed after the last run of experiment 3, 67% of 345 flies were recaptured on apple, consistent with the generally higher overall attractiveness of apple observed in the later experiments. The likelihood of being trapped on apple again did not differ between powder colours (Inline graphic = 0.3, P = 0.59).

Discussion

In this study we demonstrated that the relative attraction of fruit flies flying in a greenhouse environment to alternative odours is affected by the quality of food with which these odours were previously associated. Flies that had experienced palatable apple-flavoured food and unpalatable orange-flavoured food were more likely to be attracted to the odour of apple than flies with the opposite experience. This occurred both when the experience had been acquired under free-flying conditions and under more artificial and confined conditions in the laboratory. The degree to which flies' preference for apple versus orange odour was modified after the flies could learn while free flying in the greenhouse (Experiment 3) was similar to that observed after the flies were first subject to a learning treatment in the laboratory and subsequently tested in the greenhouse (Experiment 1). Furthermore, while the effect of learning in our experiments may seem small, it was similar in magnitude to that reported in a laboratory oviposition learning assay conducted in small boxes preventing flies from flying and only containing the two substrates (Mery and Kawecki 2002). It thus appears that the greenhouse environment, which is richer and more “noisy” in terms of stimuli and which requires flight for exploration, neither poses an obstacle to learning new information, nor significantly impairs flies' ability to make foraging choices based on previously learned information.

The effect of experience on food preference is overlaid on the pre-existing innate preference, and the limited magnitude of this effect means that learning in our study did not lead to reversal of innate preferences. In particular, in experiment 1 flies showed overall greater attraction to the orange than to the apple odour, as confirmed by the release of unconditioned flies. While flies that experienced orange as unpalatable significantly shifted the relative preference away from orange and towards apple, they still chose apple at most half of the time. Conversely, in later experiments (2 and 3) flies were in general considerably more attracted to apple (confirmed by the second release of unconditioned flies), so that even those that experience orange as palatable and apple as bitter tended to choose apple traps as often or more often than orange traps. However, similar observations have been made in laboratory learning assays (Mery and Kawecki 2004). Thus the inability of learning to reverse pre-existing innate biases points to limits on Drosophila learning, but it does not negate the fact that learning, defined as a changed of food odour choice based on past experience, occurred in our experiments. Furthermore, if an animal shows a strong but maladaptive innate preference for a particular food, even a small reduction of this preference may have large fitness consequences. In an extreme case when the innately preferred food turns out to be lethally toxic, reducing the likelihood of choosing it from 90% to 80% would double fitness.

While the greenhouse obviously still differs from a natural environment, its spatial scale and relative complexity are presumably more relevant to the natural ecology of Drosophila than the confines of laboratory learning assays (see Introduction). A few previous studies (Jaenike 1985, 1986, 1988) demonstrated an effect of adult experience acquired at the time of emergence from pupa on food preference in free-flying flies outside of the laboratory (although other studies failed to find it; see the Introduction). We extend those results in three ways.

First, in previous studies of the effect of experience on food preference in free-flying flies, flies were exposed to the focal odour or flavour upon emergence. These experiments were thus specifically meant to address the “chemical legacy hypothesis” (Corbet 1985), according to which chemical signals encountered by an insect upon emergence may influence its subsequent feeding and oviposition behaviour. In contrast, our flies emerged in standard culture vials and first fed on a standard cornmeal/sugar/yeast medium; they were only exposed to the focal food substrates several (3–10) days after emergence. Thus, our results, in particular experiment 3, indicate that the ability of flies to learn under free-flying semi-natural conditions extends beyond being conditioned to the first food encountered in adult life.

Second, in contrast to those previous field studies, in our study flies were exposed to two substrates, both having an attractive odour but one being highly palatable and the other less so due to presence of quinine. Even though the flies likely spent more time on the more palatable food during the learning phase, the proximity of the two substrates meant that they were exposed to both odours. This excludes simple odour exposure as the cause of the change in subsequent odour preference. Rather, our results are most parsimoniously explained by flies having learnt the association between food odour and its palatability, in analogy to associative learning about food quality observed under laboratory conditions (Mery and Kawecki 2002).

Third, we have shown that memory persists overnight under the free-flying greenhouse setting in the absence of the focal odours, indicating that a consolidated form of memory is involved. Two forms of consolidated memory − long-term memory (LTM) and anaesthesia-resistant memory − have been described in laboratory olfactory classical conditioning in Drosophila; they are the only memory forms that persist beyond several hours (Isabel et al. 2004; Davis 2005). In laboratory studies of consolidated memory flies are maintained between conditioning and test under conditions that minimize exposure to odours and other stimuli, which may be particularly favourable to consolidation and retention of memory (Dacher and Smith 2008; Lagasse et al. 2009; Burns et al. 2011). Hoffmann and Turelli (1985) reported apparent retention of memory about food in flies maintained over 24 h under such minimal-stimulus laboratory conditions (vials with no food) and subsequently released and tested in the field. However, this result was inconsistent between experiments and may have been confounded by the degree of food fermentation (Hoffmann 1985); another study reported that the effect of experience disappears in the field within hours (Jaenike 1986). Our results thus provide the strongest support yet for the importance of consolidated memory in Drosophila foraging. In our Experiment 2 the flies still showed increased preference for the food they previously experienced as more palatable, even though in the meantime they spent 13–16 h in the greenhouse, in the absence of the focal food odours, but exposed to other odours such as those emanating from potted plants and soil. While part of the overall time spent in the greenhouse was spent roosting on plants as soil (as we observed), the flies are also likely to have actively sought moisture and food, in particular during the natural peaks of activity at dusk and dawn. The stimuli encountered during that time might have interfered with the pre-existing memory (Dacher and Smith 2008; Lagasse et al. 2009). The fact that their memories of food-associated odours from the previous day persisted under these conditions is a strong indication that such memories may also persist in nature. Thus, while we cannot discern whether flies in our assays relied on long-term or anesthesia-resistant memory, our study indicates that consolidated memory may be ecologically relevant even for small, short lived insects.

Overall, our results provide strong support for the notion that fruit flies modify their food choice in a natural context based on previous experience. Learning detected in laboratory conditioning paradigms is thus not merely an artefact of strong stimuli implemented in such assays, small spatial scale and absence of other stimuli. Learning about food and oviposition sites is likely to be important for D. melanogaster in nature. Fruit flies feed on decaying fruits, the quality and palatability of which vary in space and time, depending on the stage of decomposition, the microorganisms involved, and the degree of desiccation. Volatile compounds through which flies are attracted to fermenting substrates (Markow and O'Grady 2008) may not reflect the quality of the substrate accurately. If so, it will often be beneficial for flies to be able to adjust their attraction to volatiles based on their local, recent experience. While it has been suggested that fruit flies spend extended periods of time on or near the food sites (Spieth and Heed 1972), they may be driven away temporarily, for example, by the heat of mid-day (Feder 1997), as well as roost away from the feeding sites overnight. If that is the case, retaining learned information over prolonged periods might be useful in relocating temporarily abandoned, but still appropriate food sites, or locating new ones with similar properties. While this remains to be directly demonstrated, our results support the plausibility of such a scenario. They also provide an ecological underpinning for laboratory learning assays involving associations between food and odours and used to study the mechanisms or evolution of learning in this model species (Mery and Kawecki 2002; Chabaud et al. 2006). Finally, fruit flies probably do not possess extraordinary learning abilities compared to other insect groups (Dukas 2008). Hence, our results suggest that the ecological significance of associative learning in insects extends beyond the special cases of social Hymenoptera, parasitoids and butterflies reviewed in the Introduction.

Acknowledgments

We thank Brian Hollis for help with analysis and comments on the manuscript, and Franziska Schneider and Sylvain Kolly for help with the experiments. This work was partially carried out in the framework of a course on Experimental Design in the BSc program in Biology at the University of Lausanne. It has been supported by the Swiss National Science Foundation.

Conflict of Interest

None declared.

References

  1. Burns JG, Foucaud J, Mery F. Costs of memory: lessons from ‘mini’ brains. Proc. R. Soc. Lond. B Biol. Sci. 2011;278:923–929. doi: 10.1098/rspb.2010.2488. [DOI] [PMC free article] [PubMed] [Google Scholar]
  2. Chabaud MA, Devaud JM, Pham-Delegue MH, Preat T, Kaiser L. Olfactory conditioning of proboscis activity in Drosophila melanogaster. J. Comp. Physiol. A Neuroethol. Sens. Neural Behav. Physiol. 2006;192:1335–1348. doi: 10.1007/s00359-006-0160-3. [DOI] [PubMed] [Google Scholar]
  3. Corbet SA. Insect chemosensory responses – a chemical legacy. Ecol. Entomol. 1985;10:143–153. [Google Scholar]
  4. Cunningham JP, Moore CJ, Zalucki MP, West SA. Learning, odour preference and flower foraging in moths. J. Exp. Biol. 2004;207:87–94. doi: 10.1242/jeb.00733. [DOI] [PubMed] [Google Scholar]
  5. Dacher M, Smith BH. Olfactory interference during inhibitory backward pairing in honey bees. PLoS ONE. 2008;3:e3513. doi: 10.1371/journal.pone.0003513. [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Davis RL. Olfactory memory formation in Drosophila: from molecular to systems neuroscience. Annu. Rev. Neurosci. 2005;28:275–302. doi: 10.1146/annurev.neuro.28.061604.135651. [DOI] [PubMed] [Google Scholar]
  7. Dubnau J, Tully T. Gene discovery in Drosophila: new insights for learning and memory. Annu. Rev. Neurosci. 1998;21:407–444. doi: 10.1146/annurev.neuro.21.1.407. [DOI] [PubMed] [Google Scholar]
  8. Dukas R. Evolutionary biology of animal cognition. Annu. Rev. Ecol. Evol. Syst. 2004;35:347–374. [Google Scholar]
  9. Dukas R. Experience improves courtship in male fruit flies. Anim. Behav. 2005a;69:1203–1209. [Google Scholar]
  10. Dukas R. Learning affects mate choice in female fruit flies. Behav. Ecol. 2005b;16:800–804. [Google Scholar]
  11. Dukas R. Evolutionary biology of insect learning. Annu. Rev. Entomol. 2008;53:145–160. doi: 10.1146/annurev.ento.53.103106.093343. [DOI] [PubMed] [Google Scholar]
  12. Dukas R. Cognitive ecology II. Chicago, IL: University of Chicago Pres; 2009. Learning: mechanisms, ecology and evolution. [Google Scholar]
  13. Dukas R, Morse DH, Myles S. Experience levels of individuals in natural bee populations and their ecological implications. Can. J. Zool. 2005;83:492–497. [Google Scholar]
  14. Feder ME. Necrotic fruit: a novel model system for thermal ecologists. J. Therm. Biol. 1997;22:1–9. [Google Scholar]
  15. Foucaud J, Burns JG, Mery F. Use of spatial information and search strategies in a water maze analog in Drosophila melanogaster. PLoS ONE. 2010;5:e15231. doi: 10.1371/journal.pone.0015231. [DOI] [PMC free article] [PubMed] [Google Scholar]
  16. Froissart L, Bernstein C, Humblot L, Amat I, Desouhant E. Facing multiple information sources while foraging on successive patches: how does a parasitoid deal with experience? Anim. Behav. 2012;83:189–199. [Google Scholar]
  17. Hill PSM, Wells PH, Wells H. Spontaneous flower constancy and learning in honey bees as a function of colour. Anim. Behav. 1997;54:615–627. doi: 10.1006/anbe.1996.0467. [DOI] [PubMed] [Google Scholar]
  18. Hoedjes KM, Kruidhof HM, Huigens ME, Dicke M, Vet LEM, Smid HM. Natural variation in learning rate and memory dynamics in parasitoid wasps: opportunities for converging ecology and neuroscience. Proc. R. Soc. Lond. B Biol. Sci. 2011;278:889–897. doi: 10.1098/rspb.2010.2199. [DOI] [PMC free article] [PubMed] [Google Scholar]
  19. Hoffmann AA. Effects of experience on oviposition and attraction in Drosophila: comparing apples and oranges. Am. Nat. 1985;126:41–51. [Google Scholar]
  20. Hoffmann AA. Early adult experience in Drosophila melanogaster. J. Insect Physiol. 1988;34:197–204. [Google Scholar]
  21. Hoffmann AA, Turelli M. Distribution of Drosophila melanogaster on alternative ressources – effects of experience and starvation. Am. Nat. 1985;126:662–679. [Google Scholar]
  22. Ings TC, Wang MY, Chittka L. Colour-independent shape recognition of cryptic predators by bumblebees. Behav. Ecol. Sociobiol. 2012;66:487–496. [Google Scholar]
  23. Isabel G, Pascual A, Preat T. Exclusive consolidated memory phases in Drosophila. Science. 2004;304:1024–1027. doi: 10.1126/science.1094932. [DOI] [PubMed] [Google Scholar]
  24. Ishii Y, Shimada M. Learning predator promotes coexistence of prey species in host-parasitoid systems. Proc. Natl Acad. Sci. USA. 2012;109:5116–5120. doi: 10.1073/pnas.1115133109. [DOI] [PMC free article] [PubMed] [Google Scholar]
  25. Jaenike J. Genetic and environmental determinants of food preference in Drosophila tripunctata. Evolution. 1985;39:362–369. doi: 10.1111/j.1558-5646.1985.tb05673.x. [DOI] [PubMed] [Google Scholar]
  26. Jaenike J. Intraspecific variation for resource use in Drosophila. Biol. J. Linn. Soc. 1986;27:47–56. [Google Scholar]
  27. Jaenike J. Effects of early adult experience on host selection in insects: some experimental and theoretical results. J. Insect Behav. 1988;1:3–15. [Google Scholar]
  28. Kawecki TJ. Evolutionary ecology of learning: insights from fruit flies. Popul. Ecol. 2010;52:15–25. [Google Scholar]
  29. Lagasse F, Devaud JM, Mery F. A switch from cycloheximide-resistant consolidated memory to cycloheximide-sensitive reconsolidation and extinction in Drosophila. J. Neurosci. 2009;29:2225–2230. doi: 10.1523/JNEUROSCI.3789-08.2009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  30. Markow TA, O'Grady P. Reproductive ecology of Drosophila. Funct. Ecol. 2008;22:747–759. [Google Scholar]
  31. Menzel R, Muller U. Learning and memory in honeybees: from behavior to neural substrates. Annu. Rev. Neurosci. 1996;19:379–404. doi: 10.1146/annurev.ne.19.030196.002115. [DOI] [PubMed] [Google Scholar]
  32. Menzel R, Greggers U, Smith A, Berger S, Brandt R, Brunke S, et al. Honey bees navigate according to a map-like spatial memory. Proc. Natl Acad. Sci. USA. 2005;102:3040–3045. doi: 10.1073/pnas.0408550102. [DOI] [PMC free article] [PubMed] [Google Scholar]
  33. Mery F, Kawecki TJ. Experimental evolution of learning ability in fruit flies. Proc. Natl Acad. Sci. USA. 2002;99:14274–14279. doi: 10.1073/pnas.222371199. [DOI] [PMC free article] [PubMed] [Google Scholar]
  34. Mery F, Kawecki TJ. A fitness cost of learning ability in Drosophila melanogaster. Proc. R. Soc. Lond. B. 2003;270:2465–2469. doi: 10.1098/rspb.2003.2548. [DOI] [PMC free article] [PubMed] [Google Scholar]
  35. Mery F, Kawecki TJ. The effect of learning on experimental evolution of resource preference in Drosophila melanogaster. Evolution. 2004;58:757–767. doi: 10.1111/j.0014-3820.2004.tb00409.x. [DOI] [PubMed] [Google Scholar]
  36. Mery F, Kawecki TJ. A cost of long-term memory in Drosophila. Science. 2005;308:1148. doi: 10.1126/science.1111331. [DOI] [PubMed] [Google Scholar]
  37. Mery F, Pont J, Preat T, Kawecki TJ. Experimental evolution of olfactory memory in Drosophila melanogaster. Physiol. Biochem. Zool. 2007;80:399–405. doi: 10.1086/518014. [DOI] [PubMed] [Google Scholar]
  38. van Nouhuys S, Kaartinen R. A parasitoid wasp uses landmarks while monitoring potential resources. Proc. R. Soc. Lond. B Biol. Sci. 2008;275:377–385. doi: 10.1098/rspb.2007.1446. [DOI] [PMC free article] [PubMed] [Google Scholar]
  39. Paenke I, Sendhoff B, Kawecki TJ. Influence of plasticity and learning on evolution under directional selection. Am. Nat. 2007;170:E47–E58. doi: 10.1086/518952. [DOI] [PubMed] [Google Scholar]
  40. Placais PY, Preat T. To favor survival under food shortage, the brain disables costly memory. Science. 2013;339:440–442. doi: 10.1126/science.1226018. [DOI] [PubMed] [Google Scholar]
  41. Raine NE, Chittka L. The correlation of learning speed and natural foraging success in bumble-bees. Proc. R. Soc. Lond. B Biol. Sci. 2008;275:803–808. doi: 10.1098/rspb.2007.1652. [DOI] [PMC free article] [PubMed] [Google Scholar]
  42. Rausher MD. Search image for leaf shape in a butterfly. Science. 1978;200:1071–1073. doi: 10.1126/science.200.4345.1071. [DOI] [PubMed] [Google Scholar]
  43. Rion S, Kawecki TJ. Evolutionary biology of starvation resistance: what we have learned from Drosophila. J. Evol. Biol. 2007;20:1655–1664. doi: 10.1111/j.1420-9101.2007.01405.x. [DOI] [PubMed] [Google Scholar]
  44. Rosewell J, Shorrocks B. The implication of survival rates in natural populations of Drosophila – capture recapture experiments on domestic species. Biol. J. Linn. Soc. 1987;32:373–384. [Google Scholar]
  45. Scherer S, Stocker RF, Gerber B. Olfactory learning in individually assayed Drosophila larvae. Learn. Mem. 2003;10:217–225. doi: 10.1101/lm.57903. [DOI] [PMC free article] [PubMed] [Google Scholar]
  46. Siegel RW, Hall JC. Conditioned responses in courtship behavior of normal and mutant Drosophila. Proc. Natl Acad. Sci. USA. 1979;76:3430–3434. doi: 10.1073/pnas.76.7.3430. [DOI] [PMC free article] [PubMed] [Google Scholar]
  47. Snell-Rood EC, Papaj DR. Patterns of phenotypic plasticity in common and rare environments: a study of host use and color learning in the cabbage white butterfly Pieris rapae. Am. Nat. 2009;173:615–631. doi: 10.1086/597609. [DOI] [PubMed] [Google Scholar]
  48. Spieth HT, Heed WB. Experimental systematics and ecology of Drosophila. Annu. Rev. Ecol. Syst. 1972;3:269–288. [Google Scholar]
  49. Stanton ML. Short-term learning and the searching accurcy of egg-laying butterflies. Anim. Behav. 1984;32:33–40. [Google Scholar]
  50. Stephens DW. Change, regularity, and value in the evolution of animal learning. Behav. Ecol. 1991;2:77–89. [Google Scholar]
  51. Sutter M, Kawecki TJ. Influence of learning on range expansion and adaptation to novel habitats. J. Evol. Biol. 2009;22:2201–2214. doi: 10.1111/j.1420-9101.2009.01836.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  52. Tempel BL, Bonini N, Dawson DR, Quinn WG. Reward learning in normal and mutant Drosophila. Proc. Natl. Acad. Sci. USA. 1983;80:1482–1486. doi: 10.1073/pnas.80.5.1482. [DOI] [PMC free article] [PubMed] [Google Scholar]
  53. Thiel A, Schlake S, Kosior D. Omnia tempus habent: habitat-specific differences in olfactory learning and decision making in parasitic wasps. Anim. Cogn. 2013;16:223–232. doi: 10.1007/s10071-012-0567-x. [DOI] [PubMed] [Google Scholar]
  54. Thorpe WH, Jones FGW. Olfactory conditioning in a parasitic insect and its relation to the problem of host selection. Proc. R. Soc. Lond. Ser. B Biol. Sci. 1937;124:56–81. [Google Scholar]
  55. Tully T, Quinn WG. Classical conditioning and retention in normal and mutant Drosophila melanogaster. J. Comp. Physiol. A. 1985;157:263–277. doi: 10.1007/BF01350033. [DOI] [PubMed] [Google Scholar]
  56. Turelli M, Hoffmann AA. Effects of starvation and experience on the response of Drosophila to alternative resources. Oecologia. 1988;77:497–505. doi: 10.1007/BF00377265. [DOI] [PubMed] [Google Scholar]
  57. Vanin S, Bhutani S, Montelli S, Menegazzi P, Green EW, Pegoraro M, et al. Unexpected features of Drosophila circadian behavioural rhythms under natural conditions. Nature. 2012;484:371–375. doi: 10.1038/nature10991. [DOI] [PubMed] [Google Scholar]
  58. Wolf R, Heisenberg M. Basic organization of operant behavior as revealed in Drosophila flight orientation. J. Comp. Physiol. A. 1991;169:699–705. doi: 10.1007/BF00194898. [DOI] [PubMed] [Google Scholar]

Articles from Ecology and Evolution are provided here courtesy of Wiley

RESOURCES