Geometry-driven Bayesian Inference for Ultrametric Covariance Matrices

Tsung-Hung Yao, Zhenke Wu, Karthik Bharath, Veerabhadran BaladandayuthapaniarXiv 2024 · DOI

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.

Illustration of valid tree topologies and the geometric constraints of the ultrametric space. Panel (C) demonstrates a configuration that does not form a valid tree.

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

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.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Resolved-tree simulation, split e-5,6Proposed binary algorithmMean recovery of the true split67.8%Tree Recovery · n=50 · data-regime=correctly specified normal · target-split=e-5,6 · true-edge-length=0.231
Source quote
L499: has the worst recovery (mean recovery of \lvert e-5,6\rvert is 67.8%
Unresolved-tree simulationProposed multifurcating algorithmPosterior samples including all five true splits100%Tree Recovery · n=25p · p=10 · algorithm=multifurcating · data-regime=correctly specified normal
Source quote
L514: For split-wise recovery, we observe that both the binary and multifurcating algorithms perfectly recover five splits, with 100% of the posterior samples from both algorithms including all five. Moreover, the estimated coverage from both algorithms are comparably high (Panels (E) and (F) of Figure \ref{fig:multiTr}; median of the coverage rates for multifurcating algorithm: 0.88, and binary algorithm: 0.94). Although the binary algorithm seemingly recovers the true split, it generates redundant splits (three redundant splits), while the multifurcating algorithm generates much less redundant splits (mean number of splits: 5.27).
Unresolved-tree simulationProposed binary algorithmPosterior samples including all five true splits100%Tree Recovery · n=25p · p=10 · algorithm=binary · data-regime=correctly specified normal
Source quote
L514: For split-wise recovery, we observe that both the binary and multifurcating algorithms perfectly recover five splits, with 100% of the posterior samples from both algorithms including all five. Moreover, the estimated coverage from both algorithms are comparably high (Panels (E) and (F) of Figure \ref{fig:multiTr}; median of the coverage rates for multifurcating algorithm: 0.88, and binary algorithm: 0.94). Although the binary algorithm seemingly recovers the true split, it generates redundant splits (three redundant splits), while the multifurcating algorithm generates much less redundant splits (mean number of splits: 5.27).
NIBR-PDXE cutaneous melanoma treatment treeProposed binary algorithmPosterior frequency of the blue-boxed subtree91%Tree Inference · prior=beta-splitting · PDX-lines=32 · iterations=10000; first 9000 discarded · treatments=14
Source quote
L535: Figure \ref{fig:TrtTr} shows the mean (Panel (A)) and MAP trees (Panel (B)) with subtrees that consistently appear in the posterior samples. Two subtrees with frequencies higher than 90% are emphasized by boxes: blue (91%), and yellow (98%). We observe that the MAP and mean trees share many subtrees with the same topology. For example, the subtrees in the boxes are identical in both the mean and MAP trees. Additionally, two combination treatments (highlighted by blue surrounding box) form a tight sub-tree that appears in over 90% of posterior samples, indicating a high level of mechanistic similarity of the combination therapies. Two combination therapies consist of two agents, with one agent being encorafenib and the other targeting one of the following pathways: phosphoinositide 3-kinases (BKM120), and cyclin-dependent kinases (LEE011). As these pathways are closely related and share common downstream mechanisms \citep[e.g.,][]{pmid29547722, pmid30974877}, it is not surprising to see that all combination therapies form a tight subtree in the tree structure.
NIBR-PDXE cutaneous melanoma treatment treeProposed binary algorithmPosterior frequency of the yellow-boxed subtree98%Tree Inference · prior=beta-splitting · PDX-lines=32 · iterations=10000; first 9000 discarded · treatments=14
Source quote
L535: Figure \ref{fig:TrtTr} shows the mean (Panel (A)) and MAP trees (Panel (B)) with subtrees that consistently appear in the posterior samples. Two subtrees with frequencies higher than 90% are emphasized by boxes: blue (91%), and yellow (98%). We observe that the MAP and mean trees share many subtrees with the same topology. For example, the subtrees in the boxes are identical in both the mean and MAP trees. Additionally, two combination treatments (highlighted by blue surrounding box) form a tight sub-tree that appears in over 90% of posterior samples, indicating a high level of mechanistic similarity of the combination therapies. Two combination therapies consist of two agents, with one agent being encorafenib and the other targeting one of the following pathways: phosphoinositide 3-kinases (BKM120), and cyclin-dependent kinases (LEE011). As these pathways are closely related and share common downstream mechanisms \citep[e.g.,][]{pmid29547722, pmid30974877}, it is not surprising to see that all combination therapies form a tight subtree in the tree structure.
BibTeX
@misc{yao2024geometry,
  author = {Tsung-Hung Yao and Zhenke Wu and Karthik Bharath and Veerabhadran Baladandayuthapani},
  title = {{Geometry-driven Bayesian Inference for Ultrametric Covariance Matrices}},
  year = {2024},
  eprint = {2401.11515},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.11515},
}

Loading related content...

Figure