Unsupervised Bayesian neural networks enable inference of complex epidemiological and macroevolutionary processes

Birth–death models quantify macroevolutionary and epidemiological processes, including speciation, extinction, and transmission, based on phylogenetic trees. Extensions of these models incorporate external covariates as predictors of these parameters, for instance linking traits or environmental variables with changes in these rates. However, the dependencies between predictors and model parameters are typically restricted to linear, additive effects and may thus fail to capture complex, nonlinear relationships underlying evolutionary dynamics. To address this limitation, we propose a framework that leverages unsupervised Bayesian neural networks to flexibly model functional relationships between these parameters and a broad set of predictors, including categorical traits, quantitative variables, and time series data. Based on these covariates, the network weights and thus the resulting birth–death dynamics are estimated jointly with the phylogenetic tree, obtained directly from sequence alignment data. Extensive simulations show that this approach accurately recovers predictor–parameter relationships, mitigates overfitting, and remains robust across both macroevolutionary and epidemiological contexts. Using explainable AI, we further show that our framework reliably identifies the most influential predictors and yields interpretable descriptions of their impact on the inferred rates. Finally, we apply our method in two empirical analyses: linking SARS-CoV-2 migration dynamics with travel data during its early spread in Europe, and inferring trait- and time-dependent speciation and extinction rates in the diversification of platyrrhines. Our framework substantially expands the capabilities of birth–death models, providing a powerful and flexible approach to infer complex epidemiological and macroevolutionary processes.

Authors

Institutions

Publication Details

Journal
Proceedings of the National Academy of Sciences
Published
2026-11-23
DOI
https://doi.org/10.1073/pnas.2603996123
Citations
1
Primary Topic
Evolution and Genetic Dynamics
Type
article
Field-Weighted Citation Impact
1.66

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Unsupervised Bayesian neural networks enable inference of complex epidemiological and macroevolutionary processes

Daniele Silvestro, Cecilia Valenzuela Agüí, Gabriele Marino, Ugnė Stolz et al.
1 citations
Proceedings of the National Academy of Sciences
Evolution and Genetic Dynamics
1.66
article

Unsupervised Bayesian neural networks enable inference of complex epidemiological and macroevolutionary processes

Daniele Silvestro, Cecilia Valenzuela Agüí, Gabriele Marino, Ugnė Stolz, Tanja Stadler
article en
1 citations

Abstract

Birth–death models quantify macroevolutionary and epidemiological processes, including speciation, extinction, and transmission, based on phylogenetic trees. Extensions of these models incorporate external covariates as predictors of these parameters, for instance linking traits or environmental variables with changes in these rates. However, the dependencies between predictors and model parameters are typically restricted to linear, additive effects and may thus fail to capture complex, nonlinear relationships underlying evolutionary dynamics. To address this limitation, we propose a framework that leverages unsupervised Bayesian neural networks to flexibly model functional relationships between these parameters and a broad set of predictors, including categorical traits, quantitative variables, and time series data. Based on these covariates, the network weights and thus the resulting birth–death dynamics are estimated jointly with the phylogenetic tree, obtained directly from sequence alignment data. Extensive simulations show that this approach accurately recovers predictor–parameter relationships, mitigates overfitting, and remains robust across both macroevolutionary and epidemiological contexts. Using explainable AI, we further show that our framework reliably identifies the most influential predictors and yields interpretable descriptions of their impact on the inferred rates. Finally, we apply our method in two empirical analyses: linking SARS-CoV-2 migration dynamics with travel data during its early spread in Europe, and inferring trait- and time-dependent speciation and extinction rates in the diversification of platyrrhines. Our framework substantially expands the capabilities of birth–death models, providing a powerful and flexible approach to infer complex epidemiological and macroevolutionary processes.

Proceedings of the National Academy of SciencesVol. 123(48)
SIB Swiss Institute of Bioinformatics (CH), ETH Zurich (CH)
European Commission, Eidgenössische Technische Hochschule Zürich
Openalex Percentile: Top 25%
Evolution and Genetic Dynamics
1.66
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon