Algebraic tests of general Gaussian latent tree models

Dennis Leung, Mathias Drton · DOI

Abstract: We consider general Gaussian latent tree models in which the observed variables are not restricted to be leaves of the tree. Extending related recent work, we give a full semi-algebraic description of the set of covariance matrices of any such model. In other words, we find polynomial constraints that characterize when a matrix is the covariance matrix of a distribution in a given latent tree model. However, leveraging these constraints to test a given such model is often complicated by the number of constraints being large and by singularities of individual polynomials, which may invalidate standard approximations to relevant probability distributions. Illustrating with the star tree, we propose a new testing methodology that circumvents singularity issues by trading off some statistical estimation efficiency and handles cases with many constraints through recent advances on Gaussian approximation for maxima of sums of high-dimensional random vectors. Our test avoids the need to maximize the possibly multimodal likelihood function of such models and is applicable to models with larger number of variables. These points are illustrated in numerical experiments.

Introduction

Latent tree models (LTMs) are a powerful class of graphical models used to represent complex dependencies where some variables are observed and others remain hidden. Traditionally, testing whether a specific tree structure fits a given dataset has relied on the Likelihood Ratio (LR) test. However, as datasets grow in dimensionality and complexity, the LR test faces significant hurdles. This paper introduces a novel statistical framework that leverages algebraic geometry to bypass the pitfalls of traditional optimization-based testing.

The Limitations of Traditional Likelihood Ratio Tests

In practice, the LR test suffers from two primary "pain points":

  1. Computational Complexity: Maximizing the likelihood function for LTMs is often a non-convex problem. Algorithms frequently get trapped in local maxima, failing to find the true global fit.
  2. Statistical Breakdown (Singularity): When correlations between variables are weak or the number of variables ($m$) is large relative to the sample size ($n$), the standard asymptotic distributions used to calculate p-values become invalid. This "singularity" issue leads to unreliable results, often over-rejecting the true model.

An Algebraic Framework for Latent Trees

To address these issues, the authors provide a complete semi-algebraic description of the covariance matrices for any Gaussian latent tree model. Unlike previous work that restricted observed variables to the "leaves" of the tree, this research generalizes the approach to any tree structure where observed variables can also be internal nodes.

Examples of general latent tree structures where observed variables (black) can be leaves or internal nodes.

By identifying the complete set of polynomial equalities (tetrads) and inequalities that define the model space, the problem of model testing is transformed into checking whether the empirical covariance matrix satisfies these geometric constraints. This approach effectively bypasses the need for non-convex optimization.

Methodology: Max-Tests and Multiplier Bootstraps

The paper proposes a "Max-Test" statistic ($\mathcal{T}$) that focuses on the maximum violation among all polynomial constraints rather than an aggregate sum-of-squares. This choice is particularly robust in high-dimensional settings where traditional aggregate statistics (like Hotelling’s $T^2$) require inverting massive, potentially singular covariance matrices.

To handle the computational burden of checking thousands of constraints, the authors employ a multiplier bootstrap technique. This allows for the efficient calculation of critical values without the $O(m^8)$ bottleneck associated with computing the full covariance of the tetrad estimators. Furthermore, by using a U-statistic-like approach for unbiased tetrad estimation, the test avoids the biases inherent in simply plugging sample covariances into high-degree polynomials.

Experimental Validation

The methodology was rigorously tested using synthetic datasets, focusing on "star trees" (single-factor models). The results highlighted the test's robustness in two critical scenarios:

  • Singular Regions: In setups with near-singular parameters (very weak dependencies), the LR test failed significantly, rejecting the true model far too often. In contrast, the proposed algebraic test maintained excellent control over the Type I error rate.
  • High Dimensionality: When testing models with $m=100$ variables and a limited sample size ($n=250$), the LR test broke down completely. The new test successfully controlled the error rate even when randomly sampling 10,000 different tetrad constraints to evaluate.
P-P plot comparing the nominal level to the actual test size, demonstrating the robustness of the proposed algebraic test.

As shown in the P-P plot above, the proposed test (represented by 'x' marks) closely follows the diagonal, indicating that the actual test size matches the nominal significance level. The traditional approach (represented by circles) deviates significantly, demonstrating its unreliability in these challenging regimes.

Conclusion

By combining insights from algebraic geometry and modern high-dimensional statistics, this paper provides a scalable and robust alternative to traditional likelihood-based testing for latent tree models. The proposed Max-Test avoids the pitfalls of multimodal optimization and remains statistically valid even in the presence of singularities and high-dimensional data. Future work will look toward more efficient algorithms for extracting polynomial constraints in complex, deep tree structures and incorporating inequality constraints into the testing framework.

Summary updated

Abstract

We consider general Gaussian latent tree models in which the observed variables are not restricted to be leaves of the tree. Extending related recent work, we give a full semi-algebraic description of the set of covariance matrices of any such model. In other words, we find polynomial constraints that characterize when a matrix is the covariance matrix of a distribution in a given latent tree model. However, leveraging these constraints to test a given such model is often complicated by the number of constraints being large and by singularities of individual polynomials, which may invalidate standard approximations to relevant probability distributions. Illustrating with the star tree, we propose a new testing methodology that circumvents singularity issues by trading off some statistical estimation efficiency and handles cases with many constraints through recent advances on Gaussian approximation for maxima of sums of high-dimensional random vectors. Our test avoids the need to maximize the possibly multimodal likelihood function of such models and is applicable to models with larger number of variables. These points are illustrated in numerical experiments.
BibTeX
@inproceedings{leung2018algebraic,
  author = {Dennis Leung and Mathias Drton},
  title = {{Algebraic tests of general Gaussian latent tree models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=S1W6wwZubr},
}
Figure