Abstract
We introduce VBPI-Mixtures, an algorithm aimed at improving the precision of phylogenetic posterior distributions, with a focus on accurately approximating tree-topologies and branch lengths. Although Variational Bayesian Phylogenetic Inference (VBPI)—a state-of-the-art black-box variational inference (BBVI) framework—has achieved significant success in approximating these distributions, it faces challenges in dealing with the multimodal nature of tree-topology posteriors. While advanced deep learning techniques like normalizing flows and graph neural networks have enhanced VBPI's approximations of branch-length posteriors, there has been a gap in improving its tree-topology posterior approximations. Our novel VBPI-Mixtures algorithm addresses this gap by leveraging recent advancements in mixture learning within the BBVI domain. Consequently, VBPI-Mixtures can capture distributions over tree-topologies that other VBPI algorithms cannot model. Across eight real phylogenetic datasets and compared to the considered benchmarks, we show that VBPI-Mixtures result in lower-variance estimators of the marginal log-likelihood and smaller KL divergences to an MCMC-based approximation of the true tree-topology posterior.
Introduction
Phylogenetic inference—the reconstruction of evolutionary histories from molecular sequences—presents a formidable challenge due to the vast search space of discrete tree topologies and continuous branch lengths. As the number of taxa increases, the number of possible topologies grows double-factorially, rendering exact computation intractable. While Markov Chain Monte Carlo (MCMC) methods have long served as the gold standard, they often suffer from slow convergence and can become trapped in local optima, failing to capture the inherent multimodality of the posterior distribution.
Recent advancements in Variational Bayesian Phylogenetic Inference (VBPI) offer a faster alternative by approximating the posterior with a simpler distribution. However, standard VBPI methods typically employ unimodal distributions that struggle to represent the complex, multi-peaked landscapes of tree-topology posteriors. This work introduces VBPI-Mixtures, a novel framework designed to overcome these limitations by utilizing mixtures of distributions to capture evolutionary uncertainty more accurately.
Methodology
VBPI-Mixtures enhances the standard VBPI framework through three primary innovations:
- Mixtures of Subsplit Bayesian Networks (SBNs): Rather than relying on a single SBN to represent the distribution over trees, the proposed method utilizes a weighted sum of $S$ distinct SBNs. This allows the model to simultaneously assign high probability to multiple, disparate clusters of tree topologies.
- MISELBO Objective: The model is trained using the Multi-sample Importance Weighted Evidence Lower Bound (MISELBO). This objective function is specifically designed to prevent "mode collapse," encouraging individual mixture components to explore and cover different high-probability regions of the latent space.
- Mixture-Specific VIMCO: To ensure stable and efficient training, the authors derived a specialized version of the VIMCO gradient estimator tailored for mixture models. This reduces the variance of gradient updates, facilitating convergence in complex posterior landscapes.
Experimental Evaluation
The performance of VBPI-Mixtures was evaluated on eight real-world phylogenetic datasets (DS1–DS8), comprising 27 to 64 taxa. These datasets serve as standard benchmarks in the field. To establish a "ground truth" for comparison, extensive MCMC runs (up to 1 billion iterations) were conducted using MrBayes to generate high-quality posterior approximations.
Key Insights and Results
A central finding of this research is the concept of cooperative exploration. Unlike single-component models, the mixture components in VBPI-Mixtures divide the task of posterior approximation, with different components focusing on distinct topological clusters. This behavior is visualized in the study, demonstrating how the mixture model effectively captures the multimodal nature of the posterior.
Performance Metrics
- Lower Variance: VBPI-Mixtures consistently produced lower-variance estimators for the marginal log-likelihood compared to state-of-the-art benchmarks such as GGNN, EDGE, and ARTree.
- Improved Posterior Accuracy: On the more complex datasets (DS5–DS8), the mixture approach significantly reduced the KL divergence to the MCMC-based gold standard, indicating a more faithful representation of the true posterior distribution.
- Scalability with Components: Performance improvements were observed to be monotonic with respect to the number of mixture components ($S$), suggesting that increasing model capacity directly translates to better posterior capture.
Discussion and Future Work
While VBPI-Mixtures offers significant improvements in accuracy and variance reduction, it introduces additional computational overhead, as training time scales linearly with the number of mixture components. However, the independent nature of these components suggests that parallelization could mitigate this cost. Furthermore, the current reliance on pre-computed candidate topologies (e.g., via UFBoot) remains a constraint shared with other SBN-based methods. Future research may explore parameter-sharing techniques to reduce memory requirements and the integration of more flexible topology search mechanisms.
In conclusion, VBPI-Mixtures represents a significant step forward in variational phylogenetics, providing a robust and flexible framework for capturing the complex, multimodal uncertainties inherent in the tree of life.
Summary updated