Variational phylogenetic inference with products over bipartitions
Evan Sidrow, Alexandre Bouchard-Côté, Lloyd T. Elliott
TL;DR
This work addresses the challenge of Bayesian inference over ultrametric phylogenies without relying on MCMC by introducing VIPR, a variational framework with a novel density over tree space derived from single-linkage clustering of pairwise coalescent times. The method defines a scalable variational family where independent log-normal pairwise times $t^{\{u,v\}}$ induce a differentiable, closed-form density $q_{\phi}(\tau,\mathbf{t})$, enabling efficient gradient-based optimization of the ELBO. Through comparisons with BEAST and VBPI on diverse datasets, VIPR achieves competitive marginal log-likelihoods and ELBOs while using fewer gradient evaluations, and it scales empirically as $\mathcal{O}(N^2)$, making it practical for larger taxon sets. The framework also supports multiple gradient estimators (LOOR, reparameterization, VIMCO) and provides a foundation for future enhancements such as mixtures, flows, or relaxed-clock extensions. Overall, VIPR offers a differentiable, MCMC-free alternative for inferring time-measured phylogenies with uncertainty quantification and efficient computation.
Abstract
Bayesian phylogenetics requires accurate and efficient approximation of posterior distributions over trees. In this work, we develop a variational Bayesian approach for ultrametric phylogenetic trees. We present a novel variational family based on coalescent times of a single-linkage clustering and derive a closed-form density of the resulting distribution over trees. Unlike existing methods for ultrametric trees, our method performs inference over all of tree space, it does not require any Markov chain Monte Carlo subroutines, and our variational family is differentiable. Through experiments on benchmark genomic datasets and an application to SARS-CoV-2, we demonstrate that our method achieves competitive accuracy while requiring significantly fewer gradient evaluations than existing state-of-the-art techniques.
