English

TreeFlow: probabilistic programming and automatic differentiation for phylogenetics

Populations and Evolution 2022-11-11 v1 Computation

Abstract

Probabilistic programming frameworks are powerful tools for statistical modelling and inference. They are not immediately generalisable to phylogenetic problems due to the particular computational properties of the phylogenetic tree object. TreeFlow is a software library for probabilistic programming and automatic differentiation with phylogenetic trees. It implements inference algorithms for phylogenetic tree times and model parameters given a 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.

Keywords

Cite

@article{arxiv.2211.05220,
  title  = {TreeFlow: probabilistic programming and automatic differentiation for phylogenetics},
  author = {Christiaan Swanepoel and Mathieu Fourment and Xiang Ji and Hassan Nasif and Marc A Suchard and Frederick A Matsen and Alexei Drummond},
  journal= {arXiv preprint arXiv:2211.05220},
  year   = {2022}
}

Comments

34 pages, 8 figures