Introduction

There are eight extant species of Ursidae, spread over five genera (Ursus, Helarctos, Tremarctos, Ailuropoda and Melursus), with diets ranging from folivory to carnivory (Tables 1 and 2). Two species of cave bear arose during the Pleistocene: Ursus deningeri and Ursus spelaeus. The former has been interpreted as the ancestor of the latter (Bon et al. 2008; Hänni et al. 1994; Rossi and Santi 2001). Their distribution extended from northwest Spain to the Urals, and from Belgium and the Harz region of Germany to Italy and Greece, and to the Crimea (Enloe et al. 2000; Grandal-d’Anglade and Vidal Romaní 1997; Kosintsev 2007). The later species, U. spelaeus, became extinct in Eurasia during the late Quaternary, approximately 27,800 calibrated years before 1950 A.D. (cal. yr. BP) (Pacher and Stuart 2008). Here and throughout, U. spelaeus and cave bear will be used to include the entire group, including proposed species, subspecies and haplotypes (Baca et al. 2012; Rabeder and Hofreiter 2004; Rabeder et al. 2004; Stiller et al. 2014), but excluding U. deningeri.

Table 1 Numbers of mandibulae (n) used for the analyses
Table 2 List of terms and their definition as adopted herein

There is no real consensus on the phylogeny of the whole Ursidae family, including fossil species. For example, the position of Ailuropoda is assumed to be within Ursidae by some (e.g., Bininda-Emonds et al. 1999; Flynn and Nedbal 1998; Talbot and Shields 1996; Wozencraft 1989) and a separate family by others (Tagle et al. 1986; Zhang and Shi 1991); also, the number of subfamilies within Ursidae varies from three to five (e.g., McLellan and Reiner 1994; Pilgrim 1932; Quilès 2002). According to recent taxonomic classifications, however, Ursidae are subdivided in four subfamilies: the extant Ursinae, Ailuropodinae and Tremarctinae (Fulton and Strobeck 2006) and the fossil Hemicyoninae (Ginsburg and Morales 1998). Here, we use the phylogeny as shown in Fig. 1. Not much is known of the evolution of Ailuropodinae from Ursavus. A number of teeth have been found in China dating to the Miocene, which have been assigned to the species Ailurarctos lufengensis (Hunt 2004). Rare Pleistocene specimens have either been assigned to Ailuropoda microta or Ailuropoda melanoleuca (Hunt 2004). Short-faced ursids (Tremartinae) first appear about 7 Ma in North America as the genus Plionarctos, which does not have a premasseteric fossa, and is very rare (Hunt 1999). Tremarctos first appears in North America at about 2.5 Ma and may have evolved directly from Plionarctos (Hunt 1999). Tremarctos subsequently reached South America, where it is still present as Tremarctos ornatus.

Fig. 1
figure 1

Phylogenetic tree of the family Ursidae as used in the present study, based on Bininda-Emonds et al. (1999), Hofreiter et al. (2002) and Krause et al. (2008)

The genus Ursus evolved from Ursavus, but its exact ancestor is unknown due to the time gap between the last record of Ursavus and the earliest Ursus (Hunt 2004). The genus Ursus is first known from a species from the late Pliocene of Europe: Ursus minimus (Martin 1989; McLellan and Reiner 1994). U. minimus migrated to Asia and became Ursus abtrusus in North America (Hunt 1999), which later evolved into Ursus americanus (McLellan and Reiner 1994). In Asia, U. minimus evolved into the Asiatic black bear (Ursus thibetanus) and the lineage leading to the sloth and Malayan sun bears (McLellan and Reiner 1994). The Etruscan bear (Ursus etruscus) evolved from U. minimus in Europe and possibly gave rise to both the brown bear (Ursus arctos) and U. deningeri, followed by U. spelaeus (Azzaroli 1983; Bon et al. 2008; Hänni et al. 1994; Martin 1989; McLellan and Reiner 1994; Rossi and Santi 2001). A population of U. arctos evolved into the polar bear (Ursus maritimus) around 1 Ma (Bininda-Emonds et al. 1999; Cahill et al. 2013).

There is no consensus on the diet of cave bears, and the topic is still intensively debated. Cave bears have been hypothesised by most authors to have been primarily herbivorous (Bocherens et al. 1997, 1994, 2011, 2014; Christiansen 2007c; Meloro et al. 20082015a; Rabeder et al. 2010; Raia 2004; Stiner et al. 1998), based on the morphology of their dentition and isotope analyses. Other analyses using 2D geometric morphometrics (Figueirido et al. 2009; Meloro 2011) as well as taphonomical (Rabal-Garcés et al. 2012) and isotope analyses (Richards et al. 2008; Robu et al. 2013) have suggested that cave bears included a substantial amount of meat in their diet. It has even been proposed that the end-Pleistocene extinction of large herbivores represented a decrease in large prey/carrion for the cave bear and contributed to its extinction (Hilderbrand et al. 1996).

Previous morphological and morphometric studies (Christiansen 2008; Figueirido et al. 2012; Kupczik and Stynder 2012; Oldfield et al. 2012; Prevosti et al. 2012; Sacco and Van Valkenburgh 2004; Stynder and Kupczik 2013) have shown a strong correlation between feeding ecology and craniodental morphology for the family Ursidae. Two- (Figueirido et al. 2009; Seetah et al. 2012) and three-dimensional (van Heteren et al. 2009, 2012, 2014) geometric morphometrics have been used to infer the feeding ecology of the cave bear from mandible and skull morphology. The results of Figueirido et al. (2009) suggest that craniodental and mandibular morphology of extant faunivorous and herbivorous bears differs, with omnivorous bears intermediate between the two, and with U. spelaeus resembling extant omnivores. The results of van Heteren et al. (2009, 2014), however, indicate that the shape of the mandible and skull in extant members of the genus Ursus shows a gradient from carnivory to herbivory, with U. spelaeus at the herbivorous extreme. Both studies were based on the genus Ursus only, which has a rather limited dietary range.

Thus far, morphometrical analyses of ursid masticatory morphology have been based on principal component analysis (PCA), which is a statistical tool in exploratory data analysis that identifies patterns in the data without any a priori assumptions. This is a very useful method for getting a general idea of how the data are structured, but when looking at specific research questions, more information can be extracted from the data if they are explored in relation to relevant additional data, such as dietary information. Here, we aim to interpret ursid mandible morphology in relation to diet and through evolutionary time, with a particular focus on the cave bear. The present study includes all bears to include a broader range of possible bear diets, including that of the herbivorous panda (A. melanoleuca). We will do so, first, by objectively exploring the morphology data using PCA and, then, by specifically analysing the relationship between morphology and dietary variables using a two-block partial least squares analysis (2B-PLS), which identifies directions in morphospace related to diet. We hypothesise that the cave bear will show morphological similarities with its congeners, but will display a clear departure in morphospace towards a more herbivorous morphology. We also hypothesise that mandibular shape is related to the percentage of foliage in the diet. If confirmed, this will allow us to predict the amount of foliage in fossil U. spelaeus.

Material and methods

To test the dietary hypotheses of cave bears, a sample of 103 bear specimens, including 13 fossil U. spelaeus, were collected (see Supplementary Information 1). Adult mandibles were measured with a MicroScribe G2 desktop digitising system (Immersion Corporation, San Jose, CA, USA). When both hemimandibles were present, the more complete was chosen for digitisation. Landmarks were chosen to reflect functional aspects of the mandibular corpus (Fig. 2 and Table 3).

Fig. 2
figure 2

Mandibles of Ursus spelaeus (a, b) and Tremarctos ornatus (c) and showing the position of the masseteric fossa (MF) and the premasseteric fossa (PMF). Positions of the landmarks on a mandible of Ursus spelaeus on the lingual side (a) and the labial side (b). The landmarks are described in Table 3. Not to scale. Part A of the figure also displays the biomechanics. The resistance (Fout) at the carnassial of the lower jaw depends on the muscular input force (Fin), the angle of insertion of the muscle onto the jaw (α) and the ratio of in-lever arm or moment arm (Li) to out-lever arm (Lo). Angle of insertion of jaw muscles changes during jaw closing and determines the moment arm of the muscular input force (Mi). Mass pertaining to the masseter, Temp pertaining to the temporalis. Li Mass and Mi Mass happen to be the same in this diagram

Table 3 Landmarks used for describing mandibular shape

Using MorphoJ version 1.06d (Klingenberg 2010a), raw 3D coordinates were scaled, rotated and translated by Procrustes superimposition. MorphoJ uses a full Procrustes fit and projects the data onto a Euclidean space tangent to shape space by orthogonal projection (Klingenberg 2010b). Reflection was used to make left and right specimens comparable. Specimens were aligned by principal axes, although the choice of alignment does not influence the statistical results (Klingenberg 2010b).

Shape associated with size (i.e., allometry), however, is still present in the data at this point. Taking this into account is important in view of the amount of body size variation within the group (Rabeder et al. 2008). To counteract the effects of allometry, so that (as near as possible) only shape is compared, a pooled regression analysis within species of the Procrustes coordinates onto log centroid size (Klingenberg 2010c) was performed. This analysis, used previously in both traditional and geometric morphometrics (Bruner and Costantini 2009; Mutsvangwa et al. 2010; Pierce et al. 1994; van Heteren et al. 2009; van Heteren et al. 2014), assumes that the allometry of the different species has the same exponent (slope) but different coefficients (intercepts). Supplementary Information 2 verifies the validity of these assumptions for the present dataset.

A composite phylogenetic tree of the taxa involved was created, based on topologies of Bininda-Emonds et al. (1999), Hofreiter et al. (2002) and Krause et al. (2008) (Fig. 1). The regression residuals were, subsequently, tested for the presence of a phylogenetic signal using the function physignal of the R package geomorph, using 10,000 iterations (Adams 2014). The morphological variation was then partitioned into a phylogenetic component, a component explained by diet and any unexplained variation using the methodology of Desdevises et al. (2003). To avoid the problem of pseudo-replication, the input data were based on averaged species as well as regions in the case of brown bears. Morphological variation was represented by the first four PCs, and the phylogenetic information was represented by the first five principal coordinates of the principal coordinate matrix computed from the phylogenetic distance matrix. A PCA on dietary percentages was performed to remove collinearity in the data and concentrate variation in the first few PCs. Only the first four axes were used to retain enough degrees of freedom for the analysis. The four PCos and the four dietary PCs both explain more than 99.9 % of the variance.

Differences between species were assessed in shape space by performing PCA. The landmark configurations of thirteen fossil U. spelaeus and 90 extant bear specimens were subjected to PCA. Regression residuals of the Procrustes coordinates, regressed onto log centroid size, served as the dependent variables. The alternative form space (based on the regression residuals plus log centroid size) is presented in Supplementary Information 3. To take into account the effects of phylogeny on the regression residuals for the PCA, a second PCA was performed. This second PCA used regression residuals calculated with the function pgls.Ives in the R package phytools (Revell 2012), which takes phylogeny into account, based on the work of Ives et al. (2007).

2B-PLS was performed in MorphoJ on the Procrustes coordinates in block 1 and standardised dietary percentages of the extant species (Table 1) in block 2. A permutation test with 10,000 repetitions was performed. The permutation test is performed by randomly varying the association between variables and the regression residuals (Rohlf and Corti 2000). The permutation test assumes a null hypothesis of complete independence between the two blocks of variables (Klingenberg 2010a). The position of U. spelaeus was projected into the PLS morphospace by regressing the PLS scores of the extants onto the PC scores of the first four PCs and substituting the PC scores of U. spelaeus in the resultant regression equations, which gives the estimated PLS scores of U. spelaeus in the extants’ morphospace. The nexus file of the phylogenetic tree was imported into MorphoJ and mapped onto the 2B-PLS results. Scatter plots of the taxon means of the PLS scores, with the phylogeny superimposed according to the reconstructed ancestral values, were interpreted in terms of evolutionary pathways.

To confirm the 2B-PLS results, a second regression between PC scores and foliage content of the diet was performed in PASW 17.0.3 (SPSS Inc. 2009). To determine the most appropriate variables, stepwise linear regressions were performed of both percentage of foliage and the logarithm thereof onto the first several relevant PCs. The stepping method criterion was set to use the probability of F with entry of the variable at p = 0.009999 and removal at p = 0.010000. The data and regression were plotted in a scatterplot with the 95 % confidence interval of the group means. Additionally, the mean regression score of U. spelaeus was plotted as a vertical line. Analogously, a phylogenetically controlled regression analysis was performed to determine which of the PCs is most closely correlated to foliage content of the diet. Here, a backward elimination phylogenetic generalised least squares (pGLS) analysis was performed on the PC scores using the R package pGLS.

Phylogenetic flexible discriminant analyses (phylo FDA) were performed on the first four PCs both with equal prior probabilities and prior probabilities calculated from group size to determine dietary preference and most important food item for cave bears. This analysis flexibly takes phylogeny into account when appropriate by calculating the optimal Pagel’s lambda to determine the degree of phylogenetic correction that needs to be applied. To avoid pseudoreplication, species means and region means for brown bears were used. This analysis was run in R using the methodology of Schmitz and Motani (2011).

Results

Sexual dimorphism in extant bears

The first four PC axes were interpreted, because they collectively explain 77 % of the shape variance in the data set and the other axes explain less than 5 % each. The influence of sexual dimorphism on the data was tested by performing PCA directly on the Procrustes coordinates without any allometric correction (Supplementary Information 2) and comparing these results with a PCA based on the regression residuals through MANOVA. Of the first four PCs, sex has a significant influence on PC2 (F(1,38) = 5.273, p = 0.027) when no allometric correction is performed. The interaction term of species*sex is not significant on any of the PCs (df1 = 6, df2 = 38). After allometric correction, sex (df1 = 1, df2 = 38) and the interaction term species*sex (df1 = 6, df2 = 38) do not have a significant effect on any of the first four PCs. The tests show that sexual dimorphism is sufficiently filtered out by correcting for allometry and does not need to be taken into account in the following analyses.

Phylogenetic signal

There is a significant phylogenetic signal present in the regression residuals (K = 0.3794, p = 0.0146). The morphological variation was partitioned to assess the amount of variation determined by diet, by phylogeny and by both (Fig. 3). When correcting for phylogeny, for example using independent contrasts, almost a third of the variation that is explained by diet will be removed. Therefore, both phylogenetically corrected and uncorrected analyses will be presented and interpreted together.

Fig. 3
figure 3

Morphological variation (thick horizontal line) partitioned among dietary influence (fractions a + b) and phylogeny (fractions b + c), as well as phylogenetically structured dietary variation (PSDV, fraction b). A small part of the morphological variation remains unexplained (fraction d)

Mandible shape in cave bears compared to extant bears

Figure 4 shows the shape changes associated with the first four PCs of shape space (see Supplementary Information 3 for form space PCAs). Within the spectrum of the genus Ursus, U. spelaeus is at the opposite end to U. maritimus on PC1. High scores on the first PC are indicative of a straight deep mandibular corpus with a low coronoid process, a masseteric fossa approximately level with the condyle and a narrow symphysis. U. spelaeus, however, has low PC1 scores, comparable with T. ornatus and A. melanoleuca, which are associated with a dorsoventrally concave mandibular corpus, high coronoid process, a dorsal position of the masseteric fossa and large distance between the angular process and the condyle. PC1 explains 36 % of the total variance.

Fig. 4
figure 4

PCAs on the regression residuals of all extant Ursidae and U. spelaeus after a regression analysis of the Procrustes coordinates onto log centroid size pooled per species (a, b) and on the regression residuals of the regression taking phylogeny into account (c, d). The colors indicate the most important food item in the diet; a red outline denotes that the specimen is a fossil and diet is unknown. a, c PCs 1 and 2. b, d PCs 3 and 4. Shapes at −0.1 and 0.1 of a and b on PCs 1 and 3 are shown outside the graph and on PC2 and PC4 inside the graph

Of the group of species with relatively low PC1 scores, A. melanoleuca has the highest PC2 values. The spectacled bear (T. ornatus) has intermediate PC2 scores and the cave bear (U. spelaeus) has the lowest PC2 scores (Fig. 4a). The scores of U. spelaeus are comparable to Melursus ursinus and the other members of the genus Ursus apart from U. maritimus. Relatively low PC2 scores, such as those displayed by U. spelaeus, represent a relatively small mandibular corpus height dorsoventrally, a low coronoid process and a high position of the masseteric fossa. PC2 explains 19 % of the total variance, which, together with PC1, is 55 % cumulatively.

U. spelaeus has PC3 scores similar to those of the other bear species, except for T. ornatus, which has extremely high PC3 scores (Fig. 4b). These aberrant scores of T. ornatus are caused by two main morphological features: the back of its tooth row starts at a relatively large distance from the condyle and its masseteric fossa has a relatively caudoventral position. PC3 explains 13 % of the total variance, which, together with the previous two PCs, is 68.2 % cumulatively.

U. spelaeus has PC4 scores that are most similar to those of A. melanoleuca but shows overlap with M. ursinus and U. arctos, as well (Fig. 4b). PC4 is mostly determined by shape changes associated with the position of the masseteric fossa and the shape of the symphysis. PC4 explains 9.1 % of the total variance.

In the PCA based on regression residuals of a regression that takes phylogeny into account, the first four PCs explain 33.5, 23.5, 14.2 and 5.5 % of the variance (Fig. 4c, d). This PCA looks rather different from the previous but also shows a clear separation between the various dietary preferences. In this PCA, the cave bear is even more clearly separated from the other members of the genus Ursus and approaches the panda in morphospace. This is particularly visible on PC2.

Mandibular morphology and diet in extant bears

A 2B-PLS of the regression residuals of the regression onto log centroid size pooled per species and the dietary variables listed in Table 1 was performed (Fig. 5). The overall strength of the association between the two blocks of the 2B-PLS is given by the RV coefficient (0.57). A permutation test against the null hypothesis of independence gives p = 0.0126, indicating that the two blocks are not independent. PLS scores of the 2B-PLS versus dietary variables are correlated with the phylogeny of Ursidae (p = 0.0008). A form space 2B-PLS is presented in Supplementary Information 3.

Fig. 5
figure 5

2B-PLS on the regression residuals of all extant Ursidae and U. spelaeus after a regression analysis of the Procrustes coordinates onto log centroid size pooled per species. A phylogenetic overlay is shown in gray

Figure 5 shows how species have adapted to varying diets. The lineages leading to U. spelaeus and A. melanoleuca are parallel in morphospace in a direction, which is determined by large amounts of foliage in their diets. There is some indication of convergent evolution in U. arctos and U. americanus. M. ursinus and Helarctos malayanus diverged relatively little, suggesting a rather long shared evolutionary history in the direction of increased amounts of invertebrates in their diets. The direction in morphospace of the lineage leading to U. maritimus corresponds to a decrease in foliage and a corresponding increase in vertebrates in its diet.

Mandibular morphology and diet in cave bears

U. spelaeus has relatively high PLS1 scores, comparable to those of T. ornatus (Fig. 5). PLS1 is primarily associated with the amounts of foliage and invertebrates in the diet. Therefore, U. spelaeus displays a mandibular morphology associated with much foliage in the diet.

U. spelaeus has much higher PLS2 scores than T. ornatus has and is more comparable to the other members of the genus Ursus. PLS2 is for the most part influenced by the percentage of vertebrate prey in the diet. The position of U. spelaeus in this PLS graph (Fig. 5a) is relatively neutral for this feature.

Figure 5 shows that U. spelaeus and A. melanoleuca both evolved in a direction in morphospace associated with the amount of foliage in the diet. The amount of foliage in the diet of cave bears was estimated by running a stepwise regression analysis of the percentage of foliage, and the logarithm thereof, unto the PC scores, which resulted in R 2 values of 0.505 and 0.786, respectively. In the regression with the logarithm of percentage of foliage, only PC1 was retained (Fig. 6). This regression is highly significant (F(1) = 33.144, p < 0.001). The average PC1 score of U. spelaeus (indicated by the vertical line) is much lower than that of all other members of the genus Ursus and similar to that of T. ornatus. Consequently, the foliage content of the diet of U. spelaeus is also predicted to be much higher than that of all extant members of the genus Ursus. Based on the regression analysis, the foliage content of the diet of U. spelaeus is reconstructed to 79 % and no less than 58 %. A phylogenetically corrected regression analysis corroborates the importance of foliage in the diet and estimates an even higher foliage proportion. The pGLS indicates that only PC1 is significantly correlated with foliage content in the diet. According to this analysis, U. spelaeus likely had a foliage intake that was 96 % of its total food intake.

Fig. 6
figure 6

Scatterplot of the PC1 scores versus the logarithm of the percentage of foliage in the diet. Linear regression lines were fitted with the 95 % confidence interval of the group mean and the mean scores of U. spelaeus (vertical line)

In the phylo FDA, the optimal Pagel’s lambda was determined to be 0, indicating that no phylogenetic correction was applied. The phylo FDA on dietary preference yields four discriminant functions. Both when all groups have equal prior probabilities and when prior probabilities are calculated from group size, 81.8 % of the cross-validated grouped specimens are correctly classified, meaning both analyses perform equally well. The results based on equal prior probabilities indicate that the dietary preference of U. spelaeus was foliage only (p = 0.7305), whereas the results with prior probabilities based on sample size indicates soft mast and foliage as preferred food items (p = 0.6834). The phylo FDA on most important food item using equal probabilities indicates that 81.8 % of the cross-validated grouped specimens are correctly classified, whereas 72.7 % of the cross-validated grouped specimens are correctly classified in the analysis with the prior probabilities based on sample size. Both analyses show that cave bears had foliage as most important food item in the case of equal probabilities with p = 0.991 and in the other analysis with p = 0.997. All four phylo FDAs point to the importance of foliage in the cave bear diet, whereas soft mast might have been of secondary importance according to one of the analyses.

Discussion

Evolution of dietary adaptations

In extant Carnivora, craniodental features have been shown to be linked to masticatory function (Anyonge and Baker 2006; Arribas and Palmqvist 1999; Biknevicius et al. 1996; Binder and Van Valkenburgh 2000; Christiansen and Adolfssen 2005; Cox 2008; Emerson and Radinsky 1980; Martínez-Navarro and Palmqvist 1996; Meloro et al. 2008; Oldfield et al. 2012; Slater et al. 2007; Therrien 2005; Van Valkenburgh 2007; Werdelin 1989; Werdelin and Solounias 1991). Tooth (root) morphology (Evans et al. 2006a; Evans et al. 2006b; Kupczik and Stynder 2012; Stynder and Kupczik 2013) gives an indication of preferred diet, while toothwear indicates the physical properties of what has actually been masticated (Van Valkenburgh and Hertel 1993). Rounded canines and canines with large bending strength suggest struggling with prey (Christiansen 2007a, b, c). The eight extant bear species analysed in the present study have varied diets, from completely folivorous to completely carnivorous to mostly insectivorous. These variations in dietary habits are expected to be reflected in their masticatory apparatus.

Although size is an important diet predictor in Carnivora (Gittleman 1985; Meloro 2011; Meloro et al. 2015b), there are large size differences within bear taxa, both geographically (e.g., brown bears) and between males and females, which allometrically change the shape of the mandible unrelated to diet. The importance of using allometrically corrected data for dietary analyses of modern bear morphology and dietary reconstructions of fossil bears (Supplementary Information 2) is also illustrated by work done on hominoids (McNulty 2004). McNulty’s work has shown that allometry contributes substantially to hominoid cranial morphogenesis and may do so for other taxa as well. Additionally, in the case of hominoids, evolution in size follows phylogeny. Any differences in shape without allometric correction may therefore be erroneously interpreted as different adaptations or the result of phylogenetic inertia. Correcting for allometry ensures that non-allometric adaptations are no longer obscured by allometry and are easier to interpret correctly. In addition, as part of the morphological variance is influence by both phylogeny and diet, it is helpful to simultaneously interpet phylogenetically corrected and uncorrected analyses.

The analyses herein, using allometrically corrected data, show good separation between the different dietary categories in terms of mandible morphology, as has previously been shown for skull morphology (Figueirido et al. 2009; Mattson 1998; Sacco and Van Valkenburgh 2004; van Heteren et al. 2014; Van Valkenburgh 2007). Bears that eat mostly insects, as well as those that eat mostly vertebrates, have relatively straight mandibular corpi, whereas those that eat mostly foliage have rather dorsoventrally curved mandibular corpi (Fig. 4a). Foliage-eating bears also have much dorsoventrally deeper mandibular corpi and higher coronoid processes than vertebrate-eating bears have (Fig. 4a). These are all indications that the PCA morphospace is determined by diet. This is confirmed by the 2B-PLS analysis (Fig. 5), which, although the axes are reversed, shows a very similar general pattern.

The panda (A. melanoleuca) was the first to split off from the other species phylogenetically (Bininda-Emonds et al. 1999) and has developed the most specialised diet, consisting solely of bamboo. The morphology of the mandible of A. melanoleuca is indicated in the present study to be adapted to relatively high amounts of foliage and low amounts of invertebrates and vertebrates in its diet (Fig. 5). Bamboo is a very tough material (Senshu et al. 2007), and its consumption requires certain masticatory adaptations, including increased tooth root surface (Kupczik and Stynder 2012). In Fig. 4a, the mechanical advantage of the temporalis muscle increases from the left upper corner of the graph to the right lower corner. This implies that pandas have very high coronoid processes, making the moment arm of the temporal muscle longer, so the force of this muscle is more effectively applied. Indeed, a strong mechanical advantage has been reported before for A. melanoleuca (Figueirido et al. 2009; Sacco and Van Valkenburgh 2004), and this feature is also linked to high fibre herbivory in other animals (Baryshnikov 2007). The masseteric fossa is located relatively ventrally according to the present results (Fig. 4). This does not change the absolute length of the moment arm of the deep masseter, but it does change the position where the moment arm is longest. In this configuration, the deep masseter is most effective in a more closed mandibular position. The superficial masseter, represented by landmark 5, does have a longer moment arm in the present study (i.e., it is positioned relatively far from the condyle), making this part of the muscle more efficient. As the superficial masseter is more efficient at more closed gapes than is the deep masseter, this is clearly an adaptation to closed jaw mastication, such as grinding. The results of the present study indicate that the superficial and deep masseter and the temporal muscle all contribute to an effective grinding motion when the jaw is nearly closed (i.e., they have relatively long moment arms when the jaw is nearly closed (Fig. 4)), the masseter pulling rostrally and laterally, and the temporalis pulling caudally and medially. The muscles themselves are very powerful, too, according to previous studies, which can be seen from the large space available between the zygomatic arch and the supraorbital process for the masticatory muscles as well as the depth of the zygomatic arch, which provides a large attachment area for the masseter (Mattson 1998). The strong muscles, which reflect the toughness of bamboo (Senshu et al. 2007), lead to additional adaptations to resist torsion and bending in the mandible. The panda’s mandibular corpus is relatively curved, and the mandibular symphysis is rather deep in the present study (Fig. 4). Pandas are, thus, very well adapted to their diet. The initial evolutionary reasons why the panda began eating substantial amounts of bamboo around 7 Ma and become fully dependent on it by around 2 Ma is still a mystery (Jin et al. 2007; Jin et al. 2011). Genetic evidence suggests, however, that this change was coincident with changes in taste perception, making the eating of meat less rewarding for the panda (Jin et al. 2011).

The second species to split off from the evolutionary tree of bears was the spectacled bear (T. ornatus) (Bininda-Emonds et al. 1999). In the analyses presented above, T. ornatus consistently occupies positions in morphospace that may be unexpected based on what is known about its diet. This is due to a feature of the mandible of the spectacled bear that is not found in other extant ursids: the premasseteric fossa (Fig. 2c). The premasseteric fossa is not occupied by any soft tissue and could potentially function as a cheek pouch, although it has not been observed to be used in that way (Davis 1955). The function of this fossa remains unclear but must have been important, judging from the fact that it evolved convergently on at least three separate occasions within Ursidae (Hunt 1999) and that it may be related to an expansion of the musculus zygomaticomandibularis (Davis 1955), which has been linked to the supposed herbivorous diet of the spectacled bear (Trajano and Ferrarezzi 1995). The spectacled bear, however, has a non-specialised diet similar to that of the American black bear (Table 1), and its mandible does not show any specific masticatory adaptations related to the function of the temporal muscle or resistance against bending forces or torsion. The omnivorous diet of the spectacled bear consists of relatively little foliage (Table 1) and is not as tough as that of the panda. The presence of the premasseteric fossa influences the rest of the morphology of the mandible. A comparison of Fig. 2b and c shows that the masseteric fossa is pushed back caudally in T. ornatus due to the premasseteric fossa. This causes the masseter to be relatively inefficient when the jaw is widely opened and more efficient when the jaw is more closed. It is important to keep in mind though that this is not necessarily a direct adaptation of masseter functionality to diet, but might be an indirect adaptation due to the premasseteric fossa, of which the function is still unknown.

The genus Ursus is the only genus of bears with a well-documented fossil record (Herrero 1972), and it is the most generalised genus of the bear family, apart from its most recent offshoot, the polar bear. In the present study, it is possible to reconstruct the diet of U. minimus. U. minimus was about the size of H. malayanus but in general resembled black bears morphologically (Herrero 1972). Based on the present work, some predictions about its diet can be made. U. minimus, which was on the lineage leading to both the last common ancestor of the extant members of the genus Ursus and the lineage leading to the sloth and Malayan sun bear (Fig. 1), is predicted possibly to have had an elevated vertebrate intake (Fig. 5). U. minimus was a small, primitive ursine bear that generally increased in size over evolutionary time (McLellan and Reiner 1994). U. minimus has previously been proposed to have been omnivorous with a preference for invertebrates based on two-dimensional geometric morphometrics of the mandibular outline in lateral view (Meloro 2007). This conclusion was, however, based only on the position in PCA morphospace of U. minimus but not the direction through a diet-specific morphospace of the evolutionary lineage. In Fig. 5, the direction of the lineage of U. minimus in 2B-PLS morphospace indicates a decrease in foliage, with a possible increase in vertebrates, relative to its ancestor.

The two insectivorous species, the Malayan sun bear (H. malayanus) and the sloth bear (M. ursinus), split off from the bear family tree together (Bininda-Emonds et al. 1999) and developed adaptations to eating insects and fruits. H. malayanus and, particularly, M. ursinus hardly have any fibrous food items in their diet. These species need very little mechanical advantage, seen in the very low coronoid process (Fig. 4). The results of the present study correctly indicate that the morphology of both H. malayanus and M. ursinus indicates relatively low amounts of foliage and high amounts of invertebrates in their diets (Fig. 5). Their diet, and probably that of their ancestors, is not very tough. The morphometric analyses in the present study suggest that their mandibles do not show any specific adaptations of the masseter and temporalis muscles. Both species, and presumably their ancestors, have a particularly long tongue to suck and lick up insects (Augeri 1995; Fredriksson et al. 2006; Kurt 1990; Meijaard 1998; Yoganand et al. 2012). Such a tongue requires a lot of space in the mouth cavity, and the present analyses suggest that this is provided by a relatively deep mandibular corpus and associated mandibular symphysis (Fig. 4). Later in evolutionary history, the two species split from each other adapting to their own niches. The Malayan sun bear eats slightly fewer insects and less soft mast than does the sloth bear but eats approximately as many vertebrates as the brown bear. This makes Malayan sun bears more omnivorous than sloth bears and restricts potential adaptations to the insectivorous part of its diet. The mastication of vertebrates requires more force than does the mastication of most fruits and insects, which are less fracture-resistant (Popowics 2003). In the present analyses, the coronoid process of the Malayan sun bear is higher, and the masseteric fossa is located more rostrally than are those of the sloth bear (Fig. 4), lengthening the moment arms of both the masseter and the temporalis, making both these muscles more effective. Both species are, thus, very well adapted to their respective diets. The fossil record for the lineage leading to the Malayan sun bear and the sloth bear is scant, but the pronounced morphological divergence of the Malayan sun bear and sloth bear relative to the other ursine bears is likely a recent adaptation to the exploitation of an insectivorous niche by these South Asian bears (McLellan and Reiner 1994). The split between the two bears roughly coincides with the mid-Pleistocene transition from obliquity to eccentricity-led climatic cycles (Clark et al. 2006), and it is conceivable that this transition is somehow related to their speciation and dietary adaptations.

The oldest split within the genus Ursus is that of the American black bear (U. americanus) and U. etruscus, the last common ancestor of Asiatic black bear and the lineage leading to modern brown bear and polar bear. The results of the present analyses suggest that the American black bear does not show any particular adaptations in the temporal or the masseter muscle functionality and its diet is unspecialised (Fig. 4, Table 1). Early forms of U. etruscus were about the size of the Asiatic black bear, but over time they increased in size up to the size of brown bears (Herrero 1972). U. etruscus was probably a forest-adapted species (Herrero 1972). The U. etruscus lineage is predicted, based on the present results, to have been parallel to that of the American black bear (Fig. 5), which may be associated with a decrease in the amount of invertebrates and an increase in meat in the diet. This makes sense in terms of its evolutionary size increase, as it is difficult to sustain a large body size on invertebrates. Based on dental morphology, U. etruscus has, indeed, been thought to have been an unspecialised omnivore, despite its high levels of δ15N, which have been attributed to either the consumption of fish or the reuse of urea during hibernation (Palmqvist et al. 2003; Palmqvist et al. 2008a; Palmqvist et al. 2008b). Based on two-dimensional geometric morphometrics, however, it has been suggested that U. etruscus was omnivorous with a preference for meat (Meloro 2007). In the present work, the direction of its lineage in morphospace also implies that it consumed more vertebrates than its ancestor did, supporting the conclusions of Meloro (2007).

The next species to split off within the genus Ursus was the Asiatic black bear (U. thibetanus), although it can morphologically be viewed as a slightly modified surviving U. etruscus (Herrero 1972). The Asiatic black bear is omnivorous but eats mostly hard mast. The position of U. thibetanus in morphospace is difficult to explain. With such a large portion of hard mast in their diet, one might expect the necessity for more mechanical advantage, for example to crack open nuts, but Fig. 4 shows that this bear has very little mechanical advantage concerning the masseter. This may be compensated, however, by a relatively large cross-section of the masseter muscle (Christiansen 2007c). The results of the present analyses show that this required only slight masticatory adaptations of the mandible (Fig. 4). The present analyses show that U. thibetanus has smaller foliage component in its diet as compared to the invertebrate component than U. arctos and U. americanus (Fig. 5).

Brown bears (U. arctos) and polar bears (U. maritimus) are the last two species of the genus Ursus to diverge. Whereas brown bears retained a relatively diverse diet, polar bears specialised in eating meat. The results of the present analyses show that the morphology and muscle function of brown bears is very similar to that of the other omnivorous bears and does not show any specific adaptations. The present analyses suggest that polar bears, on the other hand, have developed adaptations to eating meat in contrast to the other members of the genus Ursus for whom soft mast and other plant matter are consistently an important determinant of morphology, as indicated by the 2B-PLS analyses (Fig. 5). In PCA morphospace, this is also visible in the present study, as the polar bear has a straighter mandibular corpus than the panda has with a lower coronoid process (Fig. 4). In terms of biomechanics, this means that in the present analyses, the temporal muscle of the polar bear has a relatively short moment arm, as opposed to the long moment arm of the panda (Fig. 4). It may seem counter-intuitive that U. maritimus, being carnivorous, should need so little mechanical advantage for the temporal muscle. Bears, however, mostly eat prey that are relatively smaller than those of canids or felids (Sacco and Van Valkenburgh 2004). Felids (and canids even more so) use their jaws as an important tool for subduing prey, although is not their only weapon (e.g., claws). Bears, being relatively larger, do not need the same mechanical advantage of their temporal muscle as canids and felids do, because they can subdue their prey with their strong paws and large body weight and are less dependent on their jaws to hold the prey. U. maritimus is no exception; it eats mostly seal pups (Stirling and Archibald 1977), which are not only small, but also vulnerable. This is consistent with a previous study (Slater et al. 2010) that showed that the skull of U. maritimus is relatively weak. Additionally, the polar bear has a rather short grinding basin, as its meat-based diet does not require grinding. The masseter of polar bears has a long moment arm and its attachment is located rather rostrally (Fig. 4), making the masseter very efficient when the jaw is at a wider gape angle for grabbing prey. The split between brown and polar bears, again, coincides approximately with the mid-Pleistocene transition (Clark et al. 2006). This climatic transition resulted in more extensive ice sheets, due to longer formation periods. This likely forced some of the brown bears to adapt to colder, arctic conditions, resulting in what we now know as the polar bear.

Overall, all the extant bear species show mandibular shape variations that are compatible with the hypothesis that their morphology is influenced by their respective diets. Even the polar bear, whose lineage only diverged from that of the brown bear relatively recently (i.e., 1 Ma (Bininda-Emonds et al. 1999)), displays clear masticatory adaptations to its specialist meat-based diet. The reconstructions of the diets of U. minimus and U. etruscus, particularly the latter, based on the present study, are consistent with analyses of teeth and two-dimensional geometric morphometrics from the literature. This indicates that overlaying a phylogeny onto morphospace can provide valuable information on taxa that are rarely or incompletely preserved in the fossil record. Additionally, this offers the possibility of interpreting the diet of extinct bears, such as the cave bear, according to the position in morphospace of their fossils.

Cave bear diet

The present study assesses the mandibular adaptations of fossil and extant bears, with the aim of identifying the likely diet of U. spelaeus, which inhabited Europe during the Pleistocene. Previous work on U. spelaeus based on morphology, stable isotopes and tooth microwear analysis has not led to an agreement on their diet or behaviour (Athen 2006, 2007; Bocherens et al. 1994, 1997; Figueirido et al. 2009; Hilderbrand et al. 1996; Osborn 2010; Peigné et al. 2009; Pinto Llona 2006; Quilès et al. 2006; Rabal-Garcés et al. 2012; Richards et al. 2008). The present study thus contributes to the current debate on the diet of cave bears by analysing the relationship between form and function of the masticatory apparatus of bears.

The results of the present analyses show that, in terms of masticatory functional morphology, U. spelaeus occupies a position in morphospace close to extant brown bears, but its mandible is slightly more curved approaching the configuration of the folivorous panda (Fig. 4), possibly indicating an elevated amount of foliage in its diet relative to modern brown bears. This is supported by the fact that the position in morphospace of cave bears and polar bears are on opposite sides relative to other members of the genus Ursus (Fig. 4; van Heteren et al. 2009), suggesting that as polar bears eat more meat than do brown bears, cave bears are likely to have eaten less meat. The moment arm of the superficial masseter of U. spelaeus is much longer and the moment arm of the deep masseter slightly longer than that of the extant brown bear, approaching the configuration of the panda (Fig. 4). The masseter, and particularly the superficial masseter, is relatively effective when the jaw is nearly closed (Ewer 1973). Increased effectiveness of muscle force at this gape angle may be an adaptation to grinding plant matter. The lineage leading to the cave bear runs parallel to the folivorous panda in 2B-PLS morphospace (Fig. 5). Thus, U. spelaeus and A. melanoleuca appear to have displayed parallel evolution and the different morphologies of these species can largely be attributed to different ancestries. This indicates that cave bears evolved mandibular adaptations suited for a diet with similar properties to that of the panda.

The moment arm of the temporalis muscle of cave bears is longer than that of modern brown bears and approaches that of the panda. The temporalis muscle of cave bears is inferred to have been most efficient at a jaw position that is more closed than at the most efficient position for either the modern brown bear or the panda (Fig. 4); this is unique and not seen in any extant bear. As there is no modern analogue, it is difficult to infer to what this may be an adaptation, but it is conceivable that this increased efficiency of the temporal muscle when the jaw is nearly closed aids in delivering a more powerful grinding motion compared to U. arctos. This may be an adaptation to elevated levels of herbivory, consistent with the interpretation of the masseter morphology. This may have evolved in response to the Pleistocene climate, which became increasingly varied and cold over time (Lisiecki and Raymo 2007). In any case, Fig. 4 shows that U. spelaeus had less mechanical advantage of the temporalis muscle than A. melanoleuca had, but more than the other extant bears have, suggesting a relatively high fibre diet. These results correspond with recent stable isotope analyses of cave bears (Bocherens et al. 2011). According to the phylo FDA analysis, U. spelaeus would have had foliage as its most important food item with possibly soft mast as second most important food item. Futhermore, the regression analyses suggest that the foliage content of the cave bear diet was likely between 79 and 96 %.

Mattson (1998) performed comparable analyses to those presented here but using linear measurements on the skull and mandible of a subset of modern bear species and two fossil bear species, including the cave bear. He showed that there was good agreement between skull and mandible morphology and the composition of the faeces, which he used as a proxy for diet. Based on his results, he predicted that cave bear faeces should consist almost wholly of foliage and/roots, and he interpreted this as an indication of a mostly herbivorous diet for the cave bear, consistent with the results of our study. Isotope analyses of cave bear teeth have provided variable results, sometimes pointing to the cave bear as being herbivorous (Bocherens et al. 1994) and sometimes to a substantial amount of meat in its diet (Hilderbrand et al. 1996). However, this latter effect may be due to metabolic peculiarities associated with hibernation (Nelson et al. 1983; Palmqvist et al. 2003; Palmqvist et al. 2008a; Palmqvist et al. 2008b). Previous geometric morphometric analyses of the skull (van Heteren et al. 2014) also indicated that the cave bear had a diet that predominantly consisted of foliage and/or roots and tubers, which possibly involved mastication of grit as well (Stiner et al. 1998).

Conclusion

The results of the analyses presented here, using 3D geometric morphometrics with allometric and phylogenetic correction, suggest that bear mandibular morphology reflects diet with a clear separation between the species, which allows for easy classification of the diet of cave bears. As hypothesised, the position of the cave bear in morphospace reflects both its phylogeny and its diet. The influence of these two factors can be visualised by plotting the phylogeny of the represented taxa onto diet-related morphospace. The evolutionary directions in morphospace then represent dietary adaptations irrespective of the species’ phylogenetic starting point.

Using various approaches, the present study suggests that cave bears were primarily folivorous, which is in support of the prevailing hypothesis that the cave bears were herbivorous (Bocherens et al. 1997; Bocherens et al. 2014; Bocherens et al. 1994; Bocherens et al. 2011; Christiansen 2007c; Rabeder et al. 2010; Stiner et al. 1998). There is no support for the interpretation of adaptations to scavenging or hunting behaviour in cave bears. This implies that the cave bear’s extinction is not caused by a lack of food supply after the end-Pleistocene large herbivore extinction, but rather that the cave bear was one of the large herbivores.