Abstract
Ultrametric matrices are a class of covariance matrices that arise in latent tree models. As a parameter space in a statistical model, the set of ultrametric matrices is neither convex nor a smooth manifold. Focus in the literature has hitherto been restricted to estimation through projections and relaxation-based techniques, and inferential methods are lacking. Motivated by this, we establish a bijection between the set of positive definite ultrametric matrices and the set of rooted, leaf-labeled trees equipped with the stratified geometry of the well-known phylogenetic treespace. Using the pullback geometry under the bijection and by adapting sampling algorithms in Bayesian phylogenetics, we develop algorithms to sample from the posterior distribution on the set of ultrametric matrices in a Bayesian latent tree model where the tree may be binary or multifurcating. We demonstrate the utility of the algorithms in simulation studies, and illustrate them on a pre-clinical cancer application to quantify uncertainty about treatment trees that identify treatments with high mechanism similarity that target correlated pathways.
Introduction
In many scientific domains, data exhibits hierarchical correlations. For instance, in latent tree models, observed variables are represented as leaves on a hidden tree, where their covariance is determined by the length of shared evolutionary paths. These relationships are mathematically encoded as ultrametric matrices. However, the space of ultrametric matrices is notoriously difficult to work with; it is neither convex nor a smooth manifold, but rather a collection of strata (or "rooms") joined at their boundaries. Consequently, existing literature has largely focused on point estimation via optimization, leaving a gap in full Bayesian inference and uncertainty quantification.
Methods: Mapping Matrices to Trees
The core contribution of this work is the establishment of a bijection between the set of positive definite ultrametric matrices and the Billera-Holmes-Vogtmann (BHV) treespace—a stratified geometric space used in phylogenetics. By "pulling back" the geometry of the BHV space, the authors can define distances and geodesics between matrices.
To perform inference, the authors developed a hybrid sampling approach:
- Metropolis-Hastings (MH): Employs "Nearest Neighbor Interchange" (NNI) moves to traverse different tree topologies (strata).
- Hamiltonian Monte Carlo (HMC): Facilitates smooth movement within a specific topology by treating edge lengths as coordinates.
- Priors: Markovian fragmentation priors (e.g., Beta-splitting) are used to accommodate various tree shapes, including binary and multifurcating structures.
Results and Applications
The proposed MCMC method demonstrates superior scalability compared to state-of-the-art Mixed-Integer Programming (MIP) approaches. In simulations, doubling the number of variables ($p=10$ to $p=20$) resulted in a 21.5x increase in computation time for MIP, whereas the MCMC method only saw a 3.5x increase. This efficiency allows for the exploration of larger, more complex hierarchical structures.
The utility of this framework was further illustrated using a pre-clinical Patient-Derived Xenograft (PDX) dataset. By analyzing the tumor size response of melanoma "avatar" mice to 14 drug treatments, the model identified "treatment trees" where drugs with similar mechanisms clustered together. For example, combination therapies involving Encorafenib showed a >90% posterior probability of belonging to the same sub-cluster, aligning with known biological synergies and providing a quantifiable measure of confidence in the discovered hierarchy.
Conclusion
By leveraging the geometry of phylogenetic treespace, this work provides the first robust framework for Bayesian inference on ultrametric matrices. This allows researchers to quantify uncertainty in hierarchical models, a critical requirement for applications in cancer biology and beyond. Future work may explore modified geometries to handle "clock-like" trees or incorporate patient-specific covariates to allow for dynamic tree structures.
Reference: Yao, T.-H., Wu, Z., Bharath, K., & Baladandayuthapani, V. (2025). Geometry-driven Bayesian Inference for Ultrametric Covariance Matrices. arXiv:2401.11515v2.
Summary updated