VaiPhy: a Variational Inference Based Algorithm for Phylogeny
Hazal Koptagel, Oskar Kviman, Harald Melin, Negar Safinianaini, Jens Lagergren
Abstract
Phylogenetics is a classical methodology in computational biology that today has become highly relevant for medical investigation of single-cell data, e.g., in the context of cancer development. The exponential size of the tree space is, unfortunately, a substantial obstacle for Bayesian phylogenetic inference using Markov chain Monte Carlo based methods since these rely on local operations. And although more recent variational inference (VI) based methods offer speed improvements, they rely on expensive auto-differentiation operations for learning the variational parameters. We propose VaiPhy, a remarkably fast VI based algorithm for approximate posterior inference in an augmented tree space. VaiPhy produces marginal log-likelihood estimates on par with the state-of-the-art methods on real data and is considerably faster since it does not require auto-differentiation. Instead, VaiPhy combines coordinate ascent update equations with two novel sampling schemes: (i) SLANTIS, a proposal distribution for tree topologies in the augmented tree space, and (ii) the JC sampler, to the best of our knowledge, the first-ever scheme for sampling branch lengths directly from the popular Jukes-Cantor model. We compare VaiPhy in terms of density estimation and runtime. Additionally, we evaluate the reproducibility of the baselines. We provide our code on GitHub: https://github.com/Lagergren-Lab/VaiPhy.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext d27d3a6e-d355-4011-8d8f-579c665a6450Cited by top-tier papers7
- PhyloGFN: Phylogenetic inference with generative flow networksMing-Yang Zhou, Zichao Yan, Elliot Layne, Nikolay Malkin et al.ICLR 2024 · 32 citations
- GeoPhy: Differentiable Phylogenetic Inference via Geometric Gradients of Tree TopologiesTakahiro Mimori, Michiaki HamadaNeurIPS 2023 · 17 citations
- Cooperation in the Latent Space: The Benefits of Adding Mixture Components in Variational AutoencodersOskar Kviman, Ricky Molén, Alexandra Hotti, Semih Kurt et al.ICML 2023 · 16 citations
- ARTree: A Deep Autoregressive Model for Phylogenetic InferenceTianyu Xie, Cheng ZhangNeurIPS 2023 · 12 citations
- PhyloGen: Language Model-Enhanced Phylogenetic Inference via Graph Structure GenerationChenrui Duan, Zelin Zang, Siyuan Li, Yongjie Xu et al.NeurIPS 2024 · 8 citations
Builds on1
Related papers
- Variational Phylogenetic Inference with Products over BipartitionsEvan Sidrow, Alexandre Bouchard-Côté, Lloyd T. ElliottICML 2025
- Efficient Mixture Learning in Black-Box Variational InferenceAlexandra Hotti, Oskar Kviman, Ricky Molén, Víctor Elvira et al.ICML 2024 · 3 citations
- PhyloVAE: Unsupervised Learning of Phylogenetic Trees via Variational AutoencodersTianyu Xie, Harry Richman, Jiansi Gao, Frederick A. Matsen IV et al.ICLR 2025
- Streaming Bayes GFlowNetsTiago da Silva, Daniel Augusto de Souza, Diego MesquitaNeurIPS 2024 · 7 citations
- Hamiltonian Monte Carlo using an adjoint-differentiated Laplace approximation: Bayesian inference for latent Gaussian models and beyondCharles C. Margossian, Aki Vehtari, Daniel Simpson, Raj AgrawalNeurIPS 2020 · 30 citations
