Abstract
Dental microwear texture (DMT) analysis is a critical proxy for reconstructing the diets of extant and extinct mammals. While craniodental morphology reflects selective pressures across evolutionary timescales, microwear captures localized, short-term dietary signals over weeks to months. However, the high dimensionality of modern 3D surface microtexture data, often spanning disparate parameter sets (such as ISO standards and scale-sensitive fractal analysis, SSFA), complicates classification, particularly when working with limited paleontological datasets. To address this, we present a robust machine learning pipeline designed to automatically classify primate samples (\(N = 99\)) across 6 dietary groups and 7 species. Our methodology leverages a nested leave-one-out cross-validation framework to evaluate multiple classifiers, including multinomial logistic regression (MLR) with various regularization approaches, Naive Bayes, and tree-based ensemble algorithms (e.g., Random forests, XGBoost). Our results demonstrate that Lasso-regularized MLR and Naive Bayes yield the highest predictive performance while enforcing strict feature selection to maintain interpretability. Crucially, models relying exclusively on ISO parameters consistently outperformed those using SSFA, as ISO variables better capture the microroughness localized mechanical abrasions generated by specific diets in our dataset. Furthermore, the integration of novel Fourier-based descriptors and isotropy variables significantly enhanced models’ discriminating power. By providing a mathematically rigorous framework to isolate precise ecological signals from noisy, high-dimensional data, this approach enables more accurate and reproducible dietary classifications. Ultimately, refining these dietary reconstructions is essential for resolving broader questions regarding niche partitioning, species evolution, and paleoecological dynamics.
Similar content being viewed by others
Acknowledgements
The authors are grateful to all the curators and technical personnel of the different institutions where the specimens were molded.
Funding
This research was supported by Ministerio de Ciencia e Innovación, Grant Numbers: PDC2021-121613-I00, PID2021-124662OB-I00, funded by MCIN/AEI/10.13039/501100011033 and the European Union “NextGeneration EU/ORTR”, PID2020-112963GB-I00 and PID2023-148818NB-I00 by ERDF A way of making Europe, by the European Union.
Author information
Authors and Affiliations
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Estebaranz-Sánchez, F., Kit, K., Ibáñez Estevez, J.J. et al. Machine learning approaches to dietary classification from dental microtexture in primates. Sci Rep (2026). https://doi.org/10.1038/s41598-026-47350-8
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-026-47350-8


