# 贝叶斯信息准则

贝叶斯信息准则（Bayesian information criterion, BIC），又称施瓦茨信息准则，是一种用于比较拟合于同一数据的统计模型的统计量：它将模型的最大化对数似然与一个随估计参数个数和样本量二者共同增长的惩罚项结合起来，BIC 值最低的模型为优选模型。<sup>[1](https://statproofbook.github.io/D/bic.html)</sup><sup> • </sup><sup>[2](https://www.stata.com/manuals14/iglossary.pdf)</sup> 耶路撒冷希伯来大学的统计学家吉迪恩·施瓦茨（Gideon Schwarz）于 1978 年在《统计年鉴》上发表论文，将其推导为对不同维数模型进行选择这一问题的贝叶斯解的大样本近似。<sup>[3](https://www.dejavu.org/cgi-bin/get.cgi?url=https%3A%2F%2Fdoi.org%2F10.1214%2Faos%2F1176344136&ver=95)</sup><sup> • </sup><sup>[4](https://pascal-francis.inist.fr/vibad/index.php?action=getRecordDetail&idt=PASCAL7830373506)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | \( \mathrm{BIC} = -2 \log p(y \mid \hat{\theta}, m) + k \log n \)，其中 \( \hat{\theta} \) 为最大似然估计，\( k \) 为参数个数，\( n \) 为样本量；取值最低的模型为优选模型<sup>[1](https://statproofbook.github.io/D/bic.html)</sup> |
| 起源 | 吉迪恩·施瓦茨，“估计模型的维数”，《统计年鉴》6(2): 461–464，1978 年 3 月<sup>[3](https://www.dejavu.org/cgi-bin/get.cgi?url=https%3A%2F%2Fdoi.org%2F10.1214%2Faos%2F1176344136&ver=95)</sup> |
| 贝叶斯含义 | 两个模型的 BIC 值之差渐近地近似于比较二者的贝叶斯因子的负二倍对数；而对于具有适当先验的正则模型，单个模型的 BIC 近似于其对数边际似然的负二倍（相差有界项）；在先验模型概率相等时，对两个 BIC 值之负差取一半再取指数，即得第一个模型优于第二个模型的近似后验几率<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC3366160/)</sup> |
| 与 AIC 的惩罚对比 | BIC 对每个参数的惩罚为 \( \log n \)，而 AIC 的惩罚为 2，因此对任意样本量 \( n \geq 8 \)，BIC 都更严格（因为当 \( n > e^2 \approx 7.39 \) 时 \( \log n > 2 \)）<sup>[6](https://sungchullee.github.io/statistics_book_writing/ch13/model_selection/bic/)</sup> |
| 相合性 | 在正则条件下，随着样本量增长，BIC 以趋于 1 的概率选中真实模型，而 AIC 不具备这一性质<sup>[7](https://sciences.ucf.edu/biology/d4lab/wp-content/uploads/sites/23/2020/02/Aho-etal-2014.pdf)</sup> |
| 已知局限 | 推导假设模型为正则模型且费雪信息可逆；混合模型、潜变量模型等奇异模型需要 sBIC 或 WBIC 等推广<sup>[8](https://arxiv.org/abs/1309.0911)</sup> |

## 定义与计算

对于拟合于 \( n \) 个观测、似然为 \( p(y \mid \theta, m) \) 的模型 \( m \)，BIC 为

\[ \mathrm{BIC}(m) = -2 \log p(y \mid \hat{\theta}, m) + k \log n, \]

其中 \( \hat{\theta} \) 为最大似然估计，\( k \) 为估计参数的个数。<sup>[1](https://statproofbook.github.io/D/bic.html)</sup>

样本量 \( n \) 的取法需要留意。在推导中，\( n \) 是对数似然的黑塞矩阵增长的速率，亦即对黑塞矩阵中求和项有贡献的数据值的个数。在列联表的对数线性模型中，它是计数之和而非单元格数；在二项响应的模型中，它是分母之和而非成功次数。<sup>[9](https://sites.stat.washington.edu/courses/stat527/s14/readings/KassRaftery_jasa1995.pdf)</sup>

## 贝叶斯推导

施瓦茨将模型选择视为一个贝叶斯问题，求出贝叶斯解并计算其渐近展开的主项；这些主项最终不依赖于先验分布，使得该准则作为大样本工具在贝叶斯语境之外同样有效。<sup>[3](https://www.dejavu.org/cgi-bin/get.cgi?url=https%3A%2F%2Fdoi.org%2F10.1214%2Faos%2F1176344136&ver=95)</sup> 该推导利用最大似然估计附近的拉普拉斯近似来近似边际似然（即给定模型下数据的概率，对参数积分）。将对数似然在真实参数附近展开并保留随 \( n \) 增长的项，得到 \( \mathrm{BIC} = d \log n - 2 \ell_n \)，其中 \( d \) 为参数维数，\( \ell_n \) 为最大化对数似然。<sup>[10](https://faculty.washington.edu/yenchic/26A_stat581/Lec4_Test.html)</sup>

由于 BIC 处于对数尺度上，两个模型 BIC 值之差的负值估计的是贝叶斯因子对数的两倍，即支持一个模型而非另一个模型的证据权重；在先验模型概率相等时，取 \( e^{\mathrm{BIC}_{M1} - \mathrm{BIC}_{M2}} \) 的平方根的倒数，即得模型 1 比模型 2 更可能的近似后验几率。<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC3366160/)</sup> 在信息量等于单个观测的正态先验（单位信息先验）下，施瓦茨准则以 \( O(n^{-1/2}) \) 阶的相对误差近似 \( \log B_{12} \)，这一结果归功于卡内基梅隆大学的统计学家罗伯特·卡斯（Robert Kass）和拉里·沃瑟曼（Larry Wasserman）。<sup>[9](https://sites.stat.washington.edu/courses/stat527/s14/readings/KassRaftery_jasa1995.pdf)</sup> 尽管名为贝叶斯准则，公式中并未显式体现任何关于参数或模型的先验概率，因为先验项在化简中被略去；在大样本极限下，似然项占主导。<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC3366160/)</sup><sup> • </sup><sup>[11](https://sites.pitt.edu/~kpele/INFSCI2595_W10_StudyGuide.html)</sup>

## 与 AIC 的比较

BIC 与赤池信息准则（AIC）是两种最常用的带惩罚模型选择准则，但它们近似的是不同的目标。<sup>[12](https://journals.sagepub.com/doi/10.1177/0049124103262065)</sup> AIC 对每个参数的惩罚系数为 \( \alpha = 2 \)，而 BIC 为 \( \alpha = \log(N) \)，因此 BIC 施加的惩罚更重，倾向于选出更简单、更简约的模型。<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC3366160/)</sup><sup> • </sup><sup>[13](https://online.stat.psu.edu/stat462/node/199/)</sup> 两种准则回答的是不同的问题。正如生态学家阿霍（Aho）及其同事所总结的，杨（2005）证明 BIC 对于最优模型选择是相合的，但在回归函数估计上不可能最优；而 AIC 给出估计回归函数的极小极大速率最优规则，但对最优模型选择不相合。<sup>[7](https://sciences.ucf.edu/biology/d4lab/wp-content/uploads/sites/23/2020/02/Aho-etal-2014.pdf)</sup> 用时间序列的术语来说，AIC、AICc 和最终预测误差准则是有效准则，而 BIC 和汉南—奎因准则（Hannan–Quinn criterion）是相合准则，渐近地选出一个过程的真实阶数。<sup>[14](https://www.sciencedirect.com/science/article/abs/pii/S0378375807000444)</sup>

伦敦政治经济学院的统计学家约尼·库哈（Jouni Kuha）依据模拟和社会流动数据论证，将 AIC 与 BIC 结合使用能带来有用的信息，尤其是设法找出二者都青睐的模型。<sup>[12](https://journals.sagepub.com/doi/10.1177/0049124103262065)</sup> 一种务实的变通做法是同时报告两种准则，当二者一致时便更有信心。<sup>[15](https://groups.inf.ed.ac.uk/teaching/ccs/reading/FL_c11_bayesian_model_comparison_using_bayes_factors.pdf)</sup>

## 相合性与局限

从频率学派的角度看，BIC 已在许多情形下被证明是相合的：在 BIC 的最优化下，选中最简约真实模型的概率随样本量趋于无穷而趋于 1。<sup>[8](https://arxiv.org/abs/1309.0911)</sup> 这一相合性是一些作者偏爱 BIC 而非 AIC 的主要原因。<sup>[7](https://sciences.ucf.edu/biology/d4lab/wp-content/uploads/sites/23/2020/02/Aho-etal-2014.pdf)</sup>

**批评。** 康涅狄格大学的社会学家大卫·L·威克利姆（David L. Weakliem）于 1999 年论证，BIC 所隐含的贝叶斯因子未必接近观察者实际会认为合适的先验所算出的贝叶斯因子，而所需的先验变动往往使 BIC 在实践中偏向过于简单的模型。<sup>[16](https://doi.org/10.1177/0049124199027003002)</sup> 在宇宙学中，安德鲁·利德尔（Andrew Liddle）表明，当许多参数受数据约束很差时，BIC 会不公平地惩罚含多参数的模型，并警告说，在其适用性的严格标准未满足时，不应使用 BIC 这类近似。<sup>[17](https://academic.oup.com/mnras/article/388/3/1314/956454?login=false)</sup> BIC 内建的隐藏先验假设在宇宙学情境中往往缺乏依据，在那里完整贝叶斯证据的先验体积效应至关重要。<sup>[18](https://ned.ipac.caltech.edu/level5/Sept13/Trotta/Trotta4.html)</sup>

**奇异模型。** 推导假设模型是正则的，即其参数到分布的映射是一一映射，且费雪信息矩阵正定。提取隐藏结构的模型，如混合模型、隐马尔可夫模型、潜变量模型和人工神经网络，是奇异的：它们的费雪信息矩阵可能不可逆，对数似然不存在二次大样本近似，BIC 也不能反映其边际似然的大样本行为。<sup>[8](https://arxiv.org/abs/1309.0911)</sup><sup> • </sup><sup>[19](https://jmlr.csail.mit.edu/papers/volume14/watanabe13a/watanabe13a.pdf)</sup> 东京工业大学的渡边澄夫（Sumio Watanabe）证明，对于奇异模型，贝叶斯自由能由一个双有理不变量——实对数典范阈值（RLCT）——支配，它取代了 BIC 公式中参数个数的一半；他还定义了广泛适用的贝叶斯信息准则（WBIC），即在逆温度 \( 1/\log n \) 下后验上的平均对数似然，它对奇异模型和正则模型都具有与自由能相同的渐近展开。<sup>[19](https://jmlr.csail.mit.edu/papers/volume14/watanabe13a/watanabe13a.pdf)</sup> 华盛顿大学的马蒂亚斯·德尔顿（Mathias Drton）和马丁·普拉默（Martyn Plummer）提出了一个相关的推广——奇异 BIC（sBIC），它在正则模型上与施瓦茨准则一致，并适用于确定混合模型中的成分数、因子分析中的因子数以及降秩回归中的秩。<sup>[8](https://arxiv.org/abs/1309.0911)</sup><sup> • </sup><sup>[20](https://academic.oup.com/jrsssb/article/79/2/323/7041940)</sup> 一项实证研究发现，WBIC 在有信息先验下总体表现尚可，但在小样本量下可能系统性地高估证据。<sup>[21](https://arxiv.org/abs/1501.05447)</sup>

## 应用

方法学文献将 BIC 描述为统计模型选择中最广为人知、使用最为普遍的工具之一，因其计算简便且在先验难以指定的贝叶斯应用中也表现有效而受到重视。<sup>[22](https://wires.onlinelibrary.wiley.com/doi/abs/10.1002/wics.199)</sup> 在生态学中，它与 AIC、偏差信息准则和贝叶斯因子并列为最常用的四种准则，选择哪一种应依据目标是解释还是预测而事先决定。<sup>[23](https://www.sciencedirect.com/science/article/pii/S0304380007005558)</sup> 在宇宙学中，它已被用于确定宇宙微波背景和暗能量模型中偏好的参数个数，不过带有上文所述的种种告诫。<sup>[24](https://academic.oup.com/mnras/article/351/3/L49/1054930)</sup><sup> • </sup><sup>[17](https://academic.oup.com/mnras/article/388/3/1314/956454?login=false)</sup>

## References

1. [Bayesian information criterion, The Book of Statistical Proofs](https://statproofbook.github.io/D/bic.html)
2. [Bayesian information criterion, BIC, Stata glossary](https://www.stata.com/manuals14/iglossary.pdf)
3. [Gideon Schwarz (1978). Estimating the Dimension of a Model. Annals of Statistics 6(2): 461–464.](https://www.dejavu.org/cgi-bin/get.cgi?url=https%3A%2F%2Fdoi.org%2F10.1214%2Faos%2F1176344136&ver=95)
4. [PASCAL record, Schwarz 1978](https://pascal-francis.inist.fr/vibad/index.php?action=getRecordDetail&idt=PASCAL7830373506)
5. [Vrieze SI (2012). Model selection and psychological theory: A discussion of the differences between the AIC and the BIC. Psychological Methods.](https://pmc.ncbi.nlm.nih.gov/articles/PMC3366160/)
6. [Bayesian Information Criterion, Introductory Statistics (S. Lee)](https://sungchullee.github.io/statistics_book_writing/ch13/model_selection/bic/)
7. [Aho K, Derryberry D, Peterson T (2014). Model selection for ecologists: the worldviews of AIC and BIC. Ecology.](https://sciences.ucf.edu/biology/d4lab/wp-content/uploads/sites/23/2020/02/Aho-etal-2014.pdf)
8. [Drton M, Plummer M (2013). A Bayesian information criterion for singular models. arXiv.](https://arxiv.org/abs/1309.0911)
9. [Kass RE, Raftery AE (1995). Bayes Factors. Journal of the American Statistical Association 90: 773–795.](https://sites.stat.washington.edu/courses/stat527/s14/readings/KassRaftery_jasa1995.pdf)
10. [UW STAT 581, Chapter 4: Hypothesis tests in likelihood models](https://faculty.washington.edu/yenchic/26A_stat581/Lec4_Test.html)
11. [INFSCI 2595 Week 10 Study Guide: Model Complexity & Information Criteria](https://sites.pitt.edu/~kpele/INFSCI2595_W10_StudyGuide.html)
12. [Kuha J (2004). AIC and BIC: Comparisons of Assumptions and Performance. Sociological Methods & Research 33(2).](https://journals.sagepub.com/doi/10.1177/0049124103262065)
13. [STAT 462: Information Criteria and PRESS, Penn State](https://online.stat.psu.edu/stat462/node/199/)
14. [Improved model selection criteria for SETAR time series models, Computational Statistics & Data Analysis](https://www.sciencedirect.com/science/article/abs/pii/S0378375807000444)
15. [Bayesian Model Comparison Using Bayes Factors (course reading)](https://groups.inf.ed.ac.uk/teaching/ccs/reading/FL_c11_bayesian_model_comparison_using_bayes_factors.pdf)
16. [Weakliem DL (1999). A Critique of the Bayesian Information Criterion for Model Selection. Sociological Methods & Research 27(3).](https://doi.org/10.1177/0049124199027003002)
17. [Liddle AR et al. (2008). Limitations of Bayesian Evidence applied to cosmology. Monthly Notices of the Royal Astronomical Society 388: 1314.](https://academic.oup.com/mnras/article/388/3/1314/956454?login=false)
18. [Trotta R. Bayes in the sky: Bayesian inference and model selection in cosmology.](https://ned.ipac.caltech.edu/level5/Sept13/Trotta/Trotta4.html)
19. [Watanabe S (2013). A Widely Applicable Bayesian Information Criterion. Journal of Machine Learning Research 14: 867–897.](https://jmlr.csail.mit.edu/papers/volume14/watanabe13a/watanabe13a.pdf)
20. [Drton M, Plummer M (2017). A Bayesian information criterion for singular models. JRSS B 79(2): 323.](https://academic.oup.com/jrsssb/article/79/2/323/7041940)
21. [Friel N, McKeone JP, Oates CJ, Pettitt AN (2015). Investigation of the widely applicable Bayesian information criterion. arXiv.](https://arxiv.org/abs/1501.05447)
22. [Neath AA, Cavanaugh JE (2012). The Bayesian information criterion: background, derivation, and applications. WIREs Computational Statistics 4: 199–203.](https://wires.onlinelibrary.wiley.com/doi/abs/10.1002/wics.199)
23. [Aho K (2008). A review and comparison of four commonly used Bayesian and maximum likelihood model selection tools. Ecological Modelling 211: 1–10.](https://www.sciencedirect.com/science/article/pii/S0304380007005558)
24. [Liddle AR (2004). How many cosmological parameters? Monthly Notices of the Royal Astronomical Society 351: L49.](https://academic.oup.com/mnras/article/351/3/L49/1054930)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Bayesian statistics › Bayesian model selection, design, and applications › Bayesian model selection and information criteria

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/bayesian-information-criterion

English original: https://www.edgepedia.org/bayesian-information-criterion
