Skip to main content
QUICK REVIEW

[Paper Review] VaiPhy: a Variational Inference Based Algorithm for Phylogeny

Hazal Koptagel, Oskar Kviman|arXiv (Cornell University)|Mar 1, 2022
Bayesian Methods and Mixture ModelsComputer Science4 citations
TL;DR

VaiPhy is a fast variational inference algorithm for Bayesian phylogenetic tree inference that bypasses auto-differentiation by introducing SLANTIS, a novel proposal distribution for sampling multifurcating tree topologies, and the JC sampler, the first direct sampler for branch lengths under the Jukes-Cantor model. It achieves state-of-the-art marginal log-likelihood estimates up to 25× faster than existing VI methods like VBPI-NF.

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: \url{https://github.com/Lagergren-Lab/VaiPhy}.

Motivation & Objective

  • To address the computational bottleneck of Bayesian phylogenetic inference due to the exponential size of tree space.
  • To improve speed in variational inference for phylogeny without relying on expensive auto-differentiation.
  • To enable efficient posterior approximation over tree topologies, branch lengths, and ancestral sequences.
  • To develop novel sampling schemes for multifurcating trees and branch lengths under the Jukes-Cantor model.
  • To achieve marginal likelihood estimates competitive with state-of-the-art methods while significantly reducing runtime.

Proposed method

  • VaiPhy employs a mean-field variational inference framework with coordinate ascent updates for variational parameters.
  • It introduces SLANTIS, a proposal distribution for sampling multifurcating spanning trees using a fast, weight-computable method inspired by bipartite matching sampling.
  • It proposes the JC sampler, the first direct method for sampling branch lengths from the Jukes-Cantor model, avoiding iterative or gradient-based sampling.
  • The algorithm computes the importance-weighted evidence lower bound (IWELBO) using SLANTIS and the JC sampler to approximate the posterior over tree structures and parameters.
  • It extends the target distribution by including ancestral sequences as auxiliary variables, improving posterior approximation without requiring precomputed trees.
  • The method leverages exponential family properties to ensure efficient computation of sufficient statistics and natural gradient updates.

Experimental results

Research questions

  • RQ1Can a variational inference framework for phylogeny achieve state-of-the-art marginal likelihood estimation without relying on auto-differentiation?
  • RQ2Can a novel proposal distribution for multifurcating tree topologies enable faster and more efficient sampling in tree space?
  • RQ3Is it possible to directly sample branch lengths from the Jukes-Cantor model, and does this enable faster inference in phylogenetic VI?
  • RQ4How does the performance of VaiPhy compare to existing VI and MCMC-based phylogenetic methods in terms of accuracy and speed?
  • RQ5Can the learned parameters of VaiPhy be reused to construct new proposal distributions for Combinatorial SMC?

Key findings

  • VaiPhy achieves marginal log-likelihood estimates on par with state-of-the-art VI methods on real biological datasets.
  • The method is up to 25 times faster than VBPI-NF, a leading VI-based phylogenetic inference method, on real datasets.
  • The JC sampler enables direct sampling from the Jukes-Cantor model for branch lengths, a novel contribution with no prior equivalent in the literature.
  • SLANTIS allows fast, weight-computable sampling of multifurcating tree topologies, avoiding costly auto-differentiation steps.
  • The framework supports posterior approximation over tree topologies, branch lengths, and ancestral sequences without requiring precomputed trees.
  • The algorithm’s performance is reproducible, and its code is publicly available on GitHub for community use and extension.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.