paper

TreeFlow: probabilistic modelling and automatic differentiation for phylogenetics

arXiv:2211.05220 · doi:10.1093/sysbio/syag072

Abstract

Probabilistic modelling frameworks are powerful tools for statistical modelling and inference. They are not immediately generalizable to phylogenetic problems due to the particular computational properties of the phylogenetic tree object. TreeFlow is a software library for probabilistic modelling and automatic differentiation with phylogenetic trees. It embeds phylogenetic trees in the TensorFlow Probability framework, and implements inference algorithms for phylogenetic models given a fixed tree topology. We demonstrate how TreeFlow can be used to quickly implement and assess new models. We also show that it provides reasonable performance for gradient-based inference algorithms compared to specialized computational libraries for phylogenetics.

23 pages, 5 figures

TreeFlow: probabilistic modelling and automatic differentiation for phylogenetics · wovepaper