Abstract
Adaptative foraging behaviour should promote species coexistence and biodiversity under climate change as consumers are expected to maximise their energy intake, according to principles of optimal foraging theory. We test these assumptions using a unique dataset comprising (1) 22,185 stomach contents of fish species across functional groups and feeding strategies and (2) prey availability in the environment over 12 years. We explore how foraging behavior responds to variance in ecosystem productivity and temperature. Our results show that foraging shifts from trait-dependent prey selectivity to simple density dependence in warmer and more productive environments. Contrary to classical assumptions, we show that this behavioural change leads to lower consumption efficiency as species shift away from their optimal trophic niche. Dynamic food-web modeling demonstrates that this behavioral response to warming could undermine species persistence and biodiversity. By integrating empirical adaptive foraging behavior into dynamic models, our study reveals higher risk profiles for ecosystems under global warming.
Introduction
Ecosystems are experiencing abrupt changes in climatic conditions, making it ever more important to predict and understand how they will respond to future changes. Global warming will affect various levels of biological organisation; from physiological processes occurring at the individual level1,2 to patterns at macroecological scales3,4. Warming impacts will cascade through these different organisational levels, changing species composition5 as well as community and food web structure6–8. By scaling up temperature effects from species physiology to food webs9, trophic interactions play a key role in the response of ecosystems to global warming10.
To assess the future of ecological communities, food web models that build on biological processes observed at the level of individual organisms can be used to translate mechanisms and predictions to the ecosystem level. For example, Allometric Trophic Networks11 (ATN) quantify effects of body mass and temperature on the biological rates of consumers and resources to predict species biomass changes over time and across environmental conditions11,12. Thus, ATNs facilitate understanding of how physiological responses to warming translate into species coexistence and biodiversity12. However, the ability of ATNs to derive sound predictions for large communities under changing environmental conditions has been challenged, stressing the need for more biological realism10,15.
Indeed, a strong limitation of these models is that species are characterised by a set of biological rates that respond to temperature, such as metabolic or attack rates16–18. Therefore, species are limited to physiological response to warming, whereas the behavioural component is largely ignored. However it is well established that species also respond to warming by changing their behaviour19,20, and that this is a key variable in supporting species coexistence21–25, which needs to be incorporated into food web models to improve their predictive power. Energetic demands increase with temperature, but species can offset this by adopting various strategies to increase their energy intake. Species can actively forage on more rewarding resources27,28, typically prey that are close to the maximum body mass that consumers can feed on29. Therefore we expect that predators consume larger prey (trait-based selectivity) at higher temperatures, reducing predator-prey body mass ratios (H1). Alternatively, individuals under high energetic stress may accept less rewarding (smaller, but more abundant) prey upon encounter (H2) leading to a lower trait-based selectivity, and a trophic niche driven more by neutral processes (random encounter probability). The two proposed hypotheses would lead to contrasting effects on communities. Trait-based selectivity (H1) may increase the strength of consumer interactions with a limited set of prey, depleting the latter’s biomass. Alternatively, if neutral processes are driving selectivity (H2), consumers will mostly forage on abundant species, leading to a stronger control of their biomass, which could prevent competitive exclusion and therefore enhance species coexistence25,32. To test these hypotheses, we compiled a database of 22,185 stomach contents from 6 demersal fish species and analysed the response of these consumers to changes in temperatures and productivity. Subsequently, we addressed the consequences of these empirical relationships by integrating them into a population-dynamical model to predict how species coexistence changes with warming.
Response of fish to temperature and productivity gradients
We used our database to document how consumer foraging behaviour responds to temperature and productivity. The six fish species considered belong to two functional groups differing in body shape and foraging behaviour (flat, sit-and-wait predators versus fusiform, active hunters). We used skewed normal distributions to fit the prey body mass distributions observed in fish stomachs (hereafter called the realised distribution) and in their environment (hereafter called the environmental distribution) (Fig. 1). The environmental distribution defines what is expected if neutral processes drive fish diets: it represents the expected body mass distribution of prey in fish stomachs if consumption were driven by density-based encounter rates only. However, these two distributions are usually not identical, because consumers actively select prey with specific body masses. We used the ratio of realised and environmental distributions to calculate fish selectivity with respect to these different prey body masses to obtain a preference distribution (see Fig. 1, Methods). This preference distribution describes consumer selectivity based on traits (i.e. the prey body masses that allow an interaction) and consumer behavioural decisions.
Presentation of the different distributions of fish prey body mass. The environmental distribution (green) represents the distribution of prey body mass in the ecosystem. The realised distribution (dashed red) represents the body mass of the prey in a consumer stomach, and the preference distribution (blue) represents the selectivity of a consumer towards a specific prey body mass. a) All of the log prey body masses are equally represented in the environment so the distribution of prey body masses observed in a consumer’s gut represents the body masses on which it actively foraged (its preference distribution) andpredation is driven by trait selectivity only (hypothesis 1). b) The body mass distribution of the prey observed in the gut and in the environment are equivalent, so the prey consumed by the predator were entirely driven by encounter probabilities (i.e. a neutral process), implying no active selectivity over specific prey size classes (hypothesis 2). Panels a) and b) represent extreme scenarios while real-world data are more likely to be described by two different distributions, as in c) where the body mass distribution of prey observed in the stomach and in the environment differs, so that the consumer specifically forages on some prey body masses that are represented by the preference distribution. High values in the preference distribution represent body masses that are over-represented in fish stomachs in comparison to what is available in the environment.
We first considered how the body mass distributions in consumer stomachs were changing with predator body mass and foraging strategy, as well as environmental conditions (temperature and productivity) using a linear model to predict the median of the realised distribution.
We selected the most parsimonious model based on AIC. In cases of a significant interaction between temperature and productivity, we presented the effect of temperature at two different levels of productivity (which is a continuous variable) that correspond to the two modes of the distribution of environmental productivity (SI II). As expected33,34, we observed that the median of prey body mass increased with predator body mass (Fig. 2a, b, Table 1).
response of the realised distribution to predator body mass and environmental gradients
Response of the median body mass of the realised prey body mass distribution to predator body mass (a, b), and temperature (c, d) at different productivity levels for the two fish functional groups. Points represent non-transformed data across all productivity levels and lines present model predictions. The shaded areas show the 95% confidence interval on the predicted values. Colours represent the fish functional groups (flat versus fusiforms).
The effect of temperature depended on environmental productivity: the body mass of consumed prey increased with temperature at low environmental productivity, but tended to decrease at higher productivity (Fig 2c, d, Table 1). Interestingly, the response of prey body mass was identical for the two different predator body shapes and foraging strategies. These effects alone are insufficient to describe a change in fish behaviour as the distribution of prey body mass also changes along environmental gradients (SI II). To disentangle the effect of prey availability (neutral processes) from the fish behavioural response, we estimated the preference distribution that depicts fish selectivity independently of the environmental prey distribution (see Methods). We analysed the response of this fish preference distribution in the same way as for the realised distribution. Our results confirm the importance of species traits for structuring trophic interactions, as larger fish are foraging on larger prey (Fig. 3a). They also emphasize that ecosystem productivity alters the temperature-dependence of fish foraging behaviour with a significant interaction between temperature and productivity (Fig 3b, Table 2). The temperature effect was only significant above a productivity threshold of 102.52 (SI III) indicating that fish only adapted their feeding behaviour to temperature by foraging on smaller prey in warmer conditions when resources were plentiful. We did not detect any interaction between fish shape and other covariates, suggesting that the behavioural responses to temperature and productivity are similar for fish species with different body shape and foraging strategies.
Response of the median prey body mass of the preference distribution to predator body mass, temperature and productivity. Points represent non-transformed data across all productivity levels and lines represent model predictions. The shaded areas show the 95% confidence interval on the predicted values. Grey and green colour represent two different productivity levels at which the temperature effect is represented.
The energetic stress that warming imposes on individuals through increased metabolic rates should be mitigated by higher feeding rates at higher prey availability in more productive environments. Thus, because the effects of temperature and productivity should cancel each other out, we expected a stronger adaptive response at low productivity, where consumers must cope with maximum energetic stress. Surprisingly, we did not find a significant effect of temperature on preference for prey sizes in the least productive environments (Fig. 3b, SI III). One explanation for this may relate to the generally low productivity of the Baltic Sea at the period of our study35,36. At very low productivity, fish are experiencing high energetic stress (regardless of temperature) because resource density is low and they cannot afford to miss a prey upon encountering it, even if this prey is far from their preferred body size. Under such stressful conditions, there may be no scope for predators to adapt their feeding behaviour as temperature increases. In more productive environments, feeding behaviour may be less constrained, increasing the adaptive capacity of the fish. Indeed, under such conditions, a cold temperature corresponds to low energetic stress due to a combination of low energetic demand and high resource availability), which allows fish to select prey based on traits. However, warming increases energetic stress because the resource availability is similar whereas the energetic demand rises, forcing fish to engage in non-selective behaviour.
Therefore, our results support hypothesis 2 that as temperature increases in productive environments, fish become less selective for prey size so as not to miss foraging opportunities, which is consistent with what happens at any temperature when productivity is low. This feeding behaviour, which lowers trait-based selectivity, imposes several disadvantages on consumers. As smaller prey are more abundant, consumers miss out on larger and thus energetically more rewarding resources while handling smaller prey. Indeed, our analyses reveal that consumers miss these larger prey, as we observed a very weak and negative temperature effect on the width of consumer trophic niches (SI IV). This suggests that the increased consumption of smaller prey in warmer environments happens at the cost of missing out on larger prey, which can be critical to satisfying the energetic needs of consumer species37. This observation tends to mitigate our assumption that adaptive behaviour leading to more neutral-driven consumption should increase species coexistence in the face of warming. Indeed, metabolic rates increase with warming faster than feeding rates, leading to the extinction of top predators due to starvation31,38,39. This starvation effect explained by physiological process can cumulate with our observed behavioural response: consuming outside of the most efficient predator-prey body mass ratio is, in general, associated with a lower energy flux through food webs, which may limit the coexistence of consumer species37,40. The combination of direct and indirect effects of warming could increase the likelihood of extinction of top predators in food webs, which are usually considered key species for the maintenance of biodiversity and ecosystem functionality41.
Consequences for species coexistence under global warming
Adaptive foraging in response to varying local conditions is often considered to foster species coexistence25,26,42. The general assumption behind this conclusion is that consumer species will adapt their foraging strategies in order to maximise their energetic gains43. However, our results, based on an allometric framework, suggest that consumers tend to depart from this optimal behaviour under stressful conditions. We explored the consequences of this behaviour using a population dynamic model that predicts the temporal dynamics and coexistence of species in food webs. The model was parameterized with species body masses and temperature (see Methods). We ran two versions of this model: one including adaptation of species diets to local temperature and productivity conditions as informed by our empirical results, and one without this adaptation, corresponding to the classical modelling approach44. We simulated the dynamics for synthetic food webs of 50 species (30 consumers and 20 basal species) over a temperature gradient spanning from 1°C to 25°C to predict the number of extinctions at different temperatures. Overall, we observed that models incorporating adaptive foraging were more sensitive to warming (Fig. 4), as for models without behavioural adaptation the proportion of extinct species remained low over a larger temperature gradient. These results were not affected by the choice of specific values for ecosystem nutrient availability or the functional response type that are free parameters of our model (SI V)
Number of species extinctions predicted by the model at different temperatures. The blue line represents the model output with adaptation of species’ diet to local temperature and productivity conditions was considered, the red line shows extinctions without allowing for this adaptation. The shaded areas show the 95% confidence interval on the predicted values. Predictions were estimated using a GAM (REML method) with a binomial link function.
The effects of warming on the trait structure of communities8 and the distribution of trophic interactions7 are well documented, but a framework for integrating changes in feeding behaviour with a general modelling approach has been lacking. Our results stress the importance of accounting for foraging behaviour to better understand and predict community responses to climate change and challenge previous conclusions on this topic. Indeed, the discrepancies between the models with and without adaptive foraging suggest that the classical approach, which only accounts for changes in species physiology10,12, may have overlooked a significant portion of species responses to warming. Importantly, our results show that, contrary to common expectation, behavioural adaptations in response to climatic stress reduce the likelihood of species coexistence and community biodiversity.
Future directions
The similarity in responses between the two feeding strategies (sit-and-wait and active foraging) of our consumer species indicates some generality of our results, but it is now important to further generalize our results across a wider range of species and ecosystem types. For instance, metabolic type has an important effect on the response of species to temperature45 and endotherms could respond differently to ectotherms such as fish.
Generally, food web models incorporating foraging behaviour are based on optimal foraging theory and thus miss a data-driven description of how consumers’ diet selectivity changes in a natural context. To address this, we developed a trait-based framework to document the response of foraging behaviour to temperature that can be incorporated into predictive food web models and allowing us to derive predictions on species coexistence. Our approach can be generalised to other ecological variables that affect food webs and foraging behaviour, such as fear of predators30 or habitat complexity46 for instance. Finally, the effects documented here come from data sampled at rather low temperatures and levels of productivity. Therefore, it is crucial to extend our regression models to more productive and warm ecosystems. For instance, one can argue that very high levels of productivity would balance the energetic stress related to temperature increase, limiting fish adaptive response to warming in eutrophic environments.
Conclusion
It is generally assumed that consumers respond to environmental conditions by making optimal choices maximising their energetic income26,47,48. This assumption was used to derive several predictions in ecology about community structure and species coexistence. For instance, it is often considered as a solution to May’s paradox49 based on the discrepancy between the prediction of a mathematical model posing that complex communities should not persist in nature and empirical observations of ecosystem complexity. It is therefore usually assumed that species’ behaviour is a strong driver of community organisation and supports species coexistence. We challenge this optimistic view of nature by emphasizing that under stressful conditions, when resources are scarce and species energetic needs high - for instance when they face energetic stress caused by temperature increase - consumer species tend to depart from what would be their optimal behaviour under low-stress conditions. Therefore, the ecological conclusions built into the assumptions that adaptive behaviour favours coexistence do not necessarily hold in the context of global warming. We tested the consequences of our observations by integrating this behavioural response in a mechanistic model. We show that the number of species extinctions in response to an increase in temperature is higher than what is observed without. This means that the consequences of global warming for species coexistence might be more severe than predicted by classical ecological models. Our findings also challenge the general paradigm that adaptive foraging should mitigate the consequences of global warming for natural ecosystems. Instead, the drastic consequences of climate change indicated by our results call for a general data-driven theory-approach to forecast of biodiversity and functioning in future ecosystems.
Supplementary information I Methods
The Kiel Bay database
The Kiel Bay is located in the Baltic Sea, which is a marginal sea connected to the North Atlantic and considered the largest brackish sea in the world. It is a rather low productivity ecosystem with low biodiversity due to its glazial history and the strong salinity gradients that only few species can tolerate35,36. The core of the Kiel Bay database comprises detailed diet information based on stomach contents from 22185 fish individuals of six species from the Kiel Bay. These species were classified into two functional groups based on their body shape and habitat use: fusiform and benthopelagic species (Gadus morhua, Merlangius merlangius) versus flat and demersal species (Limanda limanda, Pleuronectes platessa, Platichthys flesus, and Hippoglossoides platessoides). This shape characteristic also corresponds to specific foraging behaviour 50.
The fish individuals were sampled using systematic and standardised bottom trawls. The trawls were carried out year-round between 1968 and 1978. The body lengths of fish were measured and rounded to the nearest integer (in cm). Species-specific regressions were used to estimate fish body masses. Stomach contents were identified to the highest taxonomic resolution possible and wet mass determined when possible. Hence, the database includes body size data for all fish (i.e. predators) but also for prey items from the stomach contents51. In addition, we were able to add independently-sampled abundance and body mass information on the benthic invertebrate (i.e. prey) fauna to the database. These data on prey abundances and body masses were sampled independently at the trawling locations using classical 0.1 m² van Veen grabs 52, see 53 for detailed procedure. We have enriched the database with climatic (i.e. temperature) and oceanographic (i.e. salinity) data and geographical information on the distances between the sampling (trawling) sites. So far, the stomach content data have been published only partially and in German language51 while parts of the invertebrate abundance data were treated and published separately53. The food web mainly consists of six demersal fish species and more than a dozen benthic invertebrate species from different groups (see Table SI VI 3).
Filtering data
To make comparisons between the distributions of prey observed in fish stomachs and the ones observed in the environment, we only used a subset of the database for which we were able to (i) associate information about a fish to information about its environment and (ii) have a body mass estimate of prey found in the stomach. We considered this association between fish and environment possible, when they were sampled in the same area and within less than 31 days. This first filter reduced the number of fish used in our analysis to 2,487.
On this subset, we considered a unique statistical individual (hereafter called statistical fish) all individuals from the same functional group, occurring at the same place, on the same date with the same body mass. This choice is led by the allometric approach used in our analysis, where all individuals from the same species and with the same body mass are considered identical. This aggregation increases the quality of the estimation of the prey body mass distribution in stomachs at the cost of a lower statistical power for the analyses done on the shape of these distributions. For instance, with a high aggregation level, fewer data points are available to consider the effect of temperature on the average body mass of prey. This approach is therefore conservative as it reduces the probability of type 1 error. Lastly, we found that few fishes were mostly feeding on species that were not detected in the environment, suggesting that the information on the environment was not a good descriptor of available resources. When less than 90% of the prey biomass found in guts was explained by what was found in the environment, the fish were discarded (26 cases) Finally, we obtained a final dataset of 290 statistical fish. For our statistical analysis we used fish shape as a covariate instead of fish species. As some species where specific to some temperature or body mass gradients, the species-specific slopes obtained would be meaningless. This question only holds for the analysis about the fish stomach contents. For the analysis of preferences, fish shape or fish species covariate were anyway removed by our AIC criterion.
Different factors affect prey retention time in consumers’ guts. Temperature is certainly essential but we assume that its impact was the same for all consumers introducing a constant bias with no effect on the trends we observed. However, a more species-specific factor relating to species morphology, like the presence of shells or skeletons, could impact our results. We thus compared two sets of results, one for which we incorporated in the model a lower detection probability for species with hard bodies (presented here), and one for which we did not (SI VI). Overall, the trends and effects observed when including this correction were similar to those observed without correction, thus suggesting an absence of systematic biases.
Fitting of gut content and environmental distributions
We used a Bayesian approach to fit realised and environmental distributions. For the environment distributions, we fitted skew normal distributions to the observed body masses y, with environment ID as a random effect. A skew normal distribution is defined by parameters for location ξ, scale ω and shape α. Its probability density function reads
where erf is the Gaussian error function54,55. For α=0, this reduces to the non-skewed normal distribution with mean µ=ξ and standard deviation σ=ω. For α>0 or α<0, the distribution is positively or negatively skewed, where skew γ(α), standard deviation σ(ω,α) and mean µ(ξ,ω,α) are given as functions of location, scale and shape parameters55.
The statistical model then is defined by an observed body mass y of a prey individual i in environment ID(i) being distributed as
(i=1,…,N, ID=1,…,M). Using a hierarchical / partial pooling approach, we assume the individual parameters have a joint multivariate normal distribution
(ID=1,…,M). The joint mean parameters
and the 3×3 covariance matrix Σ are estimated during the model fitting approach. We used weakly informative priors for all model parameters. Samples from the posterior distribution were drawn using Hamiltonian Monte Carlo in Stan54 and posterior medians were used as point estimates of (ξID, ωID, αID) for the subsequent analyses. The realised distributions were fitted analogously, using predator identity as a random effect. We however included here a correction factor to consider that the probability of detection of prey in guts relates to their body characteristic56 (presence or absence of hard body parts like shells or skeleton). We assumed that prey with hard body parts are more likely to be detected in comparison to species composed of soft tissues only because of higher digestion time and corrected their biomass by multiplying it by 0.8. The results found without this correction were similar to the ones observed without (SI VI).
Determining allometric species’ preferences
The preference distributions of each statistical fish were estimated as the departure of the realised niche from the environmental distribution. We removed the effect of species environmental availability from the realised to define the preference distribution as:
where P, R and E represent the preference, realised and environmental distributions, respectively. By doing so, we assumed that a feeding event is defined by two independent probabilities: the probability for a consumer to encounter a prey (defined by the R distribution) and of the probability for a consumer to consume the prey when encountered (given by the preference distribution). To assess changes in the distributions and how they depart from each other, we used variations in the point estimates (median and standard deviation). This limited the amount of information used in our study. Quantifying the neutral versus trait-based processes would benefit from the comparison between the environmental and realised distributions using metrics like the Kullback-Leibler divergence. With such an approach, one could argue that the more divergent the distributions are, the more predation events are driven by traits. However, this would be limited by the impossibility of disentangling the part of the divergences explained by changes in the environmental distribution and what relates to a change in fish behaviour. However, we believe that a more controlled approach in micro- or mesocosms where the body mass distribution of prey species available could be standardised could elegantly solve this issue.
Dynamic model
To simulate the population dynamics, we used a previously published model 44, based on the Yodzis and Innes framework 57. The growth of consumer species Bi is determined by the balance between its energetic income (predation) and its energetic losses (predation metabolism)
where ep = 0.545 and ea = 0.906 represent the assimilation efficiency of a consumer foraging on plants and animals, respectively58. xi defines the metabolic rate of species i, which scales allometrically with body mass:
where x0 = 0.314 is the scaling constant 44, Ex = −0.69 is the activation energy of metabolic rate (Binzer et al. 2015), k the Boltzmann constant, T0 = 293.15 the reference temperature in Kelvin and T the temperature at which the simulation is performed. The trophic interactions are determined using a functional response Fij that describes the feeding rate of consumer i over resource j:
bij represent the species-specific capture and is determined by predator and prey body masses:
It corresponds to the product of encounter probabilities Pij by the probability that an encounter leads to a realised predation event Lij. Both quantities are determined by species body masses. We assume that encounter probability is more likely for species with higher movement speeds of both consumer and resource species:
Since movement speed scales allometrically and based on feeding type 59, we drew βx and βz from according normal distributions (carnivore: μβ = 0.42, σβ = 0.05, omnivore: μβ = 0.19, σβ = 0.04, herbivore: μβ = 0.19, σβ = 0.04, primary producer: μβ = 0, σβ = 0). Activation energy Ep is equal to −0.38 (Binzer et al. 2015). Lij is assumed to follow a Ricker curve (Schneider et al. 2016), defined as:
where the optimal consumer-resource body mass ratio Ropt = 47.9 was calculated from the observed realised interactions in our dataset. We used a threshold Lij < 0.01 under which values were set to 0, assuming that too small or too large prey are not considered by consumers. The handling time hij of i on j is defined as:
where the scaling constant h0 was set to 0.4 and the allometric coefficients for ηi and ηj where drawn from a normal distribution with mean and standard deviation of −0.48 and 0.03 for ηi and of −0.66 and 0.02 for ηj. Eh is equal to 0.26. The term wij informs on species selectivity60. For the models without behavioural expectations we used the classical parametrisation and defined it for every j as 1 over the number of prey of consumer i. When adaptive behaviour was included in the model, the value was determined by the predictions of the skewed normal distribution we fitted on our dataset. These were informed by the consumer and resource body masses, at given levels of productivity and temperature. To maintain the comparability with the model without adaptive behaviour, the wij values were normalised to 1 for each consumer. As for our experimental data, productivity was defined as the total biomass of prey available for each consumer. As this value can be highly variable during the simulations, especially in the transient dynamics, we rescaled this value between 0 and 4 to maintain it to a scale that is similar to the one from our dataset that we used to inform the skew normal distributions The biomass dynamic of the basal species i is defined as:
where
defines the species growth rate. Gi is the species-specific growth factor, determined by the concentration of two nutrients N1 and N2:
Where Kil determines the half saturation density of plant i nutrient uptake rate. It is determined randomly from a uniform distribution in [0.1, 0.2]. The dynamic of the nutrient concentrations is defined by:
Where D = 0.25 determines the nutrients turnover rate and Sl = 5 determines the maximal nutrient level. The loss of a specific nutrient l is limited by its relative content in the plant ‘”species’ biomass (v1=1, v2=0.5).
We ran our model on food webs of 50 species, composed of 30 consumers and 20 basal species. A link was drawn between two species i and j when Lij > 0. For each temperature we ran 50 replicates of the two model’s versions (with and without adaptive behaviour) and recorded the number of extinctions. We fitted a GAM model on this number of extinctions
Supplementary information II: Environmental characteristics
Overall, the different environments considered were characterised by two contrasted levels of productivity, leading to a bimodal distribution.
distribution of the productivity values (g) for the different environments
Associated to these differences, we observed that the body mass distribution of the basal species (median and standard deviation) was responding differently to temperature depending on productivity values (Figure SI 2.2, Table SI 2.1):
response of the body mass structure of the resource species to temperature and productivity
model estimate for the prediction of median and standard deviation of the environment distributions
Supplementary information III: response of the preferred distribution to temperature at different levels of productivity
As we observed a strong interaction effect between temperature and productivity when explaining the response of the median of the body mass distributions in our different environments, we estimated for which levels of productivity the relationship between temperature and median was significant. At low productivity, we observed a positive slope between the median and temperature albeit not significant. The slope of the regression linearly decreased with productivity value, and became significantly lower than 0 for productivity levels larger than 102.52.
Estimate and CI for the temperature effect at different levels of productivity. the dashed line indicates the productivity value above which the temperature effect become significant
Supplementary information IV: response of the width of the preferred trophic niche to local conditions
To assess how the width of the preferred niche responded to environmental conditions we fitted the same models as for the median on the standard deviation of the body mass of the preferred distribution. We observed that the standard deviation was decreasing with the predator body mass and with temperature. We however detected an interaction between fish shape and productivity. At low productivity levels the width of the trophic niche of fusiform fish tended to be larger than the one of flat fish while the opposite is observed at higher productivity levels.
Response of the width (standard deviation) of the preferred distribution to predator body mass (a) and temperature for different productivity gradients (b,c). Colours define the fish shape.
model estimates for the prediction of the standard deviation of the preference distributio
Supplementary information V: Effect of nutrient availability and predators’ functional responses type on predictions about species coexistence
As maximum nutrient availability (variable Si) and shape of the functional response (q) are not empirically informed, we analysed how sensitive to these two parameters model’s predictions are. We varied Si from 1 to 240 and q from 0 to 0.5. Overall, we observed a very limited effect of nutrient availability on the pattern observed (Fig. SI5.1). The type of the functional response used resulted in more variations on the number of extinctions observed, but did not altered the differences observed due to the incorporation of foraging behaviour (Fig. SI5.2).
Effect of different levels of nutrient availability on the number of extinctions predicted by the model. Simulations where ran with a hill exponent (q) of 0.2
effect of the choice of functional response type on the number of extinctions predicted by the model. Simulations where ran for a level of maximum nutrient (S) of 5.
Supplementary information VI: Effect of considering different detection probabilities for prey in stomachs
As prey composed of soft tissues only are supposed to be less likely to be detected because of a faster digestion time, we corrected our observation by multiplying the abundance of species with hard body parts by 0.8. This was done to mirror the importance of these species that should persist longer in stomachs. As we are missing a general framework to properly describe how digestion time changes for the different species we used a unique correction factor that is a free parameter in our model (prey are either easy or difficult to digest, Table SI 6.3). We here present the results we would have obtained without using this correction factor.
Results for the realised distributions
Response of the median body mass of the realised prey body mass distribution to predator body mass (a, b), temperature (c, d) at different productivity levels for the two fish shape. Points represent non-transformed data and lines present model predictions. The shaded areas show the 95% confidence interval on the predicted values. Colours represent the fish functional groups (flat versus fusiforms).
response of the realised distribution to predator body mass and environmental gradients
We can observe that the absence of correction factor does not qualitatively change the trends observed for the realised distributions. The variables selected by the AIC criteria are the same when correction for detectability was used. We can only detect slight changes in the model estimates.
Response of the preference distribution
Response of the median body mass of the preference distribution to temperature, productivity, and fish body mass. Points represent non-transformed data and lines represent model predictions. The shaded areas show the 95% confidence interval on the predicted values. Grey and green colour represent two different productivity levels at which the temperature effect is represented
response of the preference distribution to predator body mass and environmental gradients
We observed here a change in the model output. The effects of predator body masses and productivity on the median of the preference distributions are not significant anymore. This is likely due presence of the new significant effect of the interaction between these two variables, as we can observe that the plots remain quite similar (Fig. SIVI.2).
Classification of species’ digestibility
Acknowledgements
We are profoundly grateful that Wolf E. Arntz collected and provided the valuable data set from his early work in Kiel Bay that we used in this study. We are also thankful to Astrid Jarre who digitised the stomach content data, Ute Jacob for her help in the early phase of this project and Carlos Melian for his friendly review of the manuscript. BG, UB, BR, TB, MJ gratefully acknowledge the support of iDiv funded by the German Research Foundation (DFG–FZT 118, 202548816). GK acknowledges funding from the German Academic Exchange Service (DAAD, 57070483). MJ acknowledges funding by the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement no. 677232).
Footnotes
new version closer to submission