Exact formulas for the normalizing constants of Wishart distributions for graphical models

Caroline Uhler, Alex Lenkoski, Donald Richards

Abstract

Gaussian graphical models have received considerable attention during the past four decades from the statistical and machine learning communities. In Bayesian treatments of this model, the $G$-Wishart distribution serves as the conjugate prior for inverse covariance matrices satisfying graphical constraints. While it is straightforward to posit the unnormalized densities, the normalizing constants of these distributions have been known only for graphs that are chordal, or decomposable. Up until now, it was unknown whether the normalizing constant for a general graph could be represented explicitly, and a considerable body of computational literature emerged that attempted to avoid this apparent intractability. We close this question by providing an explicit representation of the $G$-Wishart normalizing constant for general graphs.

Introduction

In the realm of Gaussian graphical models (GGMs), researchers use undirected graphs to represent conditional dependencies between variables. If two nodes in a graph are not connected, the corresponding variables are conditionally independent, which manifests as a zero entry in the concentration matrix (the inverse covariance matrix). For Bayesian statisticians, the $G$-Wishart distribution is the standard conjugate prior for these matrices because it naturally respects these zero constraints.

However, a significant bottleneck has persisted for over twenty years: calculating the normalizing constant of the $G$-Wishart distribution. This constant is essential for Bayesian model selection—the process of determining which graph structure best explains a given dataset. Until now, exact formulas were only available for "chordal" (or decomposable) graphs. For general, non-chordal graphs, the problem was widely considered mathematically intractable, forcing the field to rely on expensive and often imprecise Monte Carlo approximations.

Breaking the Intractability Barrier

This paper shatters the long-standing assumption of intractability by providing the first explicit, exact formulas for the $G$-Wishart normalizing constant for any undirected graph. The authors move beyond the limitations of chordal graphs by applying high-level mathematical tools that had not previously been utilized in this context.

Methodology and Theoretical Framework

The derivation follows a progressive path from specific graph classes to a universal solution:

  1. Bipartite Graphs: The authors first derive closed-form formulas for complete bipartite graphs ($H_{m,n}$ and $H_{2,m}$) using Schur complements and specific matrix decompositions.
  2. Minimum Fill-in 1: They provide solutions for graphs that are nearly chordal, specifically those that require only a single edge to become decomposable.
  3. The General Case (Theorem 3.3): The core contribution of the paper is a general formula applicable to any graph $G$. This is achieved by representing the normalizing constant as an integral over Cholesky factors and applying Gårding’s fractional calculus (fractional powers of differential operators) alongside generalized hypergeometric functions of matrix arguments.

By using analytic continuation to differential operators, the authors produced an explicit series representation that accounts for the complex zero-constraints inherent in non-chordal structures.

Key Insights

  • The Myth of Intractability: The paper demonstrates that the perceived intractability of the $G$-Wishart constant was a limitation of the tools previously applied, rather than an inherent property of the distribution.
  • Moral DAGs and Parametrization: A crucial step in the proof involves orienting an undirected graph into a Directed Acyclic Graph (DAG) and "marrying" parents to create a moral graph. This allows for a Cholesky-based parametrization that simplifies the integration process.
  • Differential Operators as a Bridge: The use of fractional powers of differential operators allows the authors to "reach into" the matrix structure and handle the constraints that previously blocked closed-form solutions.

Results and Implications

The primary result is Theorem 3.3, which provides the definitive explicit representation of the $G$-Wishart normalizing constant for general graphs. Additionally, the paper establishes recursive-style relationships (Theorem 2.5) where the constant for a non-chordal graph can be expressed as a ratio involving the constant of its chordal cover.

Importantly, these new formulas are consistent with classical statistics; when applied to a complete graph, they reduce to the well-known standard Wishart constants. This work effectively closes a twenty-year gap in the literature, moving the field from a reliance on approximation to the use of exact mathematical representations.

Future Directions

While the formulas provided are exact, the general result involves an infinite series of differential operators. For extremely large or complex graphs, calculating this series to high precision may still present computational challenges. The authors suggest that the next frontier is the development of specialized, computationally efficient procedures based on these exact formulas, particularly for common structures like large grids used in spatial statistics.

Summary updated

Abstract

Gaussian graphical models have received considerable attention during the past four decades from the statistical and machine learning communities. In Bayesian treatments of this model, the $G$-Wishart distribution serves as the conjugate prior for inverse covariance matrices satisfying graphical constraints. While it is straightforward to posit the unnormalized densities, the normalizing constants of these distributions have been known only for graphs that are chordal, or decomposable. Up until now, it was unknown whether the normalizing constant for a general graph could be represented explicitly, and a considerable body of computational literature emerged that attempted to avoid this apparent intractability. We close this question by providing an explicit representation of the $G$-Wishart normalizing constant for general graphs.
BibTeX
@article{uhler2018exact,
  author = {Caroline Uhler and Alex Lenkoski and Donald Richards},
  title = {{Exact formulas for the normalizing constants of Wishart distributions for graphical models}},
  journal = {The Annals of Statistics},
  year = {2018},
  doi = {10.1214/17-aos1543},
}
Figure