Visual recognition of the anteroposterior female body axis drives spatial elements of male courtship in Drosophila
Ross M McKinney, Christian Monroy Hernandez, Yehuda Ben-Shahar

TL;DR
Male fruit flies use visual cues to recognize the front-back axis of females, which influences how they perform courtship behaviors.
Contribution
The study reveals that visual recognition of the female body axis drives specific spatial patterns in male courtship behavior.
Findings
Male flies rely on visual cues like female eyes to determine the anterior-posterior body axis.
Without visual input, males adjust their courtship positioning and behavior frequencies.
Multiple visual projection neurons contribute to the recognition of the female body axis.
Abstract
Drosophila males exhibit a highly stereotypic courtship ritual toward virgin females, which is comprised of a sequence of specific behavioral elements that depend on inputs from diverse sensory modalities. Particularly, the visual system of the male plays an important role in detecting salient patterns, colors, and motion cues from conspecifics, which can promote or inhibit specific aspects of male courtship such as chase and song production. Here, we use a computer vision and machine learning-based approach, with a simplified courtship paradigm, to show that males also depend on visual cues to determine the anterior–posterior body axis of females, which drives the specific spatial patterns of distinct behavioral courtship elements. We show that the recognition of the female body axis depends, at least in part, on the visual recognition of female eyes as an anterior landmark.…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
Fig. 1
Fig. 2
Fig. 3
Fig. 4- —Howard A. Schneiderman Graduate Fellowship
- —Washington University10.13039/100007268
- —Genome Analysis Training Program
- —NIH10.13039/501100012264
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNeurobiology and Insect Physiology Research · Developmental Biology and Gene Regulation · Animal Behavior and Reproduction
Introduction
Multisensory integration plays a critical role in the courtship ritual of the vinegar fly Drosophila melanogaster (Villella and Hall 2008; Krstic et al. 2009; Yamamoto et al. 2014; Rings and Goodwin 2019; Shiozaki et al. 2024). This well studied behavior is characterized by a series of stereotypic innate motor output elements, which are precisely regulated across time and space (Markow 1987; Ning et al. 2022; Fedotov et al. 2026). Previous studies by us and others showed that individual components of the courtship ritual are driven via the integration of visual, auditory, olfactory, gustatory, and mechanosensory cues by dedicated neuronal circuits, which are responsible for the release of context-appropriate behaviors (Ben-Shahar et al. 2010; Lu et al. 2012; Pavlou and Goodwin 2013; Lu et al. 2014; Seeholzer et al. 2018; Leitner and Ben-Shahar 2020; Ning et al. 2022; Vernier et al. 2023). For example, male courtship relies heavily on pheromonal signals detected by chemosensory neurons to identify sex and mating status of their courtship target, while auditory feedback from females in response to the courtship song of males helps modulate song structure and persistence (Ejima and Griffith 2008; Moon et al. 2009; Lu et al. 2012; Thistle et al. 2012; Toda et al. 2012; Vijayan et al. 2014; Clowney et al. 2015; Zhang et al. 2020; Hindmarsh Sten et al. 2021; Baker et al. 2022; Shiozaki et al. 2024; Ding and Lillvis 2025). In addition, visual cues contribute to target tracking and orientation of courting males toward courted females (Willmund and Ewing 1982; Agrawal et al. 2014; Kohatsu and Yamamoto 2015; Ribeiro et al. 2018; Schretter et al. 2025).
Nevertheless, how males use visual cues to regulate the precise spatial patterns of the contextual release of the different component of the courtship ritual remains mostly unknown. To bridge this gap, we developed a simplified machine-assisted courtship analysis paradigm, which enabled us to identify some of the specific visual cues used by males to visually recognize the anteroposterior body axis of courted females, which subsequently drives the probability that a specific male courtship element will be released toward the anterior or posterior half of the body of the courted female (Fig. 1a). Based on the impact of genetic, environmental, and surgical manipulations of male vision and female body morphology on the spatial distribution of different components of male courtship, here we propose a model, which stipulates that males use anatomical landmarks to visually identify the anterior–posterior body axis of courted females, which then drive both the distance and relative locations of specific elements within the courtship ritual. Particularly, males seem to use the eyes of females as the primary landmark that defines the anterior end of their courtship target, which increases the likelihood that singing will occur toward the female's head. Together, these data provide a quantitative empirical approach for machine-assisted analyses of spatial behavioral patterns and support the idea that visual recognition of the anterior–posterior body axis of conspecifics plays a role in the regulation of social interactions in insects.
Materials and methods
Fly stocks and husbandry
Animals were reared on a cornmeal-based food (Archon Scientific Inc) at 25 °C and 70% humidity under a 12h:12 h light:dark cycle. For behavioral assays, all flies were 4- to 6-day-old virgin males and females. Canton-S male and female flies were used for courtship experiments under white and red light (Figs. 1 and 2) and for decapitation and head-transplantation experiments (Fig. 3a–j). White-eyed females were derived from w^1118^ flies that had been back-crossed into Canton-S for at least 6 generations (CS^w^^–^), and these flies, along with their red-eyed Canton-S counterparts, were used as courtship targets in the red- vs white-eyed experiments (Fig. 3k–o). Canton-S females were used as courtship targets in the LC-inactivation experiments (Fig. 4), and males were derived from crosses between each LC-GAL4 line (LC4, LC9, LC10-1, LC16, LC17) and either an active (UAS-TNT^+^) or inactive (UAS-TNT^−^) mutant allele of the Tetanus Toxin gene (Sweeney et al. 1995; Wu et al. 2016).
Courtship assay
All courtship trials were conducted at Zeitgeber time (ZT) 1 to 5, using 4- to 6 d-old virgin male and female flies. Both males and females were collected immediately following eclosion and moved into 25 mL plastic vials containing corn-meal-based food. Both males and females were kept in single-sex groups of 10 to 12 for 2 d, at which time individual males were moved into 5 mL glass vials containing a small amount of fly food and isolated for at least 2 additional days before testing. On test day, legs and wings were surgically removed from each female target, which was subsequently adhered to a rectangular piece of plastic weigh-boat (30mm × 30 mm) using UV-hardening glue (RapidFix). A circular courtship arena (23 mm diameter × 6 mm height) was placed over the fixed female, and males were aspirated into the chamber and allowed to freely court the female for 10 min. The orientation of the anterior-posterior body axis of each target female was random across trials.
Tracking, classification, and machine-assisted analyses of male courtship behavior
Videos were recorded on a Raspberry Pi NoIR camera with a Navitar 8 to 48 mm lens for 10 min at 24 frames per second and were backlit using LEDs. To record under red-light conditions, LEDs were covered with long-pass, red filters (Neewer Inc.).
All videos were analyzed on a per-frame basis using custom software that tracks body and wing positions of courting flies and subsequently classifies whether the male was engaging in a particular behavior. Three simplified behavioral classifiers were created for identifying frames that contained males engaging in bouts of either (i) tapping, (ii) static orienting, or (iii) static wing scissoring. For each frame, several features were calculated from tracking data for use in an AdaBoost decision tree classifier (see Supplementary Table 1, in Supplementary File 1), based on both previous studies and an empirical classifier cross-validation protocol, which yielded greater accuracies (Freund and Schapire 1997; Branson et al. 2009; Kabra et al. 2012).
To eliminate the possible confounding effects of the various experimental manipulations on the ability of our algorithm to correctly identify each of the tracked behaviors, new classifiers for each of the courtship components measured here were generated de novo for each independent experimental dataset by first hand-scoring a subset of frames from at least 4 independent videos of control males and 4 videos experimental males. All classifiers had accuracies *>*95% (see Supplementary Table 1 for features used to generate behavioral classifiers, and Supplementary Table 2 for an example of classifier validation for control male courtship). To further improve classification accuracies, all videos were hand-scored for bouts of courtship, and any positive behavioral classifications falling outside these boundaries were discarded. For manual scoring, courtship was defined as any period in which the gaze of the male was directed toward the female, following the first observation of male wing extensions/scissoring.
Under these highly artificial behavioral conditions, classifications of each of the following 3 individual courtship elements in each frame were mutually exclusive. We achieved this by specifying an empirically determined phenotypic hierarchy whereby active “tapping” takes the highest precedence, followed by stationary “scissoring,” and then stationary “orienting.” Consequently, a single behavior was classified in each frame. This procedure was essential for generating robust differentiation between the highly correlated scissoring and orienting behaviors (see Fig. 1f).
Courtship path
The courtship path of each male was calculated by dividing the angular space surrounding the female into 50 bins and taking the mean centroid-to-centroid distance between the male and female during bouts of courtship. For some experiments, both control and experimental males attempted to copulate with the female for extended periods of time. While these males were not physically able to copulate since the female was fixed in place, these long durations of minimal movement had a significant effect on the courtship path, and for our purposes, represented bouts of copulation; they were therefore removed from all analyses.
Anterior-posterior distance ratio (DA/DP)
The D_A_/D_P_ ratio was calculated as the ratio of the maximum courtship path when the male was on the front half of the female (−*π/*2 *< θ_male_ < π/*2) to when the male was on the rear half of the female (θ_male_ < −*π/*2 or *θ_male_ > π/*2).
Angular locations of courtship elements
The mean angular position of the male with respect to the female was calculated across all frames containing positive classifications for each behavior of interest. Rayleigh values (represented as arrow length in circular plots) were calculated for populations of males.
Bimodal Rayleigh test
Raw angular distributions were first compared to uniformity using the Rayleigh test. If no significant difference was found, we then tested for bimodality as follows. Angular distributions were transformed using the following equation, as in (Landler et al. 2018): θ = 2t mod 2π, where t are the original angles and θ are the transformed angles. This distribution was subsequently compared to the uniform distribution using a Rayleigh Test.
Courtship latency and index
The courtship latency was calculated as the time taken a male to start courting the female. Overall courtship index was calculated as the fraction of time a male spent courting a female during a 10-min trial (t_courting_/t(trial−duration)). We also calculated an index for each of the 3 courtship elements we observed in our paradigm, which represent the fraction of time a male spent performing a specific element with respect to the total courtship time (t_element_/t_total_).
Results and discussion
Vision contributes to stereotypic spatiotemporal patterns of male courtship
Female motion is an important visual cue used by male Drosophila to initiate and direct chase behaviors during bouts of courtship (Cook 1979; Agrawal et al. 2014; Kohatsu and Yamamoto 2015; Ribeiro et al. 2018). However, the visual cues utilized by males in the regulation of other spatial or temporal aspects of courtship elements is not as well understood. We hypothesized that males use anatomical features of courted females to direct spatiotemporal patterns of individual courtship elements. To separate the visual effects of the morphology of the female body from the well-established visual impact of her motion on the spatial patterns of male courtship, we first developed a simplified courtship paradigm that eliminates female motion-related visual cues. We then used a custom tracking and behavioral classification software to analyze the spatial localization of males during the release of specific elements of the courtship ritual (Fig. 1a).
Independent elements of the male courtship ritual follow stereotyped spatiotemporal patterns around the female body axis. a) Overview of algorithm used to determine locations of male mating behaviors during courtship: (i) a female is first fixed to the center of a courtship arena, and then a male is introduced and allowed to court the female for 10 min; (ii) the male is tracked; (iii) tracked features are used in a boosted decision tree classifier to predict frames containing a behavior of interest (ellipses above and below features denote that other features were used in behavioral predictions, see Supplementary Table 2 for full list); (iv) the position of the male in positively classified frames (show by black points) is determined, and the mean angular position over the trial is recorded (shown by gray arrow). b) The average courtship path of Canton-S males (n = 62) over the course of a courtship trial. Each thin gray line represents the average path of an individual male. The thick black line represents the mean of all males. Note that for each behavioral trial, all male tracks have been rotated with respect to the female such that the female's anterior–posterior axis is aligned along the horizontal with the anterior end near 0 rad and the posterior end near ±θ rad. c) The mean courtship path (same as in b) of Canton-S males, shown in Cartesian coordinates. (Inset) The ratio of the maximum male-female distance when the male is on the anterior half of the female (DA) to when the male is on the posterior half of the female (DP). Note that this is significantly greater than 1 (P < 0.001, 1-sample T-test). d) Tapping/Touching, Orienting, and Scissoring account for ∼90% of the behaviors observed during courtship. Numbers in parentheses represent mean percentages (±SEM) of time that males engaged in each behavior (n = 62). e) Examples of individual frames containing positively classified behaviors are shown above mean angular locations, across flies, for each behavior. Each black point represents the mean behavioral location of an individual fly, and the size of the point represents the relative duration of time that the male spent engaging in that behavior. The direction of the black arrow represents the mean behavioral location of all flies and the length of the arrow is proportional to the Rayleigh R-value for the total population of flies. Individual gray lines correspond to the Rayleigh R-value for individual flies. All distributions are significantly different from uniformity (Rayleigh test), and statistics are shown beneath each plot. f) Scatterplots showing the relationships between angular locations of male courtship behaviors. Each point represents the mean angular location of an individual male engaging in Tapping/Touching, Orienting, or Scissoring. (Left) Tapping/Touching locations are largely anti-correlated with Orienting locations. (Middle) Tapping/Touching locations are largely anti-correlated with Scissoring locations. (Right) Scissoring and Orienting locations are correlated with one another.
We found that males take an asymmetric and stereotyped path around a stationary female during courtship whereby they positioned themselves ∼1.5 times further away from the head of the female than the tip of her abdomen (P < 0.001, 1-sample T-test; Fig. 1b and c). Because the reduced courtship assay we have used here is markedly different from the courtship assays, we (Ben-Shahar et al. 2010; Lu et al. 2012, 2014; Vernier et al. 2023) and others (Yamamoto et al. 2014; Benton 2015; Newell et al. 2016; McKellar et al. 2019) have used in the past, we first identified and characterized the specific courtship elements exhibited by wildtype Canton-S males. We found that in our assay, males primarily exhibited 3 distinct, easily classified courtship elements that accounted for ∼90% of the time males actively courted (Fig. 1d): (i) “Tapping,” which was defined as behaviors when the male is both courting the female and close enough to tap or lick her, (ii) “Orienting,” which was defined as periods of time when the angular heading of the male (gaze) is directed toward the female, the centroid of the male is static, and no wing extensions are observed, and (iii) “Scissoring,” which was defined as periods of time when the male was orienting and extending and vibrating at least one of his wings toward the female (Supplementary Table 1 and Supplementary Video 1). In our assay, scissoring was distinct from the single-wing extensions associated with the song produced by males when chasing an intact female (Sadaf et al. 2015; Koganezawa et al. 2016; Ding et al. 2019). However, studies of male-male social interactions in D. melanogaster and male-female courtship in related Drosophila species, indicate that wing scissoring is a natural behavioral element associated with inter-individual interactions in this animal clade (Cowling and Burnet 1981; Welbergen et al. 1987; Hoikkala and Crossley 2000; Fernandez et al. 2010; Higuchi et al. 2017). Although speculative, one possible explanation for why males exhibit increased scissoring in our reduced courtship assay is that when the female is fixed in space, the lack of motion by the courtship target triggers males to release auditory signals toward the anterior end of the female, which increases their perceived “quality,” and possibly motivate the female to allow the male to chase her. Such use of auditory signals has been reported for other species of Drosophila (Hoikkala et al. 1998).
We also analyzed the spatial patterns of each courtship element, which indicated that bouts of tapping occur when males are near the posterior half of the female, whereas bouts of orienting and scissoring occur when males are near the anterior half of the female (Fig. 1e). Accordingly, tapping positions are largely anti-correlated with scissoring and orienting positions, whereas orienting and scissoring positions were highly correlated with one another (Fig. 1f). These data indicate that males use information about the anterior-posterior body axis of females to make courtship decisions.
We next sought to determine whether males are using vision to determine the body axis position of courted females (Fig. 2). We found that in contrast to courting under white light (intact vision), males courting under red light (limited vision) position themselves closer to the anterior end of females (P < 0.001, 1-sample T-test; Fig. 2a–c), tap females on both the posterior and anterior ends (P < 0.001, Bimodal Rayleigh test; Fig. 2d), and orient toward the posterior end of females (P < 0.05, Rayleigh test; Fig. 2d). Similar to tapping, scissoring followed a bimodal distribution under red light conditions (P < 0.05 Bimodal Rayleigh Test; Fig. 2d). Furthermore, we found that although red light conditions reduce the overall courtship index of males, the relative time spent tapping is increased (P < 0.05, Kruskal test), scissoring is decreased (P < 0.05, Kruskal test), and orienting remained constant (Fig. 2e–g). These data suggest that although vision is not required for courtship in general, nor for the specific release of any of its individual elements, it is important for directing spatiotemporal aspects of courtship displays. Furthermore, these data show that males can compensate for the loss of visual sensory information by increasing chemo- and/or tactile sensory inputs associated with tapping.
The spatial patterns of stereotyped courtship elements depend on vision. a) Average courtship path for Canton-S males that were allowed to court under either white (black line) or red-light (red line) (n = 32/group). b) Same as (a), shown in Cartesian coordinates. c) Maximum distance ratio of male on anterior vs posterior end of female. Males allowed to court under white light had a DA/DP > 1 (P < 0.001, 1-sample T-test), whereas males courting under red light had a DA/DP < 1 (P < 0.001, 1-sample T-test). d) Average angular positions of males during individual courtship behaviors under either white or red-light. Under white-light, males positioned themselves to the posterior side of the female during bouts of Tapping/Touching (P < 10−5, Rayleigh Test), whereas they positioned themselves to the anterior side of the female during bouts of either Orienting or Scissoring (Orienting: P = 0.08; Scissoring: P < 0.01; Rayleigh test). Males courting under red light displayed Tapping and Scissoring behaviors which were bimodally distributed along the anterior–posterior axis of the female; double arrow indicates axis along which bimodality was detected, and the length of each half of arrow is proportional to the distribution's Rayleigh R-value (P < 0.001 for Tapping/Touching and P < 0.05 for Scissoring; Bimodal Rayleigh test). Additionally, males courting under red light Oriented toward the female while on her posterior half (P < 0.01; Rayleigh test). e) There was no significant difference in the amount of timed it took males to start courting females under either white or red light (P > 0.05; Kruskal test). f) Males courting females under red light courted for shorter durations than males courting females under white light (P < 0.01; Kruskal test). g) Behavioral indices are shown for each of the classified behaviors as a fraction of total courtship. Males courting under red light had greater levels of tapping (P < 0.001, Kruskal test) and lower levels of Scissoring (P < 0.001, Kruskal test) than males courting under white light.
Males use the eyes of females as a visual marker for directing the spatial distributions of specific courtship elements
Having established that vision contributes to the regulation of the spatiotemporal patterns of male courtship in our assay, we next asked which specific morphological features of the female anterior-posterior body axis might serve to visually guide males during courtship. Specifically, because the red-pigmented eyes of flies are highly contrasted with the lighter-colored cuticle, we hypothesized that they could serve as a robust visual cue males use to mark the anterior end of the body of courted females (Supplementary Fig. 1a and b).
To test this hypothesis, we first asked whether the head of females is necessary for regulating any spatial aspects of the male courtship ritual (Fig. 3a–e and Supplementary Fig. 1c–e). We found that when courting headless females, male courtship paths are symmetric and equidistant from either end of the antero-posterior body axis of females (Fig. 3a–d), and the mean angular positions of tapping, orienting, and scissoring behaviors are either bimodally or uniformly distributed around the female (P < 0.05 for tapping, Bimodal Rayleigh test; P > 0.05 for orienting and scissoring, Rayleigh test; Fig. 3e). While the overall courtship latencies and indices are unaffected by headless females (Supplementary Fig. 1c and d), we did observe an overall decrease in scissoring frequency, suggesting that the female head is particularly important for visually triggering its release (P < 0.05, Kruskal test; Supplementary Fig. 1e).
Males use the morphological features of the eyes of females to establish the anterior–posterior body axis of their courtship target. a) Average courtship paths of males courting either intact females (“Head-Intact,” n = 32, blackline), or females that had been decapitated (“Head-Decap,” n = 32, green line). b) Manipulations for intact and decapitated females. Arrows show the anterior–posterior axis of the female as it has been plotted in (a). c) Average courtship paths of males courting either intact or decapitated females (same as in a), shown in Cartesian coordinates. d) Maximum distance ratio of male on the anterior (DA) vs posterior (DP) end of the female. Males courting intact females positioned themselves significantly further from the female's anterior end vs their posterior end (P < 10−5, 1-sample T-test). However, males courting decapitated females did not position themselves significantly further when on either side of the female (P > 0.1, 1-sample T-test). Thus, males courting intact females had a significantly greater DA/DP ratio than males courting decapitated females (P < 10−4, one-way ANOVA). e) Behavioral locations of males courting either intact or decapitated females (asterisks denote significance at P < 0.05, Rayleigh test or Bimodal Rayleigh test). Note that females are oriented as in (a). f) Average courtship paths of males courting either intact females (“Anterior,” n = 64, black line), or females that had their heads transplanted to their posterior end (“Posterior,” n = 63, blue line). g) Female manipulations of either the “Anterior” or “Posterior” group. Note that arrows are the same as in (b). h) Average courtship path of males courting either “Anterior” or “Posterior” females (same as in F), shown in Cartesian coordinates. i) DA/DP ratio for males courting either Head-Anterior (“Anterior”) or Head-Posterior (“Posterior”) females. “Anterior” males positioned themselves significantly further from the female's anterior rather than posterior end (P < 10−5, 1-sample T-test), whereas “Posterior” males positioned themselves significantly more distant from the female's posterior rather than anterior end (P < 0.01, 1-sample T-test). j) Behavioral locations of males courting either “Anterior” or “Posterior” females (asterisks same as in (e). Note that females are oriented as in (f). k) Average courtship path of males courting either females with red eyes (“Red-Eyed”, n = 47, black line) or white eyes (“White-Eyed”, n = 48, orange line). l) Female manipulations of red-eyed and white-eyed groups. Arrows same as in (b). m) Same as in (k), shown in Cartesian coordinates. n) DA/DP ratio for males courting either red-eyed or white-eyed females. Both groups have ratios significantly different from 1 (red-eyed, P < 10−5; white-eyed, P = 0.03; 1-sample T-test); however, males in the Red-Eyed group have significantly greater ratios than males in the white-eyed group (P < 10−5, one-way ANOVA). o) Behavioral locations of males courting either red-eyed or white-eyed females (asterisks same as in (e). Note that females are oriented as in (k).
Next, to determine whether visual cues associated with the female head are sufficient for regulating the spatiotemporal patterns of individual courtship elements, we examined the behavior of males courting females whose head has been transplanted from the anterior to posterior end. We found that although head position has no effect on the overall levels of courtship, or on the frequencies of expressing individual courtship elements (Supplementary Fig. 1f–h), males courting females with a posterior head position (“Head-Posterior”) exhibit an asymmetric courtship path that is biased toward greater distances from the posterior rather than the anterior end of the female (Fig. 3f–i). Furthermore, we found that when courting “Head-Posterior” females, males tend to tap the anterior end of the female body axis. In contrast, the spatial distributions of orienting and scissoring toward “Head-Posterior” females are randomly distributed (tapping: P < 0.05, Rayleigh test; orienting and scissoring: P > 0.05, Rayleigh test; Fig. 3j). Together, these results indicate that males use the female head as a visual marker for determining some aspects the anterior-posterior body axis orientation of courted females. However, visual recognition of the female head is not sufficient for driving the precise spatial patterns of orienting or scissoring behaviors.
Because the eyes are one of the primary features of the fly head, we next hypothesized that males specifically use the eyes of females as a visual landmark to determine the antero-posterior body axis of their courtship targets. To test this hypothesis, we generated 2 congenic lines of wildtype flies that differed in a single mutation in the white gene, resulting in red- and white-eyed females with inverted visual contrasts made between the eyes and surrounding cuticle (Supplementary Fig. 1a and b). Previous studies have suggested that changes in luminance are sufficient for stimulating majority of photoreceptors in the fly, and likely play a role in the visual perception of motion and edges (Behnia et al. 2014; Serbe et al. 2016), but are less important for detecting looming signals (de Vries and Clandinin 2012) or color perception (Yamaguchi et al. 2008). However, whether the fly visual system is specifically tuned for detecting the specific luminance values and contrast represented by red eyes is not well understood. We found that although both female genotypes elicited asymmetric courtship paths, the distances of males from the anterior end of white-eyed females were significantly reduced when compared to males courting red-eyed females (P < 0.05, Student's T-test; Fig. 3k–n). Further, we observed that while males courting white-eyed females tapped mostly at the posterior end, the mean angular locations of both orienting and scissoring bouts were bimodally distributed around the antero-posterior axis of the female (P < 0.001 for tapping, Rayleigh Test; P < 0.001 for orienting and scissoring, Bimodal Rayleigh Test; Fig. 3o). In addition, while the relative durations of tapping and orienting were not affected by female eye color, we found that males courting white-eyed females spent significantly less time scissoring (P < 0.01, Kruskal test; Supplementary Fig. 1i–k). These data suggest that males are possibly using the eyes of females as one of the visual landmarks for recognizing the anterior-posterior body axis of their courtship targets. Nonetheless, at least some spatial aspects of the male courtship ritual were retained when males courted white-eyed females, which suggest that additional features of the female body contribute visual information important for determining body axis orientation. For example, males could also use the cuticular banding pattern on the abdomen of a target female as a landmark for her posterior end, especially as pigmentation patterns have been shown to be under strong sexual selection (Protas and Patel 2008; Wittkopp and Beldade 2009).
Visually driven spatiotemporal aspects of the male courtship ritual depend on the activity of multiple independent populations of visual projection neurons
Several recent studies have indicated that ectopic activation of specific classes of Lobula Columnar (LC) visual projection neurons is sufficient to trigger various visually-guided behaviors (Wu et al. 2016; Sen et al. 2017), including motion detection in courtship (Ribeiro et al. 2018). These data suggest that innate responses to some visual stimuli are mediated via modular and stereotypic circuit elements. Consequently, because our behavioral data suggest that males are likely using visual landmarks to define the anterior–posterior body axis of courted females, we next wanted to know whether this capacity depends on a relatively simple integration of one or very few visual elements, or a more complex integration of many different features, via multiple independent LC-dependent pathways.
Based on previously published data, we chose to focus our investigation on 4 classes of LC neurons that could be involved in regulating various courtship behaviors, including: leg reaching (LC10), forward walking (LC17), backward walking (LC9, LC10, LC16, LC17), and turning (LC16, LC17) (Sen et al. 2017). We additionally chose to examine LC4 neurons because they have been shown to function in detecting looming stimuli (Wu et al. 2016; von Reyn et al. 2017), which is a visual feature likely to be encountered by males as they approach female courtship targets. We found that synaptic silencing of these populations of LC neurons by using targeted transgenic expression of tetanus toxin (TNT) (Sweeney et al. 1995) affected at least one spatiotemporal aspect of the male courtship ritual when compared with LC lines that express the inactive TNT allele. Specifically, we found that while tapping patterns remained largely intact, the spatial patterns of both orienting and scissoring were mostly uniformly or bimodally distributed around the female following LC inactivation. However, for reasons we do not understand, control LC17 animals showed abnormal bimodal tapping pattern at baseline (Fig. 4a). Nevertheless, these data suggest that the regulation of orienting and scissoring behaviors is more reliant on precise visual signaling through LC neurons than tapping. In addition to spatial deficits, we found that inhibiting individual LC neuron classes had varying effects on temporal aspects of the courtship ritual, including regulating the latency to court, the fraction of time spent courting, and the relative fractions of time spent exhibiting individual courtship elements (Supplementary Fig. 2). Although the primary goal of this analysis was not to map the specific circuits that drive male courtship decisions, our data indicate that the correct spatiotemporal release of at least some of the courtship elements we observed in our reduced courtship paradigm depends on complex activity patterns of multiple classes of LC neurons, each of which likely integrates a limited set of visual features present on the courted female.
The spatiotemporal patterns of male courtship as a function of female body axis orientation depend on the activity of multiple independent visual projection neurons. a) Average courtship paths, ratios of the maximum male-to-female distance when a male is on either the anterior or posterior end of the female (DA/DP), and average angular positions of the male during Tapping/Touching, Orienting, and Scissoring are shown for each LC line expressing either an inactive (Control, n = 32 per line) or active (Experimental, n = 32 per line) version of the Tetanus toxin gene (TNT). Asterisks on DA/DP plots represent significant differences between Control and Experimental groups (P < 0.05, one-way ANOVA). Asterisks on circular plots highlight distributions that were significantly different from uniformity (P < 0.05, Rayleigh test or bimodal Rayleigh test). b) Gray and colored squares denote whether an LC line differed from controls in their spatial positioning during courtship following neural inactivation. c) Summary plot showing which LC lines were important for the proper spatial positioning of males during Tapping, Orienting, and Scissoring.
We also examined the impact of silencing individual LC neurons on the average velocity of males at different angular positions around female courtship targets (Supplementary Fig. 3a). In our hands, the parameter that showed the most robust changes in our reduced paradigm was sideway velocity of the male (Supplementary Fig. 3a). We found that control males exhibited stereotypical movement patterns, where they accelerated to high velocities when on either side of the medial-lateral axis of the female (V_ML_, areas shown in green in Supplementary Fig. 3b), and then slowed down significantly when either on the anterior (V_A_) or posterior (V_P_) ends of the female. In contrast, inactivation of most LC neurons resulted in slower overall velocities and a failure to slow down when reaching either the anterior or posterior ends of the courted female (Supplementary Fig. 3d). We observed a similar effect on velocity for males courting headless females (Supplementary Fig. 3e–g), which suggests that at least some LC neurons regulate changes in velocity via visual recognition of the female head.
Together, these data suggest that males use a relatively simple visual cue to define the anteroposterior body axis of their courtship targets. Yet, the precise spatial and temporal release of specific courtship elements in response to this cue seems to depend on the complex activities of multiple independent populations of LC neurons. While we currently do not know how these circuits interact to generate specific behavioral outputs in the context of courtship, it is likely that each population of visual projection neurons responds to a limited set of visual features, and the collective activity of these neurons is then integrated with other contextual cues to generate an optimal courtship pattern. For instance, when a male approaches a stationary female during courtship, she would appear to be looming, a visual feature which has been previously shown to be detected by LC4 and LC16 neurons in the context of eliciting escape behaviors (Wu et al. 2016; Sen et al. 2017; von Reyn et al. 2017; Ache et al. 2019). Our data indicate that under different behavioral contexts, some LC neurons can elicit different motor outputs in response to homologous visual stimuli, which suggests that they might interact with multiple independent, downstream behavior-specific circuits.
Here we have shown that male Drosophila use anatomical features of the female body to regulate spatiotemporal aspects of their courtship ritual. Specifically, we show that independent of female motion, males use the eyes of females as an indicator of her anterior end. Nonetheless, our data also indicate that eyes are not the sole visual cue, nor vision is the only sensory modality used by males, to establish the anterior-posterior axis if courted females. We also do not understand yet what might be the relationship between the specific visual cues used in our highly reduced assay relative to courtship behavior exhibited by males when chasing an intact female. Regardless, our data clearly show that males are capable of visually determining the anterior-posterior axis of females and use this information to regulate the spatiotemporal patterns of their courtship. Furthermore, we demonstrate that although male courtship is considered an innate, “hardwired” behavior, it includes a putative “optimization function”, which allows males to maximize their reproductive success when facing sub-optimal environmental conditions that constrain the available sensory information, as has been shown for Drosophila courtship conditioning and mating success in other insect species (Joiner and Griffith 2000; Certel et al. 2010; Fowler-Finn and Rodríguez 2012). Therefore, it is not surprising that when males have limited access to visual inputs, they decrease the amount of time spent scissoring, and increase the amount of time spent tapping, possibly suggesting that males are compensating for the lack of visual information by increasing pheromonal and tactile sensory inputs.
Finally, we demonstrated that some visual projection neurons function as modular integrators, which can engage different downstream output modules based on the current behavioral context of an individual. For example, specific looming-detection neurons might elicit an escape response in some situations while also helping males determine the body axis of courted females under different circumstances. Although we do not understand yet how similar sensory cues can elicit contextual behavior, we anticipate that future studies will reveal that this form of context-specific circuit modularity is a common feature of the visual system, and sensory systems in general.
Fly stocks
All fly stocks and other reagents used for these studies can be found in the supplementary Reagents Table file.
Supplementary Material
jkag037_Supplementary_Data
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Ache JM et al 2019. Neural basis for looming size and velocity encoding in the Drosophila giant fiber escape pathway. Curr Biol. 29:1073–1081.e 4. 10.1016/j.cub.2019.01.079.30827912 · doi ↗ · pubmed ↗
- 2Agrawal S, Safarik S, Dickinson M. 2014. The relative roles of vision and chemosensation in mate recognition of Drosophila melanogaster. J Exp Biol. 217:2796–2805. 10.1242/jeb.105817.24902744 · doi ↗ · pubmed ↗
- 3Baker CA et al 2022. Neural network organization for courtship-song feature detection in Drosophila. Curr Biol. 32:3317–3333.e 7. 10.1016/j.cub.2022.06.019.35793679 PMC 9378594 · doi ↗ · pubmed ↗
- 4Behnia R, Clark DA, Carter AG, Clandinin TR, Desplan C. 2014. Processing properties of ON and OFF pathways for Drosophila motion detection. Nature. 512:427–430. 10.1038/nature 13427.25043016 PMC 4243710 · doi ↗ · pubmed ↗
- 5Ben-Shahar Y et al 2010. The Drosophila gene Che B 42a is a novel modifier of Deg/E Na C channel function. P Lo S One. 5:e 9395. 10.1371/journal.pone.0009395.20195381 PMC 2827562 · doi ↗ · pubmed ↗
- 6Benton R . 2015. Neural circuits: male mating motifs. Neuron. 87:912–914. 10.1016/j.neuron.2015.08.017.26335638 · doi ↗ · pubmed ↗
- 7Branson K, Robie AA, Bender J, Perona P, Dickinson MH. 2009. High-throughput ethomics in large groups of Drosophila. Nat Methods. 6:451–457. 10.1038/nmeth.1328.19412169 PMC 2734963 · doi ↗ · pubmed ↗
- 8Certel SJ et al 2010. Octopamine neuromodulatory effects on a social behavior decision-making network in Drosophila males. P Lo S One. 5:e 13248. 10.1371/journal.pone.0013248.20967276 PMC 2953509 · doi ↗ · pubmed ↗
