Full text
44,918 characters
· extracted from
preprint-html
· click to expand
Classification of dinosaur footprints using machine learning | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results Classification of dinosaur footprints using machine learning Michael Jones , View ORCID Profile Jens N. Lallensack , View ORCID Profile Ian Jarman , View ORCID Profile Peter Falkingham , View ORCID Profile Ivo Siekmann doi: https://doi.org/10.1101/2024.07.15.603597 Michael Jones 1 School of Computer Science and Mathematics (CSM), Faculty of Engineering and Technology (FET), Liverpool John Moores University (LJMU) , Liverpool, L3 3AF, United Kingdom ; Find this author on Google Scholar Find this author on PubMed Search for this author on this site Jens N. Lallensack 2 Departamento de Ciência da Computação, Universidade Federal de Minas Gerais , Av. Antônio Carlos, 6627 31270-901, Belo Horizonte, Minas Gerais, Brasil; Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Jens N. Lallensack Ian Jarman 1 School of Computer Science and Mathematics (CSM), Faculty of Engineering and Technology (FET), Liverpool John Moores University (LJMU) , Liverpool, L3 3AF, United Kingdom ; Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Ian Jarman Peter Falkingham 3 School of Biological and Environmental Sciences (BES), Faculty of Science, Liverpool John Moores University (LJMU) , Liverpool, L3 3AF, United Kingdom Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Peter Falkingham Ivo Siekmann 1 School of Computer Science and Mathematics (CSM), Faculty of Engineering and Technology (FET), Liverpool John Moores University (LJMU) , Liverpool, L3 3AF, United Kingdom ; Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Ivo Siekmann For correspondence: i.siekmann{at}ljmu.ac.uk Abstract Full Text Info/History Metrics Supplementary material Data/Code Preview PDF ABSTRACT Fossilised dinosaur footprints enable us to study the behaviour of individual dinosaurs as well as interactions between dinosaurs of the same or different species. There are two principal groups of three-toed dinosaurs, ornithopods and theropods. Determining if a footprint is from an ornithopod or a theropod is a challenging problem. Based on a data set of over 300 dinosaur footprints we train several machine learning models for classifying footprints as either ornithopods or theropods. The data are provided in the form of 20 landmarks for representing each footprint which are derived from images. Variable selection using logistic forward regression demonstrates that the selected landmarks are at locations that are intuitively expected to be especially informative locations, such as the top or the bottom of a footprint. Most models show good accuracy but the recall of ornithopods, of which fewer samples were contained in the data set, was generally lower than the recall of theropods. The Multi-Layer Perceptron (MLP) stands out as the model which did best at dealing with the class imbalance. Finally, we investigate which footprints were misclassified by the majority of models. We find that some misclassified samples exhibit features that are characteristic of the other class or have a compromised shape, for example, a middle toe that points to the left or the right rather than straight ahead. INTRODUCTION Ornithopods and theropods are two groups of tridactyl (three-toed) dinosaurs. Whereas the herbivorous ornithopods went extinct at the end of the Cretaceous period, the primarily carnivorous theropods evolved into modern birds. Well-known examples of theropods include Tyrannosaurus rex and the proto-bird Archaeopteryx , one of the best-known ornithopods is Iguanodon . Fossilised footprints are a valuable data source that can provide insight into the speed at which a dinosaur moved as well as more general traits of their behaviour. Throughout the literature they have predominantly been reported as photographic images and outline tracings, though this has changed in recent years via the aquistion of 3D data (Falkingham et al 2018). However, even when full 3D data are collected, these images are then often further simplified for statistical analysis by extracting morphological features such as lengths, widths, and angles. Broadly, the shapes of ornithopod and theropod footprints differ in various characteristics. Ornithopod footprints are usually wider and more symmetric than theropod footprints. Also, their middle toes (digit III) are commonly shorter i.e. they do not extend as far beyond the other toes (digits II and IV) as in theropods. However, these observations are unsuitable for defining general rules for distinguishing ornithopods and theropods because the characteristics described above can be found in both groups. Moreover, as Falkingham (2014) shows, the shape of a footprint is not only determined by the anatomy of the foot but also by the properties of the substrate as well as the dynamics of the dinosaur as it left the footprint; they refer to the influence of these three dimensions as the morphospace. Thus, determining if a given footprint is from an ornithopod or a theropod remains a difficult problem. A prime example of this difficulty lies with the large tridactyl prints of Lark Quarry, Australia ( Thulborn & Wade, 1979 ). Originally described as theropod in origin ( Thulborn & Wade, 1979 ; Thulborn & Wade, 1984 ), the tracks were later reinterpreted by Romilio and Salisbury (2011) and Romilio et al. (2013) as having been made by an Ornithopod. Key to this reinterpreation was Romilio and colleagues’ use of multivariate analysis techniques pioneered by Moratalla et al. (1988) . This was later critiqued by Thulborn (2013) , whose critique was again then questioned by Romilio and Salisbury (2014) . Falkingham et al. (2016) subsequently demonstrated that even applying the ostensibly ‘objective’ multivariate analysis resulted in highly subjective interpretations depending on where in the 3D geometry an ‘outline’ was picked, stressing that using a single outline in this way was flawed. Falkingham ultimately determined that the tracks were more theropod-like than ornithopod-like closer to the foot-sediment interface. These same tracks were revisited in Lallensack et al.’s first application of machine learning ( Lallensack et al., 2022 ), where interpreted track-maker varied depending on which track, and whose outline was passed to the algorithm. The aim of our study is to address this challenge by designing classifiers based on several machine learning methods. This has the additional benefit that the decision if a footprint is classified as an ornithopod or a theropod is based on statistical analysis of the data rather than on subjective decisions. Several representative publications classify footprints by identifying clusters in scatter plots of various metrics ( Castanera et al., 2013 ; Demathieu, 1990 ; dePolo et al., 2020; Figueiredo et al., 2017 ; Mateus & Milàn, 2008; Piñuela et al., 2016 ; Romilio & Salisbury, 2011 ; Schulp & Al-Wosabi, 2012 ; Thulborn, 2013 ) which relies on subjective decisions such as the selection of metrics to be considered as well as the definition of the cluster boundaries. The quantitative analysis of differences between ornithopods and theropods begins with the seminal study by Moratalla et al. (1988) . The authors selected a sample of 66 tridactyl footprints from the Lower Cretaceous period and originating from various geographical locations. They applied factor analysis (FA) and linear discriminant analysis (LDA) to features such as length and width of each digit with the aim to discriminate between theropods and ornithopods. Lallensack et al. (2016) looked at three trackways from the Lower Cretaceous period found in Münchehagen Germany. The authors applied geometric morphometrics to footprint outlines and landmarks. They performed Principal Component Analysis (PCA) and found that asymmetry in the terminations of the digit impressions were a large distinguishing factor between the two groups. Lallensack (2019) extended this work by developing an algorithm that could automatically define the outline of a footprint. They tested this with a single theropod trackway from the same time period and geographical region as the trackways used by Lallensack et al. (2016) . Lallensack et al. (2020) aimed to characterise the variability of footprint shapes over time and between theropods and ornithopods. The authors took 303 footprints originating from the Late Triassic period, through the Jurassic all the way to the Late Cretaceous period from 134 publications. Each footprint was described by 34 landmarks and reference points and information such as the size was also recorded. They observed that ornithopod footprints are, on average, larger and wider than theropod footprints. Moreover, the features distinguishing theropods and ornithopods change with size, and the small ornithischian footprints are most similar in shape to large theropod footprints. Ornithischian footprints increased in size over time from the early Jurassic to the late Cretaceous period indicating an increase in body size over that time period, which, interestingly, is not observed in theropod footprints. The data by Lallensack et al. (2020) will be used in this study for developing classification algorithms that enable us to automatically distinguish between ornithopod and theropod footprints. MATERIALS AND METHODS The classification methods developed in this study are based on a data set that represents the visual features of dinosaur footprints by a system of landmarks ( Lallensack et al., 2020 ). Lallensack et al. (2020) collected images of 303 dinosaur footprints from 134 different publications and represented the outline of each dinosaur footprint by 20 landmarks, see FIGURE 1. Two of the 303 footprints were not labelled as ornithopods or theropods, so these two samples were omitted. The remaining data set consists of 301 footprints, 108 labelled ornithopods, 193 labelled theropods. As can be seen in FIGURE 1, each of the 20 landmarks is represented as a point ( x , y ) in a two-dimensional coordinate system. We simplify the data set by transforming each landmark ( x , y ) to its distance r from the centre (0, 0) as illustrated by the arrows in FIGURE 1: Thus, the dimensionality of the data set is reduced from 2 × 20 = 40 to 20 variables. This transformed data set, see FIGURE 2, was then used for training models for classifying footprints as theropods or ornithopods, respectively. Please note that for the purposes of this visualisation the sequence of distances from the centre plotted in FIGURE 2 was changed, starting with landmark 4 on the left of the x axis and then moving counter-clockwise along the boundary of the footprint leading to the sequence 4,7,6,5,1,8,9,20,19,18,2,15,16,17,14,13,3,10,11,12 (cf. FIGURE 1). The mean distances of each landmark for ornithopods and theropods ( FIGURE 2a ) already give some insight into the differences between the two classes. When comparing the red curve representing the ornithopods and the black curve showing the theropods, landmarks 1, 5, 6, 7 – on the right of the footprint, see FIGURE 1 – and landmarks 3, 10, 11 and 12 – on the left of the footprint, see FIGURE 1 – are, on average, further away from the centre for ornithopod footprints than for theropod footprints. These observations illustrate that ornithopod footprints are usually wider than theropod footprints. Carrying out a multivariate test that extends the two-sample t-test to multiple variables as described in Härdle and Simar (2014) it can be shown that the mean distances of the landmarks are significantly different (α = 0.05) for ornithopods and theropods. Download figure Open in new tab FIGURE 1. Example for a footprint from the data set by Lallensack et al. (2020) whose outline has been represented by 20 landmarks. The three arrows provide examples how the coordinates ( x , y ) of landmarks (here shown for the examples 4, 9 and 18) are converted to distances r from the centre. The landmarks shown in red were selected by variable selection via forward step logistic regression. [planned for column width] Download figure Open in new tab FIGURE 2. Visualisation of the data set by Lallensack et al. (2020) after transforming the two- dimensional coordinates to distances r from the origin (0,0) according to eq. (1) . In the plots, also the sequence of the landmarks is changed, starting with landmark 4 on the left of the x axis and then moving counter-clockwise along the boundary of the footprint. In a, the means of the distances r is plotted for all 20 landmarks for ornithopods (red) and theropods (black). The distances r for all ornithopods are shown in b, theropods are shown in c. [planned for column width] A slightly more subtle feature of FIGURE 2a relates to landmarks 2, 17 and 20. Here, the distances of landmarks 17 and 20 are again shorter for theropods but on the contrary landmark 2 is on average further away from the centre than the same landmark in ornithopods. Combining these two observations illustrates another distinguishing feature of the two classes, namely that the middle toe of a theropod is usually longer than the middle toe of an ornithopod. As a whole, all panels in FIGURE 2 illustrate the shape of a three-toed footprint. From landmark 4 which marks the bottom of the footprint, the distance decreases along the right part of the footprint and along the right toe until a minimum is reached at the gap between the right and the middle toe (landmark 20). The distance then increases along the middle toe until the tip is reached (landmark 2). Left of landmark 2 the distance again decreases until the gap between the middle toe and the right toe is reached (landmark 17). Finally, the distance increases again along the left toe and the left side of the footprint. As we can see for both ornothopods ( FIGURE 2b ) and ornithopods ( FIGURE 2c ) the graphs for all footprints in the data set follow this pattern although they vary over a wide range – this is related to the footprint size, the distances increase with the footprint size. The algorithms included in our study were Logistic Regression (LR), Multi-Layer Perceptron (MLP), Random Forest (RF), Support Vector Machine (SVM), Multivariate Adaptive Regression Splines (MARS) and Linear Discriminant Analysis (LDA). More details on these well-known machine learning methods can be found in standard textbooks such as, for example, Hastie et al. (2009) . The following software implementations available as packages contained in the programming language R (R_Core_Team, 2023) were used: stats (LR), MASS (LDA), nnet (MLP), randomForestSRC (RF), e1071 (SVM), mda (MARS). RESULTS The data set, see FIGURE 2, was split into a training set that contained 211 samples (70% of the data) and a test set containing 90 samples (30% of the data) to be used for assessing the performance of the machine learning models used in this study. For each model, the hyperparameters were optimised to obtain the best possible results. For Logistic Regression (LR), a forward stepwise method was implemented – using the function step implemented in R ( Hastie & Pregibon, 1992 ). In Forward Stepwise Regression, landmarks are iteratively added as the performance is assessed via the Akaike Information Criterion (AIC) ( Akaike, 1974 ). The subset of 8 of the 20 landmarks selected in this way were 2, 4, 5, 9, 10, 15, 17, 20, see FIGURE 1. For the multi-layer perceptron (MLP), the caret package was used to carry out a grid search of an MLP implemented in the nnet package – the number of neurons in the hidden layer were varied between 1 and 19 and the weight decay parameter λ was changed between 0 and 0.1. Both were optimised using Cohen’s λ as the performance metric ( Cohen, 1960 ). The resulting model had 17 hidden neurons and a weight decay parameter of λ = 0.1. For the Random Forest model, the number of randomly selected predictors was optimised using the caret package – the value reached was 4. The optimal SVM with a radial basis function kernel had parameters σ = 0.010, C = 32. After a model is fitted to the training set, its ability to correctly classify theropod and ornithopod footprints is assessed by the relative frequencies of correctly identified theropods (sensitivity) and ornithopods (specificity), respectively. Receiver Operating Characteristic (ROC) curves were generated for each model, see FIGURE 3 . The ROC curve illustrates the trade-off of sensitivity and specificity – increasing the performance of a classification method to identify theropods usually comes at the expense of its ability to recognise ornithopods and vice versa. By changing the threshold that determines which samples are classified as theropods versus ornithopods, sensitivity and specificity of a classification method can be varied. In FIGURE 3 we have indicated by red points sensitivity and specificity that can be achieved for a given method by optimising the threshold. A summary statistic for ROC curves is the area under the ROC curve (AUROC) which provides a metric of the overall performance of a classifier. Download figure Open in new tab FIGURE 3. ROC curves for the machine learning methods used in this study. For each method, the Area under the Curve (AUC) has been calculated. The red points show the recall of theropods (sensitivity) and ornithopods (specificity) achieved by the optimal threshold. [planned for page width] TABLE 1 shows confusion matrices and performance metrics, FIGURE 4 shows the recall and accuracy for all methods both before and after optimising the threshold using the ROC curves. All models show good accuracy scores between 80% and 90%. However, all methods except MLP are notably worse at accurately predicting the smaller class i.e. ornithopods before the threshold of the classifier is adjusted. After moving the threshold, most methods increase the recall of ornithopods whilst decreasing the recall of theropods. This is expected because there is a trade-off between both metrics which is represented by the ROC curve. An exception to this pattern is LDA. Before adjusting the threshold, LDA has the best recall for theropods of any of the 6 methods (91.2%) whilst at the same time having the worst recall for ornithopods (69.7%). After adjusting the threshold, the recall of theropods increases whereas the recall of ornithopods decreases even further – as a result LDA becomes an extreme case of a classifier that reaches a recall of 98.2% for theropods but at the expense of a very weak performance of classifying ornithopods, achieving a recall of only 66.7%. In contrast, even before adjusting the threshold, MLP’s recall of ornithopods is already 90.9%, which remains unchanged after moving the threshold whilst the recall of theropods increases from 87.7% to 89.5%. Thus, MLP is not only the method that achieves the highest accuracy (90%) but also the highest recall for both classes. Because for this study performance should ideally be as high as possible for classifying both ornithopods and theropods, the MLP is superior to the other models. View this table: View inline View popup Download powerpoint TABLE 1. Confusion matrices with performance metrics for several machine learning methods. Recall of ornithopods and theropods quantifies the percentages of correctly classified samples of each type of dinosaur whereas accuracy is the overall percentage of correctly classified footprints. All these metrics were calculated before and after adjusting the thresholds from 0.5 as indicated by the red points in Figure 3 . Finally, AUROC is reported for all methods. Plots of recall and accuracy for all methods before and after adjusting the thresholds are shown in Figure 4 . Download figure Open in new tab FIGURE 4. The plots show recall of ornithopods (red, dashed) and theropods (black, dashed) as well as accuracy (blue, solid) for all methods before and after adjusting the threshold of the classifier. Recall quantifies the proportion of correctly classified samples of each type of dinosaur whereas accuracy is the overall percentage of correctly classified footprints. [planned for page width] DISCUSSION Six machine learning methods were applied to the problem of distinguishing theropods and ornithopods, two groups of dinosaurs, based on footprints. Each footprint is represented by 20 landmarks which are placed as explained by Lallensack et al. (2020) . Of the six models, MLP emerges as clearly superior in comparison to the other methods, achieving a recall for both classes of about 90%. One feature of the approach presented here is that it relies on the system of 20 landmarks proposed by Lallensack et al. (2020) , a set of points of interest located on the boundaries of the footprints, such as the tips of the three toes (landmarks 1, 2 and 3) or the rear (landmark 4) of each footprint. One immediate advantage of using landmarks rather than working directly with image data is robustness to sources of error such as, for example, footprints that are located off-centre or are rotated whilst, when determining the landmarks from images, distortions such as different orientations of a footprint with respect to the image frame are removed. As a result, using landmarks for building classifiers for distinguishing between theropods and ornithopods does not need to address the usual challenges faced in image processing applications. However, this suggests that the accuracy that can be achieved using machine learning models depends on the quality of the landmark data set. Instead of using the two-dimensional coordinates ( x , y ) that indicate the locations of each landmark, we instead work with the distances of the landmarks from the centre of the footprint. Thus, rather than using 2 × 20 = 40 coordinates, we reduce the dimensionality of the data to 20 distances from the centre. From FIGURE 2 it seems intuitively clear that not much information is lost due to this transformation of the data set. This can be explained more rigorously by considering that rather than by two-dimensional cartesian coordinates ( x , y ), the locations of landmarks can equivalently be represented by polar coordinates ( r , ϕ ) i.e. by the distance r from the origin and an angle ϕ that indicates the direction where a point is located. Thus, our transformed data set can be described as a transformation to polar coordinates where the angular variable ϕ is omitted. Each landmark lies in a particular direction from the centre – landmark 2, the tip of the middle toe, lies above the centre, whereas landmark 4 is located below. Landmarks 1 is lateral (on the upper right), and landmark 2 is medial (on the upper left). Thus, because for different footprints each landmark is expected to be located in a similar direction from the centre most of the information is contained in the distance r from the centre and the angle ϕ can be omitted. In fact, replacing the cartesian coordinates ( x , y ) by distances r from the centre is essential for obtaining a set of variables that is suitable for training machine learning methods. When attempting to train various machine learning methods on the original data set, the fact that some coordinates are not informative – for example, the x coordinate of landmark 2 is close to zero whereas the y coordinates of landmarks 5, 8, 10, 13, 17 and 20 are small – causes problems and it is difficult to achieve convergence. The number of variables can be reduced even further by variable selection. This was implemented for Logistic Regression via Forward Step Regression. The landmarks selected by forward regression – shown in red in FIGURE 3 – were among those that would intuitively be expected to be in the subset of the most informative landmarks – landmarks 2 and 4 as the tip and rear of the footprint which are related the length of a footprint, 5 and 10 that are linked to the width of the footprint, 17 and 20 halfway along the middle toe, and 9 at the beginning of the lateral (right) toe. Only landmark 15 seems slightly inconsistent with this pattern because it is the landmark next to landmark 2 – intuitively one might rather expect to find 14, the landmark opposite of 9, in the set of selected variables instead. When fitting the other machine learning methods to the subset of variables selected by forward regression, the models obtained showed similar performance as when fitted to the full data set. Arguably that suggests that more parsimonious models could be obtained when reducing the modelling to the landmarks selected by forward selection. Finally, it is interesting to investigate which footprints were misclassified in order to explore possible limitations of the approach, see TABLE 2 . Only two ornithopod and one theropod footprint were misclassified by all six machine learning models, see FIGURE 5a . The shapes of these three footprints, published by Castanera et al. (2013) , Li et al. (2012) and Xing, Lockley, Zhang, et al. (2014), reveal why it might be challenging to classify them correctly – for example, in all three figures the middle toe clearly points to the left or to the right, respectively, rather than straight ahead. Indeed, Castanera et al. (2013) argued that the tracks they described are challenging to refer to either group, and in this case the assignment to ornithopods could be made only because of the presence of manus tracks, though other works have attributed manus tracks to theropod trackmakers (e.g. Milner et al. (2009) ; Li et al. (2019) ). The Li et al. (2012) track is referred to the ichnogenus Anomoepus , which is produced by small, basal ornithischians. In the absence of manus tracks, such tracks are generally difficult to assign to either theropods or ornithischians, and it is possible that the Li et al. (2012) track is a mis-identified theropod track. View this table: View inline View popup Download powerpoint TABLE 2. Samples in the data set that have been misclassified by one or more of the methods after adjusting the threshold. References to all sources can be found in Lallensack et al. (2020) . Download figure Open in new tab FIGURE 5. Footprints that are misclassified by all (6), 5 or 4 of the methods applied in this study. Ornithopod footprints are shown in red, theropods in black. Note that the footprints shown here have different sizes – they are plotted on different scales to emphasise their shapes rather than their sizes. [planned for page width] The five footprints that have been misclassified by 5 out of 6 methods have been published in Castanera et al. (2013) , Kim et al. (2018) , Lockley (2010) ; Olsen and Rainforth (2003) and Xing et al. (2011). Looking at other misclassified footprints, for example, those shown in FIGURE 5c , it appears that the theropod footprints that have been misclassified by 4 out of 6 machine learning methods show characteristics that are more common for ornithopods – for Dalman and Weems (2013) , Gierliński et al. (2009) , Lallensack et al. (2016) , Raath (1972) Xing, Lockley, Wand, et al. (2014) the middle toe is relatively short and wide rather than long and thin. Again, some theropod tracks are very ornithopod-like in appearance (see Milner et al. (2023) for a particularly deceiving example). Consequently, some ambiguity is expected, and it is likely that some of the tracks are impossible to be classified correctly. CONCLUSION We developed a machine learning approach for classifying ornithopod and theropod footprints using a data set consisting of 20 landmarks that describe the shape of the footprints. We achieve accuracies of above 80% up to 90% for MLP, the best-performing method. MLP also shows a balanced performance for both classes, achieving recalls of approximately 90% for both ornithopods and theropods. AUTHOR CONTRIBUTIONS IS, JNL, PLF and IJ designed the project. MJ and IS carried out the project and wrote the first draft of the manuscript. All authors reviewed and approved the manuscript. SUPPLEMENTARY FILE(S) JonesEtAl.Rmd: R Markdown implementation of the machine learning methods used for this study. JonesEtAl.PDF: Report generated from R Markdown file. DinoPrints.csv: Data set of ornithopod and theropod footprints ( Lallensack et al., 2020 ). ACKNOWLEDGMENTS JNL was supported by the Alexander von Humboldt-Foundation, Bonn, Germany. PLF was supported by a UKRI Frontier Research Grant TRACKEVOL (selected by the ERC as a consolidator award). Footnotes RH: Jones et al.—ML classification of footprints SUPPLEMENTARY FILE(S)––Supplementary file(s) are available for this article for free at www.tandfonline.com/UJVP https://github.com/merlinthemagician/dinoprints-ML LITERATURE CITED 1. ↵ Akaike , H . ( 1974 ). A new look at the statistical model identification . IEEE Transactions on Automatic Control , 19 ( 6 ), 716 – 723 . doi: 10.1109/TAC.1974.1100705 OpenUrl CrossRef 2. ↵ Castanera , D. , Pascual , C. , Razzolini , N. L. , Vila , B. , Barco , J. L. , & Canudo , J. I . ( 2013 ). Discriminating between Medium-Sized Tridactyl Trackmakers: Tracking Ornithopod Tracks in the Base of the Cretaceous (Berriasian , Spain). PLOS ONE , 8 ( 11 ), e81830 . doi: 10.1371/journal.pone.0081830 OpenUrl CrossRef PubMed 3. ↵ Cohen , J . ( 1960 ). A Coefficient of Agreement for Nominal Scales . Educational and Psychological Measurement , 20 ( 1 ), 37 – 46 . doi: 10.1177/001316446002000104 OpenUrl CrossRef Web of Science 4. ↵ Dalman , S. G. , & Weems , R. E . ( 2013 ). A new look at morphological variation in the ichnogenus Anomoepus, with spe- cial reference to material from the Lower Jurassic Newark Supergroup: implications for ichnotaxonomy and ichnodiversity . Bulletin of the Peabody Museum of Natural History , 54 ( 1 ), 67 – 124 . doi: 10.3374/014.054.0104 OpenUrl CrossRef 5. ↵ Demathieu , G. R . ( 1990 , 1990/02/01). Problems in discrimination of tridactyl dinosaur footprints, exemplified by the Hettangian trackways, the causses , France. Ichnos , 1 ( 2 ), 97 – 110 . doi: 10.1080/10420949009386339 OpenUrl CrossRef 6. dePolo, P. E., Brusatte, S. L., Challands, T. J., Foffa, D., Wilkinson, M., Clark, N. D. L., Hoad, J., Pereira, P. V. L. G. d. C., Ross, D. A., & Wade, T. J . ( 2020 ). Novel track morphotypes from new tracksites indicate increased Middle Jurassic dinosaur diversity on the Isle of Skye, Scotland . PLOS ONE , 15 ( 3 ), e0229640 . doi: 10.1371/journal.pone.0229640 OpenUrl CrossRef 7. ↵ Falkingham , P . ( 2014 ). Interpreting ecology and behaviour from the vertebrate fossil track record . Journal of Zoology , 292 ( 4 ), 222 – 228 . OpenUrl CrossRef Web of Science 8. ↵ Falkingham , P. , Marty , D. , & Richter , A . ( 2016 ). Applying objective methods to subjective track outlines . Dinosaur tracks: the next steps , 72-81. 9. ↵ Figueiredo , S. , Dinis , P. , Belo , J. , Rosina , P. , & Strantzali , I. B . ( 2017 ). A new record of a possible ornithopod footprint from the Lower Cretaceous of Cabo Espichel (Sesimbra, Portugal) . Bollettino della Società Paleontologica Italiana , 56 ( 2 ), 217 – 231 . doi: 10.4435/BSPI.2017.20 OpenUrl CrossRef 10. ↵ Gierliński , G. G. , Menducki , P. , Janiszewska , K. , Wicik , I. , & Boczarowski , A . ( 2009 , 2012-11- 15). A preliminary report on dinosaur track assemblages from the Middle Jurassic of the Imilchil area , Morocco [Dinosaur tracks; Bathonian; Bajocian; Central High Atlas; Morocco]. Geological Quarterly , 53 ( 4 ), 6 . https://gq.pgi.gov.pl/article/view/7964 OpenUrl 11. ↵ Härdle , W. K. , & Simar , L . ( 2014 ). Applied Multivariate Statistical Analysis (4 ed.) . Springer . 12. ↵ Hastie , T. , Tibshirani , R. , Friedman , J. H. , & Friedman , J. H . ( 2009 ). The elements of statistical learning: data mining, inference, and prediction (Vol. 2 ). Springer. 13. ↵ Hastie , T. J. , & Pregibon , D. ( 1992 ). Generalized linear models . In J. M. Chambers & T. J. Hastie (Eds.), Statistical Models in S. Wadsworth & Brooks/Cole . 14. ↵ Kim , K. S. , Lim , J. D. , Lockley , M. G. , Xing , L. , Ha , S. J. , Kim , C. B. , Paik , I. S. , Ahn , J. H. , & Mun , S. C . ( 2018 , 2018/01/01/). First reports of a distinctive theropod track assemblage from the Jinju Formation (Lower Cretaceous) of Korea provides strong correlations with China . Cretaceous Research , 81 , 26 – 35 . doi: 10.1016/j.cretres.2017.08.005 OpenUrl CrossRef 15. ↵ Lallensack , J. N . ( 2019 ). Automatic generation of objective footprint outlines . PeerJ , 7 , e7203 . OpenUrl 16. ↵ Lallensack , J. N. , Engler , T. , & Barthel , H. J . ( 2020 ). Shape variability in tridactyl dinosaur footprints: the significance of size and function . Palaeontology , 63 ( 2 ), 203 – 228 . OpenUrl 17. ↵ Lallensack , J. N. , Romilio , A. , & Falkingham , P. L . ( 2022 , Nov 9). A machine learning approach for the discrimination of theropod and ornithischian dinosaur tracks . Journal of the Royal Society Interface , 19 ( 196 ). doi: 10.1098/rsif.2022.0588 OpenUrl CrossRef 18. ↵ Lallensack , J. N. , van Heteren , A. H. , & Wings , O. ( 2016 ). Geometric morphometric analysis of intratrackway variability: a case study on theropod and ornithopod dinosaur trackways from Münchehagen (Lower Cretaceous , Germany). PeerJ , 4 , e2059 . OpenUrl 19. ↵ Li , D.-Q. , Xing , L.-D. , Lockley , M. G. , Romilio , A. , Yang , J.-T. , & Li , L.-F . ( 2019 , 2019/02/26). The first theropod tracks from the Middle Jurassic of Gansu , Northwest China: new and rare evidence of quadrupedal progression in theropod dinosaurs. Journal of Palaeogeography , 8 ( 1 ), 10 . doi: 10.1186/s42501-019-0028-4 OpenUrl CrossRef 20. ↵ Li , J. , Lockley , M. G. , Zhang , Y. , Hu , S. , Matsukawa , M. , & Bai , Z . ( 2012 ). An Important Ornithischian Tracksite in the Early Jurassic of the Shenmu Region, Shaanxi , China. Acta Geologica Sinica - English Edition , 86 ( 1 ), 1 – 10 . doi: 10.1111/j.1755-6724.2012.00606.x OpenUrl CrossRef 21. ↵ Lockley , M. G. ( 2010 ). New perspectives on morphological variation in tridactyl footprints: clues to widespread convergence in developmental dynamics . Geological Quarterly ; Vol 53 , No 4 (2009) . https://gq.pgi.gov.pl/article/view/7530 22. Mateus, O. v., & Milàn, J . ( 2008 ). Ichnological evidence for giant ornithopod dinosaurs in the Upper Jurassic Lourinhã Formation , Portugal. Oryctos , 8 , 47 – 52 . OpenUrl 23. ↵ Milner , A. , Santucci , V. , Wood , J. , Birthisel , T. , Clites , E. , & Lockley , M . ( 2023 , 10/09). The John Wesley Powell Fossil Track Block—theropod tracks with ornithopod-like morphology from the Early Jurassic Navajo Sandstone, Glen Canyon National Recreation Area , Utah-Arizona. Geology of the Intermountain West , 10 , 185 – 222 . doi: 10.31711/giw.v10.pp185-222 OpenUrl CrossRef 24. ↵ Milner , A. R. C. , Harris , J. D. , Lockley , M. G. , Kirkland , J. I. , & Matthews , N. A . ( 2009 ). Bird- Like Anatomy, Posture, and Behavior Revealed by an Early Jurassic Theropod Dinosaur Resting Trace . PLOS ONE , 4 ( 3 ), e4591 . doi: 10.1371/journal.pone.0004591 OpenUrl CrossRef PubMed 25. ↵ Moratalla , J. J. , Sanz , J. L. , & Jimenez , S . ( 1988 ). Multivariate analysis on Lower Cretaceous dinosaur footprints: discrimination between ornithopods and theropods . Geobios , 21 ( 4 ), 395 – 408 . OpenUrl CrossRef GeoRef 26. ↵ Olsen , P. , & Rainforth , E . ( 2003 , 01/01) . The Early Jurassic ornithischian dinosaurian ichnogenus Anomoepus . 2 . 27. ↵ Piñuela , L. , García-Ramos , J. C. , Romano , M. , & Ruiz-Omeñaca , J. I . ( 2016 , 2016/10/01). First Record of Gregarious Behavior in Robust Medium-Sized Jurassic Ornithopods: Evidence from the Kimmeridgian Trackways of Asturias (N. Spain) and Some General Considerations on Other Medium-Large Ornithopod Tracks in the Mesozoic Record . Ichnos , 23 ( 3-4 ), 298 – 311 . doi: 10.1080/10420940.2016.1178640 OpenUrl CrossRef 28. R_Core_Team. ( 2023 ). R: a language and environment for sta- tistical computing . R Foundation for Statistical Computing, Vienna, Austria. Retrieved 20th October 2023 from https://www.R-project.org 29. ↵ Raath , M. A . ( 1972 ). First record of dinosaur footprints from Rhodesia . Arnoldia (Rhodesia) Series of Miscellaneous Publica- tions National Museums of Rhodesia , 5 , 1 – 5 . OpenUrl 30. ↵ Romilio , A. , & Salisbury , S. W . ( 2011 , 2011/04/01/). A reassessment of large theropod dinosaur tracks from the mid-Cretaceous (late Albian–Cenomanian) Winton Formation of Lark Quarry, central-western Queensland , Australia : A case for mistaken identity . Cretaceous Research, 32 (2), 135-142. doi: 10.1016/j.cretres.2010.11.003 OpenUrl CrossRef GeoRef Web of Science 31. ↵ Romilio , A. , & Salisbury , S. W . ( 2014 , Sep). Large dinosaurian tracks from the Upper Cretaceous (Cenomanian-Turonian) portion of the Winton Formation, Lark Quarry, central-western Queensland, Australia: 3D photogrammetric analysis renders the ’stampede trigger’ scenario unlikely . Cretaceous Research , 51 , 186-207. doi: 10.1016/j.cretres.2014.06.003 OpenUrl CrossRef 32. Romilio , A. , Tucker , R. T. , & Salisbury , S. W . ( 2013 ). Reevaluation of the Lark Quarry Dinosaur Tracksite (Late Albian-Cenomanian Winton Formation, Central-Western Queensland, Australia): No Longer a Stampede? Journal of Vertebrate Paleontology , 33 (1), 102-120. Doi 10.1080/02724634.2012.694591 OpenUrl CrossRef GeoRef Web of Science 33. ↵ Schulp , A. S. , & Al-Wosabi , M. ( 2012 , 2012/12/01). Telling Apart Ornithopod and Theropod Trackways: A Closer Look at a Large, Late Jurassic Tridactyl Dinosaur Trackway at Serwah, Republic of Yemen . Ichnos , 19 ( 4 ), 194 – 198 . doi: 10.1080/10420940.2012.710672 OpenUrl CrossRef 34. ↵ Thulborn , R. A . ( 2013 , 2013/09/01). Lark Quarry revisited: a critique of methods used to identify a large dinosaurian track-maker in the Winton Formation (Albian–Cenomanian), western Queensland , Australia. Alcheringa: An Australasian Journal of Palaeontology , 37 ( 3 ), 312 – 330 . doi: 10.1080/03115518.2013.748482 OpenUrl CrossRef 35. ↵ Thulborn , R. A. , & Wade , M . ( 1979 ). Dinosaur Stampede in the Cretaceous of Queensland . Lethaia , 12 ( 3 ), 275 – 279 . DOI 10.1111/j.1502-3931.1979.tb01008.x OpenUrl CrossRef GeoRef Web of Science 36. ↵ Thulborn , T. , & Wade , M . ( 1984 ). Dinosaur trackways in the Winton Formation (mid- Cretaceous) of Queensland . Memoirs of the Queensland Museum , 21 , 413 – 517 . OpenUrl GeoRef 37. Xing , L. D. , Harris , J. D. , Jia , C.-K. , Luo , Z.-J. , Wang , S.-N. , & An , J.-F . ( 2011 , 2011/12/01/). Early cretaceous bird-dominated and dinosaur footprint assemblages from the northwestern margin of the Junggar Basin, Xinjiang , China. Palaeoworld , 20 ( 4 ), 308 – 321 . doi: 10.1016/j.palwor.2011.01.001 OpenUrl CrossRef 38. Xing , L. D. , Lockley , M. G. , Wand , Q.-F. , Li , Z.-D. , Klein , H. , IV, W. S. P. , Ye , Y. , & Matsukawa , M. ( 2014 ). Earliest records of dinosaur footprints in Xinjiang , China. Vertebrata PalAsiatica , 52 , 340 – 348 . OpenUrl 39. Xing , L. D. , Lockley , M. G. , Zhang , J. P. , Klein , H. , Kim , J. Y. , Persons , W. S. , Matsukawa , M. , Yu , X. Q. , Li , J. J. , Chen , G. B. , & Hui , Y . ( 2014 , May ). Upper Cretaceous dinosaur track assemblages and a new theropod ichnotaxon from Anhui Province, eastern China . Cretaceous Research , 49 , 190 – 204 . doi: 10.1016/j.cretres.2014.03.003 OpenUrl CrossRef View the discussion thread. Back to top Previous Next Posted July 18, 2024. Download PDF Supplementary Material Data/Code Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Classification of dinosaur footprints using machine learning Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Classification of dinosaur footprints using machine learning Michael Jones , Jens N. Lallensack , Ian Jarman , Peter Falkingham , Ivo Siekmann bioRxiv 2024.07.15.603597; doi: https://doi.org/10.1101/2024.07.15.603597 Share This Article: Copy Citation Tools Classification of dinosaur footprints using machine learning Michael Jones , Jens N. Lallensack , Ian Jarman , Peter Falkingham , Ivo Siekmann bioRxiv 2024.07.15.603597; doi: https://doi.org/10.1101/2024.07.15.603597 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Paleontology Subject Areas All Articles Animal Behavior and Cognition (7644) Biochemistry (17728) Bioengineering (13916) Bioinformatics (42037) Biophysics (21489) Cancer Biology (18637) Cell Biology (25553) Clinical Trials (138) Developmental Biology (13401) Ecology (19941) Epidemiology (2067) Evolutionary Biology (24367) Genetics (15622) Genomics (22547) Immunology (17764) Microbiology (40475) Molecular Biology (17208) Neuroscience (88747) Paleontology (667) Pathology (2842) Pharmacology and Toxicology (4834) Physiology (7659) Plant Biology (15175) Scientific Communication and Education (2047) Synthetic Biology (4304) Systems Biology (9835) Zoology (2272)
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.