Introduction

Giant honeybees have evolved shimmering behaviour for collective defence (Seeley et al. 1982; Kastberger et al. 2011a; Weihmann et al. 2012). Visual threats provoke patterns reminiscent of Mexican waves, which propagate with a characteristic velocity and in a controlled direction over the surface of a giant honeybee nest (Kastberger et al. 2012, 2013a, b). The first 200–300 ms of a shimmering wave form a flash-like visual signal with the capacity to repel a preying wasp (Kastberger et al. 2008, 2010; cf. Tan et al. 2012). Depending on the distance from the nest and the velocity of the threatening wasp, the shimmering waves vary in the repetition rate and in the recruitment of nest mates. Lastly, a startle reflex is initiated in the preying wasp, which makes her turn around and fly away from the bees’ nest (Kastberger et al. 2008).

However, shimmering is likely more sophisticated than just flashes of visual patterns which drive predatory wasps away from a giant honeybee colony (Kastberger et al. 2008, 2010; cf. Tan et al. 2012). On previous expeditions to India and Nepal (e.g. see the Movies in Kastberger et al. 2008, 2010), we suggested that the shimmering activities are tuned with the flight manoeuvres of the wasps in front of the bees’ nest, in particular in the directedness of wave propagation and of the repeated performance. This observation also led to the assumption that giant honeybees drive predatory wasps out of the nest range by aligning their collective response with the wasp’s flight. This directed-shimmering-drives-wasps hypothesis entails the control of rapidly changing external cues due to the flights of wasps on predation, based on a network of specialized bees on the nest surface (Schmelzer and Kastberger 2009) with the capacity to trigger hundreds of nest mates to align the spreading of their evoked visual patterns with the momentary direction of the wasp flight.

In this study, we show that shimmering behaviour does align, and even most of the time, with the flight of a wasp when preying in front of the bees’ nest and thus visible for surface bees (Online Resource 514/Movies 1–10). We bring evidence that the driving party in the mutual alignment is the bees in defence rather than the wasps threatening the bee nest. These findings support the directed-shimmering-drives-wasps hypothesis that the sophisticated control of the virtual directedness of the shimmering patterns efficiently helps the honeybees to increase the repelling power of the shimmering flashes (Kastberger et al. 2008) to mob preying wasps out of the range of the bees’ nest. Such kind of defence behaviour can be taken as a homologue to mobbing predators by selfish herds of vertebrate species (Hamilton 1971; Curio 1978; Arnold 2000; Alcock 2005; Chevalier 2013) but is, so far, unknown in the insect world.

Material and methods

Experimental site

The experiments were conducted with Apis dorsata nests in the village of Sauraha, at the border of the Chitwan National Park, Nepal. Preliminary experiments had been carried out in 2003 (Kastberger et al. 2008) and in 2009 (Kastberger et al. 2011b, 2012, 2013a, b; Weihmann et al. 2012), but in November 2010 a single nest was selected for the much broader in-depth investigation described in this paper. This approximately 3-week-old nest was attached to a hotel balcony (Fig. S1/Online Resource 1; Kastberger et al. 2011b, 2012, 2013b; Waddoup 2014), it had a hemispherical form of 85 × 60 cm (width × height) with a multi-layer cover comprising approximately 15,000 individuals.

Displacement of an experimental wasp nest

The season of late November was selected for the experiments because at this time wasps are maximally abundant regarding colony size and numbers of nests. However, there was a paucity of free-flying wasps, even near giant honeybee nest aggregations, because Nepali farmers excessively exploit the wasp population due to their traditional use of wasp larvae as a supplementary protein source. They regularly burn the paper nests, barbecuing the wasp larvae and have thus reduced the population of wasps in Chitwan over a long period.

Therefore, the option of displacing wasp nests increased the chance for our experiments that single wasps approach the honeybee colony in its natural setting. We transferred a paper nest of Vespa tropica (individuals >100; brood cells >100) from 20 km away to the close vicinity of the experimental giant honeybee colony. After its relocation, the paper nest was encased with a curtain built of white and black linen. Utilizing the intrinsic positive phototaxis of forager wasps, we guided them through a tunnel of linen towards the experimental giant honeybee colony (Fig. S1/Online Resource 1) which they had to pass when departing or homing.

Experimental sessions, video recording and image processing

The experimental giant honeybee nest was filmed (e.g. Movie 1/Online Resource 5) with high definition video (Panasonic HVX 200) at 50 frames per second (fps) with a resolution of 1,280 × 720 pixels (px). The camera was placed from slightly below at a distance of 1.5 m to capture the bees’ nest (Figs. 1, S1/Online Resource 1) together with the wasps in front of it.

Fig. 1
figure 1

Directional coincidence of the movements of shimmering bees and of the preying wasp. a Experimental giant honeybee nest in quiescent state. b Three frames (ff 81–83; fps = 50 Hz) document a wasp on prey flying just above the bees’ nest and provoking shimmering waves; the wasp marked in the centre of the white circle (f 81) and in the centre of the yellow and red circles (ff 82,83) respectively; the white and yellow points mark the position of the wasp’s thorax in respective frames before; yellow lines give the nest contours. c Differential images (∆ff 81–82, ∆ff 82–83) displaying segmented motions (Δlum > 5) as white spots. Flight movement of the wasp was documented in the centre of the white circle (∆ff 81–82) and of the red circle (∆ff 82–83), respectively. d The cross-points quantify the centres of the momentary motions of wasp (red) and shimmering (blue) as evaluated in the differential image ∆ff 80–81; in image ∆ff 81–82, the arrows give the movement vectors as the connections of the cross points at ∆ff 80–81 and ∆ff 81–82

A film session of an interaction of preying wasps and shimmering honeybees started with the emergence of the wasp in the video image and ended with her disappearance (Movies 1–2/Online Resource 56). The sessions lasted 134.24 ± 17.03 frames corresponding to a footage duration of 2,684.80 ± 357.63 ms (nss = 50; fps = 50 Hz). The video films were formatted as jpg-sequences and processed by image analysis software (Image-Pro, Media Cybernetics) to detect wasp movements and shimmering activities of the honeybees. In total, 6,891 frames with wasps flying in front of the bees’ nest were collected (compare the sample Movies 1–10/Online Resource 56 comprising a single sequence over 179 ff ≡ 2,540 ms documenting different stages of the evaluation process).

Assessment of shimmering movement

Shimmering behaviour happens exclusively in the surface layer of the bee curtain of a giant honeybee nest. In the quiescent state, the individuals hang with their heads up und their abdomens down (Kastberger et al. 2011a), but during shimmering they flip their abdomens upwards by more than 90° (Kastberger et al. 2011b) in a highly coordinated fashion which generates a Mexican wave-like process (Kastberger et al. 2012, 2013a, b).

Motion patterns of shimmering (sh) were detected by the differences in pixel luminance (lumpx) in pairs of successive frames (fi−1, fi) referred to the focus frame at the time ti (e.g. Movies 37, 910). To eliminate single-pixel noise (Kastberger et al. 2012, 2013a, b), the resulting Δ lumpx values (with Δ lumpx [fi] = lumpx [fi]–lumpx [fi−1]; Fig. 1b) were filtered by eroding and dilating functions and segmented into two classes: in the first class, no or minor change in luminance values (Δ lumpx ≤ 5) represented the “motionless” state; and in the second class, changes in luminance values of Δ lumpx > 5 signalled “movement”. This movement coding was used to calculate the coordinates of the horizontal position (xsh [fi]) and of the vertical position (ysh [fi]) of the momentary gravity point of the shimmering wave at the time ti as explained in Eqs. 1a and 1b.

$$ {x}_{\mathrm{sh}}\left[{\mathrm{f}}_{\mathrm{i}}\right]\kern0.5em =\kern0.5em \varSigma\ {\mathrm{x}}_{\mathrm{m}}{\mathrm{a}}_{\mathrm{m}}\ /\varSigma\ {\mathrm{a}}_{\mathrm{m}} $$
(1a)
$$ {\mathrm{y}}_{\mathrm{sh}}\left[{\mathrm{f}}_{\mathrm{i}}\right]\kern0.5em =\kern0.5em \varSigma\ {\mathrm{y}}_{\mathrm{m}}{\mathrm{a}}_{\mathrm{m}}/\varSigma\ {\mathrm{a}}_{\mathrm{m}} $$
(1b)

whereas mpx = 1,2,..,npx gives the number of segmented pixel areas at the focus frame fi, and am gives the pixel size of the spot mpx.

Subsequently, the angular value (θsh) of the direction of the shimmering wave was calculated (Eq. 2) on the basis of the positional changes of the gravity point (Eq. 1a and 1b) in the inter-frame interval Δt = t [fi]–t [fi−1] = 20 ms.

$$ \begin{array}{l}{\theta}_{\mathrm{sh}}\kern0.5em =\kern0.75em \mathrm{arc}\ \tan\ \left[\varDelta {\mathrm{x}}_{\mathrm{sh}}/\varDelta {\mathrm{y}}_{\mathrm{sh}}\right]\hfill \\ {}\mathrm{with}\ \varDelta {\mathrm{x}}_{\mathrm{sh}}\kern0.5em =\kern0.75em {\mathrm{x}}_{\mathrm{sh}\ }\left[{\mathrm{f}}_{\mathrm{i}}\right]\kern0.5em -\kern0.5em {\mathrm{x}}_{\mathrm{sh}\ }\left[{\mathrm{f}}_{\mathrm{i}-1}\right]\kern0.75em \mathrm{and}\ \varDelta {\mathrm{y}}_{\mathrm{sh}}\kern0.5em =\kern0.5em {\mathrm{y}}_{\mathrm{sh}\ }\left[{\mathrm{f}}_{\mathrm{i}}\right]\kern0.75em -\kern0.5em {\mathrm{y}}_{\mathrm{sh}\ }\left[{\mathrm{f}}_{\mathrm{i}-1}\right]\hfill \end{array} $$
(2)

Assessment of the wasp movement

The wasps (w) typically hovered and scanned at an average distance of 50 cm from the honeybee nest (Kastberger et al. 2008). For every frame (fi), the positions of head and abdominal tip were interactively determined by mouse clicks (Fig. 1; Movies 2–10/Online Resource 614) allowing to assess the coordinates of the wasp thorax (horizontal, xw; vertical, yw) as their topological projections even under weak contrast. The momentary projected direction of the flight path (θw) at the time point t [fi] was calculated by determining the displacement of the thorax point of the wasp per frame interval (Eq. 3).

$$ \begin{array}{l}{\theta}_{\mathrm{w}}\kern0.5em =\kern0.5em \mathrm{arc}\ \tan\ \left[\varDelta {\mathrm{x}}_{\mathrm{w}}/\varDelta {\mathrm{y}}_{\mathrm{w}}\right]\hfill \\ {}\mathrm{with}\ \varDelta {\mathrm{x}}_{\mathrm{w}}\kern0.5em ={\mathrm{x}}_{\mathrm{w}\ }\left[{\mathrm{f}}_{\mathrm{i}}\right] - {\mathrm{x}}_{\mathrm{w}\ }\left[{\mathrm{f}}_{\mathrm{i}-1}\right]\ \mathrm{and}\ \varDelta {\mathrm{y}}_{\mathrm{w}}\kern0.5em =\kern0.5em {\mathrm{y}}_{\mathrm{w}\ }\left[{\mathrm{f}}_{\mathrm{i}}\right] - {\mathrm{y}}_{\mathrm{w}\ }\left[{\mathrm{f}}_{\mathrm{i}-1}\right].\hfill \end{array} $$
(3)

Interaction of shimmering wave propagation and wasp flight

Assessment of mutual signalling between wasps and shimmering bees. The behavioural context investigated here refers to the wasp as potential predator and to the shimmering bees as potential prey. In predator–prey interactions, signals are permanently produced by each of the parties eliciting responses in their counterparts. However, mutual signalling between wasps and shimmering bees happened at least in those time periods in which the wasps flew in front of the honeybees’ nest with the heads directed towards it and in which a shimmering wave spread over the nest surface. The two behavioural aspects with signal value considered here were the moving patterns of the flight path of the wasps (w; assessed as the positional changes of the wasp) and those of the shimmering waves (sh; assessed as the positional changes of the gravity centre of shimmering).

The interaction between wasps and shimmering bees was categorized by the similarity between the time series of the counterparts (w and sh) as a function of a time lag applied to one or the other of them. This method considers both counterparts at every time point in two roles: (a) as the driving signaller, which provokes the other party’s response, and (b) as the driven responder, which reacts to the signaller after a specific time lag. In the continuous sequence of interacting signals, the individual traits of both participants were separated by their roles as stimulating (driving) cue and as driven response to this cue by cross-correlating both time series (w, sh) using positive and negative time-lag filters. Therefore, cross-correlation of the two time series (w, sh) delivers a measure for the level of interaction between initiating cue and driven response (abbreviated as cue → response), whereby the sign of the time lag determined the state as signaller or responder. Consequently, two aspects of interaction can be considered: (a) the course of the gravity centre of shimmering as response to the flight course of the threatening wasp, abbreviated further on as w → sh and (b) the wasp’s flight course as response to the propagation direction of the shimmering wave (sh → w).

Angular quantification of the directional alignment

For any time interval, the coincidence in movement direction of both traits (w, sh) was classified as ipsi-directional (I), contra-directional (C) or intermediate (im). Proper ipsi-directional coincidence is given for any time point ti by equity of the angles (θsh = θw,) and proper contra-directional coincidence is given by opposite angles (θsh = θw + 180°). For statistical purposes, we expanded this narrowly limited paradigm of coincidence by the range of Δ θA = 45° (Fig. S2A/Online Resource 2) to assign ipsi-directionality (abbreviated further as DIRI) with θsh = θw ± Δ θA and contra-directionality (DIRC) with θsh = θw + 180° ± Δ θA (Fig. S2B/Online Resource 2). The missing intervals between ipsi- and contra-directionality are classed as intermediate alignment (DIRim: θsh = θwasp ± 90° ± ΔθA/2). For simplification, we categorized the alignment conditions (DIRI, DIRC and DIRim; defined by Eqs. 4a, 4b and 4c) by eight angular sectors (cat θ = [1–8]) comprising 360° (see the sketches in Figs. 2, S2/Online Resource 2).

Fig. 2
figure 2

Characteristics of directional interactions between wasp flight and shimmering. a The movements of wasp (w: red colour coding) and shimmering (sh: blue) assessed over three sequential inter-frame intervals: in this example, the wasp flew above the attachment zone of the honeybee nest (cf. Fig. S1/Online Resource 1) to the left side of the image (red arrow; as calculated by the change in position in three sequential frames, cf. Fig. 1). The shimmering wave also propagated to the left (blue arrow; calculated by the change in position of the gravity centre, see; cf. Fig. 1). White numbers give the eight angular sectors (cat θ = [1]-[8]; cf. Fig. S2A/Online Resource 1) to classify the directions of w- and sh-movements. bc A single observation session with two wave episodes covering 1.6 s (abscissa; time in frames [ff] and seconds [s]); ordinates, movement angles categorized by the angular sectors of cat θ (for definition, see panel A and Methods); curves are regression functions (blue, cat θsh; R 2 = 0.1877; red, cat θw; R 2 = 0.4153). d Differences (Δ cat θsh-w, black rectangles, means; vertical bars, SEMs) between the courses of the shimmering waves (panel B) and that of the wasp (panel C) plotted against the direction of shimmering (cat θsh); stars, significant deviations from zero (z test; nff = 81; grey curve, regression of the mean differences: R 2 = 0.5408). e Relation between turning velocities ((abscissa, ωw = Δθw/ Δt; ordinate, ωsh in degrees per 20 ms; nss = 50 sessions; nff = 6,200 inter-frame intervals); means (black open circles) and SEMs (coloured thin lines) of the values of each of the sessions; coloured triple lines throughout the panel, overall means and SEMs; black line, linear regression function of mean values (R 2 = 0.0422)

$$ {\mathrm{DIR}}_{\mathrm{I}}:\ \varDelta\ \mathrm{cat}\ {\theta}_{\left[\mathrm{w},\mathrm{sh}\right]}\equiv \left[+1\right]\ \mathrm{or}\ \left[0\right]\ \mathrm{or}\ \left[-1\right] $$
(4a)
$$ {\mathrm{DIR}}_{\mathrm{im}}:\ \varDelta\ \mathrm{cat}\ {\theta}_{\left[\mathrm{w},\mathrm{sh}\right]}\equiv \left[+2\right]\ \mathrm{or}\ \left[-2\right] $$
(4b)
$$ {\mathrm{DIR}}_{\mathrm{C}}:\ \varDelta\ \mathrm{cat}\ {\theta}_{\left[\mathrm{w},\mathrm{sh}\right]}\equiv \left[4\right]\ \mathrm{or}\ \left[+3\right]\ \mathrm{or}\ \left[-3\right] $$
(4c)

For the aspect of w → sh, the difference in alignment is calculated by Δ cat θ (w → sh) = cat θ [sh]–cat θ [w] and for the aspect of sh → w this difference is Δ cat θ (sh → w) = cat θ [w]–cat θ [sh] (as exemplified in Fig. S2A/Online Resource 2).

Comparison of empirical data with a mathematical movement heading model

Per definition, two parties are randomly aligned if both movements equal to a random walk (Einstein 1926), the mathematical formalization of a path that consists of a succession of random steps. Movements which differ from random walk are supposed to arise from reactions, intentions or decisions. The split-component method was used to detect coincidence in the directionality of the time series w and sh for the movement components (Δx and Δy) per inter-frame interval. Two modes of alignment can be distinguished: (a) ipsi-directionality (abbreviated as xI or yI), if the movement components of both counterparts (Δxw, Δxsh and Δyw, Δysh) changed within a single inter-frame interval with the same sign (e.g. referring to the horizontal components: [Δxsh > 0, Δxw > 0] or [Δxsh ≤ 0, Δxw ≤ 0]). (b) Contra-directionality (abbreviated as xC or yC), if the movement components differed in their signs (e.g. referring to the horizontal component: [Δxsh > 0, Δxw ≤ 0] or [Δxsh ≤ 0, Δxw > 0]). Each step of interaction represents one pair of alignment defined by the movement steps of both counterparts ([Δxsh, Δysh] and [Δxw, Δyw]). This allows distinguishing ipsi-directional ([xI, yI], abbreviated further on as DIR1), two intermediate alignment conditions ([xC, yI]: DIR2; [xI, yC]: DIR3) and contra-directional ([xC, yC]: DIR4).

In this paper, we introduce a mathematical movement heading model which uses this split-component method on the basis of a doubly randomized algorithm (with 0.00 ≤ rnd (q) ≤ 1.00) to separately assign value (=qvalue) and sign (=qsign) of each of the directional components for every step of movement of both parties in interaction. A path of movement can be described by its heading factor h which refers to the statistical difference of the probabilities (P) between positive directions (Δx > 0, directed to the right in the image; Δy > 0, directed to the top in the image) and negative directions (Δx < 0, Δy < 0) over time according to Eqs. 5a and 5b.

$$ {\mathrm{h}}_{\mathrm{x}}=\mathrm{P}\ \left(\varDelta \mathrm{x}>0\right)\kern0.5em -\kern0.5em \mathrm{P}\ \left(\varDelta \mathrm{x}<0\right) $$
(5a)
$$ {\mathrm{h}}_{\mathrm{y}}\kern0.5em =\kern0.5em \mathrm{P}\ \left(\varDelta \mathrm{y}>0\right)\kern0.5em -\kern0.5em \mathrm{P}\ \left(\varDelta \mathrm{y}<0\right) $$
(5b)

Given the position of both parties (x0 and y0) at the time t0 and the heading factors for both directional components, the value of the subsequent movement step was defined by Δx = rnd [Δxvalue] and Δy = rnd [Δyvalue]. Its sign was determined by initializing functions (sign [Δx] = rnd [Δxsign]; sign [Δy] = rnd [Δysign]) and a threshold algorithm regarding the time interval (Δt = ti−t0) which defines the sign of both directional components (Δc as Δx or Δy) as positive for rnd [Δcsign] < hc and negative for rnd [Δcsign] > hc. In the model, the theoretical position of both parties at the time point ti was calculated by integration of the x- and y-components according to Eq. 6a and Eq. 6b.

$$ {\mathrm{x}}_{\mathrm{i}}\kern0.5em =\kern0.5em {\mathrm{x}}_0\kern0.5em +\kern0.5em \mathrm{sign}\ \left(\mathrm{rnd}\ \left[\varDelta {\mathrm{x}}_{\mathrm{sign}}\right]\right)\ *\ \mathrm{rnd}\ \left[\varDelta {\mathrm{x}}_{\mathrm{value}}\right] $$
(6a)
$$ {\mathrm{y}}_{\mathrm{i}}\kern0.5em =\kern0.5em {\mathrm{y}}_0\kern0.5em +\kern0.5em \mathrm{sign}\ \left(\mathrm{rnd}\ \left[\varDelta {\mathrm{y}}_{\mathrm{sign}}\right]\right)\ *\ \mathrm{rnd}\ \left[\varDelta {\mathrm{y}}_{\mathrm{value}}\right] $$
(6b)

For explanation, the heading factors hx and hy are zero under random walk condition, but bigger heading values will result in walking paths as displayed in Fig. S3A/Online Resource 3. For instance, a heading factor of hx = +0.50 means that the horizontal movement component (Δx) was positive in 75% of the cases (represented here by the time steps Δt) and it was negative in the complement of 25% of cases.

Directional alignment of two walking parties can be described by the momentary values of their headings. Random alignment is given if the headings of each of them are zero (hx[w] = hx[sh] = hy[w] = hy[sh] = 0). In terms of the normalized distributions of alignment, these random walk conditions result in uniform rates of the alignment components (r [DIR1-4] = 0.25). Variation of the heading factors of the two parties, reflected in the probability histograms in Fig. S3B/Online Resource 3, can be extended into the lookup table as displayed in Fig. S3C/Online Resource 3.

Results

Directional alignment of shimmering waves with the flight paths of preying wasps

When wasps prey in front of a giant honeybee nest, they provoke shimmering waves (Kastberger et al. 2008). Thus, both counterparts (w and sh) display moving patterns which happen, topologically seen, on roughly parallel vertical planes (Fig. 1): the shimmering waves propagate over the nest surface layer and the preying wasps fly at an average distance of 50 cm (Kastberger et al. 2008) from the nest surface. The frame-wise analysis of the projected movement angles of both parties (θw, θsh; see Figs. 2a, S2A/Online Resource 2) demonstrates strong coupling of both directional vectors. A joint course can be documented even for a single session of interaction, illustrated by the regression functions (Fig. 2b–c) and confirmed by the distribution of the differential angles (Δ cat θw-sh in Fig. 2d). Both movements differed weakly (-45° ≥ Δcat θsh-w ≥ +45°) and only in four from eight angular cat θsh sectors [1-3, 8].

This correspondence in the movements of wasp and shimmering is further illustrated in the film episode (Movies 110) in which the first shimmering wave was elicited when the wasp came into the visual range of the honeybee colony. Then, the wasp flew from the left side to the mid of the image near the lower nest rim while the shimmering wave propagated from here in up-right direction (which is roughly parallel to the wasp flight path). Possibly intimidated by the wave (Kastberger et al. 2008), the wasp responded by flying downwards and subsequently by turning around to fly back to the left side of the image and leaving the nest range. During this flight manoeuvre, a further shimmering wave was elicited which again propagated roughly in the same direction as the wasp path (from the lower rim to the up-left nest side).

In total, the two counterparts differed significantly in their turning velocities (ω = Δθ/Δt). The wasp produced turning velocities of ωw = 23.87 ± 1.57 [degrees per 20 ms] while the shimmering process was more than four times as fast (ωsh = 101.45 ± 1.48° per 20 ms) and, nonetheless, independent from the wasp’s movement direction (R 2 = 0.0422; P = 0.2040, Pearson test; nss = 50 sessions; nff = 6,891 inter-frame intervals; Fig. 2e).

Coincidence in the movement directions of both parties (w and sh) can be particularly demonstrated if their alignment rates are viewed synchronously (Fig. 3). The rates of ipsi-directional alignment (RI = 0.1920 ± 0.0121, at Δ cat θw-sh = [0]) were significantly higher than those of contra-directional alignment (RC = 0.1157 ± 0.0050, at Δ cat θw-sh = [-4]; P < < 0.001; t test). Similar results are achieved for the broader comparison, with the expansion of ipsi- and contra-directionality by combinations of angular sectors (see the logic schemes in Fig. 3 and Materials and methods). The positive factor RI/RC under synchronous conditions (Fig. 3c) displays here the phenomenon of ipsi-directional dominance (Did) which was traced in singular sessions (e.g. Fig. 3a; nff = 191 ff. P < 0.001, χ 2 test) and proved for the entirety of sessions investigated (ΔRI-C > 0: P < 0.001, t test; nss = 50 sessions; nff = 6,891 inter-frame intervals; Fig. 3b,c). Figure 4a shows the Did histogram regarding dominance classes for the example of the wasp as responder (sh → w); it refers to synchronous assessment (lag = 0) of all sessions (nss = 50) observed.

Fig. 3
figure 3

Angular deviations between wasp and shimmering wave (sh → w, lag = 0). Session-specific rates of cases displaying angular deviation between wasp and shimmering. Abscissa, eight classes of angular deviation scaled in Δ cat θ and Δ θ (for definition, see Figs. 1a, S2/Online Resource 2); ordinate, relative number of cases (≡inter-frame intervals of 20 ms) per angular deviation class; The value 1.0 refers to the total of cases per session. a The distribution of the rate of cases exemplified for the session 43 (blue columns). b Means (violet columns) and SEMs (grey vertical bars) of all sessions (nss = 50). The graphs above the histograms define the angular sectors for ipsi-directional (code I; white colour code), intermediate (im; grey) and contra-directional (C; black) correspondence between the directions of the wasp’s flight (w) and of the movement of the gravity point of shimmering (sh) per time step. c The difference between the session-specific mean rates (R) of ipsi- directional (white column) and contra-directional (black column) cases of alignment, termed as ipsi-directional dominance (Did ≡ Δ RI-C; yellow column)

Fig. 4
figure 4

Characteristics of alignment between wasps and honeybees (w → sh, sh → w). a Histogram of the cases of ipsi-directional dominance (Did, nss = 50); abscissa, dominance classes of ipsi- (I) and contra- (C) -directional alignment (∆RI-C; sh → w; lag = 0) with the definitions: class [0], equity conditions [RI = RC]; class [+1], [RI = 1, RC = 0]; class [-1], [RI = 0, RC = 1]. Ordinate, rate of sessions of ipsi-directional dominance Did (yellow). b-c Session-specific rates (ordinate) of alignment, under both modes of interaction (sh → w, w → sh), whereby the total of cases sums up to the value of 1.0 per session (ΣR = RI+ Rim+ RC = 1); abscissas give the latency selected (lag [sh → w] ≡ lag [w after sh]) in frames [ff] and milliseconds [ms]; data volume: nff = 6.891 inter-frame intervals; nss = 50 sessions

Ipsi- and contra-directional alignment of shimmering waves with the wasps’ flight paths under time-shift conditions

The streams of behaviours as documented in the Movies 110 result from the continuous interactions of both parties upon each other. We isolated the reactions of each party from the continuum of mutual signals (w-sh-w-sh-…) by utilizing the principle that any reaction happens after any stimulus but with delay. Fast flyers, such as wasps and bees, display latency periods not shorter than 20 ms. Therefore, a time window of up to five frames (≡100 ms) will be sufficiently long to trace any responsiveness of each of the parties expressed by their motions. For the graphical summarization in Fig. 4b and c, the wasps’ responses (sh → w) are displayed by positive time shifts (lag [w after sh] > 0), and the responses of the bees (w → sh) are displayed by negative time shifts (lag [w after sh] < 0). The results document ipsi-directional dominance (Did: RI > RC) in both aspects of interactions under all time-shift conditions investigated (P < 0.001, t test; nss = 50) whereas Did decreased slightly but significantly with increasing absolute lags.

Asymmetry in ipsi-directional dominance

We compared the values of Did [│lag│ > 0] with those under synchronous assessment as reference (ref D = Did [lag = 0]), separately for every session (nss = 50) for wasps and shimmering bees. The differences of the Did values between both lag conditions (ΔDid = Did [│lag│ > 0]–ref D) decreased with the absolute lag value (Fig. 5), but, which is important, differently strongly in the two aspects of interaction: for shimmering bees as responders (w → sh), the ΔDid values differed slightly from the reference, whereas for wasps as responders (sh → w) the ΔDid values decreased much stronger with increasing time shifts (Fig. 5a). Consequently, at longer time shifts (│lag│ > 3) shimmering bees as responders had larger ΔDid values (P = 0.0153, t test; Fig. 5a) and their rates P (∆Did) differed more strongly than with wasps as responders.

Fig. 5
figure 5

Asymmetry of ipsi-directional dominance (Did) between wasp and shimmering (w → sh, sh → w). a Session-specific differences in ipsi-directional dominance with the session-specific synchrony conditions as reference (∆Did = {∆RI-C [│lag│ > 0]–ref D} with ref D = ∆RI-C [lag = 0]; for further information, see Figs. 34). Asymmetry between both aspects (brown, w → sh; green, sh → w) is proved at higher lags (│lag│ = 0–1: P = 0.1895; │lag│ = 4-5: P = 0.0153, t test; nss = 50). Circles, means; vertical bars, SEMs. b Significance values (t test) of the differences of Did values (nss = 50) between lagged and synchronous conditions; ordinate P (∆Did) = P {∆RI-C [│lag│ > 0]–ref D}, in both aspects of interactions. Abscissa: lag [w after sh]) scaled in ff and ms (cf. Figs. 34)

In a second independent analysis (Fig. S4/Online Resource 4), we counted the signs of the ΔDid values of each session to classify two categories of ipsi-directional dominance (see sketch in Fig. S4A/Online Resource 4). For ΔDid > 0, the alignment response exceeded the reference (ref D) displaying the supra-reference status of ipsi-directional dominance (supra-Did), whereas for ΔDid < 0 the alignment response was classified as sub-reference status (sub-Did). The rates of supra-Did traits (Fig. S4B/Online Resource 4; P = 0.0135, paired t test; nlag = 5) and the magnitudes of supra-Did values at bigger latencies (│lag│ > 2; P = 0.0020, t test; n sh→w  = 49, n w→sh  = 56; Fig. S4C/Online Resource 4) were higher in shimmering bees as responders than in preying wasps as responders. Conversely, the magnitudes of sub-Did rates (Fig. S4C/Online Resource 4) decreased with absolute latencies in both aspects of interaction.

Both findings (Figs. 5, S4/Online Resource 4) demonstrate that shimmering bees have the capacity to align their collective response with the wasp’s flight direction significantly longer, at least up to 100 ms, than the wasps are able to align their flight paths to the propagation direction of the shimmering waves. This is proved by the findings that the wasps significantly reduced both magnitude and rate of ΔDid (sh → w: Fig. 5) already 40 ms past the onset of the driving cue, whereas shimmering bees even increased the magnitude of supra-Did values at time shifts of >40 ms (w → sh: │lag│ > 2; Fig. S4C/Online Resource 4).

Dependence of alignment of shimmering waves with preying wasps on topological relations

A typical A. dorsata nest is shaped alike a hemispherical plate and measures mostly more than 1 m in the horizontal span. It also has specialized regions, most of them peripheral to the mouth region, where shimmering waves are generally initiated (Schmelzer and Kastberger 2009). A wasp usually preys around the bees’ nest by hovering or scanning at an average distance of 50 cm (Kastberger et al. 2008), also below and above the nest, possibly by favouring certain regions of it. Therefore, it makes sense to include the relations between the positions of the wasp and of the gravity centres of the shimmering waves at every time step of interaction, from both perspectives (w → sh and sh → w). For that, four positional conditions were distinguished (POS1–4: Figs. 6c and 7c) in which the positional centre of one party was at the right, left, top or bottom side of that of the other party.

Fig. 6
figure 6

Directional alignment (w → sh) as assessed with the split-component method. This approach distinguishes four directional conditions of the wasp (coded red) and the gravity centre of the shimmering wave (coded blue). a The sketches explain the pairs of positional deviations (Δx and Δy) given for the four categories of alignments with ipsi-directional (code I) and contra-directional (code C) dispositions (as displayed in panel B). b Ordinate, alignment rates (DIR xI, yI, white bars in the histograms; DIR xI, yC, bright grey; DIR xC, yI, dark grey; DIR xC, yC, black) sorted after four positional relations (abscissa POS1–4, see panel C) summed up to the rate value of 1.0 for each of the sessions investigated (nss = 50); Histogram bars, arithmetical means; vertical lines, SEMs; the empirical data were exemplified for latency conditions of lag = 1. c Four positional relations: POS1: tr-bl; POS2: tl-br; POS3: bl-tr; POS4: br-tl; with t top; r right; b bottom; l left). d The specific constellation tl-br, where the wasp as stimulus was positioned in the given frame at the top-left (red: tl) of the gravity centre of the shimmering wave as responder. Conversely, the gravity centre of the shimmering wave was positioned at the bottom-right (blue: br) of the wasp. e Summarization of alignment rates regarding the four directional relations (DIR1–4): ordinate, the rate of alignment as defined in panel B; circles, medians of alignment rates regarding POS1–4, normalized to 1.0. Abscissa, latency in frames [ff] and milliseconds [ms] between wasp flight as stimulus and shimmering wave as response; regression polynomials: DIR xI yI, R 2 = 0.7927; DIR xI yC, 0.8160; DIR xC yI, 0.7577; DIR xC yC, 0.9187

Fig. 7
figure 7

Directional alignment (sh → w) as assessed by the split-component method. The sketch in panel D displays the sample constellation br-tl when the wasp positioned in the given frame at the top-left (red: tl) of the gravity centre of the shimmering wave (blue: br) was considered as responding to the shimmering wave as stimulus. e Regression polynomials: DIR xI yI, R 2 = 0.8564; DIR xI yC, 0.5698; DIR xC yI, 0.2323; DIR xC yC, 0.3841). For further information, see Fig. 6

The histograms (Figs. 6b and 7b) exemplify the aspect of shimmering bees and wasps as responders for the time shift of 20 ms (│lag│ = 1). The alignment rates were sorted into four directional (DIR1–4) and four positional (POS1-4) classes while for each experimental session (nss = 50) the total rate of inter-frame intervals was normalized as 1.0. The findings display preference of the wasps for specific positions at the nest, which probably results from site properties of the honeybee nest (and which would certainly differ with other nests). For the shimmering bees as responders (w → sh; Fig. 6b), most of the cases of alignment happened, irrespective of ipsi- or contra-directionality, at the positional relation POS1 (≡tr-bl), in which the wasp as stimulus was top-right (tr) to the gravity centre of the shimmering wave. Cross-referencing with the other aspect of interaction (sh → w; Fig. 7b) confirms that the positional preference of the wasp as responder was given at POS4 (≡br-tl).

Directional preferences for alignment

The defence hypothesis of shimmering has been proved for the aspect that shimmering waves have the potential to repel threatening wasps away from the nest (Kastberger et al. 2008). If directional alignment of shimmering waves with the wasp’s flight favours this repelling ability, shimmering waves should “follow” the wasp with the same diligence in any direction on the vertical plane of the nest surface (see Movies 110). With other words, the bees should not prefer in their alignment ability any flight direction of the wasp. Conversely, it can be expected that the wasp is neither benefitted by the direction of shimmering nor by her own alignment reaction to shimmering waves. Therefore, the wasp could likely be influenced in her responsiveness by secondary features such as site attributes of the bees’ nest (as actually demonstrated in the Figs. 6b and 7b).

Using the split-component method (see Material and methods), the attendances for directional alignment of shimmering bees and wasps in their roles as responders to the other party’s signals (sh → w, w → sh) were distinguished into four DIR1–4 classes (Figs. 6e and 7e). Both parties mainly align ipsi-directionally (DIR xI yI) whereby the rates decreased with increasing latency periods. The bees as responders (w → sh) aligned at a lower level (Fig. 6e) under partial and full contra-directionality (DIR xCyI, DIR xI yC, DIR xC yC). This gives evidence that the bees responded to all flight directions of the wasp with the same strength of alignment, conforming to the predictions of the defence hypothesis of shimmering. Conversely, the wasps as responders (sh → w) were more prone to horizontal than to vertical alignment with shimmering. This is displayed by the DIR xI yC graph in Fig. 7e which is positioned between proper ipsi-directionality (DIR xI yI) and x-based contra-directionality (DIR xC yI, DIR xC yC).

Estimation of the empirical headings

We compared the case-specific proportions of alignment values (r [DIR1-4], see Figs. 6 and 7) with those of the mathematical heading model (Fig. S3/Online Resource 3) according to the best-match (max-χ 2) criterion. In the simplest assumption that both parties (w and sh) equal in the headings (hx,y [sh] = hx,y [w]) the best match will result at a heading of h = 0.34 (coded by green colour in Fig. S3A,B,E/Online Resource 3).

For the best match with the empirical data, the two pairs of headings (hx,y [sh], hx,y [w]) were permutated stepwise. Figure S3D/Online Resource 3 illustrates here the last step of such a search for a selected proportion of headings (hx[w] = 0.59, hy[w] = 0.67, hx[sh] = 0.62), for which the missing vertical heading component was determined at the maximum of the respective regression polynomial P[χ 2] = f (hy[sh]) with hy[sh] = +0.154. Otherwise, the best-match permutation for the equity conditions of all partial headings (hx [sh] = hy [sh]; hx [w] = hy [w]) can be assessed according to the look-up table of Fig.S3/Online Resource 3 (green arrows). That way, multiple runs of the model led to the determination of the heading components of the empirical wasp’s flights with hx [w] = 0.18 and hy [w] = 0.34 and of the associated shimmering waves with hx [sh] = 0.24 and hy [sh] = 0.16.

These findings show that the wasp slightly emphasized the vertical heading whereas the shimmering responses were more uniform herein. Interestingly, they also may explain the conundrum of the ipsi-directional dominance (Did) in alignment under synchronous assessment conditions (Figs. 3 and 4b,c) because such alignment conditions (displayed by the green histograms in Fig. S3B/Online Resource 3, in comparison with the histograms in Figs. 6b and 7b) differed significantly from the random-walk process. Therefore, it is plausible to assume that the phenomenon of ipsi-directional dominance does result from an alternative process, most likely from the interference of the continuous, mutual and asymmetric interactions of the parties, which themselves switch repetitively between signaller and responder roles.

Discussion

The multiple goals of defence of shimmering

The wave-like shimmering in giant honeybees (Seeley et al. 1982; Oldroyd and Wongsiri 2006; Woyke et al. 2006; Kastberger et al. 2012, 2013a, b) is a collective action of the bees on the nest surface with the potential to repel predatory wasps (e.g. the autochthon species of Vespa orientalis, V. tropica, Vespa mandarinia). Such wasps usually hover or scan in front of the bees’ nest, preying on the stationary curtain bees or ambushing homing or departing forager bees in flight (Kastberger et al. 2008, 2011a). It is important to note here that the interactions between shimmering bees and preying wasps occur exclusively in the visual domain and that the repelling impact of shimmering is connected only with its flash-like rise in the ascending phase of the shimmering process (when the synchronously active cohort of bees increases in size within the period of 200-300 ms; see Kastberger et al. 2008, 2013b). This kind of visual flash elicits an avoidance response in the wasp addressee, making it fly away from the bees’ nest. However, as soon as the synchronously or serially shimmering-active cohort became smaller, at about 300 ms after the onset of the wave, the wasp resumes her preying activity (Kastberger et al. 2008).

Shimmering behaviour, however, provides additional features to dispel wasps from the range of the bees’ nest. If the wasp comes nearer to the nest or if she increases her flight speed in passing by the nest, the repetition rate of the shimmering waves is increased (Kastberger et al. 2008). If the threatening wasp eventually touches the nest, small local waves are produced which efficiently confuse the wasp and hamper its further effort to prey directly from the nest surface (Kastberger et al. 2008). If, nevertheless, a wasp is still in the touching position with the nest to capture a bee from the nest surface, curtain bees immediately draw her into the nest heat-balling her to death (Kastberger and Stachl 2003; Kastberger et al. 2011b) alike in other Apis species (Apis cerana: Ono et al. 1987, 1995; Ken et al. 2005; Apis mellifera; Tan et al. 2007; Apis florea; Seeley et al. 1982). All these facets of collective defence make it practically impossible for a wasp to concentrate on distinct spots and to capture a bee directly from the surface of a giant honeybee nest.

In this paper, a further defence goal of shimmering has been addressed, which may be counted among the most sophisticated traits in collective defence in insects (Johnstone 1997; Smith and Harper 2003; Alcock 2005). It is the specific ability of shimmering-active surface bees to couple the direction of their collectively produced wave with the momentary direction of the flight path of a threatening wasp (Movies 110). Importantly, this alignment behaviour initiated by the bees makes the wasp in turn follow the shimmering wave. This capacity of the shimmering-active surface bees seems to be an example of predator driving (termed as the mobbing analogue of prey driving; see Coppinger 2001; Hayward et al. 2011), which is documented in context with mobbing behaviour in vertebrates (Curio 1978; Dominey 1983; Arnold 2000; Osthreiher 2003). Mobbing behaviours have been reported from individuals of species of potential prey (Curio 1978; Alcock 2005), that cooperatively attack or harass unwanted intruders (cf. Chevalier 2013), usually to protect their offspring or to drive them away from a food source. In particular in birds, mobbing behaviour includes a series of displays such as flying about, dive bombing, loud squawking, defecating on the intruder and even summoning nearby individuals to cooperate in the attack by producing mobbing calls (Leger and Carroll 1981; Alcock 2005).

The findings in A. dorsata (Kastberger et al. 2008 and this paper), however, leave it still unclear whether shimmering in honeybees conforms to any of the latter mobbing theories. What is known up to now is that shimmering giant honeybees, as potential prey, is not likely to warn the intruders away from the nest by signalling physical fitness (which, however, has been proposed for the homologous behaviour in A. cerana; Tan et al. 2012). We see strong evidence that the flash-like shimmering patterns actually force the preying wasp to escape. The bees utilize particularly here startle reactions of the wasp as response to the ascending recruitment of shimmering participants in the first 300 ms of a wave (Kastberger et al. 2008, 2013b). But in a second defence line, shimmering also provides the phenomenon of directional alignment between the honeybees as prey and wasps as predators, which can be well compared to defence actions such as an African buffalo herd’s when confronting a lion, of lining up and attacking it (Alcock 2005; Chevalier 2013). The behaviours in both scenarios (shimmering bees vs. wasp and buffalo herd vs. lion) have at least the same consequence that the counterparts, the counter-attacking prey and the retreating predator, move in ipsi-directional formation (except when the mobbed lion predator refuses, to its disadvantage, to do so; e.g. Chevalier 2013).

The questions which were asked in this paper are first, whether such ipsi-directional alignment behaviours of giant honeybees at the nest surface with the flight path of preying wasps do have the power to drive the wasp out of the range of the bees’ nest, and second, whether the repelling capacity of shimmering flashes (Kastberger et al. 2008) is enhanced by this alignment behaviour. The data bring evidence for these surmises and document asymmetry in the mutual alignment responses of both counterparts (Fig. 5, S4/Online Resource 4) which benefits the bees to the disadvantage of the wasps. The findings support the directed-shimmering-drives-wasps hypothesis which expands upon the more general defence hypothesis of shimmering (Kastberger et al. 2008).

Mechanisms behind directional alignment

Theoretically, if two parties move, each of them in random direction, correspondence of their headings is incidental (Fig. S3A-C/Online Resource 3). The opposite situation arises if significant portions of the moving paths of both parties are aligned, which may happen also independent from heading values. Basically, moving organisms may align themselves in their headings of their motions in a large variety of displays. In the simplest way, directional alignment is caused by vectored structures of the ambient milieu, such as acoustic or gravitation gradients, or a stream current which, for example, makes a trumpet fish swarm swaying back and forth with the wave action of the water (Kuiter 2001). A more self-determined way of individuals to align their posture or movement directions is observed when the presence of others triggers the heading of an entire group of specimens. This happens in fishes in schooling (Reynolds 1987) or in swimming together with larger specimens such as pilot fishes following sharks (Randall et al. 1997); it happens in bird flocks (e.g. Ballerini et al. 2008), in the alignment on pheromone trails (Wilson 1962; Dorigo et al. 2000) and, which is important here, also in the interaction between potential predators and their prey (Alcock 2005; Chevalier 2013). These latter forms of directional alignment are caused by interactions between usually moving agents which show reactive interventions, mutual signalling and individual decisions.

In this paper, we utilized the latency aspect to separate the driving cues from the driven responses in the alignment reactions. This method bases on the principle that any reaction or any decision produced upon a driving signal occurs with a typical delay after the onset of the respective stimulus. In a prey–predator interaction, however, this principle is more complex because both parties have a double role; they emit signals and also respond to stimuli of the counterpart while one of the goals, defence or predation, finally happen to dominate.

Asymmetries between the directional alignments of the interacting counterparts

One of the covert principles behind directional correspondence, which has also been addressed in this paper, is the symmetry of its origin. Directional correspondence is evoked symmetrically if both counterparts align with similar strength and is evoked asymmetrically if only one of the two interacting counterparts has the ability to react, to decide and to align, or if one party dominates this kind of interaction. Theoretically, if neither the preying wasp nor the shimmering bees shows any tendency to mutual alignment, both counterparts would deliver a uniform distribution of their movement or posture directions in the entire circular range of 360°. The findings (Fig. 3), however, give evidence that directional alignment between shimmering bees and preying wasps is quite a dominant factor, and if the movements of both parties (w and sh) are compared in a stimulus–response paradigm by considering latencies, also asymmetries between the alignment responses of shimmering bees and wasps were traced (Fig. 5). By comparing the empirical data with the movement heading model (Fig. S3/Online Resource 3), it becomes clear that the phenomenon of ipsi-directional dominance (Figs. 3, 4, 5 and 6) can be seen as a form of steady-state alignment resulting from the continuous and directional interactions between prey and predator.

It is a matter of course that any alignment response between predators and their prey should be asymmetric due to the intrinsic difference of their goals. For the bees, as potential prey, any directional alignment will have more importance in benefitting the colony if the goal of alignment is to enhance the repellence power of shimmering (Kastberger et al. 2008). On the other side, wasps may recognize shimmering waves as a “nasty” visual cue to be “ignored” at the earliest possible moment. It is unlikely that any signal emitted by shimmering would benefit the wasps (cf. Kastberger et al. 2008), such as to prevent them from wasting time trying unsuccessfully to catch bees from the nest surface (which otherwise would be predicted by the handicap principle, Zahavi 1997). The findings brought up at least three aspects of asymmetry behind the alignment responses of shimmering bees and preying wasps, and, importantly, all of them are potentially benefitting the collective of honeybees.

Three aspects of asymmetry

First, following roughly parallel courses, both counterparts were quite different in their turning velocities (Fig. 4e). When turning, shimmering waves were, independently of the heading of the wasps, more than four times as fast as the wasps; this makes shimmering bees to be more reactive than wasps on prey.

Second, the findings (Figs. 47; see also Movies 1–10/Online Resources 514) show that both counterparts may be aligned to each other at a level of up to 15 %, but with significant differences shimmering bees aligned their collective response with the wasp’s flight continuously for at least 100 ms (Figs. 5, S4/Online Resource 4) after the onset of the signals produced by the wasps’ flight manoeuvres. The motive force of the wasp for active alignment was here much lower, as it decreased substantially already 40 ms after the respective signal from the shimmering pattern (Fig. 5). These findings designate the shimmering bees as the more persisting and thus dominating part in the mutual alignment process.

Third, the bees aligned their shimmering waves with the same strength in all directions (Fig. 6e), with no directional preference with the flight path of the wasps. This means that the bees recognize the wasp as a threat independently of the direction of her flight path. The wasps, however, were more reactive to horizontal than vertical movements of shimmering (Fig. 7e). Their alignment reactions are obviously influenced by the topology of the bees’ nest site. This preference for horizontal structures can be seen as a form of ideomotor responses (which are otherwise known of being associated with psychological contexts in humans rather than with insect behaviours; see Carpenter 1852; Stock and Stock 2004).

In summary, the capacity for continuous directional alignment of the shimmering waves with the flight path of wasps enhances the repelling power of shimmering (Kastberger et al. 2008). The honeybees, as compared to predatory wasps, take at least a threefold advantage of an asymmetry in the prey–predator interaction: by a higher turning velocity of their moving patterns (Fig. 2e), by a greater persistence (Figs. 5, S4/Online Resource 4) and by a uniform directionality (Figs. 6e and 7e). These findings may support the surmise that directional alignment of shimmering giant honeybees towards a wasp on prey make up the phenomenon of predator driving. This phenomenon is generally associated with mobbing behaviour, such as in selfish herds of vertebrate species (Hamilton 1971; Curio 1978; Arnold 2000; Alcock 2005; Chevalier 2013), but is, until now, unknown in the insect world (cf. Tan et al. 2012).