Introduction

Dead trees harbour an enormous diversity of species, many of which are threatened due to human impact through forestry and other land use (Stokland et al. 2012). The species that during some stage of their development are dependent on dead wood are often termed saproxylic (Dajoz 1966). They are often feeding on the wood or fungi growing in the wood, but may also be predators or parasitoids on wood-living organisms or use the wood as nesting site. Several actions are undertaken at forest operations to decrease the negative impacts on biodiversity, such as dead-wood retention, creating high-stumps and increasing the share of deciduous trees (Anonymous 2015; Gustafsson and Perhans 2010). However, the actions are, naturally, designed according to available knowledge, which means well known organisms. Poorly known groups have contributed much less. Among saproxylic insects, Coleoptera are comparatively well known, while e.g. Hymenoptera is less known. A key question, if we wish to preserve the full range of the biodiversity, is if the designed actions are fulfilling the requirements also of the less known species. The aim with this paper is to investigate that question for Hymenoptera.

Most saproxylic beetle species are more or less specialised on various characteristics of the wood (Stokland et al. 2012). Factors as tree species, stage of decay, degree of sun exposure, diameter and part of the tree are all important for determining the species composition in a piece of wood (Jonsell et al. 1998; Köhler 2000; Palm 1951, 1959). The fungal flora in the wood is less conspicuous to the human eye, but also very important for which species that could be found (Crowson 1981; Jonsell et al. 2005). Different factors are important to different species, and a species totally specialised to one certain tree species might be indifferent to the level of sun-exposure and vice versa.

It is hard to give an estimate on how many Hymenoptera species that are saproxylic, except for some well known groups as aculeate wasps and Siricidae (Bogusch and Horak 2018). This is true even for the well-studied and species-poor fauna of Fennoscandia. Slightly more than 800 saproxylic Hymenoptera species are known in Fennoscandia, but the real number is estimated to be at least 50% higher (Stokland and Siitonen 2012). That diversity is in level with the number of saproxylic beetles (1450 species) and flies and mosquitoes (around 2000 species) in the same region (Stokland and Siitonen 2012).

Unlike the beetles, most Hymenoptera species are parasitoids (Gauld and Bolton 1988; Hilszczański 2018). This trait implies one level up in the trophic guild compared to species feeding on a primary resource, such as wood or fungi. Higher trophic level increases the risk for extinction (Komonen et al. 2000; LaSalle and Gauld 1993; Shaw and Hochberg 2001; Shaw 2006; Hilszczański 2018). High degree of specialisation is another trait associated with high extinction risks (Clavel et al. 2011), and from an evolutionary perspective it seems likely that risks of a higher trophic level are compensated by lower risk with a less specialized strategy. Specialisation may be defined by many different variables, and among saproxylic species it usually concerns how specific the species is in the choice of wood types. In this paper we measured it as the number of wood types that the species use. For a parasitoid this realized niche is mediated through the use of host species, which at least in part will be dependent on the habitat specificity of the host. In summary, we expected parasitoids to be less specialised in the use of wood types than the basic trophic level.

No comparisons of specialisation among wood types among species of Hymenoptera versus other insect groups exist, to our knowledge. However, it has been shown that species of the families Ichneumonidae and Braconidae much depend on both the forest type and the type of dead wood in the surroundings (Hilszczanski et al. 2005; Stenbacka et al. 2010). Thus, there seem to exist specialisation, but whether it is large or small compared to other saproxylic species is difficult to evaluate. This is true especially for the small and even more poorly known species in Pteromalidae and Eurytomidae, which often are more numerous than Ichneumonidae and Braconidae in the wood (Hedgren 2007). Since we expected that the parasitoid life style might affect niche use, we analysed the Hymenoptera in two different groups: parasitoids and non-parasitoids.

Among saproxylic non-parasitoid Hymenoptera, there are wood wasps, ants, digger wasps and bees. Wood wasps feed on the wood (by help of fungi) whereas the other mentioned groups use wood substrates with available holes for nesting, bringing prey or pollen as larval food (Westerfelt et al. 2015; Bogusch and Horak 2018).

Our aim was to test whether Hymenoptera have substrate requirements similar to beetles. If that is supported, the conservation actions designed on knowledge from Coleoptera could be expected to work also for this poorly known species group. If not, actions would need to be revised. Data for the study was obtained by identifying the Hymenoptera material from a previous study of Coleoptera in logging residues (Jonsell 2008; Jonsell et al. 2020; Wedmo 2004). Previous results on Diptera (Jonsell et al. 2020) were also included in the comparison. The questions we asked were:

Are the associations of Hymenoptera (parasitoids and non-parasitoids) to different categories of wood (tree species, age and diameter) similar to the associations of Coleoptera and Diptera?

Is the degree of specialization, measured as niche breadth, of Hymenoptera to various types of dead wood higher than for other insect groups?

Material and methods

Samples of logging residue wood were collected from 40 clear-cut sites (Fig. 1A) in southern Sweden from autumn 2003 to spring 2004. Three main factors were compared: tree species (four species), diameter (three classes), and substrate age (two ages). To ensure that we collected all factor-combinations evenly within the sampled area, it was divided into 14 regions with the same sampling in each region. Suitable clear-cuts in each region were identified by foresters at the Forestry board, Holmen, Sveaskog, Korsnäs and Stora Enso according to our specified criteria: age since cutting and tree-species composition.

Fig. 1
figure 1

Pictures of the sampling and rearing: A) a clear cut site from which we sampled B) bundles of wood out of which we reared insects in containers of C) plywood or D) textile sacs

From each clear-cut we sampled four tree species: aspen (Populus tremulae L.), birch (Betula pubescens Ehrh. and B. verrucosa Ehrh.), oak (Quercus robur L.), and spruce (Picea abies (L.) Karst.). If a tree species was missing in a sampling site, that tree species was, if possible, sampled from another clear-cut in the direct vicinities. For each tree species, we took samples from three diameter classes: Thin (1–4 cm), Medium (4–8 cm) and Coarse (8–15 cm). The two thinner classes are usually defined as fine woody debris, whereas the coarsest class is generally defined as coarse woody debris. From each clear-cut, we sampled two bundles of each combination of tree species and diameter class, giving 24 bundles of wood per clear-cut. The substrate age could be compared as the clear-cuts were chosen in pairs of two ages situated between 1 and 3 km from each other, where one clear-cut was one summer (Young) and the other between 3 and 5 years old (Old), thus giving 20 clear-cuts of each age.

The sampled wood was cut into 50 cm lengths and packed together in 25–35 cm diameter bundles (Fig. 1B). The bundles were brought to the laboratory, where the insects were reared out of the wood in a greenhouse at a temperature of about 20 °C. There were some deviations from this temperature, especially during warm days in the summer, but all samples within the same rearing cohort experienced the same temperature regime. The rearing continued for at least three months. More details on the sampling procedure can be found in Jonsell et al. (2007). That source also includes data on the quantity of wood in the samples.

For practical reasons we had to use two types of rearing containers: wooden boxes (Fig. 1C) and textile sacs (Fig. 1D). To account for the effects of using different rearing containers (Jonsell and Hansson 2007), one of each bundle type (site, tree species and diameter combination) was enclosed in each type of container. For rearing in textile sacs, the bundles of wood were hung from the ceiling by a string, then enclosed in a cotton sac with metal wires on the inside to prevent the wood coming into direct contact with the sac. The insects were collected in a plastic vial attached to a plastic funnel at the bottom of the cotton sac. The remaining wood bundles were placed in boxes made of plywood. Insects were collected in a glass vial inserted in one gable end. At the end of the rearing period, the remains from the bottom of the wooden box were also inspected for insects, since not all insects were caught in the vials.

To compare the surface areas and volumes of the bundle categories, the number of wood pieces in every bundle was counted and multiplied by the area/volume of a piece representing the median for the class (Jonsell et al. 2007). All bundles had similar bark surface areas (Jonsell et al. 2007). Consequently, the volume of firm wood was largest for the coarsest diameter class. For most saproxylic species, especially in the early stages of wood decay, the surface area is probably a better descriptor of the amount of habitat than wood volume, because such species live in the space between the bark and the wood.

The saproxylic Coleoptera and Diptera were determined to species in earlier studies (Jonsell 2008; Jonsell et al. 2020). The Hymenoptera were first sorted to family-level by the authors MF, JS and HV. JS identified most of the Braconidae to species-level, with some help from MF and Konstantin Samartsev (Russian Academy of Science, St. Petersburg, Russia) in the subfamilies Doryctinae and Braconinae. HV identified most of the aculeates and the single wood wasp to species-level, with help from Niklas Johansson (Swedish Species Information Centre) and Lars Norén for some Aculeata and William Englund (NHRS) for Formicidae. MF identified most of the Chalcidoidea, the Bethylidae and the Figitidae to different levels, whereas the Eulophidae were identified by Joseph Berger (Lund University) and Christer Hansson (Biological Museum, Lund, Sweden). Many Hymenoptera were not identified to species-level, partly because the physical state of many of the smaller, weakly sclerotized specimens had significantly deteriorated after more than a decade in suboptimal storage and partly because of the lack of available taxonomic expertise. The Hymenoptera species were analysed in two different groups: parasitoids and non-parasitoids. Data on host use of the parasitoid taxa were extracted from relevant literature (cited in Table 2).

Statistics

In total, 612 samples were used in the analyses. Thus 348 samples are missing compared to the possible total 960, either because they either could not be collected (due to lack of some tree species in some locations) or missing data (see further in Jonsell et al. 2007). Data inspection ensured that all factorial combinations were evenly included and distributed throughout the area, suggesting no risk of bias in the sampling design. Initial preliminary analyses showed that region and rearing method had non-significant effects when they were included as co-variables. Since our main question of the study was wood type affinity, these variables were therefore excluded from further analyses.

Associations with categories of wood type were modelled with generalized linear models (GLM) where the response variable, abundance of a species, was explained by the three explanatory wood type variables (diameter category, age class and tree species). Analyses were done for all species with > 9 occurrences (in unique samples). We used the function glm in R version 3.5.1 (R Core Team 2018) to fit the models, assuming a Poisson distribution. Using the same distribution for all species was preferred over adjusting to potential deviations from the Poisson distribution for some species as this ensures the comparability of the model coefficients in further analysis (Gelman and Hill 2007). It is not likely to cause any one-directional bias since we are not using significance test for the individual models (Olsson 2002). The outcome of the models was used to define the niches of each species as described below.

Niche breadth was assessed for each species by the share of wood categories that it was associated with, i.e. its niche. It was first calculated for each variable individually, thus given a value between 1/n (n = the number of categories for the variable) and 1 (when there was association to all categories). Those three values were subsequently multiplied into a total niche breadth (as described below). To define the association, we initially tested which variable/-s that could explain a relevant amount of the variation in a forward selection process. We used AIC-informed forward-step selection of the three variables (‘step’ function within the R statistical package). Variables were included if k > 2, i.e. if inclusion of the variable lowered AIC > 2 (Venables and Ripley 2002; Burnham and Anderson 2002). Variables not explaining a relevant amount of variation in abundance (i.e. not included by the forward-step selection) were assigned a niche breadth = 1.

For variables that could explain a relevant amount of variation, we assessed which wood categories that belonged to the niche by comparing the abundance in each category relative to the category with highest abundance. For this we used coefficients obtained from species-specific full models (i.e. with all three variables included). Coefficients were calculated by predicting the response variable (i.e. abundance) for all variable combinations (including those variables that did not explain any variation), and for each focal variable we summarized the mean abundance under all other combinations (Gelman and Hill 2007). Categories within a variable that had the highest abundance or a relative abundance ≥ 0.5 of the highest abundance, were defined as a primary niche. Categories with a relative abundance of 0.5–0.1 compared to the highest abundance were defined as a secondary niche. If the relative abundance was lower than 0.1, the category was defined as a non-niche. The niche breadth within a variable was then calculated by dividing the number of used niches with the number of categories, where secondary niches were down-weighted to a half niche. Thus, an association with one of the four tree species gave a niche breadth of 0.25 for that variable. An additional secondary association to another tree species added in that case 0.125, so the niche breadth then summarized to 0.375. The total niche breadth for a species was the multiplication of the three variables’ niche breadths.

Mean niche breadth was compared between insect groups with t-tests. We compared the variable-categories with which the species groups are mainly associated, by counting the number of associated species. When a species was associated with no variable it was counted in an additional category as “No association”. For Age and Diameter we counted only the categories to which each species had its strongest association, as those variables are ordinal. For Diameter, associations were defined only with the two extreme categories (Thin or Coarse) even though in some cases Medium had the highest value. However, Medium was never the only category that any species used and it is biologically unlikely that a species would have such a narrow diameter association that Medium would in reality be higher than both the two extremes (Siitonen and Stokland 2012; Ehnström and Axelsson 2002; Jonsell et al. 2007). Therefore, species estimated to have Medium as their single primary niche and both Coarse and Thin as secondary niches were assigned as “No association” (refining the analyses based on our ecological knowledge as suggested by Gelman and Hill (2007)). Similarly, when Medium was single primary niche and either Coarse or Thin was the secondary niche, species were assigned to that respective secondary niche. The variable Tree species is not ordinal, and therefore all tree species with which an insect species had an association (both primary and secondary) were counted.

We tested if there was a statistically significant difference (p < 0.05) between the insect groups in the proportion of species associated with different categories of Age and Diameter with a Chi-square test for contingency tables. For Tree species, the same test was done for each tree species individually, because one insect species may be associated with more than one tree species. JMP Pro 16.0.0 for Mac was used for the t-tests and the Chi-square tests.

Results

A total of 4413 Hymenoptera individuals belonging to 165 different taxa were identified. 19 of those taxa were frequent enough for statistical analyses: 12 of those were parasitoids, and 6 non-parasitoids, of which 5 were aculeate wasps and 1 (Xiphydria camelus) a wood-wasp (Xiphydriidae) (Table 1).

Table 1 Hymenoptera taxa reared out in frequencies large enough for statistical analyses.  Associations are given according to results of GLMs (Appendix 1). The numbers (1, 2 or 3) in front of the variable categories denotes the order in which they were included in the GLM, with the most explanatory variable included as no

The proportion of Hymenoptera species associated with the different diameters of wood deviated from both Coleoptera and Diptera. Parasitoid Hymenoptera were to a higher degree associated with thin wood diameters, whereas the non-parasitoid Hymenoptera had a higher proportion of species with no association (Fig. 2, Pearson Chi-square = 10.0; p = 0.040 when only parasitoid Hymenoptera are compared with Coleoptera and Diptera).

Fig. 2
figure 2

Proportion of species in different insect groups associated with wood of different diameter categories (thin = 1–4 cm; Coarse = 8 -15 cm). Statistical probability for that all groups have the same distribution between diameter categories (Pearson Chi-square p = 21.1)

Association to age classes of wood showed a higher proportion of parasitoid Hymenoptera in young wood than for the other groups (Fig. 3), whereas the non-parasitoid Hymenoptera had somewhat higher (non-significant) proportion of species in old wood than Coleoptera and Diptera (Fig. 3).

Fig. 3
figure 3

Proportion of species in different insect groups associated with wood of different age classes (Young = One summer old; Old = 4–5 years old). Statistical probability for that all groups have the same distribution between age categories (Pearson Chi-square p = 14.0)

A significantly smaller proportion of species among the parasitoid Hymenoptera used the two tree species aspen and birch, compared to the other groups (Fig. 4; For aspen: Pearson Chi-square = 9.0; p = 0.028; for Birch Pearson Chi-square = 10.3; p = 0.016). The non-parasitoid Hymenoptera used them in much higher proportion and especially birch. For oak there were no significant differences among the groups in the proportion of species using it (Pearson Chi-square = 2.9; p = 0.41). Spruce was used by a comparatively large proportion of species of both groups of Hymenoptera (Fig. 4, Pearson Chi-square = 8.5; p = 0.037).

Fig. 4
figure 4

Proportion of species of different insect groups using wood of different tree species. Statistical probabilities are Pearson Chi-square tests of the probability that all groups have the same distribution within a tree species. An insect species can be associated with more than one tree species explaining why the total share of associated species per group is > 100%

The niche breadth was larger for the non-parasitoids than for the parasitoid Hymenoptera (Fig. 5). For the parasitoid Hymenoptera the tendency was that the niche breath was narrower than for Coleoptera and Diptera, but the difference was not significant (Fig. 5).

Fig. 5
figure 5

Niche breadths among four groups of insects reared out from logging residues: Coleoptera, Diptera, Parasitoid Hymenoptera and non-Parasitoid Hymenoptera. Green line = average; Red = boxplot with medians quartiles and extremes. The broadest niche is statistically different (multiple pairwaise comparison, Students t) from the others as indicated by letters A and B

Discussion

Our expectation regarding the parasitoids was that their higher trophic level should be compensated by less specificity in host substrate. This was contradicted, as there was no sign of lower specialisation among parasitoid Hymenoptera compared to Coleoptera and Diptera. The insignificant trend actually pointed in the opposite direction to our expectation, indicating that the lack of support for it was not only a statistical Type II-error. A higher specialisation is related to higher extinction risks (Clavel et al. 2011; Shaw and Hochberg 2001; Hilszczański 2018) and adding the higher extinction risk that comes with higher trophic level, it suggests that there should be many threatened species among parasitoid Hymenoptera. This is hardly reflected in Red Lists as most parasitoid Hymenoptera are so poorly known in terms of life history, distribution and population trends that they usually have not been possible to evaluate. Only 1/8 of the Hymenoptera were evaluated in the most recent revision of the Swedish red-list (Johansson et al. 2020) and even fewer before that. However, the suggested high extinction risk from specialisation may be contradicted by the commonness of the thin wood that many parasitoid Hymenoptera species were associated with (Fig. 2). Thin wood is more common than coarser, and has moreover increased during the last 100 years due to increased amounts of trees (Dahlberg et al. 2011) and we can expect species using the most common wood type to have less risk for extinction. With present knowledge it is not possible to predict how extinction risk is traded off between specialisation and commonness of substrate. That there might be more species sensitive to forestry management among parasitoid Hymenoptera than among Coleoptera, where most species feed on the primary resources fungi and wood, has, however, been suggested in other studies (Hilszczanski et al. 2005; Stenbacka et al. 2010).

The total number of Hymenoptera species found in the wood was very large and included several rare or at least rarely recorded taxa, including species of Aulacidae, Tiphiidae, Sapygidae, undescribed species of Figitidae and rare Braconidae (will be listed in a separate paper). Unfortunately, most species were so scarce in the material that it was not possible to include them in the present analysis. Most of them are parasitoids, suggesting that there is a large diversity of species not encompassed in our analyses which we can expect to be sensitive to modern forest management.

The category of non-parasitoid Hymenoptera was dominated by aculeate wasps that use the wood as nesting site, and not so surprisingly they were not so selective in terms of wood quality. Actually, half of the species within this group in Czech Republic are not even specific on the types of material they use (Bogusch and Horak 2018). They use emergence holes made by other saproxylic species, including longhorn beetles, bark beetles, anobiid beetles, and wood wasps, as nesting sites. For them, hole diameter is the most important factor (Westerfelt et al. 2015), and although different saproxylic species rear out from different types of wood, the right diameter for a particular wasp can be made by many different species and therefore be present in most types of wood (Ehnström and Axelsson 2002). The dependence on the holes also explains why these species were reared from “old” wood as the holes are not formed before some year(-s) has passed. The low specificity suggests a lower extinction risk in relation to supply of dead wood.

Only one of the non-parasitoids in the analysis, the woodwasp Xiphydria camelus is a species that actually feed on wood. Thus, it was not so surprising it was more specialized than most species using the wood as nest-substrate. The species is a primary colonizer of wood, and consequently associated with young wood. Primary colonizers are usually forced to be restricted in host use (Jonsell and Nordlander 2004; Stokland 2012; Sielbold et al. 2022) and this species only used birch in this study. The ant Leptothorax acervorum was specialised to a similar degree as X. camelus, although it uses the wood as nesting site. We cannot find any good explanation for this as ants generally are not that specific in what type of wood they use (King et al. 2018).

Especially in the cases where several species were lumped into genus-level taxon units (but also in some more or less uncertain species-level identifications or morphospecies) there may be real specialisations among included taxa that are hidden by the lumping. As long as the units are entire monophyletic groups they are nevertheless meaningful biological units and the process is transparent and reproduceable. Three of the four genus-level units used here are non-parasitoids using available holes, for which such specialisations are less likely to be prominent (Bogusch and Horak 2018).

When it comes to substrate choice in relation to diameter and age of the wood, the two groups of Hymenoptera were the two extremes compared with Diptera and Coleoptera. Especially the parasitoid wasps stood out from the others with a high proportion of species associated with young and thin wood. The parasitoids moreover had low proportion of species using aspen and birch. Both these results are probably largely explained by that many of the parasitoid wasps have bark beetles as one probable host (Table 2). For three of the parasitoids, host use cannot be clearly stated, but only three parasitoids are known from non-bark beetle hosts only (references in Table 2). Thus, at least 10 species out of the total 13, are, or can be, associated with bark beetles (Table 2). As the hosts occur densely in newly dead wood of fine diameters of spruce and oak and less in birch and aspen (Jonsell 2008), our results are logical.

Table 2 The host use and parasitic mode of parasioid wasp taxa reared out in frequencies large enough for statistical analyses in this study

In conclusion, the Hymenoptera deviated mainly from the Coleoptera by being more associated with fine wood diameters. This deviation is usually not a conservation problem since the finest wood usually is overrepresented after forest operations as thin wood is not so efficiently extracted and less profitable than coarser wood (Rudolphi and Gustafsson 2005; Dahlberg et al. 2011). Thus, our results do not suggest any new mitigation actions for forestry. However, the high specialisation of the parasitoids suggest that the amounts of mitigations should be increased as species loss seem to continue (Felton et al. 2020). At stump extraction, insects in the second trophic level seemed to be more sensitive (Victorsson and Jonsell 2013). The large number of parasitoids are double sensitive by being both one trophic level up and being specialised in the choice of wood. Future studies of population trends and distribution of parasitoid Hymenoptera might reveal that we have larger problems than what is already reflected in red-lists and similar surveys. We should also investigate if those poorly known species can be early indicators of species losses as they could be expected to be extinct before primary consumers of wood.