# 高斯图模型

**高斯图模型**（Gaussian graphical model，GGM）是一种概率图模型，其中变量服从多元高斯分布，而图编码条件独立性：两个变量之间有边相连，当且仅当在给定所有其他变量后它们仍然相关。由于高斯情形把这种依赖结构同精度矩阵（precision matrix，即协方差矩阵的逆）的零元素联系起来，该模型把网络推断简化为对单个矩阵进行估计与稀疏化。GGM 也称为协方差选择模型（covariance selection models），阿瑟·登普斯特（Arthur Dempster）于 1972 年正是以这个名称提出该模型。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC4465207/)</sup><sup> • </sup><sup>[2](https://www.scienceopen.com/document?vid=24eed1d5-dc61-440a-95c5-af8c7e0a004d)</sup>

| 关键事实 | 细节 |
|---|---|
| 定义性质 | 对于 \( \mathbf{x} \sim \mathcal{N}(\mu, \Omega^{-1}) \)，变量 \( x_a \) 与 \( x_b \) 在给定所有其他变量的条件下条件独立，当且仅当精度矩阵 \( \Omega \) 的 \( (a,b) \) 元素为零（劳里岑（Lauritzen），1996）<sup>[3](https://wires.onlinelibrary.wiley.com/doi/10.1002/wics.1582)</sup> |
| 历史起源 | 协方差选择，登普斯特（1972）<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC4465207/)</sup> |
| 高维障碍 | 当变量数 \( p \) 超过观测数 \( n \) 时，样本协方差矩阵的逆不存在；在标准 2 mm\(^3\) 体素下，功能磁共振成像（fMRI）大约产生 \( p = O(10^{6}) \) 个变量，而测量数只有 \( n = O(10^{2}) \)<sup>[3](https://wires.onlinelibrary.wiley.com/doi/10.1002/wics.1582)</sup> |
| 标准估计量 | 图套索（graphical lasso，弗里德曼（Friedman）、哈斯蒂（Hastie）与蒂布希拉尼（Tibshirani），2008）在非对角精度元素上加入 \( \ell_1 \) 惩罚，并能在至多一分钟内求解一个 1000 个节点的问题（约 500,000 个参数），比竞争方法快 30 到 4000 倍<sup>[4](https://hastie.su.domains/Papers/graph.pdf)</sup> |
| 贝叶斯对应方法 | G-威沙特先验（G-Wishart prior，罗韦拉托（Roverato），2002）是适用于任意图的共轭先验，强制精度矩阵中出现精确的零<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC4465207/)</sup> |
| 典型应用 | 从表达数据构建基因调控网络、从 fMRI 构建脑连接，以及从股票市场数据分析企业层面金融网络<sup>[5](https://public.websites.umich.edu/~yili/graphicmodel.pdf)</sup> |

## 精度矩阵作为图

在无向概率图模型中，图 \( G = (V, E) \) 的每个节点对应于随机向量的一个分量，节点 \( a \) 与 \( b \) 之间没有边，意味着在给定其余变量 \( \mathbf{x}_{-\{a,b\}} \) 时，\( x_a \) 与 \( x_b \) 条件独立。对于高斯数据，这一马尔可夫性质有一个精确的线性代数表述：\( \Omega = \Sigma^{-1} \) 的 \( (a,b) \) 元素为零，当且仅当该条件独立成立。<sup>[3](https://wires.onlinelibrary.wiley.com/doi/10.1002/wics.1582)</sup>

这就是为什么图要从精度矩阵而不是协方差矩阵读取。协方差元素把直接关联与通过其他变量诱导出的关联混在一起，而精度矩阵把直接的、条件性的关联分离出来；删去一条边靠的是偏相关为零，而不是边际相关为零。<sup>[3](https://wires.onlinelibrary.wiley.com/doi/10.1002/wics.1582)</sup> 正因如此，条件独立图通常被认为比相关图在科学上更有意义。<sup>[3](https://wires.onlinelibrary.wiley.com/doi/10.1002/wics.1582)</sup>

## 估计

**低维情形。** 当 \( n > p \) 时，精度矩阵可通过最大化高斯对数似然来估计，

\[ \widehat{\Omega} = \operatorname{argmax} \; n \left[ \tfrac{1}{2} \log \det(\Omega) - \tfrac{1}{2} \operatorname{tr}( \widehat{\Sigma} \, \Omega ) \right], \]

其中 \( \widehat{\Sigma} \) 是经验协方差矩阵。然后通过对 \( \widehat{\Omega} \) 的小元素做阈值化，或检验其是否为零，来恢复图。<sup>[3](https://wires.onlinelibrary.wiley.com/doi/10.1002/wics.1582)</sup>

**高维情形。** 当 \( p \gg n \) 时，未加惩罚的估计会失败，因为样本协方差矩阵的逆不存在。在关注的应用中，\( \Omega \) 的大多数元素为零，因此标准策略是在对数似然中加入正则化项，通常是非对角元素的 \( \ell_1 \)-范数：<sup>[3](https://wires.onlinelibrary.wiley.com/doi/10.1002/wics.1582)</sup>

\[ \widehat{\Omega} = \operatorname{argmax} \; n \left[ \tfrac{1}{2} \log \det(\Omega) - \tfrac{1}{2} \operatorname{tr}( \widehat{\Sigma} \, \Omega ) \right] - \lambda_n \sum_{i \neq j} |\omega_{i,j}|. \]

\( \lambda \) 越大，就会有越多元素被压至零，从而得到更稀疏的估计图。惩罚不施加于对角元素，因为 \( \Omega \) 必须保持正定，而惩罚对角元素会引入偏差。<sup>[3](https://wires.onlinelibrary.wiley.com/doi/10.1002/wics.1582)</sup>

**图套索。** 弗里德曼、哈斯蒂与蒂布希拉尼把这个惩罚问题转化为一种快速的坐标下降算法——图套索；该算法依次遍历各变量，对每个变量拟合一个修正的套索回归。1000 个节点——约 500,000 个参数——的问题可在一分钟或更短时间内处理，相比竞争方法快 30 至 4000 倍；该方法还把精确的惩罚似然表述与迈因斯豪森（Meinshausen）和比赫尔曼（Bühlmann）的邻域近似联系起来。<sup>[4](https://hastie.su.domains/Papers/graph.pdf)</sup> 这项较早的工作表明，用套索进行邻域选择——即把每个节点的条件独立限制分别作为一个高斯变量选择问题来估计——对于稀疏高维图而言，是标准协方差选择之外一种计算上很有吸引力的替代方案，并且在适当选择惩罚参数时具有相合性。<sup>[6](https://arxiv.org/abs/math/0608017)</sup>

## 贝叶斯结构学习

从数据中揭示条件依赖网络的任务称为结构学习。贝叶斯方法在图和精度矩阵上放置先验，并用马尔可夫链蒙特卡洛（Markov chain Monte Carlo，MCMC）探索后验。<sup>[7](https://www.tandfonline.com/doi/full/10.1080/01621459.2024.2395504)</sup>

有若干标准先验族。威沙特分布（Wishart distribution）是高斯似然的共轭先验，早期工作将其限制在可分解图上，因为此时计算会简化；罗韦拉托（2002）提出了 G-威沙特，即把威沙特分布限制到零元素模式由任意图——无论是否可分解——固定的精度矩阵上。G-威沙特的归一化常数难以处理，这促使研究者采用避免计算它的采样器，例如王（Wang）与李（Li，2012）的交换算法。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC4465207/)</sup> 尖峰-平板先验（spike-and-slab priors）常用于鼓励稀疏性；贝叶斯图套索（Bayesian graphical lasso）在非对角元素上放置双指数先验，作为频率学派惩罚的贝叶斯对应物；一个实际缺点是后验样本不含精确的零，因此提取图还需要额外的选择步骤。<sup>[3](https://wires.onlinelibrary.wiley.com/doi/10.1002/wics.1582)</sup><sup> • </sup><sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC4465207/)</sup>

过去十年间，贝叶斯方法已有长足改进，其中一些方法现在能在数分钟内给出多达一千个变量的图的准确估计；2024 年的一篇综述在模拟中比较了七种最先进的贝叶斯算法与一种频率学派算法。<sup>[7](https://www.tandfonline.com/doi/full/10.1080/01621459.2024.2395504)</sup>

## 扩展

**联合估计。** 许多应用会产生若干相关的图，例如多名受试者的功能连接网络，它们共享部分边结构。联合高斯图模型估计利用这种共享结构来改进每个单独图的估计，这在高维情形下尤为重要；方法从鼓励共同粗结构的全局惩罚，到按节点划分组的细粒度惩罚，不一而足；对于两组情形，差分图估计往往非常有效。<sup>[3](https://wires.onlinelibrary.wiley.com/doi/10.1002/wics.1582)</sup>

**协变量与多数据源。** 条件高斯图模型（conditional Gaussian graphical model）把外部变量作为预测变量纳入，估计结构依赖于协变量的网络；这种表述已被用于与表达数量性状位点（expression quantitative trait loci，eQTLs）联合学习的基因调控网络。<sup>[8](https://pmc.ncbi.nlm.nih.gov/articles/PMC7166149/)</sup> 受试者特异图模型同样让图结构依赖于个体特征。<sup>[5](https://public.websites.umich.edu/~yili/graphicmodel.pdf)</sup>

**超越高斯性。** 图的条件独立性解释可作为马尔可夫随机场（Markov random fields）推广到任意分布，但大多数结构学习算法仅限于离散或高斯情形，这推动了非参数正态（nonparanormal）与半参数扩展。<sup>[9](https://arxiv.org/abs/1711.00950)</sup>

## 应用

高斯图模型是在大量连续变量上学习网络结构的常用工具。已记录的用途包括从表达数据恢复基因网络、在神经科学中刻画脑连接，以及分析来自股票市场数据的企业层面金融网络。<sup>[7](https://www.tandfonline.com/doi/full/10.1080/01621459.2024.2395504)</sup><sup> • </sup><sup>[5](https://public.websites.umich.edu/~yili/graphicmodel.pdf)</sup> 在神经科学中，随机向量表示各脑区的活动测量，因此边集对应于脑功能连接；研究者既研究静态图，也研究个体内部的时变图。<sup>[3](https://wires.onlinelibrary.wiley.com/doi/10.1002/wics.1582)</sup>

## References

1. [Peterson, Stingo, and Vannucci. Bayesian Inference of Multiple Gaussian Graphical Models. PMC.](https://pmc.ncbi.nlm.nih.gov/articles/PMC4465207/)
2. [Dempster (1972). Covariance Selection. ScienceOpen.](https://www.scienceopen.com/document?vid=24eed1d5-dc61-440a-95c5-af8c7e0a004d)
3. [Tsai, Koyejo, and Kolar (2022). Joint Gaussian graphical model estimation: A survey. WIREs Computational Statistics.](https://wires.onlinelibrary.wiley.com/doi/10.1002/wics.1582)
4. [Friedman, Hastie, and Tibshirani (2008). Sparse inverse covariance estimation with the lasso.](https://hastie.su.domains/Papers/graph.pdf)
5. [Yi Li. Graphical models for subject-specific networks and applications. University of Michigan.](https://public.websites.umich.edu/~yili/graphicmodel.pdf)
6. [Meinshausen and Bühlmann (2006). High-dimensional graphs and variable selection with the Lasso. arXiv.](https://arxiv.org/abs/math/0608017)
7. [Bayesian Structure Learning in Undirected Gaussian Graphical Models: Literature Review with Empirical Comparison. Journal of the American Statistical Association (2024).](https://www.tandfonline.com/doi/full/10.1080/01621459.2024.2395504)
8. [Gaussian and Mixed Graphical Models as (multi-)omics data analysis tools. PMC.](https://pmc.ncbi.nlm.nih.gov/articles/PMC7166149/)
9. [Beyond normality: Learning sparse probabilistic graphical models in the non-Gaussian setting. arXiv.](https://arxiv.org/abs/1711.00950)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Bayesian statistics › Bayesian networks

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/gaussian-graphical-model

English original: https://www.edgepedia.org/gaussian-graphical-model
