Skip to main content
Science Advances logoLink to Science Advances
. 2022 Dec 16;8(50):eabq5201. doi: 10.1126/sciadv.abq5201

Dental form and function in the early feeding diversification of dinosaurs

Antonio Ballell 1,*, Michael J Benton 1, Emily J Rayfield 1
PMCID: PMC9757754  PMID: 36525501

Abstract

Dinosaurs evolved a remarkable diversity of dietary adaptations throughout the Mesozoic, but the origins of different feeding modes are uncertain, especially the multiple origins of herbivory. Feeding habits of early dinosaurs have mostly been inferred from qualitative comparisons of dental morphology with extant analogs. Here, we use biomechanical and morphometric methods to investigate the dental morphofunctional diversity of early dinosaurs in comparison with extant squamates and crocodylians and predict their diets using machine learning classification models. Early saurischians/theropods are consistently classified as carnivores. Sauropodomorphs underwent a dietary shift from faunivory to herbivory, experimenting with diverse diets during the Triassic and Early Jurassic, and early ornithischians were likely omnivores. Obligate herbivory was a late evolutionary innovation in both clades. Carnivory is the most plausible ancestral diet of dinosaurs, but omnivory is equally likely under certain phylogenetic scenarios. This early dietary diversity was fundamental in the rise of dinosaurs to ecological dominance.


Early dinosaurs evolved diverse tooth shapes and mechanics as adaptations to different diets, so ensuring their success.

INTRODUCTION

Dinosaurs were an outstandingly diverse clade of archosaurs that evolved a wide range of craniodental morphologies throughout the Mesozoic (Fig. 1), implying the exploitation of varied feeding strategies and food resource use (16). The ancestral diet of dinosaurs is a matter of debate, partly because of alternative hypotheses for the basal topology of dinosaur phylogeny (79) and partly because of the rarity of direct evidence of feeding behavior (e.g., stomach contents, coprolites, etc.). Therefore, most dietary inferences have been based on observations of craniodental morphology in early dinosaurs, with a particular focus on teeth (2, 10, 11). The curved, finely serrated teeth typically seen in early saurischians and theropods (12, 13) are considered indicators of carnivory, while the denticulated, lanceolate teeth of sauropodomorphs (14) and the triangular teeth of ornithischians (15) were traditionally associated with herbivorous habits. These observations formed the basis for the idea that the ancestral diet of dinosaurs was carnivory, and herbivory evolved independently at the origin of sauropodomorphs and ornithischians (16). This simplistic scenario has been challenged recently by the discovery of new taxa with intermediate craniodental traits (11, 1720), comparisons with extant analogs (10), and the diet and phylogenetic position of dinosauromorph clades such as silesaurids (9, 11, 21). Thus, the diversity of feeding modes in early dinosaurs and their contributions to the radiation of this successful clade remain obscure.

Fig. 1. Time-calibrated phylogeny of Dinosauria including species from the Late Triassic and Early Jurassic.

Fig. 1.

Names of dinosaur species in this study are marked in bold. 3D tooth models of selected dinosaurs are shown in labial view. Simplified phylogenetic tree modified from the work of Müller and Garcia (9) and Pol et al. (86).

Tooth shape determines the ability of the feeding apparatus to break down different food items and thus obtain nutrients and energy (22), and this is subject to strong selective pressures. Consequently, the evolution of diverse dental morphologies in a clade can reflect the adaptation to a wide variety of diets and feeding strategies (23, 24), although historical and developmental factors can impose constraints on this process (25). Modern quantitative techniques can characterize different functional aspects of the dentition, such as morphological diversity, complexity, and mechanics. These are powerful tools to unravel the relationship between dental form and function and support dietary inferences in extinct taxa, especially when informed by ecological information from modern analogs (26, 27). These morphofunctional and ecological data, combined with machine learning classification methods, can generate robust predictions of ecology in extinct species (28, 29).

Here, we investigate the dental form and function in 11 early-diverging dinosaurs, including ornithischians, sauropodomorphs, and early saurischians/theropods (Fig. 1), in comparison with 47 extant sauropsids (squamates and crocodylians) that exhibit different dietary habits. We analyze tooth three-dimensional (3D) models using finite element analysis (FEA) and landmark-based geometric morphometrics (GMM) to quantify variation in dental stress and shape among living sauropsids and ascertain where dinosaur dentitions fit in comparison with their modern analogs. We assess the relationship between dental morphology and mechanical behavior and the influence of diet on both aspects. Last, we use machine learning classification to predict the diets of early dinosaurs based on dental form and function. Our findings indicate that early dinosaurs had morphofunctionally diverse dentitions and explored a wide range of tooth shapes and mechanical behaviors occupied by extant sauropsids with different diets. A dietary shift from carnivory to herbivory through an omnivorous phase occurred in Sauropodomorpha, and early ornithischians might have exploited omnivorous diets. These results suggest an early diversification of feeding modes in Dinosauria during the Late Triassic and Early Jurassic, thereby contributing to the success of dinosaurs at a time of rapidly changing climates and vegetation.

RESULTS

Dental stress distribution and magnitude

The distribution of von Mises stress under a simulated biting load reflects the relative biomechanical behavior and strength of the studied tooth morphologies (Fig. 2). The teeth of most carnivorous taxa experience bending, as reflected by the cantilever-like pattern of stress distribution, with the mesial and distal cutting edges showing the highest stress. Teeth of other dietary groups experience generalized low stress with patterns consistent with compression. Herbivores show more variation in stress distribution patterns, those with simpler teeth having generally larger areas of low stress. Of the dinosaur sample, those with curved teeth, such as Herrerasaurus, Eodromaeus, Buriolestes, and Eoraptor, show larger areas of high stress and a bending-like distribution. The apicobasally high and slightly curved tooth of Manidens also shows high stress. Lesothosaurus has the largest areas of low stress, followed by Saturnalia and the post-Carnian sauropodomorphs.

Fig. 2. Von Mises stress distributions on the teeth of extant sauropsids and early dinosaurs.

Fig. 2.

(A) Extant sauropsids are divided into dietary categories. (B) Dinosaurs are represented in a simplified phylogenetic tree modified from the work of Müller and Garcia (9).

The mesh-weighted arithmetic mean (MWAM) (30) represents the average von Mises stress value of a model corrected for mesh heterogeneity (Fig. 3A). Von Mises stress mean values are substantially higher in carnivores than in the other groups, and they show the largest range of variation (Fig. 3, A and B). Omnivores and insectivores have generally low stress magnitudes, and durophages show the lowest values. Herbivores show varied mean stress values, intermediate between carnivores and the other dietary groups. Dinosaur taxa show high variation in mean tooth stress. The dinosaurs with the highest stress values are Herrerasaurus, Manidens, Eodromaeus, Buriolestes, and Eoraptor. The lowest stress value is recovered for Lesothosaurus (Fig. 3A), followed by Saturnalia and the plateosaurian sauropodomorphs. Thecodontosaurus shows an intermediate von Mises stress value.

Fig. 3. Average stress values of the teeth of extant sauropsids and early dinosaurs.

Fig. 3.

(A) Von Mises stress MWAMs of each taxon divided by dietary category. (B) Von Mises stress MWAM median and range per dietary categories. Silhouettes: Thecodontosaurus by G. Ugueto and others from PhyloPic (http://phylopic.org) by A. Reindl, S. Traver, N. Claunch, J. M. Wood, and S. Hartman.

Biomechanical performance variation

The principal components analysis (PCA) of the biomechanical data expressed in 150 intervals decomposes the stress distribution variation into 57 principal components (PCs). The first two PC axes capture most of the stress variation (93.7%), the first representing 81.1% of the variance (Fig. 4A and fig. S4). Variation in stress variables is closely linked to PC1, with high stress variables oriented toward positive PC1 and low stress variables toward negative values of the axis (Fig. 4A). Besides their different positions in the biomechanical space (Fig. 4B), dietary groups show significantly different levels of biomechanical disparity, measured as convex hull volume, except for omnivores and insectivores (figs. S5 and S6). Carnivores occupy the largest area of the biomechanical space (fig. S5), particularly in the positive region of PC1. This area extends toward negative PC1 due to one taxon with low dental stress, Crotaphytus bicinctores. Herbivores have the second largest convex hull, ranging from negative to positive values of PC1. The other dietary categories are restricted to the quadrant of negative PC1 and PC2, largely overlapping in biomechanical space. Omnivores appear to occupy the largest area of these three groups, although not significantly different from the area of insectivores (fig. S6). Dinosaurs occupy a relatively large area in the center of the biomechanical space, overlapping the convex hulls of extant sauropsids (Fig. 4B). Herrerasaurus, Manidens, Eodromaeus, Buriolestes, and Eoraptor occupy the positive region of PC1, within the area of extant carnivores, which corresponds to high stress intervals. The ornithischian Lesothosaurus and the sauropodomorphs Plateosaurus, Massospondylus, Ngwevu, and Saturnalia are plotted in the negative PC1 area, with extant herbivores, insectivores, and omnivores. Thecodontosaurus occupies an intermediate position in biomechanical space, close to neutral PC1 and within the carnivorous convex hull.

Fig. 4. Biomechanical space representing the variation in tooth stress.

Fig. 4.

(A) Complete dental biomechanical space captured by PC1 and PC2 axes and showing convex hulls by dietary categories. Interval variables are represented by arrows with colors that indicate stress levels. Stress distribution plots of selected taxa are shown to visualize differences in stress distribution and magnitude in biomechanical space. (B) Biomechanical space region occupied by early dinosaurs, accompanied by stress distribution plots. Silhouettes: Thecodontosaurus by G. Ugueto, Buriolestes by Maurissauro, Eodromaeus by Conty (from PhyloPic; http://phylopic.org), and others by S. Hartman (from PhyloPic).

The phylogenetic signal in dental stress variation is low but significant, both when tested on MWAM (Kmult = 0.561; P = 0.001) and stress intervals (Kmult = 0.524; P = 0.01). When Kmult is lower than 1, taxa resemble each other less than expected given their phylogenetic proximity. The effect of allometry is not significant in structuring dental stress variation, regardless of the stress variable (MWAM or intervals) or size proxy (centroid size, surface area, or volume) used (tables S6 to S11).

Dental shape variation

The morphospace resulting from the PCA performed on the Procrustes coordinates of tooth shape is represented by 57 PC axes. The first three PC axes explain 83.84% of the shape variance in the sample (Fig. 5A and fig. S8). PC1 represents 62.2% of the variance and reflects variation in tooth aspect ratio (Fig. 5A). Teeth with low and robust crowns are plotted toward negative PC1, and high, slender teeth are plotted on positive values of PC1. PC2 explains 14.12% of variance, mostly associated with crown curvature and width. Curved and blade-like teeth are plotted on the positive range of PC2, and straight teeth with few cusps are plotted toward the negative range of the axis. PC3 explains 7.52% of variance and reflects differences in dental complexity, separating simple conical teeth toward positive values and complex, multicusped teeth toward negative values. Extant dietary groups show different morphological disparity level as expressed by convex hull volume. Herbivores have the largest convex hull, although not significantly larger than the area of carnivores, while omnivores and insectivores show similar levels of low disparity (figs. S9 and S10). Carnivores occupy a separate and large area of morphospace, mostly located in the positive area of the three PC axes (Fig. 5A), representing curved simple teeth with high aspect ratios, such as the theoretical carnivore shape (Fig. 5B). The large area of morphospace occupied by herbivores is mostly located in the negative area of PC1 (Fig. 5A). The theoretical herbivore tooth shape is lanceolate and multicusped (Fig. 5B). Omnivores largely overlap with herbivores in morphospace, having smaller convex hull area (Fig. 5A) and simple, tricuspid mean shapes (Fig. 5B). Insectivores occupy a central position in morphospace, overlapping the areas of the other three dietary groups (Fig. 5A). Durophages occupy a small area of negative PC1 represented by low bulbous crowns (Fig. 5, A and B). Dinosaurs are mostly restricted to positive PC1 with high aspect ratio teeth, except for Lesothosaurus. Early diverging saurischians, such as Herrerasaurus, Eodromaeus, Buriolestes, Saturnalia, and Eoraptor, are plotted within or close to the carnivore area represented by curved, bladed teeth. Post-Carnian sauropodomorphs occupy an area of morphospace associated with straight, multicusped tooth morphologies with high aspect ratio. Among the ornithischians, Lesothosaurus is plotted within the herbivore area of morphospace and Manidens occupies a unique area of tall, straight, and multicusped teeth.

Fig. 5. Morphological morphospace representing the variation in tooth shape.

Fig. 5.

(A) Morphospace of the first three PC axes obtained from 3D landmark data capturing tooth morphology. Convex hulls indicate the area occupied by each dietary group. Aspects of tooth morphology explained by each PC axis are represented in double arrows, accompanied by the extreme shapes of each PC axis. (B) Theoretical mean shapes of each dietary category reconstructed from the Procrustes coordinates in labial (top) and mesial (bottom) views. The tooth model of the specimen closest to the Procrustes mean was warped using the mean Procrustes coordinates of each dietary group. (C) Landmarking protocol composed of 3 fixed landmarks (blue), 44 curve semilandmarks (red), and 98 surface semilandmarks (green), digitized on the Thecodontosaurus antiquus tooth model in labial (top) and mesial (bottom) views. Silhouettes: Thecodontosaurus by G. Ugueto, Buriolestes by Maurissauro, Eodromaeus by Conty (from PhyloPic; http://phylopic.org), and others by S. Hartman (from PhyloPic).

The phylogenetic signal in dental morphology is low, as reflected by a Kmult of 0.5717, but significant (P = 0.001). The effect of allometry is not significant in explaining variation in tooth shape when using tooth surface area and volume as size proxies (tables S13 and S14). When centroid size is used, the effect is significant but explains a small proportion of shape variation in the sample (table S12), suggesting a small allometric signal in the shape data. In contrast, diet significantly influences variation in tooth shape within the sample regardless of control for phylogenetic signal, as both standard and phylogenetic Procrustes analysis of variance (ANOVA) recover a significant relationship between diet and shape (P = 0.001 and 0.016; tables S15 and S16). Last, dental stress and shape are significantly associated, with and without control for phylogenetic signal (r-PLS = 0.87; Z = 4.91; P = 0.001).

Dietary classification

Pairwise permutational multivariate ANOVA (PERMANOVA) was performed on the biomechanical and morphological PC coordinates that account for 90% of the variation to test for significant differences between dietary groups. The results on both datasets reveal that carnivores are significantly different from herbivores, omnivores, and insectivores, but there are no significant differences between the other combinations of groups (table S17). A second PERMANOVA test was carried out with three dietary categories (carnivores, herbivores, and omnivores) by including insectivores and durophages within omnivores based on their overlap in both morphospaces (Figs. 4A and 5A). In this case, all dietary categories were significantly different from each other in both datasets, except for omnivores and herbivores in the morphological dataset (table S18).

Nine machine learning algorithms were tested on the biomechanical and morphological datasets, considering three dietary categories. Naïve Bayes was the best-performing one for the biomechanical dataset, and neural network was the best for the morphological dataset (see the Supplementary Materials). After tuning, the biomechanical naïve Bayes model achieved its best performance with the nonparametric method, a Laplace correction of 1, and a bandwidth adjustment of 3 (accuracy, 0.81; Kappa, 0.65). The final neural network model for morphological data achieved its highest accuracy with four hidden layers and weight decay = 0.005 (accuracy, 0.81; Kappa, 0.67). These models were used to generate decision boundary plots of dietary classes over the morphospaces (Fig. 6, A and C) and dietary class probabilities and predictions for the dinosaur sample (Fig. 6, B and D, and table S21). The biomechanical and morphological models agree in classifying Herrerasaurus, Eodromaeus, Buriolestes, and Eoraptor as carnivores and Thecodontosaurus, Plateosaurus, Massospondylus, and Ngwevu as herbivores (Fig. 6, B and D). Lesothosaurus was classified as an omnivore or herbivore; Manidens was classified as a carnivore or herbivore, and Saturnalia was classified as an omnivore or carnivore.

Fig. 6. Dietary classification of early dinosaurs.

Fig. 6.

Decision boundary plots from biomechanical (A) and morphological (C) datasets showing morphospace areas assigned to each dietary category by the best-performing algorithm (naïve Bayes and neural network, respectively). The predictor variables (PCs) with the highest importance in each model are represented. Symbols in gray indicate the dietary category of extant sauropsids, and symbols in black indicate the predicted category of dinosaurs. Dietary class probabilities and predictions for early dinosaurs from biomechanical (B) and morphological (D) data. Colored bars show class probabilities, and symbols indicate the predicted dietary category.

DISCUSSION

The morphofunctional analyses of the dentition of extant sauropsids reveal key differences arising from their divergent dietary habits. Extant carnivorous sauropsids have relatively weaker teeth under simple bite forces than species with other diets, as reflected by their higher stress magnitudes and distribution patterns. The lower mechanical resistance to feeding-related forces of carnivorous teeth compared to those of herbivores, for instance, is likely related to the different material properties of meat and plant material (22). Unlike flesh, plant material needs to be processed extensively to be digested (31), the reason for the generally higher bite forces (32) and more intense use of oral food processing (33) by herbivores. As the teeth of herbivores are subject to more abrasion, higher tooth replacement rates have evolved in herbivorous dinosaur lineages compared to carnivorous species (34). These differences in mechanical properties of food items are also reflected in the theoretical mean tooth shapes of carnivores and herbivores obtained from our sample (Fig. 5B). The generalized carnivore tooth shape is sharp and pointed, suited to puncture and cut ductile and deformable tissues such as vertebrate flesh (22, 35), while the mean herbivorous tooth is blunt and cusped to propagate fractures in tougher materials such as plant tissues (22, 31). Also relevant for dietary inferences in dinosaurs is the overlap of herbivores, omnivores, and insectivores in both the biomechanical and morphological spaces (Figs. 4A and 5A), indicating that the teeth of these groups are similar in shape and stress variation. Herbivores, however, are more diverse in their dental mechanical behavior and shape because of some specialized taxa such as the seaweed-eating Amblyrhynchus cristatus (Fig. 4A). These results are in line with studies showing that herbivorous, omnivorous, and insectivorous squamates have teeth that are similar in morphological complexity (23, 24) and microwear patterns (33). As noted previously (23), these natural similarities hinder the discrimination of these dietary categories, especially separating omnivores from insectivores, among extinct taxa.

Classical inferences of dietary habits in early diverging dinosaurs have been based largely on qualitative comparisons with the dentitions of extant analogs (10, 14, 36). Our study presents a quantitative analysis of dental morphology and function in early members of the main dinosaurian lineages in comparison with extant analogs, cementing a framework for further dental morphofunctional studies applicable to any fossil sauropsid clade. Quantification of dental shape variation through GMM reveals that the morphological diversity of early dinosaur tooth types spans a wide region of the morphospace occupied by extant sauropsids with different diets and phylogenetic position. Despite the phylogenetic breath of the extant sample, phylogenetic signal in dental shape variation is low. In contrast, tooth morphology is strongly influenced by diet, so that similar dental morphotypes evolved independently in different clades of sauropsids as dietary adaptations. Among dinosaurs, the post-Carnian sauropodomorphs with their denticulated lanceolate teeth (3740) are relatively close in morphospace to iguanines, as noted previously from anatomical observations (10, 14), and the early saurischians/theropods and sauropodomorphs are plotted close to extant carnivores with curved, bladed teeth. However, some dinosaurs show unique tooth morphologies, such as Manidens with its denticulated “hand-shaped” teeth (41). This suggests caution when interpreting diet from 3D dental shape in fossil taxa, even when analyzed quantitatively, due to unexplored dental disparity among extant analogs.

Morphological disparity is linked to variation in biomechanical performance in early dinosaur dentitions, as revealed by stress distribution patterns and magnitudes. Of the dinosaur species studied here, the early saurischians Herrerasaurus and Eodromaeus and the earliest sauropodomorphs Buriolestes and Eoraptor have the mechanically weakest teeth (Figs. 2 to 4), indicating that their teeth might have been adapted to process soft food such as animal flesh. Their curved, blade-like teeth resemble morphologically and mechanically those of the extant Komodo dragon Varanus komodoensis (Fig. 4A), which are structurally weak against bone crushing, limiting its diet to soft tissues (42). While not ideal for crushing, the ziphodont teeth of Herrerasaurus, Eodromaeus, Buriolestes, and Eoraptor would have been highly efficient at cutting meat with a “grip-and-rip” action provided by their fine serrations, as demonstrated for other vertebrates with serrated teeth (43). In contrast, the early ornithischian Lesothosaurus, Saturnalia, and plateosaurian sauropodomorphs have more mechanically resistant teeth that may have been adapted to breaking down harder materials such as plant matter or insect exoskeletons (44, 45).

Our machine learning–based classification establishes the first dietary inferences in early dinosaurs based on quantitative morphofunctional data. The early saurischians/theropods Herrerasaurus and Eodromaeus are consistently classified as carnivores, as well as the early sauropodomorphs Buriolestes and Eoraptor, all of them sharing curved, blade-like teeth with fine serrations. Herbivory is consistently predicted for the Norian-Rhaetian sauropodomorphs Thecodontosaurus and Plateosaurus and the Early Jurassic massospondylids Massospondylus and Ngwevu. These results agree with dietary inferences on the basis of the morphology of their denticulated, lanceolate teeth, which favor omnivory or herbivory (10, 14, 46, 47). Among ornithischians, Lesothosaurus is predicted to have been either an omnivore or an herbivore. Manidens is unexpectedly recovered as a carnivore by the biomechanical model. This is likely the result of analyzing isolated teeth in a species that had evolved a dental battery composed of closely packed, high crowned teeth as an adaptation to herbivory (48, 49). Because of its unique dental morphology, the isolated teeth of Manidens experience high stresses, as in extant carnivores.

The origin and ascent of dinosaurs during the Triassic and Early Jurassic are of longstanding interest in macroevolution (50). The current noncompetitive model of early dinosaur evolution (5153) encompasses the fact that certain dinosaurian traits, such as increased growth rates, contributed to the differential survival and success of this clade (53, 54). The evolution of feeding adaptations in these early stages has been discussed before, although their role in the ecological diversification and evolutionary radiation of Dinosauria remains unclear (2, 10, 11, 55). Our study is the first to recover quantitative morphofunctional evidence for the notable dietary diversity in the earliest dinosaurs: Early saurischians/theropods are classified as carnivores; sauropodomorphs evolved diverse feeding habits from ancestral carnivory, and omnivory might have been the dietary condition of the earliest ornithischians. These findings suggest that obligate herbivory was acquired late in the evolution of sauropodomorphs and ornithischians and was not associated with the early divergence of dinosaur clades. We propose that this diversity of diets might have been a key contributor to the evolutionary success of dinosaurs through the Late Triassic and Early Jurassic.

The evolution of feeding modes is particularly complex in Sauropodomorpha. Early members of this clade were traditionally considered herbivores based on their dental similarity with iguanine squamates, as well as other cranial and postcranial features (14). The current view, however, is that strict herbivory evolved in later diverging taxa, associated with the acquisition of quadrupedality and giant body size, while early sauropodomorphs retained omnivorous habits (10, 46, 47). Recent discoveries of a plethora of Carnian sauropodomorphs in South America support this hypothesis, as they exhibit wide variation in dental morphologies (11, 17, 20). In particular, the strongly “carnivorous-like” tooth morphology of the earliest diverging taxon, Buriolestes, was proposed as evidence for ancestral carnivory in dinosaurs (11). Our analyses of dental shape and mechanical resistance find the first quantitative evidence for carnivory in the Carnian species Buriolestes and Eoraptor. This agrees with previous dietary interpretations of Buriolestes (11, 56), although the diet of Eoraptor was thought to have been more ambiguous on the basis of their slightly less curved and basally constricted tooth crowns (19, 20). The Carnian Saturnalia shows intermediate dental morphofunctional traits. On the basis of its craniodental morphology and neuroanatomy, Saturnalia had been proposed as a predator on insects or small vertebrates (20, 57), in agreement with the present predictions of faunivory or omnivory in this taxon. Our analyses recover functional similarity between post-Carnian sauropodomorphs and extant herbivores, providing quantitative evidence for the idea that this clade evolved morphofunctional dental traits consistent with herbivory by the latest Triassic. The Rhaetian species Thecodontosaurus has been interpreted as an herbivore with occasional faunivorous habits based on its osteology and neuroanatomy (40, 58). The present predicted herbivory for Thecodontosaurus suggests that, regardless of the possible retention of predatory habits, its dentition was well suited to process plant matter. Plateosaurians are also classified as herbivores, although the dental mechanical performance of Plateosaurus suggests some similarities with omnivores (high probability of omnivory; Fig. 6B and table S21) that might reflect occasional consumption of animal matter. In contrast, later sauropodomorphs such as the massospondylids have dentitions better suited for herbivory. Non-sauropodan sauropodomorphs have been interpreted as unspecialized herbivores that retained occasional faunivorous habits after acquiring “herbivorous” adaptations such as coarsely denticulated, lanceolate teeth (2, 10, 46, 47). Thus, obligate herbivory evolved in later diverging taxa close to Sauropoda in association with notable increase in body size and a shift to a quadrupedal stance (46). Our results indicate that by the Norian, sauropodomorphs had already acquired dental adaptations to an herbivorous diet, particularly Early Jurassic taxa, and thus, occasional faunivory in species such as Thecodontosaurus and Plateosaurus might have been facilitated by behavior rather than craniodental adaptations (58).

The origin of ornithischians has long been linked to herbivory from the start (16), and many ornithischian synapomorphies are related to the craniodental apparatus (59, 60). Against this traditional view, functional interpretations of one of the earliest ornithischians, Lesothosaurus, suggested that its tooth morphology and weak dental wear (36, 61) indicated omnivorous habits, which might be the most likely plesiomorphic condition of Ornithischia (10, 62). Our analyses suggest that Lesothosaurus had a predominantly herbivorous diet, likely composed of soft plant matter (63), with occasional omnivorous habits. Despite such omnivory in the earliest ornithischians, a highly efficient craniodental apparatus, including dental batteries, evolved in Early Jurassic clades such as heterodontosaurids (55, 64), indicating a shift to herbivory in some early ornithischian lineages. Among heterodontosaurids, Manidens has been described as having intermediate craniodental traits (41, 48), with an incipient dental battery compared to Heterodontosaurus (64) but with an efficient jaw apparatus to process plant material (65). Our prediction based on tooth morphology is in line with this evidence, although Manidens is here classified as a carnivore based on tooth mechanics. While we think this emerges from analyzing isolated teeth, it must be noted that occasional faunivory has been proposed for heterodontosaurids based on their enlarged caniniform teeth (66). Nonetheless, the complex jaw apparatus and mechanics of heterodontosaurids (64, 65), and even the tooth occlusion of Lesothosaurus (55, 61), indicate that the earliest ornithischians were more efficient at plant processing than most non-sauropodan sauropodomorphs. This, however, did not translate into a greater evolutionary success of ornithischians; on the contrary, sauropodomorphs were more diverse and abundant during the Late Triassic and Early Jurassic (2).

The scenario of dietary evolution in ornithischians is dependent on the phylogenetic position of silesaurids. This clade is usually placed as the sister clade of Dinosauria (8), but it could represent a paraphyletic group at the base of Ornithischia (9, 11). While the earliest diverging silesaurid has a carnivorous-like dentition, later species have been interpreted as herbivores on the basis of their craniodental similarities with ornithischians (9). However, evidence from coprolites suggests that some of these putative herbivores were likely insectivorous (21). Thus, if silesaurids are a paraphyletic assemblage within Ornithischia, then the early diversity of feeding modes and dietary evolution in this clade would become much more complex than previously thought; from carnivorous origins, most “silesaurids” and early ornithischians became omnivorous, and some later lineages evolved predominantly herbivorous habits.

Dietary evolution has been central in models of early dinosaur evolution despite the intricate scenario (67). Traditional hypotheses proposed that dinosaurs originated from carnivorous ancestors, and theropods retained this habit while key adaptations for herbivory were already present in Triassic sauropodomorphs and ornithischians (16, 59). However, other authors consider that omnivory was widespread among early dinosaurs and was an equally possible ancestral condition for Dinosauria (1, 10, 46, 62). Our study provides previously unknown information to infer the ancestral dinosaur diet, although this is contingent on the phylogeny of early dinosaurs. If Herrerasaurus and Eodromaeus, here predicted to be carnivores, are early members of Saurischia (8, 11) and Ornithischia is its sister group, then the ancestral diet of dinosaurs could either be carnivory or omnivory. Conversely, under the Ornithoscelida hypothesis, where Ornithischia and Theropoda are sister groups, the carnivorous Eoraptor and Eodromaeus are the earliest branching theropods, and herrerasaurids are the sister group of Sauropodomorpha (7). In this scenario, the distribution of dietary preferences predicted in our analyses suggests that carnivory is the most likely ancestral diet of Dinosauria. Thus, resolving the phylogenetic relationships at the base of Dinosauria is a fundamental requisite to reconstruct the pattern of dietary evolution. Future studies should assess the polarity of dental morphofunctional trait changes and the evolution of dietary habits at the base of Dinosauria with phylogenetic methods of character reconstruction.

Our analyses provide quantitative evidence for previously unrecognized functional diversity in the dentitions of early dinosaurs, akin to modern sauropsids with different diets. Sauropodomorpha underwent a dietary shift, with its earliest members showing dental characteristics associated with an exclusively or predominantly faunivorous diet, some Carnian species experimenting with diverse diets, and post-Carnian lineages acquiring dental adaptations toward herbivory. The early diverging ornithischian Lesothosaurus is reconstructed as an herbivore with occasional omnivorous habits, further supporting the hypothesis of a late shift to obligate herbivory in Ornithischia. The varied dental adaptations acquired by members of different dinosaurian lineages and their conquest of diverse dietary niches during the Late Triassic and Early Jurassic contributed to the later adaptive radiation of Dinosauria.

MATERIALS AND METHODS

3D modeling

The tooth 3D model dataset comprised 47 extant sauropsids (44 squamates and 3 crocodilians) and 11 early dinosaurs (Fig. 1). Models were created from existing datasets (table S1) downloaded from MorphoSource (www.morphosource.org). Details of the early dinosaur dataset can be found in the Supplementary Materials. Teeth were either isolated from mandible surface models using Blender 2.92 (Blender Foundation) or segmented from computed tomography (CT) data in Avizo Lite 9.5 (Thermo Fisher Scientific). Tooth selection within mandibles was based on preservation and tooth row position criteria, so models capture the characteristic dental features of each taxon. Thus, the best-preserved teeth from the middle to posterior part of the right dentary were chosen. When these were not available, posterior teeth from the left dentary or the maxillae were mirrored to resemble a right dentary tooth. Tooth models were prepared in Blender, and models were reoriented consistently along the mesiodistal axis of the mandible. The crowns were isolated, and roots were removed at the level of the mandible using a Boolean modifier. The tooth surfaces were smoothed using the Smooth and Draw tools in the Sculpting panel. After cleaning, tooth models were scaled up to the same surface area (1000 mm2). Surfaces were remeshed using the Remesh modifier, selecting a uniform voxel size value of 0.15 mm, decided from the convergence test required for FEA (see below and also the Supplementary Materials). The Triangulate modifier was applied to the resulting meshes to transform quads into triangles. Mesh quality checks were run in Edit mode to identify and remove mesh artifacts. The final 2D meshes had the same surface area and a similar number of triangles (table S2).

Our sample includes species with a wide range of body and tooth sizes. Absolute tooth size is an important factor in tooth performance at processing food (44), and it should not be omitted when inferring detailed aspects of tooth mechanics. However, standardization to the same scale is common in comparative analyses that include taxa ranging greatly in body size (23, 26, 45). Scaling is also a requirement of our analyses, as GMM scales landmark coordinates during the Procrustes alignment, and meaningful comparisons of fine element (FE) models require a constant force–to–surface area ratio. Thus, we measured the original size of tooth models before scaling (tooth surface area and volume; table S2) to be included in downstream analyses to account for the influence of allometry in our results. Extant sauropsids and dinosaurs are not significantly different in tooth size, as reflected by a two-sample Student’s t test on tooth surface area (t = 1.66, P = 0.1) and volume (t = 0.97, P = 0.34).

Finite element analysis

Tooth surface models were imported into HyperMesh 2017 (Altair) and tetrameshed, producing 3D meshes composed of a similar number of C3D4 tetrahedral elements (table S2). The appropriate number of elements in the 3D mesh was determined in a convergence test to minimize errors across models due to mesh resolution (see the Supplementary Materials). Meshes were assigned material properties of bovine dentine (68) and were considered elastic, homogeneous, and isotropic for comparative purposes. Boundary conditions and loads were applied in Abaqus 6.14 (Simulia). Twenty nodes equally spaced around the external margin of the tooth base were constrained in all degrees of freedom in a multipoint constraint, with a reference point located below the center of the base. The number of constrained nodes around the base and the position of the reference point did not influence the results (see the Supplementary Materials). The ratio between applied force and model surface area was kept constant across models to compare the relative biomechanical performance of the different tooth shapes (69). A vertical and basally directed load of 100 N was applied to one node at the tip of the tooth crown, simulating a simple bite force. An exception was made in the Dicrodon guttulatum FE model, in which a total load of 100 N was divided between two 50-N loads applied to one node on each of the two main cusps of the tooth.

Von Mises stress and element volume are reported for each element in the mesh as output parameters of the analysis. Von Mises stress is commonly used in biomechanics because it reflects the tendency of a material to undergo ductile failure (69, 70). The average von Mises stress of each model was calculated using the MWAM, which accounts for mesh heterogeneity and artifactual high stress values by considering element volume (30). MWAM calculations were run in R (71), modifying a published code (72). It must be noted that these analyses are not designed to predict absolute stress magnitudes accurately but to compare relative patterns of stress distribution and magnitudes across different tooth shapes.

Multivariate statistics were applied to the stress data using the intervals method, which divides the elements into stress intervals and analyzes these newly generated variables in a PCA (73). The minimum number of intervals required to reach convergence was 150 (fig. S3). The correlation matrix of the intervals data was submitted to a PCA to summarize and visualize the biomechanical data in a biomechanical space. All steps of the intervals method were run in R (71) using the protocol and code from the original publication (73). Biomechanical disparity was measured as convex hull volume per dietary category (except for durophages due to their small sample size) using the dispRity R package (74), and differences between groups were assessed through pairwise comparisons using permutation tests with 1000 iterations (figs. S5 and S6).

Geometric morphometrics

Tooth 3D shape was analyzed using landmark-based GMM. Fixed landmarks and curve semilandmarks were digitized in IDAV Landmark Editor 3.0 (75). Three fixed landmarks were placed on the tip of the crown and the mesial and distal-most points on the base perimeter. Two curves delimited the crown base perimeter, and two curves were placed along the mesiodistal carinae. Curve semilandmarks were resampled for even spacing (76). Surface semilandmarks were digitized on the labial and lingual surfaces of a template model in Landmark Editor. The template was modeled in Blender to resemble a hypothetical simple tooth shape (fig. S7). Surface semilandmarks were transferred from the template to the tooth models using the patching procedure in the placePatch function of the Morpho package in R (77). Curve and surface semilandmarks were slid to optimize the correspondence of landmark positions (78) using the relaxLM and slider3d functions in the Morpho package (77). Four sliding steps were performed, with the first step minimizing the bending energy of a thin plate spline between each specimen and the template and the last three steps minimizing the bending energy of a thin plate spline between the result of the first sliding and the Procrustes consensus of the sample (79). These four sliding steps were performed to make semilandmarks geometrically homologous (79), and bending energy was chosen because it performs better when working with large shape variation (78). Three fixed landmarks, 44 curve semilandmarks, and 98 surface semilandmarks were used in the analyses (Fig. 5C and fig. S7).

The final landmark coordinates of all specimens were aligned in a generalized Procrustes analysis (GPA) to remove the effects of size and position by scaling, translating, and rotating the landmark configurations. The resulting Procrustes coordinates were ordinated in a PCA to summarize and visualize shape variation. Both GPA and PCA were performed using the R package geomorph (80). The extreme tooth shapes of PC1 to PC3 were recreated by warping the model of the specimen closest to the mean of the Procrustes alignment (Hemitheconyx caudicinctus) with the Procrustes coordinates of the extremes using the warpRefMesh function in geomorph. We also reconstructed the hypothetical mean tooth shapes of each dietary category with the same approach using the mean of the Procrustes coordinates of each dietary category from the mshape function. The morphological disparity of each dietary group (except for durophages) was computed as convex hull volume using dispRity (74), and pairwise comparisons between groups were assessed through permutation tests with 1000 iterations (figs. S9 and S10).

Statistical analyses

The importance of phylogenetic signal in tooth stress variation was tested using Kmult, the extension of Blomberg’s K statistic for multivariate data (81), on both MWAM and stress intervals. For these tests, we used a time-calibrated informal supertree of Sauropsida (fig. S11, table S5, and the Supplementary Materials). We tested the effect that allometry has on structuring dental stress variation with phylogenetic generalized least squares (PGLS) regressions of stress (MWAM and intervals) on tooth size (log centroid size, log surface area, and log tooth volume) for multivariate data (82).

The effect of phylogeny, tooth size, and diet on variation in tooth morphology was assessed with different statistical tests on the GMM results. We tested for phylogenetic signal in shape variation, indicated by Kmult (81), applying the physignal function in geomorph to the Procrustes coordinates. The importance of allometry was tested using a PGLS of Procrustes coordinates on tooth size (log centroid size, log surface area, and log tooth volume) using the procD.pgls function in geomorph. We also tested the influence of diet in dental shape variation with standard and phylogenetic Procrustes ANOVA tests on the Procrustes coordinates using the geomorph functions procD.lm and procD.pgls, respectively. The association between dental shape and stress was tested with two-block PLS and PGLS regressions of Procrustes coordinates and stress intervals with 1000 iterations using the two.b.pls and phylo.integration functions in geomorph (80).

Differences in dental morphology and stress among dietary categories were tested in PAST 4.09 (83). Two pairwise PERMANOVA tests with Bonferroni correction for multiple comparisons were performed on the biomechanical and morphometric results using Euclidean distances. The test was performed on the PC scores that accounted for 90% of the variance; the first two PCs are from the biomechanical analysis, and the first five PCs are from the morphometric analysis. The tests were performed by considering the five and three dietary categories and the latter by combining omnivores, insectivores, and durophages.

Machine learning classification

The diet of early dinosaurs was predicted by applying machine learning algorithms to the biomechanical and morphological data, following the workflow proposed in (28, 29). The classification was conducted on the PC coordinates corresponding to the PCs that accounted for 90% of the variance (two PCs for biomechanical data and five PCs for morphological data) and the dietary information from living species, divided into three classes (carnivores, herbivores, and omnivores). The extant dataset was split into training and testing datasets, the former representing 75% of the dataset.

Machine learning classification was performed using the caret package in R (84). Nine algorithms were tested initially using a leave-group-out cross-validation with 200 repeats and an automatic grid search to tune the algorithm parameters. Because of the imbalanced numbers of each class within the classification sample (10 carnivores, 27 omnivores, and 10 herbivores), we repeated the tests using up-sampling during cross-validation (85) and assessed its impact on the results. The model performance was assessed using accuracy and Kohen’s Kappa (fig. S12 and tables S19 and S20) (85). The best-performing algorithm in the biomechanical dataset was neural network, followed by naïve Bayes (table S19), although the performance of both models was not significantly different (P = 1 for accuracy and Kappa). Naïve Bayes was chosen for the classification tasks because of its higher balanced accuracies for the minority classes (1 for carnivores and 0.875 for herbivores) compared to neural network (0.938 and 0.438, respectively). Up-sampling had a nonsignificant effect in biomechanical models; for instance, it did not significantly improve the accuracy (0.73 to 0.74; P = 0.002) and Kappa (0.49 to 0.53; P = 1.1 × 10−5) of the naïve Bayes model. Of the morphological classification models, neural network is the best performing (table S20) and has significantly different accuracy and Kappa values from the rest of the models except for random forest (P = 1 for accuracy and P = 0.35 for Kappa). Neural network was chosen for classification because of its overall higher performance and higher balanced accuracy values for the minority classes (1 for carnivores and 0.5 for herbivores) compared to random forest (0.75 for carnivores and 0.625 for herbivores). Up-sampling had a nonsignificant effect in the accuracy of the morphological neural network model (0.74 to 0.71; P = 6 × 10−4) but significantly improved its Kappa (0.49 to 0.5; P = 0.6).

The best-performing algorithm for each dataset (naïve Bayes for biomechanical data and neural network for morphological data) was manually tuned with a grid search to increase its classification accuracy using up-sampling and leave-one-out cross-validation (85). Grid search is an exhaustive and widely used method to test all combinations of set ranges of values of model parameters, feasible for models with few parameters and easily incorporated in caret (84). During tuning, the range of weight decay values was set from 0 to 0.1 to penalize overfitting of the data in a complex model such as neural network. The final mean accuracy and Kohen’s Kappa for the biomechanical model are 0.81 and 0.65, respectively, and the predictor variables with the most importance are PC1 and PC2. The morphological model has a mean accuracy and kappa of 0.81 and 0.67, respectively, with PC3 and PC1 being the variables with the most importance. The models achieved balanced accuracies of 1 for carnivores, 0.875 for herbivores, and 0.833 for omnivores. The final models were used to predict the class probabilities and class predictions of the dinosaur sample. Because low but significant phylogenetic signal is present in both biomechanical and morphological datasets, the classification models may be affected by the phylogenetic structure of the data. Decision boundary plots were created using the two variables with the highest importance in each model to establish class predictions in 2D morphospaces, following Püschel et al. (28, 29).

Acknowledgments

We thank P. Barrett, M. Becerra, M. Bronzati, D. Button, K. Chapelle, J. Choiniere, R. Martínez, R. Müller, L. Porro, L. Sciscio, and L. Witmer for sharing CT data of dinosaur skulls. CT scanning of Herrerasaurus and Eodromaeus was funded by an NERC grant (NE/R000077/1) to P. Barrett. We thank the Evolutionary Studies Institute, University of the Witwatersrand (South Africa); the Museo Paleontológico Egidio Feruglio and the Museo de Ciencias Naturales, Universidad Nacional de San Juan (Argentina); the Centro de Apoio à Pesquisa Paleontológica, Universidade Federal de Santa Maria and the Museu de Ciências e Tecnologia, Pontificia Universidade Católica do Rio Grande do Sul (Brazil); the Museum für Naturkunde, Berlin (Germany); and the School of Earth Sciences, University of Bristol (United Kingdom) for providing access to dinosaur CT data. We are also grateful to D. Blackburn, E. Herbst, J. Maisano, K. Melstrom, and G. Schneider for making MorphoSource data available. We thank J. Marcé Nogué, L. Martin-Silverstone, M. Morales García, G. Navalón, T. Püschel, and T. Stubbs for methodological advice. We thank two anonymous referees for helpful reviews that greatly improved our manuscript.

Funding: A.B. is funded by an NERC GW4+ Doctoral Training Partnership studentship from the Natural Environment Research Council (NE/L002434/1).

Author contributions: Conceptualization: A.B. Methodology: A.B. Investigation: A.B. Visualization: A.B. Supervision: M.J.B. and E.J.R. Writing (original draft): A.B. Writing (review and editing): A.B., M.J.B., and E.J.R.

Competing interests: The authors declare that they have no competing interests.

Data and materials availability: All data needed to evaluate the conclusions in the paper are present in the paper and/or the Supplementary Materials. CT data and models created in this study are freely available from the University of Bristol data repository, data.bris, at https://doi.org/10.5523/bris.fdi6ee6kby0s2hkxd5izwik9m.

Supplementary Materials

This PDF file includes:

Supplementary Text

Figs. S1 to S12

Tables S1 to S21

References

View/request a protocol for this paper from Bio-protocol.

REFERENCES AND NOTES

  • 1.P. M. Barrett, E. J. Rayfield,Ecological and evolutionary implications of dinosaur feeding behaviour. Trends Eco. Evo. 21,217–224 (2006). [DOI] [PubMed] [Google Scholar]
  • 2.P. M. Barrett, R. J. Butler, S. J. Nesbitt,The roles of herbivory and omnivory in early dinosaur evolution. Earth Environ. Sci. Trans. R. Soc. Edinb. 101,383–396 (2011). [Google Scholar]
  • 3.L. E. Zanno, P. J. Makovicky,Herbivorous ecomorphology and specialization patterns in theropod dinosaur evolution. Proc. Natl. Acad. Sci. U.S.A. 108,232–237 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.P. M. Barrett,Paleobiology of herbivorous dinosaurs. Annu. Rev. Earth Planet. Sci. 42,207–230 (2014). [Google Scholar]
  • 5.J. A. MacLaren, P. S. L. Anderson, P. M. Barrett, E. J. Rayfield,Herbivorous dinosaur jaw disparity and its relationship to extrinsic evolutionary drivers. Paleobiology 43,15–33 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.D. J. Button, L. E. Zanno,Repeated evolution of divergent modes of herbivory in non-avian dinosaurs. Curr. Biol. 30,158–168.e4 (2019). [DOI] [PubMed] [Google Scholar]
  • 7.M. G. Baron, D. B. Norman, P. M. Barrett,A new hypothesis of dinosaur relationships and early dinosaur evolution. Nature 543,501–506 (2017). [DOI] [PubMed] [Google Scholar]
  • 8.M. C. Langer, M. D. Ezcurra, O. W. M. Rauhut, M. J. Benton, F. Knoll, B. W. McPhee, F. E. Novas, D. Pol, S. L. Brusatte,Untangling the dinosaur family tree. Nature 551,E1–E3 (2017). [DOI] [PubMed] [Google Scholar]
  • 9.R. T. Müller, M. S. Garcia,A paraphyletic ‘Silesauridae’ as an alternative hypothesis for the initial radiation of ornithischian dinosaurs. Biol. Lett. 16,20200417 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.P. M. Barrett, “Prosauropods and iguanas: Speculation on the diets of extinct reptiles” in The Evolution of Herbivory in Terrestrial Vertebrates: Perspectives From The Fossil Record, H.-D. Sues, Ed. (Cambridge Univ. Press, 2000), pp. 42–78. [Google Scholar]
  • 11.S. F. Cabreira, A. W. A. Kellner, S. Dias-da-Silva, L. Roberto da Silva, M. Bronzati, J. C. de Almeida Marsola, R. T. Müller, J. de Souza Bittencourt, B. J.’. A. Batista, T. Raugust, R. Carrilho, A. Brodt, M. C. Langer,A unique Late Triassic dinosauromorph assemblage reveals dinosaur ancestral anatomy and diet. Curr. Biol. 26,3090–3095 (2016). [DOI] [PubMed] [Google Scholar]
  • 12.P. C. Sereno, F. E. Novas,The skull and neck of the basal theropod Herrerasaurus ischigualastensis. J. Vertebr. Paleontol. 13,451–476 (1994). [Google Scholar]
  • 13.R. N. Martinez, P. C. Sereno, O. A. Alcober, C. E. Colombi, P. R. Renne, I. P. Montañez, B. S. Currie,A basal dinosaur from the dawn of the dinosaur era in Southwestern Pangaea. Science 331,206–210 (2011). [DOI] [PubMed] [Google Scholar]
  • 14.P. M. Galton,Diet of prosauropod dinosaurs from the Late Triassic and Early Jurassic. Lethaia 18,105–123 (1985). [Google Scholar]
  • 15.P. C. Sereno,Lesothosaurus, “fabrosaurids,” and the early evolution of Ornithischia. J. Vertebr. Paleontol. 11,168–197 (1991). [Google Scholar]
  • 16.P. C. Sereno,The origin and evolution of dinosaurs. Annu. Rev. Earth Planet. Sci. 25,435–489 (1997). [Google Scholar]
  • 17.R. N. Martínez, O. A. Alcober,A basal sauropodomorph (Dinosauria: Saurischia) from the Ischigualasto formation (Triassic, Carnian) and the early evolution of Sauropodomorpha. PLOS ONE 4,e4397 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.R. J. Butler,The anatomy of the basal ornithischian dinosaur Eocursor parvus from the lower Elliot Formation (Late Triassic) of South Africa. Zool. J. Linn. Soc. 160,648–684 (2010). [Google Scholar]
  • 19.P. C. Sereno, R. N. Martínez, O. A. Alcober,Osteology of Eoraptor lunensis (Dinosauria, Sauropodomorpha). J. Vertebr. Paleontol. 32,83–179 (2012). [Google Scholar]
  • 20.M. Bronzati, R. T. Müller, M. C. Langer,Skull remains of the dinosaur Saturnalia tupiniquim (Late Triassic, Brazil): With comments on the early evolution of sauropodomorph feeding behaviour. PLOS ONE 14,e0221387 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.M. Qvarnström, J. V. Wernström, R. Piechowski, M. Tałanda, P. E. Ahlberg, G. Niedźwiedzki,Beetle-bearing coprolites possibly reveal the diet of a Late Triassic dinosauriform. R. Soc. Open Sci. 6,181042 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.P. W. Lucas, Dental Functional Morphology: How Teeth Work (Cambridge Univ. Press, 2010). [Google Scholar]
  • 23.K. M. Melstrom,The relationship between diet and tooth complexity in living dentigerous saurians. J. Morphol. 278,500–522 (2017). [DOI] [PubMed] [Google Scholar]
  • 24.F. Lafuma, I. J. Corfe, J. Clavel, N. Di-Poi,Multiple evolutionary origins and losses of tooth complexity in squamates. Nat. Commun. 12,6001 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.A. R. Evans, G. D. Sanson,The tooth of perfection: Functional and spatial constraints on mammalian tooth shape. Biol. J. Linn. Soc. 78,173–191 (2003). [Google Scholar]
  • 26.G. P. Wilson, A. R. Evans, I. J. Corfe, P. D. Smits, M. Fortelius, J. Jernvall,Adaptive radiation of multituberculate mammals before the extinction of dinosaurs. Nature 483,457–460 (2012). [DOI] [PubMed] [Google Scholar]
  • 27.K. M. Melstrom, R. B. Irmis,Repeated evolution of herbivorous crocodyliforms during the age of dinosaurs. Curr. Biol. 29,2389–2395.e3 (2019). [DOI] [PubMed] [Google Scholar]
  • 28.T. A. Püschel, J. Marcé-Nogué, J. T. Gladman, R. Bobe, W. I. Sellers,Inferring locomotor behaviours in Miocene New World monkeys using finite element analysis, geometric morphometrics and machine-learning classification techniques applied to talar morphology. J. R. Soc. Interface 15,20180520 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.T. A. Püschel, J. Marcé-Nogué, J. Gladman, B. A. Patel, S. Almécija, W. I. Sellers,Getting its feet on the ground: Elucidating Paralouatta’s semi-terrestriality using the virtual morpho-functional toolbox. Front. Earth Sci. 8,15 (2020). [Google Scholar]
  • 30.J. Marcé-Nogué, S. de Esteban-Trivigno, C. Escrig, L. Gil,Accounting for differences in element size and homogeneity when comparing finite element models: Armadillos as a case study. Palaeontol. Electron. 19,1–22 (2016). [Google Scholar]
  • 31.G. Sanson,The biomechanics of browsing and grazing. Am. J. Bot. 93,1531–1545 (2006). [DOI] [PubMed] [Google Scholar]
  • 32.A. Herrel, B. Vanhooydonck, R. Van Damme,Omnivory in lacertid lizards: Adaptive evolution or constraint? J. Evol. Biol. 17,974–984 (2004). [DOI] [PubMed] [Google Scholar]
  • 33.D. E. Winkler, E. Schulz-Kornas, T. M. Kaiser, T. Tutken,Dental microwear texture reflects dietary tendencies in extant Lepidosauria despite their limited use of oral food processing. Proc. R. Soc. B 286,20190544 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.M. D. D’Emic, P. M. O’Connor, T. R. Pascucci, J. N. Gavras, E. Mardakhayava, E. K. Lund,Evolution of high tooth replacement rates in theropod dinosaurs. PLOS ONE 14,e0224734 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.S. B. Crofts, S. M. Smith, P. S. L. Anderson,Beyond description: The many facets of dental biomechanics. Integr. Comp. Biol. 60,594–607 (2020). [DOI] [PubMed] [Google Scholar]
  • 36.R. A. Thulborn,Tooth wear and jaw action in the Triassic ornithischian dinosaur Fabrosaums. J. Zool. 164,165–179 (1971). [Google Scholar]
  • 37.C. E. Gow, J. W. Kitching, M. A. Raath,Skulls of the prosauropod dinosaur Massospondylus carinatus Owen in the collections of the Bernard Price Institute for Palaeontological Research. Palaeontol. Afr. 27,45–58 (1990). [Google Scholar]
  • 38.P. M. Galton,Cranial anatomy of the prosauropod dinosaur Plateosaurus from the Knollenmergel (Middle Keuper, Upper Triassic) of Germany. Geologica et Palaeontologica 19,119–159 (1985). [Google Scholar]
  • 39.K. E. J. Chapelle, P. M. Barrett, J. Botha, J. N. Choiniere,Ngwevu intloko: A new early sauropodomorph dinosaur from the Lower Jurassic Elliot Formation of South Africa and comments on cranial ontogeny in Massospondylus carinatus. PeerJ 7,e7240 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40.A. Ballell, E. J. Rayfield, M. J. Benton,Osteological redescription of the Late Triassic sauropodomorph dinosaur Thecodontosaurus antiquus based on new material from Tytherington, southwestern England. J. Vertebr. Paleontol. 40,e1770774 (2020). [Google Scholar]
  • 41.M. G. Becerra, D. Pol, C. A. Marsicano, O. W. M. Rauhut,The dentition of Manidens condorensis (Ornithischia; Heterodontosauridae) from the Jurassic Cañadón Asfalto formation of patagonia: Morphology, heterodonty and the use of statistical methods for identifying isolated teeth. Hist. Biol. 26,480–492 (2014). [Google Scholar]
  • 42.D. C. D’Amore, R. J. Blumenschine,Komodo monitor (Varanus komodoensis) feeding behavior and dental function reflected through tooth marks on bone surfaces, and the application to ziphodont paleobiology. Paleobiology 35,525–552 (2009). [Google Scholar]
  • 43.W. L. Abler,The serrated teeth of tyrannosaurid dinosaurs, and biting structures in other animals. Paleobiology 18,161–183 (1992). [Google Scholar]
  • 44.A. R. Evans, G. D. Sanson,The effect of tooth shape on the breakdown of insects. J. Zool. 246,391–400 (1998). [Google Scholar]
  • 45.A. R. Evans, G. P. Wilson, M. Fortelius, J. Jernvall,High-level similarity of dentitions in carnivorans and rodents. Nature 445,78–81 (2007). [DOI] [PubMed] [Google Scholar]
  • 46.P. M. Barrett, P. Upchurch,The evolution of feeding mechanisms in early sauropodomorph dinosaurs. Spec. Pap. Palaeontol. 77,91–112 (2007). [Google Scholar]
  • 47.D. J. Button, P. M. Barrett, E. J. Rayfield,Comparative cranial myology and biomechanics of Plateosaurus and Camarasaurus and evolution of the sauropord feeding apparatus. Palaeontology 59,887–913 (2016). [Google Scholar]
  • 48.D. Pol, O. W. M. Rauhut, M. Becerra,A Middle Jurassic heterodontosaurid dinosaur from Patagonia and the evolution of heterodontosaurids. Naturwissenschaften 98,369–379 (2011). [DOI] [PubMed] [Google Scholar]
  • 49.M. G. Becerra, D. Pol, J. A. Whitlock, L. B. Porro,Tooth replacement in Manidens condorensis: Baseline study to address the replacement pattern in dentitions of early ornithischians. Pap. Palaeontol. 7,1167–1193 (2021). [Google Scholar]
  • 50.S. L. Brusatte, S. J. Nesbitt, R. B. Irmis, R. J. Butler, M. J. Benton, M. A. Norell,The origin and early radiation of dinosaurs. Earth Sci. Rev. 101,68–100 (2010). [Google Scholar]
  • 51.M. J. Benton,Dinosaur success in the Triassic: A noncompetitive ecological model. Q. Rev. Biol. 58,29–55 (1983). [Google Scholar]
  • 52.S. L. Brusatte, M. J. Benton, M. Ruta, G. T. Lloyd,Superiority, competition, and opportunism in the evolutionary radiation of dinosaurs. Science 321,1485–1488 (2008). [DOI] [PubMed] [Google Scholar]
  • 53.R. B. Sookias, R. J. Butler, R. B. J. Benson,Rise of dinosaurs reveals major body-size transitions are driven by passive processes of trait evolution. Proc. R. Soc. B 279,2180–2187 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 54.R. B. Irmis,Evaluating hypotheses for the early diversification of dinosaurs. Earth Environ. Sci. Trans. R. Soc. Edinb. 101,397–426 (2011). [Google Scholar]
  • 55.A. W. Crompton, J. Attridge, Masticatory apparatus of the larger herbivores during Late Triassic and early Jurassic times, in The Beginning of the Age of Dinosaurs, K. Padian, Ed. (Cambridge Univ. Press, 1986), pp. 223–236. [Google Scholar]
  • 56.R. T. Müller, J. D. Ferreira, F. A. Pretto, M. Bronzati, L. Kerber,The endocranial anatomy of Buriolestes schultzi (Dinosauria: Saurischia) and the early evolution of brain tissues in sauropodomorph dinosaurs. J. Anat. 238,809–827 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 57.M. Bronzati, O. W. M. Rauhut, J. S. Bittencourt, M. C. Langer,Endocast of the Late Triassic (Carnian) dinosaur Saturnalia tupiniquim: Implications for the evolution of brain tissue in Sauropodomorpha. Sci. Rep. 7,11931 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 58.A. Ballell, J. L. King, J. M. Neenan, E. J. Rayfield, M. J. Benton,The braincase, brain and palaeobiology of the basal sauropodomorph dinosaur Thecodontosaurus antiquus. Zool. J. Linn. Soc. 193,541–562 (2021). [Google Scholar]
  • 59.P. C. Sereno,The evolution of dinosaurs. Science 284,2137–2147 (1999). [DOI] [PubMed] [Google Scholar]
  • 60.R. J. Butler, P. Upchurch, D. B. Norman,The phylogeny of the ornithischian dinosaurs. J. Syst. Palaeontol. 6,1–40 (2008). [Google Scholar]
  • 61.L. Sciscio, F. Knoll, E. M. Bordy, M. O. de Kock, R. Redelstorff,Digital reconstruction of the mandible of an adult Lesothosaurus diagnosticus with insight into the tooth replacement process and diet. PeerJ 5,e3054 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 62.R. B. Irmis, W. G. Parker, S. J. Nesbitt, J. Liu,Early ornithischian dinosaurs: The Triassic record. Hist. Biol. 19,3–22 (2007). [Google Scholar]
  • 63.D. B. Norman, D. B. Weishampel, “Feeding mechanisms in some small herbivorous dinosaurs: Processes and patterns” in Biomechanics in Evolution, M. V. Rayner, R. J. Wootton, Eds. (Cambridge Univ. Press, 1991), pp. 161–182. [Google Scholar]
  • 64.D. B. Norman, A. W. Crompton, R. J. Butler, L. B. Porro, A. J. Charig,The Lower Jurassic ornithischian dinosaur Heterodontosaurus tucki Crompton & Charig, 1962: Cranial anatomy, functional morphology, taxonomy, and relationships. Zool. J. Linn. Soc. 163,182–276 (2011). [Google Scholar]
  • 65.M. G. Becerra, D. Pol, G. E. Rossner, O. W. M. Rauhut,Heterodonty and double occlusion in Manidens condorensis: A unique adaptation in an Early Jurassic ornithischian improving masticatory efficiency. Sci. Nat. 105,41 (2018). [DOI] [PubMed] [Google Scholar]
  • 66.R. J. Butler, L. B. Porro, D. B. Norman,A juvenile skull of the primitive ornithischian dinosaur Heterodontosaurus tucki from the ‘Stormberg’ of southern Africa. J. Vertebr. Paleontol. 28,702–711 (2008). [Google Scholar]
  • 67.M. C. Langer, M. D. Ezcurra, J. S. Bittencourt, F. E. Novas,The origin and early evolution of dinosaurs. Biol. Rev. 85,55–110 (2010). [DOI] [PubMed] [Google Scholar]
  • 68.R. S. Gilmore, R. P. Pollack, J. L. Katz,Elastic properties of bovine dentine and enamel. Arch. Oral Biol. 15,787–796 (1970). [DOI] [PubMed] [Google Scholar]
  • 69.E. R. Dumont, I. R. Grosse, G. J. Slater,Requirements for comparing the performance of finite element models of biological structures. J. Theor. Biol. 256,96–103 (2009). [DOI] [PubMed] [Google Scholar]
  • 70.E. J. Rayfield,Finite element analysis and understanding the biomechanics and evolution of living and fossil organisms. Annu. Rev. Earth Planet. Sci. 35,541–576 (2007). [Google Scholar]
  • 71.R Core Team, R: A Language and Environment for Statistical Computing (R Foundation for Statistical Computing, 2021). [Google Scholar]
  • 72.A. Ballell, H. G. Ferrón,Biomechanical insights into the dentition of megatooth sharks (Lamniformes: Otodontidae). Sci. Rep. 11,1232 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 73.J. Marcé-Nogué, S. de Esteban-Trivigno, T. A. Püschel, J. Fortuny,The intervals method: A new approach to analyse finite element outputs using multivariate statistics. PeerJ 5,e3793 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 74.T. Guillerme,dispRity: A modular R package for measuring disparity. Methods Ecol. Evol. 9,1755–1763 (2018). [Google Scholar]
  • 75.D. F. Wiley, N. Amenta, D. A. Alcantara, D. Ghosh, Y. J. Kil, E. Delson, W. Harcourt-Smith, K. St. John, F. J. Rohlf, B. Hamann,Evolutionary morphing. Proc. IEEE Vis. 2005,431–438 (2005). [Google Scholar]
  • 76.L. Botton-Divet, R. Cornette, A. C. Fabre, A. Herrel, A. Houssaye,Morphological analysis of long bones in semi-aquatic mustelids and their terrestrial relatives. Integr. Comp. Biol. 56,1298–1309 (2016). [DOI] [PubMed] [Google Scholar]
  • 77.S. Schlager, G. Jefferis, D. Ian,Morpho: Calculations and visualisations related to Geometric Morphometrics. R package 2,9 (2013). [Google Scholar]
  • 78.P. Gunz, P. Mitteroecker,Semilandmarks: A method for quantifying curves and surfaces. Hystrix 24,103–109 (2013). [Google Scholar]
  • 79.P. Gunz, P. Mitteroecker, F. L. Bookstein, Semilandmarks in three dimensions, in Modern Morphometrics in Physical Anthropology, D. E. Slice, Ed. (Springer, 2005), pp. 73–98. [Google Scholar]
  • 80.D. C. Adams, E. Otárola-Castillo,geomorph: An R package for the collection and analysis of geometric morphometric shape data. Methods Eco. Evol. 4,393–399 (2013). [Google Scholar]
  • 81.D. C. Adams,A generalized K statistic for estimating phylogenetic signal from shape and other high-dimensional multivariate data. Syst. Biol. 63,685–697 (2014). [DOI] [PubMed] [Google Scholar]
  • 82.D. C. Adams,A method for assessing phylogenetic least squares models for shape and other high-dimensional multivariate data. Evolution 68,2675–2688 (2014). [DOI] [PubMed] [Google Scholar]
  • 83.Ø. Hammer, D. A. Harper, P. D. Ryan,PAST: Paleontological statistics software package for education and data analysis. Palaeontol. Electron. 4,4 (2001). [Google Scholar]
  • 84.M. Kuhn,The caret package. J. Stat. Softw. 28,1–26 (2008).27774042 [Google Scholar]
  • 85.M. Kuhn, K. Johnson, Applied Predictive Modelling (Springer, 2013). [Google Scholar]
  • 86.D. Pol, A. Otero, C. Apaldetti, R. N. Martínez,Triassic sauropodomorph dinosaurs from South America: The origin and diversification of dinosaur dominated herbivorous faunas. J. South Am. Earth Sci. 107,1031452 (2021). [Google Scholar]
  • 87.M. G. Baron, D. B. Norman, P. M. Barrett,Postcranial anatomy of Lesothosaurus diagnosticus (Dinosauria: Ornithischia) from the Lower Jurassic of southern Africa: Implications for basal ornithischian taxonomy and systematics. Zool. J. Linn. Soc. 179,125–168 (2017). [Google Scholar]
  • 88.D. Madzia, V. M. Arbour, C. A. Boyd, A. A. Farke, P. Cruzado-Caballero, D. C. Evans,The phylogenetic nomenclature of ornithischian dinosaurs. PeerJ 9,e12362 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 89.P. C. Sereno, F. E. Novas,The complete skull and skeleton of an early dinosaur. Science 258,1137–1140 (1992). [DOI] [PubMed] [Google Scholar]
  • 90.R. T. Müller, M. C. Langer, M. Bronzati, C. P. Pacheco, S. F. Cabreira, S. Dias-Da-Silva,Early evolution of sauropodomorphs: Anatomy and phylogenetic relationships of a remarkably well-preserved dinosaur from the Upper Triassic of southern Brazil. Zool. J. Linn. Soc. 184,1187–1248 (2018). [Google Scholar]
  • 91.M. C. Langer, B. W. McPhee, J. C. D. Marsola, L. Roberto-da-Silva, S. F. Cabreira,Anatomy of the dinosaur Pampadromaeus barberenai (Saurischia — Sauropodomorpha) from the Late Triassic Santa Maria Formation of southern Brazil. PLOS ONE 14,e0212543 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 92.M. C. Langer, F. Abdala, M. Richter, M. J. Benton,A sauropodomorph dinosaur from the Upper Triassic (Carnian) of southern Brazil. C. R. Acad. Sci. Ser. II 329,511–517 (1999). [Google Scholar]
  • 93.M. J. Benton, L. Juul, G. W. Storrs, P. M. Galton,Anatomy and systematics of the prosauropod dinosaur Thecodontosaurus antiquus from the Upper Triassic of southwest England. J. Vertebr. Paleontol. 20,77–108 (2000). [Google Scholar]
  • 94.A. Prieto-Márquez, M. A. Norell,Redescription of a nearly complete skull of Plateosaurus (Dinosauria: Sauropodomorpha) from the Late Triassic of Trossingen (Germany). Am. Mus. Novit. 3727,1–58 (2011). [Google Scholar]
  • 95.J. N. Lallensack, E. M. Teschner, B. Pabst, P. M. Sander,New skulls of the basal sauropodomorph Plateosaurus trossingensis from Frick, Switzerland: Is there more than one species? Acta Palaeontol. Pol. 66,1–28 (2021). [Google Scholar]
  • 96.K. E. J. Chapelle, J. N. Choiniere,A revised cranial description of Massospondylus carinatus Owen (Dinosauria: Sauropodomorpha) based on computed tomographic scans and a review of cranial characters for basal Sauropodomorpha. PeerJ 6,e4224 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 97.R. A. Pyron, F. T. Burbrink, J. J. Wiens,A phylogeny and revised classification of Squamata, including 4161 species of lizards and snakes. BMC Evol. Biol. 13,93 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 98.J. P. Rio, P. D. Mannion,Phylogenetic analysis of a new morphological dataset elucidates the evolutionary history of Crocodylia and resolves the long-standing gharial problem. PeerJ 9,e12094 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 99.D. I. Whiteside, J. E. A. Marshall,The age, fauna and palaeoenvironment of the Late Triassic fissure deposits of Tytherington, South Gloucestershire, UK. Geol. Mag. 145,105–147 (2008). [Google Scholar]
  • 100.M. C. Langer, J. Ramezani, A. A. S. Da Rosa,U-Pb age constraints on dinosaur rise from south Brazil. Gondw. Res. 57,133–140 (2018). [Google Scholar]
  • 101.M. J. Benton, P. C. J. Donoghue, R. J. Asher, M. Friedman, T. J. Near, J. Vinther,Constraints on the timescale of animal evolutionary history. Palaeontol. Electron. 18,1FC (2015). [Google Scholar]
  • 102.T. R. Simões, M. W. Caldwell, M. Tałanda, M. Bernardi, A. Palci, O. Vernygora, F. Bernardini, L. Mancini, R. L. Nydam,The origin of squamates revealed by a Middle Triassic lizard from the Italian Alps. Nature 557,706–709 (2018). [DOI] [PubMed] [Google Scholar]
  • 103.D. W. Bapst,paleotree: An R package for paleontological and phylogenetic analyses of evolution. Methods Ecol. Evol. 3,803–807 (2012). [Google Scholar]
  • 104.W. Y. Loh,Classification and regression trees. Data Min. Knowl. Discov. 1,14–23 (2011). [Google Scholar]
  • 105.R. A. Fisher,The use of multiple measurements in taxonomic problems. Ann. Hum. Genet. 7,179–188 (1936). [Google Scholar]
  • 106.B. L. Welch,Note on discriminant functions. Biometrika 31,218–220 (1936). [Google Scholar]
  • 107.T. Hastie, R. Tibshirani,Discriminant analysis by Gaussian mixtures. J. R. Stat. Soc. B 58,155–176 (1996). [Google Scholar]
  • 108.V. N. Vapnik, The Nature of Statistical Learning Theory (Springer, 2000). [Google Scholar]
  • 109.T. M. Cover, P. E. Hart,Nearest neighbor pattern classification. IEEE Trans. Inf. Theory 13,21–27 (1967). [Google Scholar]
  • 110.P. Domingos, M. Pazzani,On the optimality of the simple Bayesian classifier under zero-one loss. Mach. Learn. 29,103–130 (1997). [Google Scholar]
  • 111.L. Breiman,Random forests. Mach. Learn. 45,5–32 (2001). [Google Scholar]
  • 112.M. Titterington,Neural networks. Wiley Interdiscip. Rev. Comput. Stat. 2,1–8 (2010). [Google Scholar]
  • 113.W. E. Cooper, L. J. Vitt,Distribution, extent, and evolution of plant consumption by lizards. J. Zool. 257,487–517 (2002). [Google Scholar]
  • 114.S. Meiri,Traits of lizards of the world: Variation around a successful evolutionary design. Glob. Ecol. Biogeogr. 27,1168–1172 (2018). [Google Scholar]
  • 115.L. Luiselli, E. Filippi, M. Capula,Geographic variation in diet composition of the grass snake (Natrix natrix) along the mainland and an island of Italy: The effects of habitat type and interference with potential competitors. Herpetol. J. 15,221–230 (2005). [Google Scholar]
  • 116.S. Bhupathy, C. Ramesh, A. Bahuguna,Feeding habits of Indian rock pythons in Keoladeo National Park, Bharatpur, India. Herpetol. J. 24,59–64 (2014). [Google Scholar]
  • 117.J. B. Thorbjarnarson,Notes on the feeding behavior of the gharial (Gavialis gangeticus) under seminatural conditions. J. Herpetol. 24,99–100 (1990). [Google Scholar]
  • 118.O. S. G. Pauwels, V. Mamonekene, P. Dumont, W. R. Branch, M. Burger, S. Lavoué,Diet records for Crocodylus cataphractus (Reptilia: Crocodylidae) at Lake Divangui, Ogooué-Maritime Province, south-western Gabon. Hamadryad 27,200–204 (2003). [Google Scholar]
  • 119.A. Ősi, P. M. Barrett,Dental wear and oral food processing in Caiman latirostris: Analogue for fossil crocodylians with crushing teeth. Neues Jahrb. fur Geol. Palaontol. - Abh. 261,201–207 (2011). [Google Scholar]
  • 120.E. C. Herbst, S. Lautenschlager, D. Bastiaans, F. Miedema, T. M. Scheyer,Modeling tooth enamel in FEA comparisons of skulls: Comparing common simplifications with biologically realistic models. iScience 24,103182 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplementary Text

Figs. S1 to S12

Tables S1 to S21

References


Articles from Science Advances are provided here courtesy of American Association for the Advancement of Science

RESOURCES