Dragonflies pursue and capture tiny prey and conspecifics with extremely high success rates. These moving targets represent a small visual signal on the retina and successful chases require accurate detection and amplification by downstream neuronal circuits. This amplification has been observed in a population of neurons called small target motion detectors (STMDs), through a mechanism we term predictive gain modulation. As targets drift through the neuron's receptive field, spike frequency builds slowly over time. This increased likelihood of spiking or gain is modulated across the receptive field, enhancing sensitivity just ahead of the target's path, with suppression of activity in the remaining surround. Whilst some properties of this mechanism have been described, it is not yet known which stimulus parameters modulate the amount of response gain. Previous work suggested that the strength of gain enhancement was predominantly determined by the duration of the target's prior path. Here, we show that predictive gain modulation is more than a slow build-up of responses over time. Rather, the strength of gain is dependent on the velocity of a prior stimulus combined with the current stimulus attributes (e.g. angular size). We also describe response variability as a major challenge of target-detecting neurons and propose that the role of predictive gain modulation is to drive neurons towards response saturation, thus minimising neuronal variability despite noisy visual input signals.

Dragonflies detect and capture small moving prey and pursue conspecifics for mating and territorial defence. During predatory flights, the dragonfly's target rarely spans more than 1 deg of visual space, thus stimulating only two or three ommatidia of the compound eye (Horridge, 1978; Lin and Leonardo, 2017). A population of target-detecting neurons, which we refer to as small target motion detectors (STMDs), have been identified in the optic lobe of several inspect species, including the dragonfly (O'Carroll, 1993; Geurten et al., 2007). These STMDs are responsive to target contrasts as low as 1.3% (Wiederman et al., 2017), matching the sensitivity of fly ‘optic-flow’ neurons that are responsive to large moving patterns (Harris et al., 2000). However, such responses to large objects are the result of many presynaptic units being integrated over space, each viewing different portions of the same feature (Bausenwein et al., 1992). STMDs do not have a similar advantage, as each unit encounters a small and noisy signal which cannot be pooled. Though STMD receptive fields can be similarly large to those of fly optic flow neurons (over 80 deg×80 deg), STMDs respond at any given time only to the presentation of small targets within this larger receptive field. In fact, it is at an individual photoreceptor's signal detection limit where target sizes are able to elicit STMD responses and generate pursuit behaviour (Combes et al., 2013; Rigosi et al., 2017).

We recently described a predictive mechanism employed by STMDs that increases responses to these small targets. Following target onset, spiking activity is initially weak, building in strength over several hundred milliseconds when the target's trajectory is continuous in space and time (Nordström et al., 2011; Dunbier et al., 2012). This property, which we previously termed ‘facilitation’, is matched to a large improvement in contrast gain, with detection thresholds improved 5-fold following the longer target motion (Wiederman et al., 2017). The facilitation results in a local gain increase situated 5–10 deg ahead of a target's current position; however, it is also concomitant with a global suppression within the rest of the surrounding receptive field. Thus, facilitation is more suitably termed ‘predictive gain modulation’ with simultaneous regions of both positive and negative changes in response (gain enhancement and suppression). The predictive gain modulation spreads forward in space following an occlusion, matched to the target's direction of travel. As a result, signal strength is improved for more realistic, continuous target trajectories, whilst background distracters and false positives are suppressed.

Psychophysical experiments reveal that humans use information of prior trajectory to improve their ability to detect and track moving targets (Watamaniuk et al., 1995; Watamaniuk and McKee, 1995). For example, during target occlusions, humans account for target attributes, such as velocity, in their predictions (Bennett and Barnes, 2003). Similarly, observers looking at a scene use specific feature attributes such as their size, direction of movement and colour, to ignore distracters and enhance the saliency of a target of interest (Saenz et al., 2002).

For the dragonfly, the angular size and velocity of a moving target may change dramatically throughout a pursuit. Therefore, robust interception of the target's location should be resilient to a wide range of stimulus properties. Here, we tested attributes of the target and its trajectory that might drive the visual neuron's predictive gain modulation. These results provide insight into how neuronal processing underlies fundamental behavioural tasks, such as predicting the future location of a moving target in the visual environment.

Animals and electrophysiology

These data are from intracellular recordings in a total of 31 male wild-caught adult Hemicordulia, gathered from the Adelaide Botanic Gardens. Animals were immobilised with a 1:1 bees wax–rosin mixture (Colophony Kolophonium, Fluka Analytical), and fixed to an articulating magnetic stand. The animal's head was tilted forward to expose the posterior surface of the head capsule, before dissecting a small hole in the cuticle directly over the left lobula complex.

We used a Sutter Instruments P-97 electrode puller to taper aluminosilicate electrodes, which were backfilled with 2 mol l−1 KCl solution (AnalaR). We stepped electrodes through the neural sheath and into the proximal lobula complex with a piezoelectric stepper (Marzhauser-Wetzlar PM-10). Electrodes had a typical electrical resistance of between 50 and 150 MΩ.

Animals in which neurons were freshly penetrated were first presented with a series of visual stimuli for neuronal classification, including small targets, bars, gratings and patterns. The centrifugal small target motion detector (CSTMD1) is one specific STMD neuron with a large axon which permits repeated recordings across different animals. Each optic lobe contains an unknown number of unidentified STMDs with similar tuning properties, but only two CSTMD1 neurons (previously identified via intracellular labelling), mirror symmetric on either side of the brain. In this work we performed all of our experiments in CSTMD1, so that effects of receptive field position and physiological tuning were constant across all biological replicates. We identified CSTMD1 by its small target selectivity, characteristic large (80 deg×80 deg) excitatory receptive field in the contralateral visual hemisphere and action potential waveform (Geurten et al., 2007). Intracellular responses were digitized at 5 kHz with a 16-bit A/D converter (National Instruments) for off-line analysis with MATLAB.

Visual stimuli and experiment design

Visual stimuli were presented on high-definition LCD monitors (144–165 Hz) placed 20 cm from the animal, centred on the frontal midline. Stimulus scripts were written using MATLAB's Psychtoolbox and integrated into the data acquisition system. All stimuli consisted of 1.5 deg×1.5 deg dark targets drifting vertically on a white background, with the exception of experiments described in Results, ‘Gain modulation in response to the height of the primer target’, where horizontally drifting targets of a series of heights were used. We used intermediate contrast (Weber contrast of 0.41) in order to prevent neuronal saturation masking changes in response gain. STMD neurons will habituate if salient stimuli are repeatedly presented within the same region of the visual field, over a short period of time. In these experiments, we implemented a minimum rest period (8 s) to minimise the effect. We present randomised stimulus conditions to ensure any remaining habituation cannot skew experimental results. A post hoc examination of the data respective to the order of stimulus conditions verified that any temporal changes co-varied across stimulus conditions. Neuronal responses that exhibited stronger habituation resulted in either experiment cessation or discarding of the dataset.

Data were also excluded as a result of pathological damage, as indicated by drifts in resting membrane potential, decreases in spike amplitude or excessively high spontaneous activity. Each experiment consisted of two stimulus types, ‘probes’ and ‘primers’ (Wiederman et al., 2017). Probes were presented either alone or following a primer. Responses to probe targets are weak when presented alone and changed by varying amounts (gain) when preceded by a primer. In most experiments, we introduced a 50 ms pause between the presentation of the primer and the probe, to ensure that residual primer responses were not detected inside the probe analysis window. We did not use this pause for the experiments presented in Figs 1 and 2, as these experiments replicate and build on data presented in Nordström et al. (2011) where no pause was used. The introduction of short pauses does not affect the amount of gain generated by a primer (Wiederman et al., 2017). These long continuous trajectories are likely to resemble the initial target detection phase of behavioural pursuits, where movement on the retina is dominated by prey or conspecific translation. Once closed-loop, active pursuit starts, the dragonfly's own translation and head rotations will alter this retinal image (Mischiati et al., 2015).

Fig. 1.

Priming targets facilitate the response to a probe. (A) Probes drift on a short trajectory, preceded by either no stimulus or a priming target. The priming target generates predictive gain modulation, which can be observed by quantifying the change in response to the probe that follows. Blue and black stimulus bars represent primer and probe presentation, respectively. (B) The primer can be 1 of 16 different combinations of distance in space and duration in time. (C) Example data traces from an individual CSTMD1 (centrifugal small target motion detector) recording in response to varying primers. Spiking activity was calculated in a 100 ms window (green shaded area 50 ms following probe onset). (D) The strength of the probe response varies dependent on the properties of the preceding primer (means, n=6 dragonflies).

Fig. 1.

Priming targets facilitate the response to a probe. (A) Probes drift on a short trajectory, preceded by either no stimulus or a priming target. The priming target generates predictive gain modulation, which can be observed by quantifying the change in response to the probe that follows. Blue and black stimulus bars represent primer and probe presentation, respectively. (B) The primer can be 1 of 16 different combinations of distance in space and duration in time. (C) Example data traces from an individual CSTMD1 (centrifugal small target motion detector) recording in response to varying primers. Spiking activity was calculated in a 100 ms window (green shaded area 50 ms following probe onset). (D) The strength of the probe response varies dependent on the properties of the preceding primer (means, n=6 dragonflies).

Fig. 2.

The relationship between primer length and duration for probe response gain. (A) A 2D colour map represents the change in probe response (ΔResponse; analysis window from green shaded window in Fig. 1) as a result of different combinations of primer length and duration (n=6 dragonflies). (B) The data points from A arranged into groups of equal primer length, primer duration or primer velocity (two-tailed, paired Kruskal–Wallis test; length P=0.279, duration P=0.187, velocity ***P<0.001, n=6 dragonflies).

Fig. 2.

The relationship between primer length and duration for probe response gain. (A) A 2D colour map represents the change in probe response (ΔResponse; analysis window from green shaded window in Fig. 1) as a result of different combinations of primer length and duration (n=6 dragonflies). (B) The data points from A arranged into groups of equal primer length, primer duration or primer velocity (two-tailed, paired Kruskal–Wallis test; length P=0.279, duration P=0.187, velocity ***P<0.001, n=6 dragonflies).

Spatiotemporal tuning of gain modulation

We replicated the experimental paradigm of Nordström et al. (2011) by drifting targets on short (probe-only) and long (primer plus probe) trajectories. The probe consisted of a 1.5 deg×1.5 deg target drifting at 40 deg s−1 for 200 ms, but unlike in previous work we used 16 different combinations of primer duration and distance, each terminating at the same location (n=6 dragonflies). To compare the amount of gain generated for a probe following different primers, the mean probe-only response for a given neuron was subtracted from each primed-probe response. This subtractive normalisation removes the effect of an inhomogeneous receptive field (variation in sensitivity at different spatial locations), leaving only the gain effect of the different priming conditions.

Velocity gain map

We mapped the receptive field of CSTMD1 in one dimension using a series of six probes drifting vertically through the receptive field (n=12 dragonflies). Each probe drifted at 45 deg s−1 for 135 ms, starting at different elevations separated by 6 deg, such that the end position of one probe was identical to the start position of the next. These probe trials were randomly interleaved with primed trials consisting of one of two primers, drifting at either 30 or 60 deg s−1 (both with a duration of 500 ms). Primers terminated either 100 or 300 ms prior to presentation of the probe to test the spread of the predictive gain modulation.

Target primer height

To be consistent with prior work investigating target height tuning (Geurten et al., 2007; O'Carroll and Wiederman, 2014), we drifted targets horizontally. Target height tuning was measured by drifting probe targets (40 deg s−1) at heights varied logarithmically (orthogonal to the direction of motion) between 0.16 and 20 deg (n=15 dragonflies). Probes were presented alone or following one of two priming targets with a size of either 1.5 deg×0.5 deg or 1.5 deg×5 deg (both drifting at 40 deg s−1 for 500 ms).

Neuronal variability

Probes were moved vertically through the receptive field for 500 ms at 40 deg s−1, either presented alone or preceded by 500 ms of primer motion (terminating at the probe's start position). An individual dragonfly was presented with both conditions of this experiment 40 times in randomised order, with each trial separated by 146 s to ensure that any neuronal variability observed was not due to local habituation. The same experiment was replicated 5–10 times in a further 8 dragonflies (n=9 dragonflies in total) to analyse the variability of gain (modulation) across different animals.

Data analysis and statistics

STMD neurons are probably involved in the visual detection and tracking of prey and conspecifics. Here, previously quantified latencies of a dragonfly's reactions to prey movement (timing of visual signals and behaviour) were complicated by predictive mechanisms (Mischiati et al., 2015). STMD neurons are confined to the optic lobes and midbrain (Geurten et al., 2007), separating their activity from behavioural output by at least one intermediate processing stage, potentially the previously described ‘target selective descending neurons’ (Olberg, 1986). It is not yet clear how the timing of elicited STMD responses to targets relates to observations of specific, pursuit behaviours. Therefore, in the absence of this information, we chose a 100 ms analysis window, beginning 50 ms following the onset of a probe. This analysis duration permits a robust spike rate calculation, whilst minimising the amount of ‘self-priming’ of the probe itself. Introducing a 50 ms offset accounts for CSTMD1's response latency (Nordström et al., 2011). Gain modulation was calculated by subtracting the response to probe-alone trials from the paired primed-probe response (at the corresponding time windows). This measure of change allowed us to compare gain modulation across animals without confounding overall neuronal excitability. To compare height tuning between conditions, we display absolute responses to primed and non-primed probes.

In Results, ‘Gain modulation and neuronal variability’, we present data from an individual CSTMD1 recording, where we computed instantaneous spike rate for 40 trials of a 500 ms probe presented alone, as well as 40 trials with the same probe preceded by a 500 ms primer. Given the receptive field of CSTMD1 is inhomogeneous (Geurten et al., 2007), we normalised responses based on receptive field location. This was performed by dividing the instantaneous spike rate of each individual short path trial by the mean instantaneous spike rate for a primed probe presented at the same location. The same experiment was performed in a total of nine CSTMD1 recordings in subsequent animals (inter-animal variability), with the average probe onset presented for each neuron. In addition, by applying a 100 ms analysis bin, sliding in 1 ms increments, we computed the mean (μ) spike count across each trial, as well as the variance (σ2) for each bin. These two values were also used to calculate the Fano factor (FF=σ2/μ).

All statistical tests are non-parametric, paired, two tailed and corrected for multiple comparisons. The experiments shown here are highly exploratory, characterising complex physiological phenomena for the first time. For this reason, there are no suitable data to estimate effect size or variance, so a sample size estimation could not be performed. Instead, we gathered data until we were confident of the effects in question, and then tested for significance.

Spatiotemporal tuning of gain modulation

Previous studies of STMD facilitation presented priming targets that drifted for similar durations and covered similar distances (Nordström et al., 2011; Dunbier et al., 2012; Wiederman et al., 2017). These experiments demonstrated consistent increases in the frequency of spike generation, which we call gain; however, they did not deconfound the effect of duration with the distance the primer target had traversed. Therefore, it was unclear whether the enhancement component of the predictive gain modulation (i.e. in front of the target trajectory) resulted from a target stimulating a certain number of detectors across space, or whether it simply required constant stimulation over a sufficient duration of time.

To answer this question, we presented target trajectories segmented into two sections: a primer and a probe (Fig. 1A). The primer-only (blue line indicates stimulus duration) and the probe-only (black line indicates stimulus duration) conditions elicited spiking activity. We then analysed the change in response to the probe when preceded by a primer. As illustrated by the space–time plots in Fig. 1B, primer targets were drifted for different combinations of space and time, each terminating at the start position of a probe stimulus. Fig. 1C shows individual, example CSTMD1 responses to primers of varying duration, with the analysis time window (100 ms) indicated by the green shaded region. Across neurons, we calculated the average spike rate in response to the 16 combinations of varying primer duration and distance (Fig. 1D, n=6 dragonflies).

If gain modulation only requires the stimulation of several adjacent motion detectors (∼5 deg and larger), we should observe strong facilitation irrespective of the target's duration traversing that space. Conversely, if gain is modulated only by the time of stimulation, primers of equal duration (over varying distance) should produce equal facilitation. As the primer's duration or span approach zero, we know that no facilitation will occur (i.e. the probe-only response). We therefore limited the range of test durations and spans to elicit responses from an STMD neuron. Priming targets that drifted over different combinations of space and time generated different response time courses and elicited different effects on the probe (Fig. 1D). Plotting the change in response magnitude as a function of both primer length and primer duration revealed an oriented pattern, suggesting that the dependent property may be a combination of both primer trajectory length and duration (Fig. 2A). To investigate this, we pooled datasets by trials with equal length, duration or their combination, velocity (Fig. 2B). This revealed that all of the tested primers produced a mean gain increase. When trials were sorted by their length or duration, we observed no net difference on the amount of facilitation generated. However, when we sorted trials by primer velocity (primer length divided by primer duration), we observed responses similar to a velocity tuning function. Primers that drifted at 80 deg s−1 produced the strongest increase in gain, irrespective of their duration or length. This velocity dependence suggests a motion-input pathway underlying the facilitation (gain increase), on a scale less than 5 deg and elicited in under 125 ms. Therefore, although the establishment of the facilitation is motion dependent utilising small spatial scales, the effects are elicited over long distances and time courses (Wiederman et al., 2017).

Target velocity and the spread of gain

A distinguishing property of predictive gain modulation is that when a moving target is temporarily occluded, the ‘focus’ of gain modulation spreads forward in space (Wiederman et al., 2017). The extent of the forward spread matched the distance the target would have travelled had it continued at the same velocity during the two tested occlusion periods (150 and 300 ms). However, this experiment was conducted at a single primer velocity. It was therefore unclear whether the focus spread forward at a target-matched velocity, or whether it was set at a ‘hardwired’ velocity that by coincidence matched that of the target in those previous experiments. To investigate further, we presented two primers of equal duration, one drifting at 30 deg s−1 and the other at 60 deg s−1 (Fig. 3A). The faster primer covered twice the distance of the slow primer; however, it terminated at the same position. Following termination of the primer, we introduced a pause of either 100 or 300 ms to allow gain to spread, before presenting probes at different locations ahead and behind the primer's final position. If the predictive focus spread at a primer-matched velocity, then over the same time period the gain elicited by the faster primer should spread twice as far as the gain elicited by the slower primer. Fig. 3B shows example traces of the stimulus paradigm, both to the probe alone and also following two pause durations. The probe response was determined by counting the spike rate in the 100 ms analysis window (green shaded region).

Fig. 3.

Primer velocity and the spreading focus of gain. (A) Space–time plots illustrating the mapping of a series of probes (black) following primers of two different velocities (green line, 30 deg s−1; red line, 60 deg s−1). These 12 conditions were repeated following either a 100 or a 300 ms pause between primer and probe. (B) Example responses to these stimuli from an individual CSTMD1 recording when the probe was presented alone, or following a 100 or 300 ms pause. Responses to probes were quantified in a 100 ms analysis window (green shaded region). (C) Pooling the observed change in response for all forward probe trajectories (0–18 deg) reveals an increase in the strength of gain for probes presented following the faster primer (two-tailed, paired Mann–Whitney U-test, ***P<0.001, n=12 dragonflies). (D) The magnitude of gain (ΔResponse) at different ‘jump’ positions (0 deg is a continuous trajectory), 100 ms after the cessation of a 30 deg s−1 (green line) or 60 deg s−1 (red line) priming target (means±s.e.m., n=12 dragonflies). The solid red line accounts for the velocity dependency elicited by the stronger primer velocity (red dashed line; see Fig. 1). (E) The magnitude of gain modulation of the same jump positions as in D, but 300 ms following the cessation of the priming target (means±s.e.m., n=12 dragonflies).

Fig. 3.

Primer velocity and the spreading focus of gain. (A) Space–time plots illustrating the mapping of a series of probes (black) following primers of two different velocities (green line, 30 deg s−1; red line, 60 deg s−1). These 12 conditions were repeated following either a 100 or a 300 ms pause between primer and probe. (B) Example responses to these stimuli from an individual CSTMD1 recording when the probe was presented alone, or following a 100 or 300 ms pause. Responses to probes were quantified in a 100 ms analysis window (green shaded region). (C) Pooling the observed change in response for all forward probe trajectories (0–18 deg) reveals an increase in the strength of gain for probes presented following the faster primer (two-tailed, paired Mann–Whitney U-test, ***P<0.001, n=12 dragonflies). (D) The magnitude of gain (ΔResponse) at different ‘jump’ positions (0 deg is a continuous trajectory), 100 ms after the cessation of a 30 deg s−1 (green line) or 60 deg s−1 (red line) priming target (means±s.e.m., n=12 dragonflies). The solid red line accounts for the velocity dependency elicited by the stronger primer velocity (red dashed line; see Fig. 1). (E) The magnitude of gain modulation of the same jump positions as in D, but 300 ms following the cessation of the priming target (means±s.e.m., n=12 dragonflies).

As described in the above results (Fig. 2), primer velocity has a large effect on the size of the gain modulation (Fig. 3C). That is, a 60 deg s−1 primer lies closer to the velocity optimum and will evoke stronger facilitatory effects across all spatial locations compared with the slower 30 deg s−1 primer. This dependence on primer velocity induces a vertical offset in neuronal activity (Fig. 3D,E, dashed red line), presumably with an important effect on the functional system. However, in addition to this offset, there may also be changes in gain at varying spatial locations accounting for the primer target's velocity (i.e. the predictive ‘spotlight’). To test this, we corrected for the motion-dependent offset by subtracting the mean difference in priming strength across the two primers (30 and 60 deg s−1) from the 60 deg s−1 primed trials at all spatial locations (Fig. 3D,E). In agreement with our previous work (Wiederman et al., 2017), a primer followed by a 100 ms pause increased gain ahead of the primer's final position and reduced it behind (Fig. 3D). However, after accounting for the vertical offset in the curves (red dashed line), the modulation in space was similar for all points across both velocity primers. Following a 300 ms pause, the spatial location of gain shifted forward; however, we did not observe any statistically significant effect of primer velocity on the distance of this predictive spreading spotlight (Fig. 3E).

Gain modulation in response to the height of the primer target

Dragonflies are highly selective for the angular size of prey, with pursuit rarely initiated for targets spanning >1 deg on the retina (Combes et al., 2013; Lin and Leonardo, 2017). The tuning range of STMD neurons is usually much broader, with CSTMD1 producing optimal responses to targets spanning 2–3 deg (Geurten et al., 2007). In the past, target height tuning has been measured with targets that drift across the entire visual display and are therefore ‘self-facilitated’. This means that these tuning curves represent not only the underlying size tuning of CSTMD1 but also any potential size tuning of the gain modulation itself. During pursuit of prey or conspecifics, the size of a target will fluctuate, gradually increasing in angular size as the distance to the target is reduced. Given that predictive gain modulation shifts CSTMD1's direction tuning to match the direction of the target being tracked (Wiederman et al., 2017), is it possible that a target's angular size could also shift an STMD neuron's optimal target height? Such an effect would be similar to that observed in feature-based attention studied in the human visual cortex (Saenz et al., 2002).

We investigated whether gain modulation produced by primers of different height affects CSTMD1's height tuning. We presented a series of probes of varying height, either alone or following the presentation of primers of two heights, either 0.5 deg×1.5 deg or 5 deg×1.5 deg (Fig. 4A,B). These sizes lay either side of CSTMD1's optimal height tuning and were expected to elicit responses of similar magnitude (Geurten et al., 2007).

Fig. 4.

Target height tuning following priming with targets of different heights. (A) Height tuning was measured by varying probe length, orthogonal to the direction of travel. This tuning was measured for the probe either presented alone or primed by small (0.5 deg×1.5 deg) or large (5 deg×1.5 deg) targets. (B) Example responses from an individual CSTMD1 neuron. Probe responses at varying heights were quantified in a 100 ms window (green shaded region). (C) Responses to probes of eight varying heights, presented alone (black line) or following the two (0.5 deg target height, blue line; 5 deg target height, red line) priming conditions (means±s.e.m., n=15 dragonflies). (D) Small and large primers elicit similar neuronal responses (two-tailed, paired Mann–Whitney U-test, P=0.84, n=15 dragonflies). (E) The same primer stimulus generates less gain for ‘weak’ probes (0.24, 0.48, 9.6 and 19.2 deg pooled) than for ‘strong’ probes (0.96, 1.92, 3.2 and 4.8 deg pooled) (two-tailed, paired Mann–Whitney U-test, **P=0.007, n=15 dragonflies). Grey points indicate individual trials, red points indicate mean.

Fig. 4.

Target height tuning following priming with targets of different heights. (A) Height tuning was measured by varying probe length, orthogonal to the direction of travel. This tuning was measured for the probe either presented alone or primed by small (0.5 deg×1.5 deg) or large (5 deg×1.5 deg) targets. (B) Example responses from an individual CSTMD1 neuron. Probe responses at varying heights were quantified in a 100 ms window (green shaded region). (C) Responses to probes of eight varying heights, presented alone (black line) or following the two (0.5 deg target height, blue line; 5 deg target height, red line) priming conditions (means±s.e.m., n=15 dragonflies). (D) Small and large primers elicit similar neuronal responses (two-tailed, paired Mann–Whitney U-test, P=0.84, n=15 dragonflies). (E) The same primer stimulus generates less gain for ‘weak’ probes (0.24, 0.48, 9.6 and 19.2 deg pooled) than for ‘strong’ probes (0.96, 1.92, 3.2 and 4.8 deg pooled) (two-tailed, paired Mann–Whitney U-test, **P=0.007, n=15 dragonflies). Grey points indicate individual trials, red points indicate mean.

Our results show that CSTMD1's optimum target height remained at 2–3 deg, irrespective of whether or not the target was primed, or the size of the primer itself (Fig. 4C). The two primers produced responses of equal strength, potentially explaining the equal amount of gain generated (Fig. 4D, 123.4±16.9 for 0.5 deg, 123.7±15.6 for 5 deg, P=0.84). However, the strength of the response gain was not equal across all probe sizes. Rather, the gain produced by a given primer was greatest when the probe was also at an optimal size and weaker when probes were either too small or too large (39.6±6.8 for weak probe sizes, 84.8±13.5 for strong, P=0.007). This result suggests that it is the interaction between properties of both the primer and probe that determines the overall strength of the gain.

Gain modulation and neuronal variability

Following our description of the effect of primer attributes (e.g. length, duration, velocity and height) on mean predictive gain modulation, we turned to an investigation of the response variance (both inter-trial and inter-animal). That is, what variability is observed in this response gain, when such primer parameters are kept constant? Nordström et al. (2011) reported that gain in CSTMD1 builds with a mean time to 50% of maximum response (t50) of 180 ms, and this value justifies our time window for analysis in all subsequent work. However, the question arises as to whether this value is consistent across multiple animals or stable within the same neuron over extended periods of time.

We measured variability in the onset time course of response gain, with the presentation of a series of targets drifting on either short or long paths (Fig. 5A). We determined the time onset of gain modulation, by normalising the short path responses by their corresponding long path counterparts (the spatial location of the short path covers the long path's second half). This approach provides a temporal signature (onset time course), that accounts for inhomogeneity of the spatial receptive field. We repeated this experiment 40 times in a single CSTMD1 recording at regular intervals over 90 min (Fig. 5A,B), and across nine CSTMD1 recordings in 9 different animals (Fig. 5C). In both cases, we observed variability in the response time course, even though the underlying stimuli and neuronal architecture were identical. This raises the intriguing possibility that the strength of the predictive gain modulation is itself modulated by an internal stimulus-independent factor. Variations in the response onset time course will result in variance in the number of spikes in our standard analysis time window (50–150 ms following stimulus onset). A degree of STMD variability may be due to neuronal habituation, resulting from the presentation of repeated stimuli. Even though each stimulus was separated by a 146 s rest period, the responses show a slight downward trend due to some habituation (Fig. 5D). This decrease in responsiveness to our typical long path stimuli was accounted for in our experiments by randomisation of stimulus conditions. However, there was an additional variation in response over time, evident in responses to short path targets (black line). To quantify the variability of responses over time, we plotted the response variance as a function of mean spike count for the repeated presentation of a target trajectory in a single CSTMD1 neuron (Fig. 5E, same data as in Fig. 5A). These data were generated by sliding a short analysis window across the 1 s peristimulus time window in 1 ms increments. The relationship between response variance and mean spike count varies dependent on the length of analysis window (Warzecha and Egelhaaf, 1999); therefore, we analysed our data across a broad range of bin sizes (100 ms bin data shown). We observed that the ratio between variance and mean spike count, also known as the Fano factor, was strongly dependent on the time following stimulus onset, with very large values (FF>4) shortly after stimulus onset, dropping to FF<0.5 after several hundred milliseconds of motion (Fig. 5F). The time course of this Fano factor drop was closely aligned with the build-up of gain modulation following the onset of both the short and the long paths (Fig. 5G). A higher Fano factor indicates that the signal is encoded with more variability. Given that the short path and the second half of the long path covered the exact same space on the retina, this difference in neuronal variability cannot be explained by input noise. Instead, this variation arises from changes in the strength of modulatory signals throughout the visual pathway.

Fig. 5.

Neuronal variability and predictive gain modulation. (A) Instantaneous spike frequency plots for the presentation of short (top) and long (bottom) path target trajectories in a single neuron (40 repetitions, n=1 dragonfly, mean±1 s.d., stimulus bar represents peristimulus duration, shaded green region represents our standard 50–150 analysis window used in previous figures). (B) The varying facilitation onset time courses for 40 repeated trials in a single CSTMD1 neuron (grey lines) and the mean (black line). Red vertical dashed line represents short path onset time. (C) The facilitation onset time courses of individual CSTMD1 neurons (grey lines) and their mean across animals (black line, n=9 dragonflies). (D) Neuronal response in the standard analysis window for each trial for long and short trajectories over the duration of a long experiment in a single CSTMD1 recording (40 repetitions, n=1 dragonfly). (E) Response variance as a function of mean spike count for the peristimulus duration of a long path trial, calculated by a 100 ms bin slid at 1 ms increments. Dot colour represents the centre time point of the window (red t=0 s, green t=1 s, 40 repetitions, n=1 dragonfly). (F) Fano factor calculated for both short and long paths, with 100 ms bins. Vertical red dashed line represents the short path onset (40 repetitions, n=1 dragonfly). (G) Fano factor for the short path trial (same data as in F) superimposed on the normalised response onset (same data as in B), showing the inverse relationship between the strength of gain modulation and the magnitude of neuronal variability (40 repetitions, n=1 dragonfly).

Fig. 5.

Neuronal variability and predictive gain modulation. (A) Instantaneous spike frequency plots for the presentation of short (top) and long (bottom) path target trajectories in a single neuron (40 repetitions, n=1 dragonfly, mean±1 s.d., stimulus bar represents peristimulus duration, shaded green region represents our standard 50–150 analysis window used in previous figures). (B) The varying facilitation onset time courses for 40 repeated trials in a single CSTMD1 neuron (grey lines) and the mean (black line). Red vertical dashed line represents short path onset time. (C) The facilitation onset time courses of individual CSTMD1 neurons (grey lines) and their mean across animals (black line, n=9 dragonflies). (D) Neuronal response in the standard analysis window for each trial for long and short trajectories over the duration of a long experiment in a single CSTMD1 recording (40 repetitions, n=1 dragonfly). (E) Response variance as a function of mean spike count for the peristimulus duration of a long path trial, calculated by a 100 ms bin slid at 1 ms increments. Dot colour represents the centre time point of the window (red t=0 s, green t=1 s, 40 repetitions, n=1 dragonfly). (F) Fano factor calculated for both short and long paths, with 100 ms bins. Vertical red dashed line represents the short path onset (40 repetitions, n=1 dragonfly). (G) Fano factor for the short path trial (same data as in F) superimposed on the normalised response onset (same data as in B), showing the inverse relationship between the strength of gain modulation and the magnitude of neuronal variability (40 repetitions, n=1 dragonfly).

Our previous description of STMD gain modulation proposed that during continuous target motion, neuronal activity increased (i.e. facilitation) over hundreds of milliseconds (Nordström et al., 2011). Subsequently, we showed that this gain was not due to local ‘elementary motion detectors’ (Wiederman et al., 2017), as it exhibited a long-lasting time course and a large spatial extent that spread in front of the target's trajectory over time (including excitatory and inhibitory regions, i.e. the predictive ‘spotlight’). Here, we show that changes of CSTMD1's response to the probe target is dependent on the velocity of the primer target. Priming targets themselves elicit responses that vary across the different spatial and temporal conditions and it is these velocity-dependent combinations that generate differing amounts of gain for the probe response. The parsimonious explanation for this result is that velocity-tuned elements serve as inputs to the mechanism underlying predictive gain modulation. Such local velocity tuning could be derived from either ‘elementary motion detectors’ (Hassenstein and Reichardt, 1956) or our previously proposed ‘elementary small target motion detectors’ (Wiederman et al., 2008; Wiederman and O'Carroll, 2013).

Interestingly, the same primer target can generate different amounts of gain across a range of values for a single parameter of the probe target (i.e. angular target height). This result reveals that gain modulation is not simply an additive operation. Instead, the magnitude of gain modulation is dependent on both the salience of the priming target and the salience of the probe that follows. This is in agreement with our previous work, where the same priming target generated different strengths of gain modulation for probe targets of different contrast and direction (Wiederman et al., 2017). Such a result could be due to a second-order correlation between the velocity-tuned inputs at a larger spatial and temporal scale (Zanker, 1994). Here, primers at an optimal velocity would supra-linearly interact with probes, maximally facilitating CSTMD1 responses. However, CSTMD1 is overall only weakly direction selective. Moreover, we previously showed that targets that ‘leapt’ forward before traversing back in the opposing direction were also strongly facilitated (Wiederman et al., 2017). This would suggest that it is the spatial location, irrespective of directionality, that is facilitated at this second-order stage. Behaviourally, targets will vary across an extensive range of velocities, particularly in closed-loop pursuit; thus, the proposed second-order interaction would be an essential component of the target-detection encoding.

When all conditions were kept constant, we found that the magnitude and time course of response onset varied considerably, both within the same animal and across animals. Dragonflies in this study were caught in the wild, meaning that their age and feeding state were not controlled. These extraneous factors could contribute to the intra-animal variability, though they would not account for the intra-trial variability within the same animal.

As targets moving on short paths stimulate identical presynaptic visual pathways to those for targets moving on the second half of the long path, this large increase in variability must be the result of variability in internal modulatory signals over time. This finding is consistent with prior work that concluded that most response variability in higher-order processing areas is generated by variability of modulatory signals rather than input noise (Goris et al., 2014). Currently, the neuronal circuits responsible for modulating this neuronal sensitivity and gain magnitude are unknown. Target tracking and pursuit simulations that implemented a dragonfly-inspired predictive gain modulation mechanism found that the optimal facilitation time constant should be variable, depending on the spatial statistics of a scene (Bagheri et al., 2015). In cluttered scenes, a longer time constant increases performance because of the high likelihood of temporary target occlusions; however, in more sparse scenery, a rapid facilitation time course is beneficial, as the target remains highly discriminable. While the spatial statistics of our visual stimulus were identical across each trial, these simulations suggest that the ability to dynamically tune the time course of gain modulation via an unknown pathway could be a useful tool for a target-detecting system.

The downside of a dynamically modulated gain mechanism is that neuronal signals to repeated stimuli are significantly more variable. In most sensory neurons, variance increases with mean spike count, with a slope that varies depending on a system’s intrinsic noise (Aldo Faisal et al., 2008). In the H1 neuron of the fly, the ratio between variance and mean spike count (i.e. Fano factor) was reported as ∼0.16 for 10 ms analysis windows, and ∼0.07 for 100 ms windows, a result which highlights that repeated stimuli in H1 are encoded with relatively low variability (Warzecha and Egelhaaf, 1999). In comparison, CSTMD1's target responses were extremely variable until several hundred milliseconds had passed, imposing a challenge to the target-tracking control system. However, whilst the variable magnitude of gain (neuronal variability) was evident in an early time window, at late time windows, neuronal variability decreased, as responses were driven into the saturation region of CSTMD1's firing range.

The key advantage of such a non-linear stimulus–stimulus interaction is that robust tracking of targets can be obtained amidst dynamically changing conditions. A target that temporarily drops out of an optimal range in size, contrast or velocity will still elicit strong responses as a result of enhanced local gain generated during its prior path. Additionally, a target that abruptly enters the visual field can be detected in a reasonably short time if it already accurately matches the system’s tuning parameters. Such a stimulus–stimulus interaction is favourable for improving signal-to-noise ratio when extracting small moving targets from cluttered backgrounds.

We thank the manager of the Adelaide Botanic Gardens for allowing insect collection. We thank the Australian and Swedish Governments for providing funding for this research.

Author contributions

Conceptualization: J.M.F., J.R.D., D.C.O., S.D.W.; Methodology: J.M.F., J.R.D., D.C.O., S.D.W.; Software: D.C.O., S.D.W.; Validation: J.M.F., J.R.D., D.C.O., S.D.W.; Formal analysis: J.M.F., J.R.D., S.D.W.; Investigation: J.M.F., J.R.D.; Resources: D.C.O., S.D.W.; Data curation: J.M.F., S.D.W.; Writing - original draft: J.M.F.; Writing - review & editing: J.M.F., J.R.D., D.C.O., S.D.W.; Visualization: J.M.F., J.R.D., D.C.O., S.D.W.; Supervision: D.C.O., S.D.W.; Project administration: D.C.O., S.D.W.; Funding acquisition: D.C.O., S.D.W.

Funding

This study was supported through the Australian Research Council’s Future Fellowship funding scheme (FF180100466) and the Swedish Research Council (Vetenskapsrådet, VR 2014–4904).

Data availability

Data for this paper are available from figshare: https://figshare.com/articles/Fabian_JEB_2019_data_xlsx/9198806

Aldo Faisal
,
A.
,
Selen
,
L. P. J.
and
Wolpert
,
D. M.
(
2008
).
Noise in the nervous system
.
Nat. Rev. Neurosci.
9
,
292
-
303
.
Bagheri
,
Z. M.
,
Wiederman
,
S. D.
,
Cazzolato
,
B. S.
,
Grainger
,
S.
and
O'Carroll
,
D. C.
(
2015
).
Properties of neuronal facilitation that improve target tracking in natural pursuit simulations
.
J. R. Soc. Interface
12
,
20150083
.
Bausenwein
,
B.
,
Dittrich
,
A. P. M.
and
Fischbach
,
K. F.
(
1992
).
The optic lobe of Drosophila melanogaster II. Sorting of retinotopic pathways in the medulla
.
Cell Tissue Res.
267
,
17
-
28
.
Bennett
,
S. J.
and
Barnes
,
G. R.
(
2003
).
Human ocular pursuit during the transient disappearance of a visual target
.
J. Neurophysiol.
90
,
2504
-
2520
.
Combes
,
S. A.
,
Salcedo
,
M. K.
,
Pandit
,
M. M.
and
Iwasaki
,
J. M.
(
2013
).
Capture success and efficiency of dragonflies pursuing different types of prey
.
Integr. Comp. Biol.
53
,
787
-
798
.
Dunbier
,
J. R.
,
Wiederman
,
S. D.
,
Shoemaker
,
P. A.
and
O'Carroll
,
D. C.
(
2012
).
Facilitation of dragonfly target-detecting neurons by slow moving features on continuous paths
.
Front. Neural Circuits
6
,
79
.
Geurten
,
B. R. H.
,
Nordström
,
K.
,
Sprayberry
,
J. D. H.
,
Bolzon
,
D. M.
and
O'Carroll
,
D. C.
(
2007
).
Neural mechanisms underlying target detection in a dragonfly centrifugal neuron
.
J. Exp. Biol.
210
,
3277
-
3284
.
Goris
,
R. L. T.
,
Movshon
,
J. A.
and
Simoncelli
,
E. P.
(
2014
).
Partitioning neuronal variability
.
Nat. Neurosci.
17
,
858
-
865
.
Harris
,
R. A.
,
O'Carroll
,
D. C.
and
Laughlin
,
S. B.
(
2000
).
Contrast gain reduction in fly motion adaptation
.
Neuron
28
,
595
-
606
.
Hassenstein
,
B.
and
Reichardt
,
W.
(
1956
).
Systemtheoretische Analyse Der Zeit, Reihenfolgen Und Vorzeichenauswertung Bei Der Bewegungsperzeption Des Rüsselkäfers Chlorophanus
.
Z. Naturforsch. B
11
,
513
-
524
.
Horridge
,
G. A.
(
1978
).
The separation of visual axes in apposition compound eyes
.
Philos. Trans. R. Soc. B Biol. Sci.
285
,
1
-
59
.
Lin
,
H.-T.
and
Leonardo
,
A.
(
2017
).
Heuristic rules underlying dragonfly prey selection and interception
.
Curr. Biol.
27
,
1124
-
1137
.
Mischiati
,
M.
,
Lin
,
H.-T.
,
Herold
,
P.
,
Imler
,
E.
,
Olberg
,
R.
and
Leonardo
,
A.
(
2015
).
Internal models direct dragonfly interception steering
.
Nature
517
,
333
-
338
.
Nordström
,
K.
,
Bolzon
,
D. M.
and
O'Carroll
,
D. C.
(
2011
).
Spatial facilitation by a high-performance dragonfly target-detecting neuron
.
Biol. Lett.
7
,
588
-
592
.
O'Carroll
,
D. C.
(
1993
).
Feature-detecting neurons in dragonflies
.
Nature
362
,
541
-
543
.
O'Carroll
,
D. C.
and
Wiederman
,
S. D.
(
2014
).
Contrast sensitivity and the detection of moving patterns and features
.
Phil. Trans. R. Soc. B
369
,
20130043
.
Olberg
,
R. M.
(
1986
).
Identified target-selective visual interneurons descending from the dragonfly brain
.
J. Comp. Physiol. A
159
,
827
-
840
.
Rigosi
,
E.
,
Wiederman
,
S. D.
and
O'Carroll
,
D. C.
(
2017
).
Photoreceptor signalling is sufficient to explain the detectability threshold of insect aerial pursuers
.
J. Exp. Biol.
220
,
4364
-
4369
.
Saenz
,
M.
,
Buracas
,
G. T.
and
Boynton
,
G. M.
(
2002
).
Global effects of feature-based attention in human visual cortex
.
Nat. Neurosci.
5
,
631
-
632
.
Warzecha
,
A. K.
and
Egelhaaf
,
M.
(
1999
).
Variability in spike trains during constant and dynamic stimulation
.
Science
283
,
1927
-
1930
.
Watamaniuk
,
S. N. J.
and
McKee
,
S. P.
(
1995
).
Seeing motion behind occluders
.
Nature
377
,
729
-
730
.
Watamaniuk
,
S. N. J.
,
McKee
,
S. P.
and
Grzywacz
,
N. M.
(
1995
).
Detecting a trajectory embedded in random-direction motion noise
.
Vision Res.
35
,
65
-
77
.
Wiederman
,
S. D.
and
O'Carroll
,
D. C.
(
2013
).
Biomimetic target detection: Modeling 2nd order correlation of OFF and ON channels
.
IEEE Symposium on Computational Intelligence for Multimedia, Signal and Vision Processing
,
16
-
21
.
Wiederman
,
S. D.
,
Shoemaker
,
P. A.
and
O'Carroll
,
D. C.
(
2008
).
A model for the detection of moving targets in visual clutter inspired by insect physiology
.
PLoS ONE
3
,
e2784
.
Wiederman
,
S. D.
,
Fabian
,
J. M.
,
Dunbier
,
J. R.
and
O'Carroll
,
D. C.
(
2017
).
A predictive focus of gain modulation encodes target trajectories in insect vision
.
eLife
6
,
e26478
.
Zanker
,
J.
(
1994
).
Modelling human motion perception. II. Beyond Fourier motion stimuli
.
Naturwissenschaften
81
,
200
-
209
.

Competing interests

The authors declare no competing or financial interests.