cs.LGOct 13, 2026

Deep Generative Models for Phylogenetic Inference with Complex Evolutionary Processes

Authors: Ethan Baron, Alan N. Amin, Andrew Gordon Wilson

Organizations: New York University

Abstract

Inference of phylogenetic trees from sequences plays a central role in understanding evolutionary relationships, with applications ranging from tracking pathogen spread to reconstructing the history of life. Conventionally, practitioners obtain posteriors over trees using likelihood-based methods like MCMC. However, likelihoods are only available for simple evolutionary models with restrictive assumptions. For realistic evolutionary models, inference using conventional methods is prohibitively expensive, inaccurate, or even impossible. In practice, practitioners settle for using as flexible a conventional method as possible, even though they expect it is misspecified. In principle, we could use simulation-based inference: simulate tree and sequence data from an evolutionary model and train a neural network to predict the posterior over trees given sequences. However it is a mathematical challenge to represent and train complex posterior distributions over trees. Here we present a flexible family of conditional generative models over trees. Our models iteratively build trees using three natural paradigms -- top-down, middle-out, or bottom-up -- and are trained using a discrete diffusion framework. For real and synthetic datasets of up to 6565 taxa and >105>10^5 tokens, our models recover MCMC posteriors much more accurately than the previous state-of-the-art simulation-based method Phyloformer 2. Finally, we compare to IQ-Tree, a popular flexible-but-misspecified conventional method. Our models match its tree estimates on simple data, but on more realistic data, our method is reliably more accurate.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. PhyloGFN: Phylogenetic inference with generative flow networks

    Oct 12, 2023Mingyang Zhou, Zichao Yan, Elliot Layne +5Bayesian InferencePosterior Sampling

  2. Phylogenetic Tree Inference with Tropical Axial Attention

    May 12, 2026Chris Teska, Kurt Pasque, Ruriko Yoshida +1Phylogenetic InferenceAttention Mechanisms

  3. PhylaFlow: Hybrid Flow Matching in Billera-Holmes-Vogtmann Tree Space for Phylogenetic Inference

    May 21, 2026Yasha Ektefaie, Leo Cui, Shrey Jain +2Flow MatchingTree Search