Covariate-Assisted Bayesian Graph Learning for Heterogeneous Data

Yabo Niu, Yang Ni, Debdeep Pati, Bani K. MallickJournal of the American Statistical Association 2023 · DOI

TL;DR

This paper introduces PxG, a novel Bayesian framework for learning undirected graph structures that change based on external covariates. By using a latent "product partition" layer, the model can group observations with similar characteristics and estimate how their internal dependency networks (like protein interactions) "re-wire" themselves across different conditions.

What Problem Does This Paper Address?

In fields like genomics, researchers use Gaussian Graphical Models (GGMs) to map out how variables—such as proteins or genes—interact. Traditional GGMs assume homogeneity: the idea that one single network structure describes the entire dataset.

However, biological data is often heterogeneous. In a cancer study, for instance, the protein network in one patient might look completely different from another's, depending on their specific genetic markers or clinical factors (covariates). While some existing methods allow for multiple groups, they usually require those groups to be defined in advance or only allow the average values to change, not the actual network structure. Mathematically, it is very difficult to define a sparse, positive-definite matrix (the "precision matrix" representing the graph) that varies smoothly as a function of covariates.

Methods

The authors propose the Partition-Based Covariate-Dependent Graphical Model (PxG). Instead of trying to write a direct mathematical formula for how a graph changes with a covariate $x$, they introduce a "latent bridge":

  1. Covariate-Dependent Partition (PPMx): The model uses a Product Partition Model with covariates to cluster data points. Observations with similar covariates are more likely to be grouped together.
  2. Cluster-Specific Graphs: Each cluster is assigned its own undirected graph and precision matrix.
  3. Bayesian Model Averaging: Because the partition itself is a random variable in the Bayesian framework, the final estimate for a specific covariate value is an average across many possible partitions. This allows the resulting graph to vary continuously with the covariates, even though the underlying partitions are discrete.

The paper explores two likelihood approaches:

  • Gaussian-G-Wishart: A standard, mathematically rigorous Bayesian approach that is excellent for smaller networks.
  • Pseudo-likelihood: A faster, node-wise regression approach designed to handle higher-dimensional data where the full Gaussian likelihood becomes computationally "intractable."

Datasets

The authors evaluated PxG using both synthetic and real-world data:

  • Simulated Examples: Three scenarios were tested, including cases where the precision matrix changed linearly or piecewise-linearly with covariates. These were used to prove that PxG could recover complex, shifting structures that traditional methods (like the "kernel graphical lasso") missed.
  • Breast Cancer Data (TCGA/CPTAC):
    • Covariates: mRNA gene expression levels for three key receptors (ERBB2, ESR1, and PGR).
  • Responses: Expression levels of 15 proteins, including those in the mTOR pathway, which is critical in cancer signaling.
  • Goal: To see how the protein-protein interaction network changes based on the patient's mRNA profile.

Key Insights and Ideas

  • The Power of Marginalization: The most clever "aha moment" is using a discrete partition to achieve a continuous result. By marginalizing (averaging) out the latent partition, the model circumvents the nightmare of trying to parameterize a precision matrix directly as a function of $x$.
  • Covariates as "Hints": The simulations showed that even when the response data (the $y$ variables) is too noisy to separate groups, the covariates (the $x$ variables) provide enough auxiliary information to guide the model toward the correct underlying networks.
  • Network Plasticity: The model captures "plasticity"—the ability of a system to reconfigure its internal dependencies. In the breast cancer analysis, the authors found that protein connectivity significantly intensified when certain genes (like ESR1) were highly expressed.

Key Results

  • Superior Fit: In all simulations, the PxG model achieved the lowest Deviance Information Criterion (DIC) compared to "graph-only" models (which ignore covariates) and "covariate-only" models (which assume a fixed graph).
  • Biological Discovery: In the breast cancer analysis, PxG identified four distinct clusters. It revealed that the interaction between proteins ERBB2 and PGR remained constant across two clusters, while other parts of the network changed drastically based on mRNA levels.
  • Theoretical Soundness: The authors proved that their model is flexible enough to approximate any $\nu$-Hölder continuous covariance function and that its "posterior contraction rate" (how fast the model learns as more data arrives) is minimax optimal.

Limitations and Future Work

  • Known Components: The current theoretical proof for the optimal contraction rate assumes the number of mixture components ($K$) is known, which isn't always the case in practice.
  • Scalability: While the pseudo-likelihood approach helps, very high-dimensional graphs (thousands of nodes) still pose a significant computational challenge for Bayesian MCMC methods.
  • Direct Modeling: The authors suggest that a future direction could involve a more direct approach to modeling the continuous relationship between graphs and covariates without relying on the intermediate partition layer.

Summary updated

Abstract

In a traditional Gaussian graphical model, data homogeneity is routinely assumed with no extra variables affecting the conditional independence. In modern genomic datasets, there is an abundance of auxiliary information, which often gets under-utilized in determining the joint dependency structure. In this article, we consider a Bayesian approach to model undirected graphs underlying heterogeneous multivariate observations with additional assistance from covariates. Building on product partition models, we propose a novel covariate-dependent Gaussian graphical model that allows graphs to vary with covariates so that observations whose covariates are similar share a similar undirected graph. To efficiently embed Gaussian graphical models into our proposed framework, we explore both Gaussian likelihood and pseudo-likelihood functions. For Gaussian likelihood, a G-Wishart distribution is used as a natural conjugate prior, and for the pseudo-likelihood, a product of Gaussianconditionals is used. Moreover, the proposed model has large prior support and is flexible to approximate any <i>v</i>-Hölder conditional variance-covariance matrices with <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>v</mml:mi> <mml:mo>∈</mml:mo> <mml:mo>(</mml:mo> <mml:mn>0,1</mml:mn> <mml:mo>]</mml:mo></mml:math> . We further show that based on the theory of fractional likelihood, the rate of posterior contraction is minimax optimal assuming the true density to be a Gaussian mixture with a known number of components. The efficacy of the approach is demonstrated via simulation studies and an analysis of a protein network for a breast cancer dataset assisted by mRNA gene expression as covariates.
BibTeX
@article{niu2023covariate,
  author = {Yabo Niu and Yang Ni and Debdeep Pati and Bani K. Mallick},
  title = {{Covariate-Assisted Bayesian Graph Learning for Heterogeneous Data}},
  journal = {Journal of the American Statistical Association},
  year = {2023},
  doi = {10.1080/01621459.2023.2233744},
}
Figure