# Pitman–Yor 过程

**Pitman–Yor 过程**是贝叶斯非参数统计中用作概率测度先验的一种随机离散概率分布；其原子可以对物种的相对丰度建模，它通过增加第二个参数来推广狄利克雷过程，从而产生幂律行为<sup>[1](https://arxiv.org/abs/2208.14255)</sup>。它也被称为双参数 Poisson–Dirichlet 过程，是 Poisson–Kingman 过程的一个例子，并且是 Gibbs 型的物种抽样过程<sup>[1](https://arxiv.org/abs/2208.14255)</sup>。该过程以 Jim Pitman 和 Marc Yor 命名，他们详细研究了底层的双参数 Poisson–Dirichlet 分布<sup>[2](https://celebratio.org/Yor_M/article/1126/)</sup>。

| 关键事实 | 详情 |
|---|---|
| 参数 | 折扣或类型参数 \( \sigma \in [0,1) \)，浓度或强度参数 \( \theta > -\sigma \)，以及无原子基分布 \( G_0 \)<sup>[1](https://arxiv.org/abs/2208.14255)</sup> |
| 特例 | \( \sigma = 0 \) 给出 Ferguson（1974）的狄利克雷过程<sup>[1](https://arxiv.org/abs/2208.14255)</sup> |
| 物种增长 | 从类型 \( \sigma > 0 \) 的过程抽取大小为 \( n \) 的样本，其中包含的不同值数目为 \( n^{\sigma} \) 量级，而狄利克雷过程为对数增长<sup>[1](https://arxiv.org/abs/2208.14255)</sup><sup> • </sup><sup>[3](https://www.gatsby.ucl.ac.uk/~porbanz/papers/porbanz_BNP_draft.pdf)</sup> |
| 预测规则 | 下一个观测为新值的概率为 \( (\theta + \sigma k)/(\theta + n) \)，其中 \( k \) 是迄今已见到的不同值数目<sup>[4](https://link.springer.com/article/10.1007/s42081-023-00210-5)</sup> |
| 分割律 | 可交换分割概率函数具有上升阶乘的闭式形式，\( \prod_{i=1}^{k-1}(\theta + i\sigma)/(\theta+1)_{n-1} \cdot \prod_{i=1}^{k}(1-\sigma)_{n_i-1} \)<sup>[4](https://link.springer.com/article/10.1007/s42081-023-00210-5)</sup> |
| 标志性应用 | Yee Whye Teh（2006）的层级 Pitman–Yor 语言模型，其近似精确地恢复了插值 Kneser–Ney 平滑<sup>[5](https://aclanthology.org/P06-1124/)</sup> |

## 定义与构造

非负 Pitman–Yor 过程族由三个对象索引：一个数 \( \sigma \in [0,1) \)，一个数 \( \theta > -\sigma \)，以及某个可测空间上的无原子概率分布 \( G_0 \)<sup>[1](https://arxiv.org/abs/2208.14255)</sup>。最简单的定义通过折棍构造给出。抽取独立随机变量 \( \nu_j \sim \mathrm{Beta}(1-\sigma, \theta + j\sigma) \)，形成权重

\[ \tilde{p}_j = \nu_j \prod_{i=1}^{j-1}(1 - \nu_i), \]

并按照这些权重放置从 \( G_0 \) 中抽取的独立原子位置 \( \Phi_1, \Phi_2, \ldots \)。所得的离散随机测度就是一个 Pitman–Yor 过程<sup>[1](https://arxiv.org/abs/2208.14255)</sup><sup> • </sup><sup>[3](https://www.gatsby.ucl.ac.uk/~porbanz/papers/porbanz_BNP_draft.pdf)</sup>。在应用概率文献中，浓度参数常写作 \( \theta \)，折扣写作 \( \alpha \)，而贝叶斯文献通常用 \( \alpha \) 表示浓度；这两种约定并存<sup>[3](https://www.gatsby.ucl.ac.uk/~porbanz/papers/porbanz_BNP_draft.pdf)</sup>。

与双参数 Poisson–Dirichlet 分布 \( \operatorname{PD}(\alpha, \theta) \) 的联系来自对由布朗运动游程和稳定从属子产生的区间分割进行尺寸偏倚抽样的研究。Perman、Pitman 和 Yor 解决了一般的从属子情形，随后 Pitman 和 Yor 详细研究了 \( \operatorname{PD}(\alpha, \theta) \)；“Pitman–Yor 过程”这一名称由 Ishwaran 和 James 引入，用于指代其原子带有 \( \operatorname{PD}(\alpha, \theta) \) 分布权重的随机测度<sup>[2](https://celebratio.org/Yor_M/article/1126/)</sup>。

## 与狄利克雷过程的关系

令 \( \sigma = 0 \) 即恢复狄利克雷过程，后者已被充分理解<sup>[1](https://arxiv.org/abs/2208.14255)</sup>。区别体现在样本包含多少个不同值。在狄利克雷过程下，\( n \) 个观测中的簇数 \( K_n \) 随 \( n \) 对数增长；对于许多遵循幂律的现实世界量，这不是一个现实的假设<sup>[3](https://www.gatsby.ucl.ac.uk/~porbanz/papers/porbanz_BNP_draft.pdf)</sup>。类型 \( \sigma > 0 \) 的 Pitman–Yor 过程则在大小为 \( n \) 的样本中产生 \( n^{\sigma} \) 量级的不同值<sup>[1](https://arxiv.org/abs/2208.14255)</sup>。

该机制可以从预测规则中看出。在狄利克雷过程混合模型下，一个有 \( n_k \) 个成员的现有簇以正比于 \( n_k \) 的权重吸引下一个观测。引入折扣 \( d \in [0,1] \) 将其变为 \( n_k - d \)，这使得非常小的簇更难增长到中等规模，并产生更多非常小和非常大的簇，即幂律的形状<sup>[3](https://www.gatsby.ucl.ac.uk/~porbanz/papers/porbanz_BNP_draft.pdf)</sup>。在 Pitman–Yor 预测规则下，新值的概率为 \( (\theta + \sigma k)/(\theta + n) \)，它随已见到的不同物种数 \( k \) 增长，而狄利克雷情形则不然<sup>[4](https://link.springer.com/article/10.1007/s42081-023-00210-5)</sup>。

两种过程都诱导具有闭式可交换分割概率函数（EPPF）的可交换随机分割，这使得解析工作易于处理<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC9364237/)</sup>。

## 物种抽样与估计

由于过程的原子对相对丰度建模，一个自然任务是预测未来样本中将出现多少新物种。对于 Pitman–Yor 过程，在额外大小为 \( m \) 的样本中新不同值数目 \( K_m^{(n)} \) 的后验期望具有闭式形式

给定观测数据 X^(n)，K_m^(n)（即在进一步大小为 m 的样本中出现的新不同值的计数）的条件期望等于 (k + θ/σ){((θ + n + σ)_m)/((θ + n)_m) − 1}。

当 \( \sigma = 0 \) 时它简化为另一个表达式<sup>[4](https://link.springer.com/article/10.1007/s42081-023-00210-5)</sup>。

参数 \( (\sigma, \theta) \) 可以通过经验贝叶斯固定，即在观测分割上最大化 EPPF，或者给定先验；在许多实际场景中，\( (\sigma, \theta) \) 的后验高度集中，因此两种方法差别很小<sup>[4](https://link.springer.com/article/10.1007/s42081-023-00210-5)</sup>。两个实例展示了数据如何选择折扣。在一批按 141 个不同模具分类的 204 枚古钱币中，经验贝叶斯给出 \( (\hat{\sigma}, \hat{\theta}) = (0.11, 172.48) \)，由于估计的折扣较低，Pitman–Yor 和狄利克雷估计量的表现相似。在一个由柑橘克莱门氏菌的 1593 个表达序列标签分组为 806 个基因的基因组数据集中，数据支持 \( \hat{\sigma} = 0.63 \)，Pitman–Yor 估计量与狄利克雷估计量急剧分化，说明了多项式增长率的价值<sup>[4](https://link.springer.com/article/10.1007/s42081-023-00210-5)</sup>。

在统计方面，Franssen 和 van der Vaart 在观测为来自真实分布的随机样本的频率派设定中，推导了类型参数的经验贝叶斯估计量的渐近正态性以及全贝叶斯后验的 Bernstein–von Mises 定理<sup>[1](https://arxiv.org/abs/2208.14255)</sup>。

## 应用

**语言建模。** Pitman–Yor 过程产生类似于自然语言的幂律分布，有人主张这使其比狄利克雷过程模型更适合自然语言处理<sup>[7](https://aclanthology.org/P06-1124.pdf)</sup>。在 Teh 的层级 Pitman–Yor 语言模型中，层级贝叶斯 n-gram 模型的每个隐变量都按照 Pitman–Yor 过程分布，推广了 MacKay 和 Peto 的层级狄利克雷语言模型<sup>[5](https://aclanthology.org/P06-1124/)</sup><sup> • </sup><sup>[7](https://aclanthology.org/P06-1124.pdf)</sup>。对该模型的近似精确地恢复了插值 Kneser–Ney 的公式，后者是 n-gram 模型性能最佳的平滑方法之一，而全贝叶斯模型取得了优于插值 Kneser–Ney 且与改进 Kneser–Ney 相当的交叉熵结果<sup>[5](https://aclanthology.org/P06-1124/)</sup>。推断使用高效的马尔可夫链蒙特卡洛抽样方案<sup>[7](https://aclanthology.org/P06-1124.pdf)</sup>。

**多种群物种发现。** 对于来自不同区域的 \( J \) 个动物种群，层级 Pitman–Yor 过程先验使 \( J \) 个未知离散测度共享其共同随机基测度的支撑，支持顺序抽样规则，以选择下一步观察哪个种群从而发现最多不同物种<sup>[8](https://ora.ox.ac.uk/objects/uuid%3Ade0fda9d-96f8-45ce-84de-065bd2c0aa26)</sup>。

**聚类。** Pitman–Yor 过程混合模型用于基于模型的聚类和密度估计；BNPmix R 包实现了这些模型，可用于多变量密度估计、聚类和回归，后验采样器用 C++ 编写<sup>[9](https://www.jstatsoft.org/article/view/v100i15)</sup>。在先验设定错误（预期先验簇数约为 34，而真实成分数为 3）的聚类实验中，狄利克雷和 Pitman–Yor 混合模型的后验都偏离了错误设定，但 Pitman–Yor 情形的修正更强，对簇数的推断更准确<sup>[4](https://link.springer.com/article/10.1007/s42081-023-00210-5)</sup>。专门的算法包括 pyp-means，一种基于 Pitman–Yor 的 k-means，它自适应地改变阈值以对社交网络、网络论坛主题和引文网络等数据生成幂律聚类<sup>[10](https://arxiv.org/abs/1306.3003)</sup>。层级 Pitman–Yor 过程也被应用于无限隐马尔可夫建模、图像分割和主题模型<sup>[11](https://pmc.ncbi.nlm.nih.gov/articles/PMC10597554/)</sup>。

## 扩展

**富化 Pitman–Yor 过程**（EPY）由米兰比可卡大学的 Tommaso Rigon、帕多瓦大学的 Bruno Scarpa 和博科尼大学的 Sonia Petrone 提出，是一种为乘积空间上的观测设计的离散非参数先验，允许分离的分割结构和具有幂律行为的嵌套聚类。它具有方分割表示、闭式后验和坛模型方案，并统一了若干现有模型，包括带 spike-and-slab 基测度的狄利克雷过程和混合之混合模型；它已被应用于生态学中的物种抽样，例如估计亚马逊树木植物区系中未观测到的物种，以及电子商务市场细分中的函数聚类<sup>[12](https://arxiv.org/abs/2003.12200)</sup><sup> • </sup><sup>[13](https://www.unibocconi.it/it/news/un-nuovo-modo-individuare-schemi-ricorrenti-nei-dati-complessi)</sup>。

其他变体包括用于具有空间或时间相互依赖性的数据聚类的核 Pitman–Yor 过程<sup>[14](https://arxiv.org/abs/1210.4184)</sup>，以及 Pitman–Yor 扩散树，一种树结构上的贝叶斯非参数先验，它推广了狄利克雷扩散树并消除了二叉分支的限制<sup>[15](https://cs.stanford.edu/people/davidknowles/knowles_tpami2014.pdf)</sup>。

## References

1. [Franssen, S. E. M. P., and van der Vaart, A. W. (2022). Empirical and Full Bayes estimation of the type of a Pitman-Yor process. arXiv.](https://arxiv.org/abs/2208.14255)
2. [Pitman, J. Celebratio Mathematica article on Marc Yor: The two-parameter Poisson–Dirichlet distribution.](https://celebratio.org/Yor_M/article/1126/)
3. [Orbanz, P. Clustering and the Dirichlet Process, Section 2.8: Power laws and the Pitman-Yor process (draft text).](https://www.gatsby.ucl.ac.uk/~porbanz/papers/porbanz_BNP_draft.pdf)
4. [Bassetti, F., et al. (2023). Bayesian modeling via discrete nonparametric priors. Japanese Journal of Statistics and Data Science.](https://link.springer.com/article/10.1007/s42081-023-00210-5)
5. [Teh, Y. W. (2006). A Hierarchical Bayesian Language Model Based On Pitman-Yor Processes. COLING/ACL 2006, pages 985–992.](https://aclanthology.org/P06-1124/)
6. [Centered Partition Processes: Informative Priors for Clustering (with Discussion). PMC.](https://pmc.ncbi.nlm.nih.gov/articles/PMC9364237/)
7. [Teh, Y. W. (2006). A Hierarchical Bayesian Language Model based on Pitman-Yor Processes (PDF).](https://aclanthology.org/P06-1124.pdf)
8. [Multi-armed bandit for species discovery: a Bayesian nonparametric approach. Oxford University Research Archive.](https://ora.ox.ac.uk/objects/uuid%3Ade0fda9d-96f8-45ce-84de-065bd2c0aa26)
9. [Corradin, R., Canale, A., and Nipoti, B. (2021). BNPmix: An R Package for Bayesian Nonparametric Modeling via Pitman-Yor Mixtures. Journal of Statistical Software.](https://www.jstatsoft.org/article/view/v100i15)
10. [Fan, X., Zeng, Y., and Cao, L. (2013). Non-parametric Power-law Data Clustering. arXiv.](https://arxiv.org/abs/1306.3003)
11. [Perfect Sampling of the Posterior in the Hierarchical Pitman–Yor Process. PMC.](https://pmc.ncbi.nlm.nih.gov/articles/PMC10597554/)
12. [Rigon, T., Scarpa, B., and Petrone, S. (2020). Enriched Pitman-Yor processes. arXiv.](https://arxiv.org/abs/2003.12200)
13. [Università Bocconi (2025). Un nuovo modo per individuare schemi ricorrenti nei dati complessi.](https://www.unibocconi.it/it/news/un-nuovo-modo-individuare-schemi-ricorrenti-nei-dati-complessi)
14. [The Kernel Pitman-Yor Process. arXiv.](https://arxiv.org/abs/1210.4184)
15. [Knowles, D. Pitman Yor Diffusion Tree, IEEE TPAMI.](https://cs.stanford.edu/people/davidknowles/knowles_tpami2014.pdf)

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

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Bayesian statistics › Bayesian model selection, design, and applications › Bayesian nonparametrics › Pitman–Yor and two-parameter families

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/pitman-yor-process

English original: https://www.edgepedia.org/pitman-yor-process
