Abstract
Species life-history traits, paleoenvironment, and biotic interactions likely influence speciation and extinction rates, affecting species richness over time. Birth-death models inferring the impact of these factors typically assume monotonic relationships between single predictors and rates, limiting our ability to assess more complex effects and their relative importance and interaction. We introduce a Bayesian birth-death model using unsupervised neural networks to explore multifactorial and nonlinear effects on speciation and extinction rates using fossil data. It infers lineage- and time-specific rates and disentangles predictor effects and importance through explainable artificial intelligence techniques. Analysis of the proboscidean fossil record revealed speciation rates shaped by dietary flexibility and biogeographic events. The emergence of modern humans escalated extinction rates, causing recent diversity decline, while regional climate had a lesser impact. Our model paves the way for an improved understanding of the intricate dynamics shaping clade diversification.
Diversification analysis uncovers the reasons for the rise and fall of elephants and their extinct relatives.
INTRODUCTION
Speciation and extinction constantly reshape the biosphere across evolutionary temporal scales. The shifting balance between these two processes dictates biodiversity patterns and their variation among clades and through time. These include turnover events retailoring regional ecosystem functioning (1, 2), the emergence of global biogeographic patterns such as the latitudinal diversity gradient (3–5), the rise and fall of entire lineages in the sway with environmental disruption or increasing competition (6–8), and major biological transitions brought about by mass extinctions and subsequent diversity recoveries that virtually reset life on Earth (9). Crucially, speciation and extinction processes also play a leading role in fashioning biological disparity. When the pruning and sprouting of the tree of life are selective and favor certain properties of the species over others [i.e., species sorting or species selection; (10)], speciation and extinction become effective builders of evolutionary active trends that spur lineages into unexplored regions of the morphospace [(11–13) see “note added in proof”]. Thus, it does not come as a surprise that evolutionary research has long sought to link patterns of diversity to evolutionary processes (14–16). In doing so, a key goal of macroevolutionary research has been to quantify the effects of species properties on diversification (17–19), the effects of selective diversification on evolutionary trends (20), and the role of environmental forcing in this interplay (21, 22).
Because these evolutionary processes leave their footprint on the fossil record and molecular phylogenetic trees (23), studying both sources of information has become a central research focus for evolutionary biologists. Quantitative assessments of diversification patterns through time and across clades have a long tradition in paleobiology (24, 25) and have led to the development of a wide range of methods and models to infer speciation and extinction rates (26–30). Similarly, recognizing that molecular phylogenies to some extent encapsulate the signal of past diversification events (31–33) has fueled the development of diversification models tailored to analyze dated phylogenetic trees of extant taxa (34–37).
The realm of speciation and extinction inference has witnessed a blooming of numerous models that account for trait- and time-series dependence in the diversification process [e.g., (8, 18, 28, 38–44)]. However, most diversification models only allow for the estimation of the effects of single predictors (e.g., traits or paleoenvironmental changes) on speciation and extinction rates. This is a critical limitation, as it is unlikely for just a single factor to have a constant leverage on speciation or extinction at macroevolutionary time scales. In addition, it has long been acknowledged that the causal relationship between phenotypic traits and diversification is expected to vary with changing environmental settings (21). For example, species with larger body size may be more likely to disappear during severe extinction events (45). However, as productivity and ecosystem functioning recover, niches related to larger body sizes could have greater diversification potential once smaller-sized guilds become saturated (13, 46). While some of the models allow for a joint analysis of combined multiple factors (e.g., multiple traits or time variables), they typically assume that their effects are additive, independent, and constrained by monotonic (often linear) functions (47–51). Thus, any potential nonlinear effects and the shifting interplay between species attributes and paleoenvironmental changes in regulating speciation and extinction rates have proven elusive to quantify.
Here, we propose a flexible model for analyzing fossil occurrence data that allows time- and trait-dependent rate variation, thus integrating aspects of exploratory and hypothesis-driven models into a single cohesive framework. Our model is probabilistic and based on a stochastic birth-death process in which the rates are modulated through time and across lineages, using a flexible function of time, paleoenvironmental variables, and multiple categorical and/or continuous traits, along with their interaction. Our model does not assume a particular function linking traits and time to varying speciation and extinction rates a priori. Instead, the model estimates this function from the data through an unsupervised neural network. Leveraging methodologies from explainable artificial intelligence (xAI), we can estimate the effects of individual factors and rank their importance in shaping speciation and extinction. We applied our model to analyze the rich fossil record of proboscideans, examining the roles of paleoclimate, ecomorphology, biogeography, and spatiotemporal overlap with humans in shaping the diversification patterns of this mammalian order.
RESULTS
A new model of trait- and time-dependent diversification
We developed a Bayesian model to infer diversification dynamics from fossil occurrences based on a birth-death process coupled with a preservation and sampling process. Our approach builds upon the PyRate model (30) that uses a Bayesian algorithm to jointly sample the times of origination and extinction of all taxa in a dataset, as well as the speciation, extinction, and preservation rates. By implementing time-variable birth-death processes, PyRate can estimate variations in speciation and extinction rates through time. Our new model extends this approach by allowing speciation and extinction rates to vary both through time and at a lineage-specific level. This variation is inferred as a function of time itself, phylogenetic relatedness (for instance based on taxonomy or on a phylogenetic tree), and virtually any number of continuous and categorical phenotypic traits and environmental time-dependent variables. Instead of assuming a predefined response function linking these factors to speciation and extinction, we used an unsupervised neural network to model their correlation, thus allowing for nonlinear responses and interactions among the factors. We used a Markov chain Monte Carlo (MCMC) algorithm to sample the parameters of the neural network, from which lineage- and time-specific speciation and extinction rates are derived. These rates then feed into the likelihood function of a birth-death process that alongside the priors determines the acceptance probability in the MCMC algorithm. As in other PyRate implementations, the birth-death process is coupled with a model of preservation, allowing for variation of sampling rates through time and among lineages [see (52)].
Through the implementation of different algorithms adapted from xAI, we assessed the impact of the factors in shaping diversification dynamics. Specifically, we visualized the magnitude and shape of the inferred effect of traits and time-dependent variables on rates using partial dependence (PD) plots (53), which show the effect of a predictor while marginalizing over the others. We ranked the predictors by importance using three xAI approaches based on predictor permutations (54), marginal probabilities, and SHapley Additive exPlanation (SHAP) values (55). These metrics capture different aspects of the predictor’s impact: leverage on the birth-death likelihood (Eqs. 8 and 9), consistency of the direction of their effect, and effect size.
Performance of the birth-death neural network model
We used simulations to benchmark the ability of our framework to accurately infer lineage-time–specific rates and correctly identify the factors causing rate variation. Specifically, we generated 100 fossil occurrence datasets for nine diversification scenarios. These scenarios accommodate speciation and extinction rates that are constant through time and equal among lineages (scenario 1), as well as rates that depend on time itself (e.g., through rate shifts), lineage-specific categorical or continuous traits, or a time series of paleotemperature and interactions among these factors (see fig. S1). Scenarios with time-dependent rates are interpreted as cases in which a time-varying factor drives the rate change. For instance, cases with rate shifts (scenarios 2, 3, and 8) could reflect changes in the speciation and extinction dynamics determined by a major environmental transition. Simulations portraying increasing extinction rates that ultimately reach speciation (scenario 5) capture the anticipated dynamics under a diversity-dependent competition model (6, 36).
All datasets included multiple traits, time-dependent variables, and phylogenetic relatedness, even when they did not affect the rates. In simulations with rates changing at predefined times of shift (i.e., scenarios 2, 3, and 8), the times of rate shifts were considered as unknown and not provided as part of the datasets. Similarly, in scenario 9, the rates were dependent on a trait, which we, however, omitted from the dataset to evaluate the performance of the birth-death neural network (BDNN) model when missing the true predictors. In these cases, we expect the signal of rate variation to be captured either by time itself or by phylogenetic relatedness [here quantified as phylogenetic eigenvectors (56); see Materials and Methods] as proxies for the missing times of shift and traits.
The inferred lineage-time–specific speciation and extinction rates were accurate across all scenarios, with the median absolute relative errors being lowest in constant-rate simulations and ranging between 0.23 and 0.32 in most other scenarios (Fig. 1 and table S1). However, in simulations with piece-wise constant rates (scenario 3), the error increased to ∼0.38 to 0.66, as the BDNN model tended to smooth out the simulated instantaneous rate shifts (fig. S4D). Scenarios with rates dependent on categorical or continuous traits (simulations 5 and 6) yielded low errors around 0.23 to 0.25. More complex simulations involving the interacting effects of traits and time variables (scenarios 4, 7, and 8) still resulted in slightly lower accuracy with errors around 0.26 to 0.48, and similar accuracy was obtained even when the true predictors were omitted (scenario 9). With the Bayesian implementation of the BDNN model, we were able to calculate 95% credible intervals (CIs) or lineage-time–specific rates to assess how often they include the true values used to simulate their origination and extinction (i.e., coverage). The BDNN yielded a coverage ranging from 0.85 to 0.99 across most simulations, with lower values in scenario 3 (0.63 to 0.79; table S1). The coverage was around 0.85 in complex simulation scenarios with interactions between traits or with time dependence, while it exceeded 0.90 in simpler scenarios.
Fig. 1. Comparing simulated and inferred lineage-time–specific rates.
A single simulation under four diversification scenarios (settings listed in fig. S1) is displayed to exemplify the accuracy and coverage of rates inferred by the BDNN model. Dashed lines indicate simulated speciation and extinction rates. Dots display the means, and vertical solid lines display the 95% credible interval (CI) of the inferred rates. Accuracy was quantified by the median absolute percentage error between the simulated and inferred rates, and the coverage gives the share of lineages whose CI includes the simulated rate. The true simulated speciation rate was obtained from the ancestral lineage from which the lineage descended, from which the BDNN model infers the rate. All rates are given in units of events lineage−1 Myr−1.
The accuracy of speciation and extinction rates inferred from the BDNN model substantially exceeded that of alternative models based on time-variable birth-death models (52) or the boundary-crosser method (26) in all simulations involving trait-dependent rates. For instance, in simulations featuring a categorical trait affecting speciation and extinction (scenario 5), the BDNN error was 0.25, compared to 0.57 based on alternative models (table S1). While the accuracy of BDNN rates was similar to that of alternative models in constant-rate simulations (scenario 1), the BDNN model was outperformed by time-variables models in simulations with sigmoidal time-varying rates or piecewise constant rates (scenarios 2 and 3). The coverage of the BDNN estimates was comparable or substantially higher than that based on alternative models across all simulations, except for scenario 3, where a birth-death model with rate shifts performed better.
Assessment of significant rate variation
We used the coefficient of variation in the estimated lineage-time–specific rates (see Materials and Methods; Fig. 2) to determine whether it exceeded what would be expected under a constant birth-death process. To this aim, we used the simulations generated under a constant birth-death process (scenario 1) to establish a baseline coefficient of variation, above which we rejected a constant birth-death model in favor of a BDNN model. We chose a baseline corresponding to a 95% specificity, i.e., leading to the erroneous rejection of a constant birth-death model in 5% of the simulations. On the basis of these thresholds, the sensitivity (percentage of correct rejection of the constant-rate model in favor of a BDNN model) averaged 86.3% for speciation and 90.8% for extinction. The sensitivity varied among scenarios, exceeding 80% in most simulations (fig. S2). It was lowest in scenario 9, where the trait driving rate variation was omitted from the analysis. The inferred rate variation overlapped with the simulated one, with a slight tendency to underestimate the true coefficient of variation in lineage-time–specific rates (fig. S3).
Fig. 2. Power to find evidence of rate variation among species and over time.
We quantified the coefficient of variation in inferred lineage-specific speciation and extinction rates, respectively. Across 100 thresholds, we calculated the proportion of correctly evidenced rate variation when simulated rates varied (i.e., mean sensitivity across scenarios 2 to 9) and erroneously inferred rate variation when, in fact, diversification under equal and constant rates was simulated (i.e., specificity for scenario 1). Dashed vertical lines display the thresholds for speciation and extinction above which a constant-rate model was rejected with 95% specificity.
Identification of the predictors of rate variation
We performed several postprocessing steps to estimate the ability of the BDNN model to identify the factors determining rate variation. First, we visualized the magnitude and shape of the effects of traits and time-dependent variables on rates using PD plots. These showed a good match between the simulated and inferred relationship of rates with traits and time-dependent variables (Fig. 3 and fig. S4), even in the case of nonmonotonic effects, such as bell-shaped links between continuous traits and rates, and interactions among traits and time-dependent variables. While the shape of the effects was correctly inferred, albeit with variation among simulations, their magnitude was generally underestimated. For instance, the 5-fold difference in rate between the two states of a categorical trait (scenario 5; fig. S4E) was accurately inferred for extinction [mean across 100 replicates: 4.1; 95% confidence interval: 2.2 to 6.5], whereas we only found a 1.9-fold difference (1.3 to 2.8) in the case of speciation. The magnitude of rate variation attributed to individual predictors was therefore lower than the heterogeneity detected among marginal lineage-time–specific rates (Fig. 1). This is because PD plots isolate the effect of single predictors, thus removing some of the variation attributed by the model to different factors.
Fig. 3. Inferred effects of selected predictors on speciation and extinction rates.
PD plots showing the inferred effect of traits and time-dependent variables that actually influenced simulated speciation and extinction rates while marginalizing over predictors without a simulated impact. Dashed lines visualize the simulated effect, transparent lines show the 100 simulated replicates, and the thick solid line represents the average across them after locally estimated scatterplot smoothing (loess). Height of the barplots displays the proportion of simulations that exceeded our threshold to detect rate variation (i.e., rejecting the constant-rate model). The share of dark gray indicates how often the correct traits or time-dependent variables were correctly identified (when included among the predictors), and the white proportion shows incorrectly identified predictors. Light gray displays cases where the predictive time series was not included and instead time or phylogenetic relatedness was detected (scenarios 3 and 8) or only one of the two predictors was found (scenarios 4 and 7). Unit of rates are events lineage−1 Myr−1.
We then ranked the relative importance of traits and time-dependent variables according to three metrics based on permutations, marginal probabilities, and SHAP values. Using a consensus ranking method (57) among these metrics proved to be more robust than any individual metric alone (fig. S5). In scenarios where rates varied through time on the basis of times of rate shift not explicitly included in the analyses (i.e., scenarios 2 and 3), time itself was identified as the most important predictor in 76 to 100% of the simulations where a constant-rate model was rejected (fig. S5). In up to 20% of the simulations, the most important factor was identified as one of the phylogenetic eigenvectors, which inherently reflect both phylogenetic relatedness and time. When rate variation was driven by a trait omitted from the analysis (scenario 9), the signal was mostly attributed to time or phylogenetic eigenvectors (75 to 85% of the simulations), although the constant-rate model was rejected in this case only in about 50% of the cases (fig. S2). In scenario 4, where rates depend on both paleotemperature and a discrete trait, the former ranked among the top two predictors in 96 to 97% of the cases, while the discrete trait was correctly identified only in 26 to 46% of the simulations. In 40 to 57% of the simulations, the trait signal was attributed to phylogenetic eigenvectors, highlighting the difficulty to distinguish between the effect of a trait evolving along the phylogeny and the phylogeny itself. In cases where one or more traits drive the changes in speciation and extinction rates (scenarios 6 and 7), the correct trait(s) ranked as the top predictors in 21 to 90% of the simulations, with time or phylogenetic eigenvectors being favored in most other cases. In other scenarios where a trait affects the rates with variable effects through time (scenarios 5 and 8), the correct trait ranked among the top two predictors in 49 to 100% of the simulations, while time or phylogenetic eigenvectors are found among the top two in nearly all cases.
Overall, we found that time and phylogenetic eigenvectors can effectively capture the signal of rate variation, even when the true predictors are included, but most frequently when they are not. This indicates that they provide valuable null hypotheses that allow for rate variation without implying a specific factor. As a result, the probability of erroneously identifying a trait as the top-ranking predictor when it did not determine rate variation (i.e., a false positive), was 3.1%.
The drivers of proboscidean diversification
We used the BDNN model to analyze the dynamics and drivers of speciation and extinction in proboscideans based on their rich fossil record. We used a published dataset consisting of 2118 fossil occurrences and detailed ecomorphological information for 175 proboscidean species (58). It includes 17 traits (e.g., body size, tusk morphology, and dental features), which were summarized through nonmetric multidimensional scaling (NMDS) into a two-dimensional ecomorphospace that captured 93% of the total ecomorphological variation. In addition, we incorporated information on geographic distribution (i.e., presence in Africa, Eurasia, Americas, or islands), regional paleotemperature, and paleovegetation (approximated as a binary variable reflecting the time of emergence of open-habitat grasslands in each geographic area). Furthermore, we used the flexibility of the BDNN model to incorporate phylogenetic information (summarized into two eigenvectors) to account for the nonindependence of traits and to capture the possible effects of unobserved predictors. Last, we included the spatiotemporal overlap with early humans [coded for African and Eurasian species between the Early and Late Pleistocene, 1.8 million years (Ma) to 129 thousand years (ka)] and with modern humans (after 129 ka in Africa and Eurasia, and in the Holocene 11.7 ka in the Americas) as a potential predictor for extinction. As these time boundaries were determined on the basis of geological stages (following the binning used for the other paleoenvironmental variables), they can only approximate the timing of human evolution and expansion out of Africa.
The coefficients of variation among the estimated species-time–specific rates were 0.80 for speciation and 1.14 for extinction. These strongly exceeded the thresholds of 0.20 and 0.25, respectively, which were inferred from simulations based on constant-rate models (see Materials and Methods), thus indicating compelling evidence for significant rate variation. We summarized the species-time–specific rates to obtain overall rate trajectories through time and found that speciation rates declined fourfold between the Late Eocene (40 Ma) and the end of the Miocene (5.3 Ma), followed by a rate increase of similar magnitude between the Pliocene and the Pleistocene (fig. S6A). Extinction rates were overall stable until the Early Pleistocene (1.8 Ma), when they increased fourfold by the end of the Pleistocene, followed by a further sixfold increase in the Holocene (11,700 years ago; fig. S6B). We also found evidence of strong heterogeneity in speciation and extinction rates among species. For instance, in the Pleistocene, we inferred a speciation rate of 2.91 (CI: 1.06 to 4.92) for the Sicilian dwarf elephant Palaeoloxodon falconeri (Fig. 4A), which is 8.3 times higher than the rate of the Eurasian Stegodon huananensis (mean: 0.35; CI: 0.10 to 0.65). Similarly, the estimated extinction rates varied 20-fold between the recently extinct woolly mammoth (Mammuthus primigenius; 3.91, CI: 0.42 to 7.35) and the Neogene species Gomphotherium angustidens (0.20, CI: 0.02 to 0.46).
Fig. 4. Analysis of the proboscidean fossil record using the BDNN model.
(A) The inferred species-specific speciation and extinction rates show substantial heterogeneity, as showcased by the nine species displayed here. (B and D) Changes in speciation rates are mostly driven by time, geography, and an ecomorphological trait related to diet, with the highest rates found in the Oligocene and Miocene species with generalist diet, and with a consistent increase in island versus continental species. (C) Extinction rates were primarily modulated by the spatiotemporal overlap with early and modern humans, with additional effects of an ecomorphological trait related to mandible and tusk shapes, and (D) with higher extinction in island species. Unit of rates are events lineage−1 Myr−1. Silhouettes are made available on PhyloPic.
We found that the three most important factors affecting speciation rate were an ecomorphological trait, time, and geographic distribution (Fig. 4, table S2, and data S1). The partial dependent plot shows that the emergence of phenotypes with enhanced dental masticatory durability (NMDS1) led to an increase in speciation rate (Fig. 4B). The BDNN model further evidenced that the correlation between NMDS1 and speciation rates became stronger over time. While the breadth of this ecomorphological trait is similar in the Early Oligocene and in the Late Miocene (∼30 and ∼7 Ma, respectively), the change in speciation rate attributed to this trait increased from 7- to 16-fold during this time frame. Yet, our proxy for the inception and expansion of open-habitat grasslands ∼20 to 16 Ma was not identified as a vital factor in proboscidean diversification. Last, species occurring on islands showed, on average, a ∼2.5 times higher speciation rate than those in the Americas and Eurasia and ∼4.2-fold increase over African species.
We estimated the proboscideans extinction rates to be most strongly affected by the overlap with humans, followed by more limited effects of geographic distribution and ecomorphology linked with tusk and mandible shapes (Fig. 4C and table S2). On the basis of partial dependent plots, the spatiotemporal overlap with early humans starting around 1.8 Ma was associated with a 5-fold increase in extinction rate, while the effect of modern Homo sapiens in the Late Pleistocene and Holocene was linked with a 17-fold increase. Geography was connected with a 2.7-fold variation, with island species subjected to higher extinction rates. Major craniodental morphologies (NMDS2) were identified as the third predictor and associated with a 3.3-fold variation in extinction rate, with the highest rate associated with long mandibles, cusped browsing-adapted molars, and shovel-like lower tusks (Fig. 4C). Notably, regional paleotemperature ranked fourth among the predictors (fig. S7), with highest extinction rates linked with low temperatures, while time itself was not found to be an important predictor.
To evaluate the robustness of our empirical results regarding the selection of predictors, we repeated the analyses on the basis of a subset of them. Specifically, we omitted open-habitat grasslands, replaced the ecomorphological traits with discretized body mass, and simplified biogeography to a binary insularity trait. Despite these modifications, we obtained similar predictions, with consistent species-time–specific rates inferred across 98% of the species (R2 = 0.81 for speciation and R2 = 0.86 for extinction; fig. S8). Insularity and humans were still remained among the most important drivers of rate variation (table S3 and data S2). However, we found that body mass alone did not capture the signal encoded in the NMDS axes and was not identified as an important predictor, emphasizing that cranial and masticatory adaptations had a greater impact on proboscidean diversification than size alone. Instead, this analysis identified both phylogenetic eigenvectors among the top predictors of rate changes, reflecting the relatively strong phylogenetic signal in the distribution of ecomorphologies within the clade (58).
DISCUSSION
A Bayesian unsupervised neural network model of diversification
Our understanding of macroevolutionary dynamics relies on our ability to accurately estimate speciation and extinction rates and the environmental variables and life-history traits that may drive them. Although it is likely that multiple factors jointly contributed to shaping clade diversity through time, most macroevolutionary analyses of diversification have focused on individual predictors, e.g., with diversity-dependent speciation (6), time-dependent rates (35), or paleotemperature effects on diversification (41). Although some models can incorporate multiple predictors of speciation and extinction, they typically make simplistic assumptions due to methodological constraints. For instance, they often assume monotonic and additive effects without interactions and allow for rate variation either through time (48) or among lineages (49, 59). We present here the BDNN model, which relaxes many of the assumptions underlying alternative diversification models, simultaneously allowing for rate variation among lineages and through time. The BDNN approach allows us to jointly infer the effects of multiple predictors on speciation and extinction from fossil occurrence data while accounting for preservation biases. Our simulations showed that the model performs well under a broad range of evolutionary scenarios, including nonmonotonic effects of time variables and traits, and their interaction. Across a wide range of simulations, we noted that the BDNN model consistently outperformed alternative approaches based on birth-death processes with rate shifts (53) and the boundary-crosser method (27), both in terms of higher accuracy and better coverage. When the generating process was a birth-death with instantaneous rate shifts (scenario 3), then the birth-death model with shifts, expectedly, and the boundary-crosser method performed better than the BDNN. Conversely, in scenarios where the rates were modulated by a continuous trait omitted from the analyses (scenario 9), we found that the BDNN model achieved lower sensitivities, i.e., conservatively favoring a constant birth-death model in a larger fraction of simulations. Even in this case, however, it reached better accuracy compared to the alternative birth-death and boundary-crosser models. These results, along with previous simulation studies exploring the performance of different methods to infer speciation and extinction rates from fossil data (52, 60–62), suggest that the BDNN model can lead to substantial improvement of the estimated rates across a range of evolutionary scenarios.
The BDNN model combines hypothesis-driven predictors, such as trait-mediated speciation rates or climate-related extinction, with rate variation that is agnostic about biological expectations, such as time-varying rates and variation based on phylogenetic relatedness. This integration is important because the unrealistic assumption of a constant-rate process as the null expectation, typical of many birth-death models (8, 18, 48), can lead to the spurious identification of traits or environmental predictors of diversification dynamics (42, 63, 64). Although the complex parameterization of the BDNN model makes it unfeasible to explicitly model test and assess the significance of each predictor, for instance, through Bayes factors, we showed that explainable AI tools can be repurposed to identify the most important factors affecting diversification. This reinforces recent findings evidencing that SHAP values derived from regression tree models can identify traits linked to survival across mass extinction events (65). While these methods do not currently allow us to rule out any predictors, we found that they can accurately quantify their relative importance and with comparable performance for speciation and extinction. Similarly, high levels of accuracy were recovered across different simulation settings, including scenarios with interacting traits and time-dependent variables. As with multiple regression models, we can expect the BDNN to have limited power in disentangling the effects of highly correlated traits or time series. In some of our simulations, phylogenetic eigenvectors, which are inherently correlated with predictive evolutionary traits, ranked among the top factors. Therefore, it is important to carefully select biologically meaningful variables and traits when setting up the analysis (64) and to account for time and phylogenetic relatedness, either through phylogenetic eigenvectors or taxonomy, as a way to accommodate unobserved predictors (42, 66).
Neural networks have been recently used to predict speciation and extinction rates from fossil or phylogenetic data under simple age- or trait-dependent models (67–69). These methods were applied within a supervised learning framework, in which (i) labeled training datasets (fossil occurrences or phylogenies) are simulated under known speciation and extinction rates; (ii) neural networks are trained to predict the generating rates from features describing the simulated data; and (iii) the trained models are then applied to the unlabeled empirical dataset, where the rates are unknown. While these approaches have yielded accurate results, their scalability to more complex scenarios involving rate variation and dependence on multiple traits and time variables, as tested under our BDNN model, would likely require generating training data under an unfeasibly wide range of simulated scenarios. In contrast, the model presented here is unsupervised, i.e., it does not rely on a labeled training dataset. Instead, it infers the rates of speciation and extinction based on the likelihood of the empirical (unlabeled) fossil data under a birth-death and preservation model. This framework allows us to infer diversification dynamics and how they are shaped by different predictors without the need to a priori define the range of possible rate variation and correlations.
While the use of a neural network offers high flexibility in terms of which and how many predictors can be analyzed and how they affect the rates, it is likely to represent an overparameterized model, which includes several parameters (weights) that are not contributing significantly to explaining the data. This is particularly important in a frequentist use of neural networks generally applied to supervised learning tasks, where the optimization of the weights must be counterbalanced by regularization techniques, e.g., using dropout, and by rules to prevent overfitting, e.g., stopping the optimization on the basis of the performance of the model on a validation set (70). However, in Bayesian neural networks, the priors on the weights have a regularizing effect, thus effectively mitigating the risk of overfitting in the context of supervised learning (71). This was further facilitated in our implementation by the introduction of a regularizing output layer (see Materials and Methods, Eqs. 6 and 7). As a result of the regularization, our model was able to provide highly accurate and precise rates even when the generating process was constant (table S1 and Fig. 1). Another advantage of Bayesian neural networks over their frequentist counterpart is their ability to provide direct estimates of the uncertainty around the parameters. By sampling weights from their joint posterior distribution rather than relying on point estimates, we are able to obtain posterior estimates of speciation and extinction rates along with their 95% CIs. Thus, despite the complexity of the BDNN parameterization, overparameterization of the Bayesian neural network does not lead to spurious results and is mostly reflected in inflated CIs around rates, as opposed to significant deviations from the true values (Fig. 3 and fig. S4). Given that Bayesian CIs in birth-death models tend to decrease with larger datasets (30), the use of a complex model such as the BDNN, especially in conjunction with multiple predictors, is therefore most suitable for clades with a rich fossil record.
The multifaceted macroevolution of proboscideans
Our analysis of the proboscidean fossil record revealed that the diversification of this clade was shaped by multiple factors and their interactions. Although the identified factors are broadly in agreement with previous findings based on independent analyses of some of them separately (58), our BDNN model allowed us to rank them and assess their interactions. Specifically, speciation within the clade was predominantly driven by dietary traits [as previously estimated; (58)], but our model also revealed a previously unidentified time effect that amplified this trait-driven variation through time. Dietary adaptation is likely a relevant driver of speciation across animal clades, unlocking access to new resources and enabling differentiation (47, 72–74). Although we found no evidence of diversification shaped by major vegetation changes (encoded here as the emergence of the first open-habitat grasslands), it is likely that our proxy lacked sufficient spatial and temporal levels of detail to fully capture the extent of biome changes on proboscidean diversification. However, our model revealed that the link between traits associated with higher dietary flexibility and speciation rates strengthened toward the end of the Neogene, as lineages with highly durable dentition (characterized by high-crowned molars with a high number of enamel ridges) and derived masticatory modes evolved. We interpret this trend as an indirect effect of habitat change on this clade and hypothesize that environmental forcing could have played a key role in building evolutionary trends. This could have happened initially by fueling phenotypic innovation through efficient population-level selection (75) and then by exacerbating the proliferation of lineages featuring the most recent, derived morphologies, as also inferred for other ungulate groups (74).
The biogeographic aspect, particularly the association with islands, was found to be important for both speciation and extinction, in line with findings in various other taxa such as mammals, birds, squamates (76–79), and many other clades [e.g., 80)]. It is predicted that these effects may arise because of dispersal followed by isolation, resulting in speciation, while smaller populations and limited resources on islands lead to higher extinction rates (81). The increased vulnerability of species on islands has greatly amplified human effects on island biodiversity (79).
The primary driver of proboscidean extinction was inferred to be the overlap with the human lineage, aligning with the growing body of evidence indicating humans’ severe impact on recent extinctions and on megafauna in particular (79, 82–86). Our model, and the use of PD plots, allows us to single out the effect of humans after accounting for all other factors, suggesting that the estimated 5- to 17-fold rate increase attributed to early and modern humans is not influenced by other factors considered here (e.g., climate change, geographic distribution, or ecomorphological traits). We found that while humans exhibit the greatest impact in the past ca. 120,000 years, our results also point to a weaker yet significant influence of the human lineage at earlier times, thus supporting other studies suggesting a long-lasting detrimental anthropogenic effect on biodiversity (79, 87–89).
In our analyses, climate change ranked fourth among our predictors, suggesting a potential impact of cooling leading to a higher extinction, albeit with a comparatively small inferred effect. There are, however, many additional aspects, such as seasonality, precipitation, and small-scale climate variation, that we cannot incorporate in our analyses because of limitations in the available data, especially in the deeper past. Similarly, assessing the exact timing and spatial distribution of vegetation changes [such as C4 grass expansion (90)], and the extent of competition from the diversification of other herbivore lineages such as bovids remains difficult (58). Thus, the effect of climate, environmental changes, and biotic interactions on proboscidean diversity are likely to be more nuanced than we can detect here with the available data. With the continuous growth in as the availability of digitized fossil occurrences and morphological traits (91–93), alongside the progress in modeling and measuring paleoclimate and the evolution of paleoenvironments (94–96), we expect to gain an increasingly accurate picture of past and recent evolutionary dynamics. In this context, our BDNN model paves the way for a powerful assessment of the processes of speciation and extinction, as well as the forces driving the rise and fall of clades.
MATERIALS AND METHODS
The PyRate framework
Our model is based on the Bayesian framework implemented in PyRate to analyze fossil occurrence data (52). The framework models the occurrence data as the result of a nonhomogeneous Poisson process representing preservation and sampling and a birth-death process describing the distribution of origination and extinction times. Using an MCMC algorithm, PyRate estimates from the joint posterior distribution: (i) the preservation rates and their variation through time and across lineages, (ii) the times of origination and extinction of all lineages, and (iii) the speciation and extinction rates.
Different birth-death processes can be used to test for rate variation through time based on piecewise constant models (30) or correlation with time-dependent variables (84). Alternatively, rate variation among lineages can be estimated through correlations with a lineage-specific trait or dependent on the states of a categorical trait (49). However, these models currently cannot be mixed to, for instance, include time- and trait-dependent effects, and assume simple linear or exponential correlations between the rates and the predictors (time series or traits) with no interactions.
The BDNN model
We developed a model that can accommodate multiple time- and trait-dependent effects and their interactions, without limiting the effects to simple functions. Traits can be of different nature, such as quantitative, ordinal, and categorical traits. Categorical variables with more than two states are expected to be one-hot encoded into binary traits. The rate at time t for lineage i is modeled through a feed-forward neural network taking as input time and the characters and returning a lineage-time–specific speciation rate λ(i, t) as output. An independent network with the same architecture is used to obtain lineage-time–specific extinction rates μ(i, t). The input of the neural network is a matrix of size J, where J is the number of predictors assigned to a species i at time t, which include time itself as well and categorical and continuous traits and time-dependent variables [c(i)]. The first hidden layer of the network h(1) is a matrix of size L(1)
| (1) |
where j ∈ {1, …, J} identifies the predictor, l ∈ {1, …, L(1)} indicates the hidden nodes, and W(1) is a matrix of J × L(1) weights. We indicate with g( · ) the tanh activation function, which has been shown to perform well in small neural networks (97), here approximated to
| (2) |
Similarly, the second hidden layer is a matrix of size L(2)
| (3) |
where k ∈ {1, …, L(2)} indicates the hidden nodes of the second layer and W(2) is a matrix of L(1) × L(2) weights. A third layer takes h(2) as input and returns a species-time–specific baseline rate, e.g., for speciation rate
| (4) |
where W(2) is a matrix of L(2) × 1 weights and σ is the softPlus activation function (98)
| (5) |
that ensures that the output of the network, which is the rate, is a positive number. Last, the baseline rate is transformed into the species-time–specific speciation or extinction rate, through an output layer
| (6) |
where φ is a regularizing function
| (7) |
with treg ∈ [0,1] as a regularizing parameter and E( · ) being the arithmetic mean function averaging the baseline rates across all taxa and time bins. This function does not alter the mean rate across time and taxa compared with the baseline rates [i.e., E(λb) = E(λ)] but has the property of shrinking the rates around the mean for treg values closer to 0, while leaving them unaltered if treg ≈ 1. The rates become constant through time and across species when treg = 0. The neural network can be configured with different number of hidden layers and nodes and can include a bias node (or intercept) in the last hidden layer. Its parameters (the weights) are shared among all species in the dataset and all time bins, and two independent networks are used to obtain speciation and extinction rates with parameters and , respectively, while a single regularizing parameter treg is used for both.
Unlike in other birth-death models implemented in PyRate, the parameters sampled through MCMC under this model are not directly the speciation and extinction rates, but rather the weights of the two neural networks, Wλ and Wμ and the regularizing parameter treg, from which the rates are derived for each species and each time bin (Eqs. 1 to 4). The number of parameters in the model depends on the number of predictors J (which at minimum include time but can incorporate categorical and continuous traits and time-dependent variables) and the network architecture (i.e., number of layers and nodes). The neural networks used in the BDNN model are unsupervised as they are not trained against ground truth speciation and extinction rates but used within PyRate’s Bayesian framework, in which speciation and extinction rates are used to calculate the likelihood of the observed fossil occurrence data (along with the parameters of the preservation process). The likelihood of an extinct lineage i with estimated origination time si and extinction time ei and predictors xi is based on the sampled birth-death process (52)
| (8) |
which for extant lineages (i.e., with ei = 0) reduces to
| (9) |
The BDNN model uses the same algorithm implemented in other PyRate models (52) to sample the times of origination and extinction of all species, preservation rates, and the weights of the neural networks from their joint posterior distribution. We assigned standard normal distributions, 𝒩(0,1), as regularizing priors on the weights (71), and sampled these weights through MCMC with normally distributed proposal kernels. We used a truncated exponential prior on the regularizing parameter treg ∼ ExpT = 1(1), such that the highest prior probability was assigned to treg = 0, thus favoring a null hypothesis of constant rates, while the lowest nonzero prior probability was assigned to treg = 1, which corresponds to no regularization of the baseline rates.
After preliminary analyses using simulated datasets and the proboscidean data, we found negligible differences among neural network architectures and chose to use two hidden layers with 16 and 8 nodes. These settings worked well for our datasets with 200 to 300 species and 6 to 11 predictors. However, we encourage users to experiment with different network architectures to assess the results’ robustness to different model configurations.
Postprocessing
We implemented a number of postprocessing steps using the output of a BDNN analysis to identify whether traits and time-variable predictors affect speciation and extinction rates, the direction of their effects, and their importance rank. This is important because normal model comparison to select the predictors (e.g., using Bayes factors) is impractical because of the high number of possible combinations.
We used PD plots (53) to visualize the magnitude and shape of the inferred effect of traits and time-variable predictors on rates of speciation and extinction. PD plots are widely used in interpretable machine learning (54) and show the marginal effect of one or two predictors on the outcome of a machine learning model by averaging across the remaining predictors.
As neural networks do not directly provide a measure of predictor importance, we implemented three approaches to rank the predictors, quantifying different aspects of importance: influence on model fit through feature permutation, credible rate differences in PD plots, and the change induced in speciation or extinction rate by a predictor through SHAPs. Preliminary analyses using simulated fossil records with known predictors of rate variation showed that they could not always be correctly identified using a single approach. Accordingly, we ranked the predictors’ importance on the basis of the three approaches and used the QUICK algorithm (57) to obtain the consensus ranking across them as an overall measure of importance. We separately ranked the individual effects and the interaction strength between two predictors because strong individual effects may imprint interactions and therefore overshadow the importance measures of other individual predictors.
For the first measure of predictor importance, we quantified the decrease in birth-death likelihood after permuting the predictor’s values. This differs slightly from the original implementation of feature permutation (99) in targeting model fit instead of prediction error (which is typically expressed as negative log-likelihood). An interaction between two predictors is considered important if the decrease in model fit after permuting both is greater than the sum of the individual reductions when only one of the predictors is permuted.
Second, we derived PD-based posterior differences in rates as a measure of predictor importance. We first identified the maximum and minimum of the mean rate (i.e., averaged over MCMC generations) along the predictor’s range of values. We then quantified how often the rates at the maximum point exceeded those at the minimum point across the MCMC samples.
Last, we used SHAPs (55) to quantify the contribution of each predictor toward the speciation and extinction rates. Specifically, we obtained SHAP values using the κ-additive Choquet integral–based method (100) because it is computationally more efficient than the original Kernel SHAP and quantifies the importance of the interaction between two predictors. The SHAP values also indicate the extent to which each predictor has leverage on the speciation and extinction rate of each species. This aids the interpretation of species-specific rates because, in a neural network, as used for the BDNN model, the direction and strength of a predictor’s influence on individual rates cannot be readily obtained from the inferred network’s weights.
Simulation scenarios
We simulated fossil datasets and species traits under nine birth-death scenarios where speciation and extinction rates are influenced by traits, time, environmental change through time, or their combination. All diversification scenarios were simulated forward in time at discrete time steps of 0.01 Ma, starting at the same root age of 35 Ma. To avoid extremely species-poor or species-rich datasets, we targeted an output of 200 to 300 extant or extinct species over this period. In all diversification scenarios, species were characterized by one continuous trait and one discrete trait with two states, even in scenarios where speciation and extinction were not affected.
We simulated the evolution of the continuous trait, starting with a value of zero, by an unbiased random walk with a rate of σ2 = 0.02 (i.e., the equivalent to Brownian motion in continuous time). In this standard model of continuous trait evolution, a descendant species inherits the complete phenotype from its ancestor; thus, there is no trait change at cladogenetic speciation events. However, species in the fossil record are typically defined on the basis of their morphology [e.g., 101)], which requires some phenotypic changes during speciation and relatively few anagenetic changes. This corresponds to the classic microevolutionary view of trait divergence at speciation (25, 102). While the interconnection between the morphological species concept and phenotype makes it difficult to test this mode of trait evolution from the fossil record, trait shifts at speciation events have been demonstrated along the phylogeny of extant species (103). We added such an instantaneous phenotypic change by drawing a new trait value for the descending species from a normal distribution with a mean equal to the trait value of the ancestor and a standard deviation (SD) of . The evolution of the categorical trait was simulated in a similar way as for the continuous trait. There was no anagenetic transition between the two states, but a probability of P = 0.1 for a state change at speciation.
The diversification scenarios differed in the dynamics of speciation and extinction rates through time and whether these depend on the species’ traits or paleotemperature (fig. S1). The first scenario featured constant speciation and extinction rates set to λ = 0.2 and μ = 0.1, respectively.
Scenario 2 included a sigmoidal change in rates where speciation decreased from 0.4 at the beginning of the diversification process to 0.1 at the present, while extinction increased over time from 0.05 to 0.4. The rates followed a logistic function with midpoint set at 20 and 15 Ma (for speciation and extinction, respectively) and steepness set to 0.5.
Scenario 3 imposed two instantaneous rate shifts. The speciation rate was set to decrease from 0.4 to 0.1 at 20 Ma and from 0.1 to 0.01 at 10 Ma. The extinction rate peaked at 0.3 from 15 to 10 Ma, while earlier the rate was 0.05 and thereafter 0.01.
Under scenario 4, global temperature through time exerts influence on speciation and extinction. To explore the ability of the neural network to capture a nonmonotonic relationship between a predictor and rate and an interaction between two rate predictors, we simulated a bell-shaped link between temperature and rate for the first state of the categorical trait and an inverted bell curve for the second state (i.e., Gaussian functions; see fig. S1D). We derived the temperature trajectory for the time frame of the simulation from isotope data (104) using the equations provided by Hansen et al. (105) and scaled it to an SD of 1. The peak of the bell was set to the mean temperature over the time frame of the simulation (i.e., 17.7°C) and corresponded to a baseline speciation rate of 0.5 and an extinction rate of 0.4. We parameterized the rate change with warmer or cooler temperatures through a given SD for the Gaussian function between the temperature and rate. Effectively, this transforms the bell to be more peaked or flatter and less divergent from the baseline rate with a high or lower SD, respectively. We set the SD of the Gaussian function to 1.2. Thus, an increase or decrease of 2.1°C from the mean of the temperature trajectory (i.e., 1 SD) resulted in a 50% lower rate than the baseline, which then decreases to 3% when the temperature difference is 2 SDs, and asymptotically reaches a rate of zero with even higher temperature deviations. For the second state, the relationship between temperature and rate is inverted, with a rate of zero at the mean temperature and an asymptotically increase toward the baseline rate by higher and lower temperatures.
In the trait-dependent diversification scenario 5, species featuring the first state of the categorical trait were characterized by a speciation rate of 0.1 and an extinction rate that increased over the simulated 35 Ma from 0.01 to 0.1, resulting in equal rates at the present. Species of the second state had 5-fold higher rates, which means that the strength of the increase in extinction was state dependent and therefore constitutes an interaction between the categorical trait and time.
Under scenario 6, the species’ continuous trait affected its speciation and extinction rate through a Gaussian function, resulting in that both rates are highest at an (arbitrary) trait value of 0 and decreasing with increasing positive or negative values. We set the Gaussian function such that a change of 1 or 2 SDs from the initial trait value of 0 reduced the baseline rate (here set to 0.5 for speciation and 0.4 for extinction), by 70 and 20%, respectively.
In scenario 7, speciation and extinction rates were determined by the interaction between continuous and categorical traits. While the rates for species having the first state of the categorical trait were obtained from the same bell-shaped function as in scenario 6, species of the second state had an inverted relationship between continuous trait and rate: Trait values of 0 defined a rate of 0, and baseline rates are asymptotically approached with increasingly smaller or larger trait values.
Scenario 8 featured an interaction between time and the continuous trait. We set at 15 Ma the time of the switch between a bell-shaped function and an inverted bell function, correlating the continuous trait with speciation and extinction rates.
Last, scenario 9 was based on the datasets simulated under scenario 6, i.e., with rates dependent on a continuous trait, which was, however, omitted from the subsequent BDNN analysis. An additional trait was instead included on the basis of a random draw from a standard normal distribution, maintaining the same number of predictors.
We simulated 100 datasets of fossil occurrence under each scenario, assuming a time-variable Poisson process of fossilization and sampling, with independent rates drawn for each geological stage randomly from qi ∼ 𝒰[log(0.5), log(5)]. We additionally implemented preservation rate variation among species by drawing species-specific multipliers from a gamma distribution with shape and rate parameters set equal and drawn from α ∼ 𝒰[log(0.5), log(5)]. The preservation rate for each species is then obtained as the product between the baseline rates q and the species-specific multipliers. This model reflects the time-variable Poisson process with rate variation among lineages implemented in PyRate (52), with a parameterization similar to what we estimated from the proboscidean dataset. While the stochastic evolution of the continuous trait was tracked for every species throughout the simulation, the value used as input for the BDNN inference was set as the average of the trait only at the sampled occurrences times of the species, thus reflecting the type of morphological information observable in empirical datasets. We approximated the phylogenetic relatedness of species by decomposing the simulated trees into eigenvectors based on the phylogenetic pairwise distance matrix among the tips of the tree. This approach, as implemented in the PVR 0.3 (106) package for the R 4.3 statistical programming environment (107), results into a numerical representation of the tree capturing both topology and branching times (56).
The input data used in our analyses included (i) the fossil occurrences, (ii) the simulated traits, and (iii) time itself and the first two phylogenetic eigenvectors. In scenario 4, we additionally included paleotemperature as a time-dependent variable. Conversely, the times of rate shift implemented in scenarios 2, 3, and 8 and the predictive trait in scenario 9 were not included among the predictors. Time and phylogenetic eigenvectors were therefore expected to capture rate variation driven by unobserved traits or rate shifts.
Analysis of simulated data
We analyzed the ability of the BDNN model to capture the simulated effects on speciation and extinction by comparing the results with those obtained under the birth-death-shift (BDS) model, which infers instantaneous rate shifts over time and is widely used in exploratory analyses of diversification dynamics from fossil data [e.g., (52)]. For both models, we ran 1,000,000 MCMC iterations and sampled every 1000th iteration after a burn-in of 25% to obtain the posterior parameter distribution. We also analyzed the data under the boundary-crosser method (26, 108), providing a comparison of the performance of the BDNN model against an approach based on different underlying models and implementations. We obtained boundary-crosser speciation and extinction rates using the R package divDyn 0.8.2 (109) using time bins of 2 million years. We additionally performed the analyses on 100 bootstrapped datasets to estimate confidence intervals around the rate estimates (26), which we used to approximate the coverage as the fraction of simulations in which the true rates were included in the confidence interval.
We quantified the overall accuracy of the inferred species-specific speciation and extinction rates as the median absolute relative error, which was calculated as
| (10) |
where ri is the true rate at origination or extinction of a simulated species, the inferred species-specific rate at the inferred time of origination or extinction, X contains the ordered absolute percentage errors, and n is the even number of replicates. Thus, for instance, an error of 0.2 represents a median deviation of 20% of the true value. We opted for the median instead of the mean absolute error because the latter can be overinflated by relative errors when the true rates are close to zero (fig. S1, F to H). We defined the true speciation rate of a species as the rate assigned to its parent species, which may differ from that of the descendant because of, for instance, trait differences between them. Because the BDS model does not infer species-specific rates but rates through time, we intersected them with the inferred times of origination and extinction of each species to obtain and compare them with the species-specific rates of the BDNN model.
Proboscidean fossil record, traits, and paleoenvironment
We used a recently compiled fossil occurrence dataset of proboscideans (58) from which we excluded 10 species. Five species belonged to a monophyletic group and were represented only by singleton occurrences more than 10 Myr older than the other species, resulting in highly uncertain rates before 40 Ma in an exploratory diversification analysis (58). The remaining five species had no trait information. The final dataset included 2118 occurrences for 175 proboscidean species. To account for age uncertainties in fossil occurrences, we resampled the occurrence ages randomly from uniform distributions spanning their temporal ranges and generated 10 replicated datasets (52).
Cantalapiedra et al. (58) summarized 17 ecomorphological traits by an ordination into two NMDS axes, which we used in our BDNN analysis. Dental masticatory durability is captured by the first axis, which broadly correlates with the change from a browsing-specialized diet to a more generalized diet capable of processing a higher proportion of grass and even wood. The second trait axis summarized craniodental modifications such as from a flat to a short and high skull. While the adequacy of variables summarizing multiple traits through dimensionality reduction techniques (e.g., NMDS and principal components analysis) in evolutionary analyses remains debatable, potential issues relate to our ability to model how these summarized traits themselves evolve (110, 111). In contrast, here, we used them as predictors of speciation and extinction rate variation without attempting to infer the modes of their evolution.
Because of shared evolutionary history among species, traits and geographic distribution exhibit phylogenetic inertia (112). Not accounting for the resulting statistical nonindependence could inflate the signal of trait- or geography-dependent speciation and extinction rates. We thus incorporated the first two phylogenetic eigenvectors, calculated from a tree of living and extinct proboscideans (58) as a proxy for phylogenetic relatedness, and included them as species-specific features in addition to traits and geographic distribution in the BDNN inference. To account for phylogenetic uncertainties, we recalculated the eigenvectors for a different tree (randomly sampled from their posterior distribution) for each of the 10 replicates with resampled fossil ages.
We also compiled geographic distribution for all proboscidean species based on (58), with the distribution categorized into Africa, Americas, and Eurasia or whether the species is an island endemic. On the basis of the geographic distribution of each species, we obtained an individual time series of paleoenvironmental conditions. As our first paleoenvironmental measure, we recorded the origin of open and grass-dominated habitats as a binary predictor based on (sub)continent-specific timelines inferred from paleobotanical records (90). We defined the emergence of these habitats in Africa at 15.97 Ma and in Eurasia at 20.44 Ma, except for Indian species for which we used an onset at 11.63 Ma. While in South America open and grass-dominated habitats date back to the Eocene, we used the North American age of 23.03 Ma for the Americas because all South American proboscideans are much younger. Second, spatially explicit reconstructions of climate through time were used to obtain species-specific time series of paleotemperature based on the species distribution ranges. Because climate circulation models (CCM) cover only a fraction of the proboscidean diversification history, we used a vegetation-derived climate reconstruction (94) with a temporal resolution of ∼0.17 Ma and a spatial resolution of 2° × 2°. For the Last Glacial Maximum and the Last Interglacial, temperatures were extracted from CCMs (113, 114) because a higher temporal resolution is needed to compare the potential effects of temperature and humans on extinction rates. Because there is only a limited number of fossil occurrences per time bin, we used all fossil occurrences of species regardless of their age to approximate species distribution ranges. We constructed a convex hull linking all countries of a continent where fossils of the species were found and did not attempt to trace changes in distribution through time. The paleo-position of the convex hulls was reconstructed for each time bin of the paleo maps using the rgplates 0.2.1 (115) interface to the GPlates desktop application (116) and used to extract the mean paleotemperature across the approximated distribution with the R package terra 1.7.29 (117). All spatial data were transformed into the Mollweide equal-area map projection to avoid bias in temperatures due to high-latitude distortion of geographic coordinates. We used the following boundaries to bin paleotemperatures: Oligocene (33.9 Ma), Burdigalian (20.44 Ma), Langhian (15.97 Ma), Serravallian (11.63 Ma), Tortonian (7.246 Ma), Messinian (5.333 Ma), Pliocene (2.58 Ma), Calabrian (1.8 Ma), the Mid-Pleistocene transition (∼0.8 Ma), Late Pleistocene (0.129 Ma), and the Holocene (0.0117 Ma). These boundaries define when speciation and extinction rates are allowed to change over time. While we used bins with a width of 1 Myr in our simulations, we opted here for an increasing temporal resolution toward the present because it reflects the higher confidence in paleotemperature reconstruction, the lower uncertainty in fossil ages, and the resolution needed to inform the model of human appearance. In a previous study on proboscidean diversification over time, there was no evidence of rate shifts before the Messinian (58), and thus, the relatively coarse resolution used here is unlikely to conceal temporal changes in diversification dynamics. We encoded the time of origin or arrival of early and modern humans on each continent and associated islands in the respective time bins using two levels. Specifically, we considered the proboscidean overlap with modern humans as ubiquitous in the most recent time bin (i.e., the Holocene). For African and Eurasian species, we also included the overlap with modern humans in the penultimate bin (i.e., the Late Pleistocene) and with early humans in all other time bins younger than 1.8 Ma.
BDNN analysis of the proboscidean data
We z-transformed the continuous traits, phylogenetic eigenvectors, and paleotemperature to a mean of zero and an SD of 1. For all 10 replicates with resampled fossil ages, we ran 50,000,000 MCMC iterations and sampled every 10,000th iteration after a burn-in of 25% in PyRate. We used a preservation model that allows for heterogeneity in fossil sampling among species and through time (52). The analyses were completed in approximately 48 hours on standard AMD central processing units. After the inference, we applied all postprocessing steps described above using 1000 samples from the posterior distribution for each replicate. In addition, we conducted a combined analysis by concatenating 100 samples from each of these replicates.
To determine whether the rate heterogeneity inferred by the BDNN model exceeded the expectation under a constant-rate birth-death process, we simulated 100 datasets matching the empirical data in terms of number of traits, clade age, and approximate number of species (range 175 ± 52). We the determined the 95% quantile of coefficient of variation among species-time–specific rates and compared it with the coefficient of variation obtained from the proboscidean dataset.
We also reanalyzed the dataset under a simpler set of variables, including only time, phylogenetic eigenvectors, paleoclimate, insularity, body mass (discretized into eight bins), and human overlap. This allowed us to assess the consistency between the two analyses and whether body mass alone could capture most of the signal encapsulated by the two NMDS axes.
Note added in proof: After acceptance, the authors became aware of a recently published paper (118).This added reference adds an empirical example to theoretical foundations.
Acknowledgments
Computational resources were provided by the BMBF-funded de.NBI Cloud within the German Network for Bioinformatics Infrastructure (de.NBI) and UBELIX (www.id.unibe.ch/hpc), the HPC cluster at the University of Bern. We thank the anonymous reviewers for constructive feedback. Proboscidean silhouettes were traced by J.L.C. from reconstructions by A. Larramendi, M. Antón, M. Romano, cisiopurple (DeviantArt), and Roman Uchytel and are made available under a CC-BY 4.0 licence (https://creativecommons.org/licenses/by/4.0/) on PhyloPic (http://phylopic.org/).
Funding: T.H. and D.S. received funding from the Swiss National Science Foundation (PCEFP3_187012). D.S. also acknowledges funding from the Swedish Research Council (VR: 2019-04739) and the Swedish Foundation for Strategic Environmental Research MISTRA within the framework of the research program BIOPATH (F 2022/1448). J.L.C. was supported by the Talent Attraction Program of the Madrid Government grant 2017 T1/AMB5298.
Author contributions: Conceptualization: All authors. Method development: T.H. and D.S. Data compilation: J.L.C. and T.H. Analyses: T.H. Writing: All authors.
Competing interests: The authors declare that they have no competing interests.
Data and materials availability: The BDNN model and corresponding tutorial are available on https://github.com/dsilvestro/PyRate. We also developed the Python library BDNNsim (available from https://github.com/thauffe/BDNNsim) to perform stochastic simulations in which speciation and extinction rates are determined by evolving traits, time, and paleoenvironmental trajectories. The library generates input files for PyRate after simulating fossil sampling but also provides the corresponding phylogenetic tree, which can be used for other comparative analyses. All data needed to evaluate the conclusions in the paper are deposited in the GitHub repository (https://github.com/thauffe/BDNN) and Zenodo (https://doi.org/10.5281/zenodo.11652106).
Supplementary Materials
The PDF file includes:
Figs. S1 to S8
Tables S1 to S3
Legends for data S1 and S2
Other Supplementary Material for this manuscript includes the following:
Data S1 and S2
REFERENCES AND NOTES
- 1.Blanco F., Calatayud J., Martín-Perea D. M., Domingo M. S., Menéndez I., Müller J., Fernández M. H., Cantalapiedra J. L., Punctuated ecological equilibrium in mammal communities over evolutionary time scales. Science 372, 300–303 (2021). [DOI] [PubMed] [Google Scholar]
- 2.Fraser D., Villaseñor A., Tóth A. B., Balk M. A., Eronen J. T., Andrew Barr W., Behrensmeyer A. K., Davis M., Du A., Tyler Faith J., Graves G. R., Gotelli N. J., Jukar A. M., Looy C. V., McGill B. J., Miller J. H., Pineda-Munoz S., Potts R., Shupinski A. B., Soul L. C., Kathleen Lyons S., Late quaternary biotic homogenization of North American mammalian faunas. Nat. Commun. 13, 3940 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Rolland J., Condamine F. L., Beeravolu C. R., Jiguet F., Morlon H., Dispersal is a major driver of the latitudinal diversity gradient of Carnivora. Glob. Ecol. Biogeogr. 24, 1059–1071 (2015). [Google Scholar]
- 4.Rabosky D. L., Chang J., Title P. O., Cowman P. F., Sallan L., Friedman M., Kaschner K., Garilao C., Near T. J., Coll M., Alfaro M. E., An inverse latitudinal gradient in speciation rate for marine fishes. Nature 559, 392–395 (2018). [DOI] [PubMed] [Google Scholar]
- 5.Fenton I. S., Aze T., Farnsworth A., Valdes P., Saupe E. E., Origination of the modern-style diversity gradient 15 million years ago. Nature 614, 708–712 (2023). [DOI] [PubMed] [Google Scholar]
- 6.Etienne R. S., Haegeman B., Stadler T., Aze T., Pearson P. N., Purvis A., Phillimore A. B., Diversity-dependence brings molecular phylogenies closer to agreement with the fossil record. Proc. R. Soc. Lond. B Biol. Sci. 279, 1300–1309 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Quental T. B., Marshall C. R., How the Red Queen drives terrestrial mammals to extinction. Science 341, 290–292 (2013). [DOI] [PubMed] [Google Scholar]
- 8.Silvestro D., Antonelli A., Salamin N., Quental T. B., The role of clade competition in the diversification of North American canids. Proc. Natl. Acad. Sci. U.S.A. 112, 8684–8689 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Raup D. M., Sepkoski J. J., Periodicity of extinctions in the geologic past. Proc. Natl. Acad. Sci. U.S.A. 81, 801–805 (1984). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.S. J. Gould, The Structure of Evolutionary Theory (Harvard Univ. Press, 2002). [Google Scholar]
- 11.Stanley S. M., A theory of evolution above the species level. Proc. Natl. Acad. Sci. U.S.A. 72, 646–650 (1975). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Vrba E. S., What is species selection? Syst. Biol. 33, 318–328 (1984). [Google Scholar]
- 13.Sanisidro O., Mihlbachler M. C., Cantalapiedra J. L., A macroevolutionary pathway to megaherbivory. Science 380, 616–618 (2023). [DOI] [PubMed] [Google Scholar]
- 14.C. Darwin, On the Origin of Species (John Murray, 1859). [Google Scholar]
- 15.Osborn H. F., The law of adaptive radiation. Am. Nat. 36, 353–363 (1902). [Google Scholar]
- 16.G. G. Simpson, Tempo and Mode in Evolution (Columbia Univ. Press, 1944). [Google Scholar]
- 17.Jablonski D., Heritability at the species level: Analysis of geographic ranges of Cretaceous mollusks. Science 238, 360–363 (1987). [DOI] [PubMed] [Google Scholar]
- 18.Maddison W. P., Midford P. E., Otto S. P., Estimating a binary character’s effect on speciation and extinction. Syst. Biol. 56, 701–710 (2007). [DOI] [PubMed] [Google Scholar]
- 19.Simpson C., Species selection and driven mechanisms jointly generate a large-scale morphological trend in monobathrid crinoids. Paleobiology 36, 481–496 (2010). [Google Scholar]
- 20.Wagner P. J., Contrasting the underlying patterns of active trends in morphologic evolution. Evolution 50, 990–1007 (1996). [DOI] [PubMed] [Google Scholar]
- 21.E. S. Vrba, G. H. Denton, T. C. Partridge, L. H. Burckle, Paleoclimate and Evolution, with Emphasis on Human Origins (Yale Univ. Press, 1995). [Google Scholar]
- 22.Gamboa S., Condamine F. L., Cantalapiedra J. L., Varela S., Pelegrín J. S., Menéndez I., Blanco F., Hernández Fernández M., A phylogenetic study to assess the link between biome specialization and diversification in swallowtail butterflies. Glob. Chang. Biol. 28, 5901–5913 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Cantalapiedra J. L., Hernández Fernández M., Azanza B., Morales J., Congruent phylogenetic and fossil signatures of mammalian diversification dynamics driven by Tertiary abiotic change. Evolution 69, 2941–2953 (2015). [DOI] [PubMed] [Google Scholar]
- 24.Newell N. D., Periodicity in invertebrate evolution. J. Paleo. 26, 371–385 (1952). [Google Scholar]
- 25.G. G. Simpson, The Major Features of Evolution (Columbia Univ. Press, 1953). [Google Scholar]
- 26.Foote M., Origination and extinction through the Phanerozoic: A new approach. J. Geol. 111, 125–148 (2003). [Google Scholar]
- 27.Alroy J., Dynamics of origination and extinction in the marine fossil record. Proc. Natl. Acad. Sci. U.S.A. 105, 11536–11542 (2008). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Liow L. H., Fortelius M., Bingham E., Lintulaakso K., Mannila H., Flynn L., Stenseth N. C., Higher origination and extinction rates in larger mammals. Proc. Natl. Acad. Sci. U.S.A. 105, 6097–6102 (2008). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Alroy J., Accurate and precise estimates of origination and extinction rates. Paleobiology 40, 374–397 (2014). [Google Scholar]
- 30.Silvestro D., Schnitzler J., Liow L. H., Antonelli A., Salamin N., Bayesian estimation of speciation and extinction from incomplete fossil occurrence data. Syst. Biol. 63, 349–367 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Mooers A. O., Heard S. B., Inferring evolutionary process from phylogenetic tree shape. Q. Rev. Biol. 72, 31–54 (1997). [Google Scholar]
- 32.Nee S., May R. M., Harvey P. H., The reconstructed evolutionary process. Philos. Trans. R. Soc. B 344, 305–311 (1997). [DOI] [PubMed] [Google Scholar]
- 33.Nee S., Birth-death models in macroevolution. Annu. Rev. Ecol. Evol. Syst. 37, 1–17 (2006). [Google Scholar]
- 34.Gernhard T., The conditioned reconstructed process. J. Theor. Biol. 253, 769–778 (2008). [DOI] [PubMed] [Google Scholar]
- 35.Stadler T., Mammalian phylogeny reveals recent diversification rate shifts. Proc. Natl. Acad. Sci. U.S.A. 108, 6187–6192 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Morlon H., Phylogenetic approaches for studying diversification. Ecol. Lett. 17, 508–525 (2014). [DOI] [PubMed] [Google Scholar]
- 37.Stadler T., Recovering speciation and extinction dynamics based on phylogenies. J. Evol. Biol. 26, 1203–1219 (2013). [DOI] [PubMed] [Google Scholar]
- 38.Alroy J., Constant extinction, constrained diversification, and uncoordinated stasis in North American mammals. Palaeogeogr. Palaeoclimatol. Palaeoecol. 127, 285–311 (1996). [Google Scholar]
- 39.FitzJohn R. G., Quantitative traits and diversification. Syst. Biol. 59, 619–633 (2010). [DOI] [PubMed] [Google Scholar]
- 40.Goldberg E. E., Igić B., Tempo and mode in plant breeding system evolution. Evolution 66, 3701–3709 (2012). [DOI] [PubMed] [Google Scholar]
- 41.Condamine F. L., Rolland J., Morlon H., Macroevolutionary perspectives to environmental change. Ecol. Lett. 16, 72–85 (2013). [DOI] [PubMed] [Google Scholar]
- 42.Beaulieu J. M., O’Meara B. C., Detecting hidden diversification shifts in models of trait-dependent speciation and extinction. Syst. Biol. 65, 583–601 (2016). [DOI] [PubMed] [Google Scholar]
- 43.Payne J. L., Heim N. A., Body size, sampling completeness, and extinction risk in the marine fossil record. Paleobiology 46, 23–40 (2020). [Google Scholar]
- 44.Palazzesi L., Hidalgo O., Barreda V. D., Forest F., Höhna S., The rise of grasslands is linked to atmospheric CO2 decline in the late Palaeogene. Nat. Commun. 13, 293 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Smith F. A., Elliott Smith R. E., Lyons S. K., Payne J. L., Body size downgrading of mammals over the late Quaternary. Science 360, 310–313 (2018). [DOI] [PubMed] [Google Scholar]
- 46.Stanley S. M., An explanation for cope’s rule. Evolution 27, 1–26 (1973). [DOI] [PubMed] [Google Scholar]
- 47.Cantalapiedra J. L., FitzJohn R. G., Kuhn T. S., Fernández M. H., DeMiguel D., Azanza B., Morales J., Mooers A. Ø., Dietary innovations spurred the diversification of ruminants during the Caenozoic. Proc. R. Soc. Lond. B Biol. Sci. 281, 20132746 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48.Lehtonen S., Silvestro D., Karger D. N., Scotese C., Tuomisto H., Kessler M., Peña C., Wahlberg N., Antonelli A., Environmentally driven extinction and opportunistic origination explain fern diversification patterns. Sci. Rep. 7, 4831 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Pimiento C., Bacon C. D., Silvestro D., Hendy A., Jaramillo C., Zizka A., Meyer X., Antonelli A., Selective extinction against redundant species buffers functional diversity. Proc. R. Soc. Lond. B Biol. Sci. 287, 20201162 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Monarrez P. M., Heim N. A., Payne J. L., Reduced strength and increased variability of extinction selectivity during mass extinctions. R. Soc. Open Sci. 10, 230795 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51.Quintero I., Landis M. J., Jetz W., Morlon H., The build-up of the present-day tropical diversity of tetrapods. Proc. Natl. Acad. Sci. U.S.A. 120, e2220672120 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52.Silvestro D., Salamin N., Antonelli A., Meyer X., Improved estimation of macroevolutionary rates from fossil data using a Bayesian framework. Paleobiology 45, 546–570 (2019). [Google Scholar]
- 53.Friedman J. H., Greedy function approximation: A gradient boosting machine. Ann. Stat. 29, 1189–1536 (2001). [Google Scholar]
- 54.C. Molnar, Interpretable Machine Learning: A Guide for Making Black Box Models Explainable (Independently published, 2022). [Google Scholar]
- 55.S. M. Lundberg, S.-I. Lee, A unified approach to interpreting model predictions, in Proceedings of the 31st International Conference on Neural Information Processing Systems, NIPS’17 (Curran Associates Inc., 2017), pp. 4768–4777. [Google Scholar]
- 56.Diniz-Filho J. A. F., de Sant’Ana C. E. R., Bini L. M., An eigenvector method for estimating phylogenetic inertia. Evolution 52, 1247–1262 (1998). [DOI] [PubMed] [Google Scholar]
- 57.Amodio S., D’Ambrosio A., Siciliano R., Accurate algorithms for identifying the median ranking when dealing with weak and partial rankings under the Kemeny axiomatic approach. Eur. J. Oper. Res. 249, 667–676 (2016). [Google Scholar]
- 58.Cantalapiedra J. L., Sanisidro Ó., Zhang H., Alberdi M. T., Prado J. L., Blanco F., Saarinen J., The rise and fall of proboscidean ecological diversity. Nat. Ecol. Evol. 5, 1266–1272 (2021). [DOI] [PubMed] [Google Scholar]
- 59.Helmstetter A. J., Papadopulos A. S. T., Igea J., Van Dooren T. J. M., Leroi A. M., Savolainen V., Viviparity stimulates diversification in an order of fish. Nat. Commun. 7, 11271 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60.Warnock R. C., Heath T. A., Stadler T., Assessing the impact of incomplete species sampling on estimates of speciation and extinction rates. Paleobiology 46, 137–157 (2020). [Google Scholar]
- 61.Černý D., Madzia D., Slater G. J., Empirical and methodological challenges to the model-based inference of diversification rates in extinct clades. Syst. Biol. 71, 153–171 (2022). [DOI] [PubMed] [Google Scholar]
- 62.Wright A. M., Bapst D. W., Barido-Sottani J., Warnock R. C., Integrating fossil observations into phylogenetics using the fossilized birth–death model. Annu. Rev. Ecol. Evol. Syst. 53, 251–273 (2022). [Google Scholar]
- 63.Rabosky D. L., Goldberg E. E., Model inadequacy and mistaken inferences of trait-dependent speciation. Syst. Biol. 64, 340–355 (2015). [DOI] [PubMed] [Google Scholar]
- 64.B. O’Meara, J. Beaulieu, Potential survival of some, but not all, diversification methods (2021). https://ecoevorxiv.org/repository/view/3912/.
- 65.Foster W. J., Allen B. J., Kitzmann N. H., Münchmeyer J., Rettelbach T., Witts J. D., Whittle R. J., Larina E., Clapham M. E., Dunhill A. M., How predictable are mass extinction events? R. Soc. Open Sci. 10, 221507 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 66.Reitan T., Liow L. H., An unknown phanerozoic driver of brachiopod extinction rates unveiled by multivariate linear stochastic differential equations. Paleobiology 43, 537–549 (2017). [Google Scholar]
- 67.Silvestro D., Castiglione S., Mondanaro A., Serio C., Melchionna M., Piras P., Febbraro M. D., Carotenuto F., Rook L., Raia P., A 450 million years long latitudinal gradient in age-dependent extinction. Ecol. Lett. 23, 439–446 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 68.Lambert S., Voznica J., Morlon H., Deep learning from phylogenies for diversification analyses. Syst. Biol. 72, 1262–1279 (2023). [DOI] [PubMed] [Google Scholar]
- 69.Thompson A., Liebeskind B. J., Scully E. J., Landis M. J., Deep learning and likelihood approaches for viral phylogeography converge on the same answers whether the inference model is right or wrong. Syst. Biol. 73, 183–206 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 70.I. Goodfellow, Y. Bengio, A. Courville, Deep Learning (MIT Press, 2016). [Google Scholar]
- 71.D. Silvestro, T. Andermann, Prior choice affects ability of Bayesian neural networks to identify unknowns. https://arxiv.org/abs/2005.04987 (2020).
- 72.Burin G., Kissling W. D., Guimarães P. R., Şekercioğlu Ç. H., Quental T. B., Omnivory in birds is a macroevolutionary sink. Nat. Commun. 7, 11250 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 73.Ronco F., Matschiner M., Böhne A., Boila A., Büscher H. H., El Taher A., Indermaur A., Malinsky M., Ricci V., Kahmen A., Jentoft S., Salzburger W., Drivers and dynamics of a massive adaptive radiation in cichlid fishes. Nature 589, 76–81 (2021). [DOI] [PubMed] [Google Scholar]
- 74.J. L. Cantalapiedra, O. Sanisidro, E. Cantero, J. L. Prado, M. T. Alberdi, “Evolutionary radiation of equids” in The Equids: A Suite of Splendid Species, Fascinating Life Sciences, H. H. T. Prins, I. J. Gordon, Eds. (Springer International Publishing, 2023), pp. 27–45. [Google Scholar]
- 75.Saarinen J., Lister A. M., Fluctuating climate and dietary innovation drove ratcheted evolution of proboscidean dental traits. Nat. Ecol. Evol. 7, 1490–1502 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 76.Loehle C., Eschenbach W., Historical bird and terrestrial mammal extinction rates and causes. Divers. Distrib. 18, 84–91 (2012). [Google Scholar]
- 77.P. R. Grant, B. R. Grant, How and Why Species Multiply: The Radiation of Darwin’s Finches (Princeton Univ. Press, 2020). [Google Scholar]
- 78.Patton A. H., Harmon L. J., Castañeda M. D. R., Frank H. K., Donihue C. M., Herrel A., Losos J. B., When adaptive radiations collide: Different evolutionary trajectories between and within island and mainland lizard clades. Proc. Natl. Acad. Sci. U.S.A. 118, (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 79.Rozzi R., Lomolino M. V., van der Geer A. A. E., Silvestro D., Lyons S. K., Bover P., Alcover J. A., Benítez-López A., Tsai C.-H., Fujita M., Kubo M. O., Ochoa J., Scarborough M. E., Turvey S. T., Zizka A., Chase J. M., Dwarfism and gigantism drive human-mediated extinctions on islands. Science 379, 1054–1059 (2023). [DOI] [PubMed] [Google Scholar]
- 80.Burress E. D., Tan M., Ecological opportunity alters the timing and shape of adaptive radiation. Evolution 71, 2650–2660 (2017). [DOI] [PubMed] [Google Scholar]
- 81.J. B. Losos, R. E. Ricklefs, The Theory of Island Biogeography Revisited (Princeton Univ. Press, 2009). [Google Scholar]
- 82.Sandom C., Faurby S., Sandel B., Svenning J.-C., Global late Quaternary megafauna extinctions linked to humans, not climate change. Proc. R. Soc. Lond. B Biol. Sci. 281, 20133254 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 83.Faurby S., Svenning J.-C., Historic and prehistoric human-driven extinctions have reshaped global mammal diversity patterns. Divers. Distrib. 21, 1155–1166 (2015). [Google Scholar]
- 84.Andermann T., Faurby S., Turvey S. T., Antonelli A., Silvestro D., The past and future human impact on mammalian diversity. Sci. Adv. 6, eabb2313 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 85.Gaudzinski-Windheuser S., Kindler L., MacDonald K., Roebroeks W., Hunting and processing of straight-tusked elephants 125.000 years ago: Implications for Neanderthal behavior. Sci. Adv. 9, eadd8186 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 86.Lemoine R. T., Buitenwerf R., Svenning J.-C., Megafauna extinctions in the late-Quaternary are linked to human range expansion, not climate change. Anthropocene 44, 100403 (2023). [Google Scholar]
- 87.Ben-Dor M., Gopher A., Hershkovitz I., Barkai R., Man the fat hunter: The demise of Homo erectus and the emergence of a new hominin lineage in the Middle Pleistocene (ca. 400 kyr) Levant. PLOS ONE 6, e28689 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 88.Faurby S., Silvestro D., Werdelin L., Antonelli A., Brain expansion in early hominins predicts carnivore extinctions in East Africa. Ecol. Lett. 23, 537–544 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 89.Pereira A. G., Antonelli A., Silvestro D., Faurby S., Two major extinction events in the evolutionary history of turtles: One caused by an asteroid, the other by hominins. Am. Nat. 203, 644–654 (2024). [DOI] [PubMed] [Google Scholar]
- 90.Strömberg C. A., Evolution of grasses and grassland ecosystems. Annu. Rev. Earth Planet. Sci. 39, 517–544 (2011). [Google Scholar]
- 91.Miralles A., Bruy T., Wolcott K., Scherz M. D., Begerow D., Beszteri B., Bonkowski M., Felden J., Gemeinholzer B., Glaw F., Glöckner F. O., Hawlitschek O., Kostadinov I., Nattkemper T. W., Printzen C., Renz J., Rybalka N., Stadler M., Weibulat T., Wilke T., Renner S. S., Vences M., Repositories for taxonomic data: Where we are and what is missing. Syst. Biol. 69, 1231–1253 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 92.Fenton I. S., Woodhouse A., Aze T., Lazarus D., Renaudie J., Dunhill A. M., Young J. R., Saupe E. E., Triton, a new species-level database of Cenozoic planktonic foraminiferal occurrences. Sci. Data 8, 160 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 93.Uhen M. D., Allen B., Behboudi N., Clapham M. E., Dunne E., Hendy A., Holroyd P. A., Hopkins M., Mannion P., Novack-Gottshall P., Pimiento C., Wagner P., Paleobiology Database user guide version 1.0. PaleoBios 40, 531 (2023). [Google Scholar]
- 94.Hagen O., Skeels A., Onstein R. E., Jetz W., Pellissier L., Earth history events shaped the evolution of uneven biodiversity across tropical moist forests. Proc. Natl. Acad. Sci. U.S.A. 118, e2026347118 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 95.Andermann T., Strömberg C. A. E., Antonelli A., Silvestro D., The origin and evolution of open habitats in North America inferred by Bayesian deep learning models. Nat. Commun. 13, 4833 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 96.Barreto E., Holden P. B., Edwards N. R., Rangel T. F., PALEO-PGEM-Series: A spatial time series of the global climate over the last 5 million years (Plio-Pleistocene). Glob. Ecol. Biogeogr. 32, 1034–1045 (2023). [Google Scholar]
- 97.De Ryck T., Lanthaler S., Mishra S., On the approximation of functions by tanh neural networks. Neural Netw. 143, 732–750 (2021). [DOI] [PubMed] [Google Scholar]
- 98.T. Szandała, “Review and comparison of commonly used activation functions for deep neural networks” in Bio-Inspired Neurocomputing, A. K. Bhoi, P. K. Mallick, C.-M. Liu, V. E. Balas, Eds. (Springer, 2021), pp. 203–224. [Google Scholar]
- 99.Breiman L., Random forests. Mach. Learn. 45, 5–32 (2001). [Google Scholar]
- 100.Pelegrina G. D., Duarte L. T., Grabisch M., A κ-additive Choquet integral-based approach to approximate the SHAP values for local interpretability in machine learning. Artif. Intell. 325, 104014 (2022). [Google Scholar]
- 101.Foote M., Diversity-dependent diversification in the history of marine animals. Am. Nat. 201, 680–693 (2023). [DOI] [PubMed] [Google Scholar]
- 102.Duchen P., Alfaro M. L., Rolland J., Salamin N., Silvestro D., On the effect of asymmetrical trait inheritance on models of trait evolution. Syst. Biol. 70, 376–388 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 103.T. Gaboriau, J. A. Tobias, D. Silvestro, N. Salamin, Exploring the macroevolutionary signature of asymmetric inheritance at speciation. https://www.biorxiv.org/content/10.1101/2023.02.28.530448v1 (2023). [DOI] [PMC free article] [PubMed]
- 104.Westerhold T., Marwan N., Drury A. J., Liebrand D., Agnini C., Anagnostou E., Barnet J. S. K., Bohaty S. M., Vleeschouwer D. D., Florindo F., Frederichs T., Hodell D. A., Holbourn A. E., Kroon D., Lauretano V., Littler K., Lourens L. J., Lyle M., Pälike H., Röhl U., Tian J., Wilkens R. H., Wilson P. A., Zachos J. C., An astronomically dated record of Earth’s climate and its predictability over the last 66 million years. Science 369, 1383–1387 (2020). [DOI] [PubMed] [Google Scholar]
- 105.Hansen J., Sato M., Russell G., Kharecha P., Climate sensitivity, sea level and atmospheric carbon dioxide. Phil. Trans. R. Soc. A 371, 20120294 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 106.T. Santos, PVR: Phylogenetic eigenvectors regression and phylogentic signal-representation curve (2018).
- 107.R Core Team, R: A Language and Environment for Statistical computing (R Foundation for Statistical Computing, 2023). [Google Scholar]
- 108.Foote M., Hunter J. P., Janis C. M., Sepkoski J. J. Jr., Evolutionary and preservational constraints on origins of biologic groups: Divergence times of eutherian mammals. Science 283, 1310–1314 (1999). [DOI] [PubMed] [Google Scholar]
- 109.Kocsis Á. T., Reddin C. J., Alroy J., Kiessling W., The R package divDyn for quantifying diversity dynamics using fossil sampling data. Methods Ecol. Evol. 10, 735–743 (2019). [Google Scholar]
- 110.Polly P. D., Lawing A. M., Fabre A.-C., Goswami A., Phylogenetic principal components analysis and geometric morphometrics. Hystrix 24, 33 (2013). [Google Scholar]
- 111.Uyeda J. C., Caetano D. S., Pennell M. W., Comparative analysis of principal components can be misleading. Syst. Biol. 64, 677–689 (2015). [DOI] [PubMed] [Google Scholar]
- 112.Felsenstein J., Phylogenies and the comparative method. Am. Nat. 125, 1–15 (1985). [DOI] [PubMed] [Google Scholar]
- 113.Otto-Bliesner B. L., Marshall S. J., Overpeck J. T., Miller G. H., Hu A., Simulating Arctic climate warmth and icefield retreat in the last interglaciation. Science 311, 1751–1753 (2006). [DOI] [PubMed] [Google Scholar]
- 114.Braconnot P., Otto-Bliesner B., Harrison S., Joussaume S., Peterchmitt J.-Y., Abe-Ouchi A., Crucifix M., Driesschaert E., Fichefet T., Hewitt C. D., Kageyama M., Kitoh A., Laîné A., Loutre M.-F., Marti O., Merkel U., Ramstein G., Valdes P., Weber S. L., Yu Y., Zhao Y., Results of PMIP2 coupled simulations of the Mid-Holocene and Last Glacial Maximum – Part 1: Experiments and large-scale features. Clim. Past. 3, 261–277 (2007). [Google Scholar]
- 115.Á. T. Kocsis, N. B. Raja, Rgplates: R interface for the GPlates web service and desktop application (2023).
- 116.Müller D. R., Cannon J., Qin X., Watson R. J., Gurnis M., Williams S., Pfaffelmoser T., Seton M., Russell S. H., Zahirovic S., GPlates: Building a virtual Earth through deep time. Geochem. Geophys. Geosyst. 19, 2243–2261 (2018). [Google Scholar]
- 117.R. J. Hijmans, Terra: Spatial data analysis (2023).
- 118.Liu X., Song H., Chu D., Dai X., Wang F., Silvestro D., Heterogeneous selectivity and morphological evolution of marine clades during the Permian–Triassic mass extinction. Nat. Ecol. Evol. 8, 1248–1258 (2024). [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Figs. S1 to S8
Tables S1 to S3
Legends for data S1 and S2
Data S1 and S2




