Skip to main content
TaxonBodyMassML: Taxonomy-informed prediction of body mass using gradient-boosted trees

TaxonBodyMassML: Taxonomy-informed prediction of body mass using gradient-boosted trees

This is a Preprint and has not been peer reviewed. This is version 1 of this Preprint.

Add a Comment

You must log in to post a comment.


Comments

There are no comments or no comments have been made public for this article.

Downloads

Download Preprint

Supplementary Files

Authors

Grant Mori Pasquantonio, Hailey Prater, Anish Chowdary Pendurti, Mark Novak 

Abstract

1. Body mass is a key ecological trait governing metabolic rates, life-history characteristics, interaction strengths, and community structure and dynamics. Despite its centrality to ecology and ecological modelling, direct body mass measurements exist for only a small fraction of all scientifically described species.

2. We present TaxonBodyMassML, a machine-learning tool to predict the body mass of heterotrophic taxa from their Linnaean taxonomy alone. Trained on 36,573 species-level body mass records compiled from 345 primary sources and databases, the underlying model combines learned entity embeddings of the kingdom-to-genus ranks with a gradient-boosted tree regressor to achieve R² = 0.91, RMSE = 0.56 log10 units, and MAE = 0.32 log10 units on a held-out test set of 3,657 species spanning approximately 22 orders of magnitude in body mass. Conformal prediction intervals, calibrated separately for each level of taxonomic resolution, provide user-selectable coverage without model retraining.

3. The tool accepts scientific names at any taxonomic level with tolerance for misspellings via fuzzy matching, optionally returns the measured mass for species in its database or a point estimate in grams with optional prediction intervals for these and all taxa, and requires no phylogenetic tree or correlated trait data.

4. TaxonBodyMassML is available as an R package, a Python package, and an open web interface (https://taxonbodymassml.github.io).

DOI

https://doi.org/10.32942/X2BX01

Subjects

Life Sciences

Keywords

body size; machine learning; entity embeddings; XGBoost; conformal prediction; trait prediction; taxonomy; metabolic scaling; allometric ecological networks, body size, machine learning, entity embeddings, XGBoost, trait prediction, taxonomy, metabolic scaling, allometric ecological networks

Dates

Published: 2026-09-28 05:33

Last Updated: 2026-09-28 05:33

License

CC-BY Attribution-NonCommercial-ShareAlike 4.0 International

Additional Metadata

Conflict of interest statement:
None

Data and Code Availability Statement:
Source code and packages (R v0.13.0; Python v0.13.0; MIT licence): https://github.com/TaxonBodyMassML/TaxonBodyMassML Pre-trained models (r-v0.13.0, py-v0.13.0): https://huggingface.co/marknovak/TaxonBodyMassML Web interface: https://taxonbodymassml.github.io Training data (TaxonBodyMass_DB v6.0.0; CC BY 4.0 licence): https://github.com/TaxonBodyMassML/TaxonBodyMass_DB

Language:
English

Metrics

Views: 33

Downloads: 1