# 可交换随机变量

**可交换随机变量**是一组随机变量，其联合概率分布在标签被置换时保持不变：对 \(\{1, \dots, n\}\) 的任意置换 \(\pi\)，随机向量 \( (X_{\pi(1)}, \dots, \pi(n)) \) 与 \( (X_1, \dots, X_n) \) 具有相同分布<sup>[1](https://www.sciencedirect.com/science/article/pii/S0167715219300902)</sup>。这一概念由布鲁诺·德·菲内蒂（Bruno de Finetti）在个人概率的语境中引入，用以取代他认为是误称的“未知概率的独立事件”<sup>[2](https://www.annualreviews.org/doi/pdf/10.1146/annurev-statistics-040220-015348)</sup>。可交换性弱于独立性：它只要求联合分布律具有对称性，而不要求变量之间彼此毫无影响<sup>[3](https://quantmemo.com/concepts/exchangeability-and-de-finettis-theorem)</sup>。

| 关键事实 | 细节 |
|---|---|
| 定义 | 若有限序列的联合分布在下标的任意置换下不变，则称该有限序列可交换；若无限序列的每个有限子序列都可交换，则称该无限序列可交换<sup>[1](https://www.sciencedirect.com/science/article/pii/S0167715219300902)</sup><sup> • </sup><sup>[4](https://www.sciencedirect.com/topics/mathematics/exchangeability)</sup> |
| 德·菲内蒂定理 | 无限可交换序列是独立同分布（i.i.d.）序列的混合；该定理最早于1929年对取值于\(\{0,1\}\)的变量得到证明<sup>[5](https://www.stat.berkeley.edu/~ryantibs/papers/defin.pdf)</sup> |
| 二元情形 | 对可交换伯努利变量，\( P(X_1 = x_1, \dots, X_n = x_n) = \int \theta^{S_n} (1-\theta)^{n - S_n} \, dF(\theta) \)，其中 \( S_n = \sum_{k=1}^{n} x_k \) 且 \( \theta = \lim_{n \to \infty} S_n/n \)<sup>[2](https://www.annualreviews.org/doi/pdf/10.1146/annurev-statistics-040220-015348)</sup> |
| 有限序列 | 对于大小为 \( c \) 的集合上的 \( n \) 个可交换变量中的 \( k \) 个，到最近 i.i.d. 混合的变差距离至多为 \( 2ck/n \)（若 \( c \) 为无限，则为 \( k(k-1)/n \)）；这些速率无法改进<sup>[6](https://dml.mathdoc.fr/item/1176994663/)</sup> |
| 部分可交换性 | 部分可交换阵列的表示定理可追溯至胡佛（Hoover）与奥尔德斯（Aldous），并由卡伦伯格（Kallenberg）系统推广；标准参考文献是卡伦伯格2005年的专著<sup>[7](https://www.stat.berkeley.edu/~aldous/Papers/me128.pdf)</sup> |
| 马尔可夫可交换性 | 给定转移计数后可交换的序列，恰好是马尔可夫链的混合（迪亚科尼斯（Diaconis）与弗里德曼（Freedman），1980）<sup>[4](https://www.sciencedirect.com/topics/mathematics/exchangeability)</sup> |
| 统计学作用 | 可交换性是贝叶斯方法的关键出发点，并构成置换检验与共形预测的基础<sup>[8](https://pmc.ncbi.nlm.nih.gov/articles/PMC10041353/)</sup><sup> • </sup><sup>[9](https://pmc.ncbi.nlm.nih.gov/articles/PMC11115382/)</sup> |

## 定义与基本例子

概率空间 \( (\Omega, \mathcal{F}, \mathbb{P}) \) 上的有限实值随机变量序列是可交换的，如果对 \(\{1, 2, \dots, N\}\) 的任意置换 \(\pi\)，\( (X_1, \dots, X_N) \) 与 \( (X_{\pi(1)}, \dots, X_{\pi(N)}) \) 的分布相同<sup>[1](https://www.sciencedirect.com/science/article/pii/S0167715219300902)</sup>。等价地，不论变量顺序如何，联合分布都相同<sup>[10](https://planetmath.org/exchangeablerandomvariables)</sup>。该概念可推广到无限序列 \( (X_1, X_2, \dots) \)，要求每个有限子序列都可交换<sup>[4](https://www.sciencedirect.com/topics/mathematics/exchangeability)</sup>。

每个 i.i.d. 序列都是可交换的，因为置换独立同分布变量不会改变任何东西<sup>[11](https://web.mit.edu/Asuman/Desktop/asuman/www/documents/XE1.pdf)</sup>。反之不成立：对所有 \( i \) 几乎必然有 \( X_i = X_1 \) 的序列，对任意 \( X_1 \) 的分布都是可交换的，但仅当 \( X_1 \) 为确定性时才是独立的<sup>[11](https://web.mit.edu/Asuman/Desktop/asuman/www/documents/XE1.pdf)</sup>。可交换性蕴含边缘分布相同，并且与可逆性概念密切相关<sup>[12](https://www.stat.ubc.ca/~bouchard/courses/stat520-sp2021-22/T11-definetti.html)</sup>。

该定义相当于联合分布上的一组线性方程，因此可交换分布的集合是凸的：可交换分布的任意混合仍可交换。因此，在某个辅助随机变量条件下为 i.i.d. 的序列总是可交换的<sup>[11](https://web.mit.edu/Asuman/Desktop/asuman/www/documents/XE1.pdf)</sup>。

## 德·菲内蒂定理

中心结构结果问的是：i.i.d. 序列分布律的凸组合是否是唯一可交换概率测度<sup>[13](https://encyclopediaofmath.org/wiki/De_Finetti_theorem)</sup>。对无限序列，答案是肯定的。德·菲内蒂定理指出，无限随机变量序列可交换当且仅当它是条件独立同分布的，即给定某个辅助随机元素 \( \Theta \) 后为 i.i.d.<sup>[11](https://web.mit.edu/Asuman/Desktop/asuman/www/documents/XE1.pdf)</sup>。该定理可读作两阶段构造：先从混合分布抽取一个随机分布 \( \Theta \)，再从 \( \Theta \) 独立同分布地生成观测<sup>[11](https://web.mit.edu/Asuman/Desktop/asuman/www/documents/XE1.pdf)</sup>。用凸分析的语言说，无限乘积空间上可交换概率测度凸集的极点恰好是 i.i.d. 序列的分布律<sup>[13](https://encyclopediaofmath.org/wiki/De_Finetti_theorem)</sup>。

**结果的历史。** 德·菲内蒂于1929年对二元序列证明了该定理，其中混合分布是成功概率 \( p \in [0,1] \) 上的分布，因此无限二元序列上的可交换分布律可通过抽取 \( p \) 然后抽取 i.i.d. 伯努利\( (p) \) 变量生成<sup>[5](https://www.stat.berkeley.edu/~ryantibs/papers/defin.pdf)</sup>。他1937年的论文 《预测：其逻辑规律及其主观来源》（《亨利·庞加莱研究所年鉴》，第7卷，第1–68页）将该定理推广到实值序列，这一结果后来由丁金（Dynkin）于1953年独立建立<sup>[5](https://www.stat.berkeley.edu/~ryantibs/papers/defin.pdf)</sup><sup> • </sup><sup>[14](https://numdam.org/item/AIHP_1937__7_1_1_0/)</sup>。休伊特（Hewitt）与萨维奇（Savage）于1955年将结果推广到取值于紧豪斯多夫空间的贝尔可测随机变量，雷尔-纳尔杰夫斯基（Ryll-Nardzewski）将其推广到任意实值可交换序列<sup>[5](https://www.stat.berkeley.edu/~ryantibs/papers/defin.pdf)</sup><sup> • </sup><sup>[15](https://www.cfreer.org/papers/FreerRoyCiE2009.pdf)</sup>。在二元情形中，混合参数有具体含义：\( \theta \) 是成功频率的极限 \( \lim_{n \to \infty} S_n/n \)<sup>[2](https://www.annualreviews.org/doi/pdf/10.1146/annurev-statistics-040220-015348)</sup>。

**为什么无限性重要。** 该表示仅对无限序列精确。德·菲内蒂不等式的一个条件版本对任意有限可交换序列成立，并解释了为什么定理在 \( N = \infty \) 时精确成立，而在 \( N \) 有限时仅近似成立<sup>[13](https://encyclopediaofmath.org/wiki/De_Finetti_theorem)</sup>。迪亚科尼斯与弗里德曼于1980年量化了这一差距：若 \( X_1, \dots, X_n \) 可交换且取值于基数为 \( c \) 的集合，则 \( (X_1, \dots, X_k) \) 的分布律与最接近的 i.i.d. 序列混合之间的变差距离至多为 \( 2ck/n \)，或当 \( c \) 为无限时为 \( k(k-1)/n \)，且例子表明这些速率无法改进<sup>[6](https://dml.mathdoc.fr/item/1176994663/)</sup>。他们的主要工具是有放回与无放回抽样之间变差距离的一个界<sup>[6](https://dml.mathdoc.fr/item/1176994663/)</sup>。

**一般性的限度。** 该定理确实需要拓扑正则性。杜宾斯（Dubins）与弗里德曼给出了一个无限长可交换随机变量序列的例子，该序列博雷尔可测且取值于可分度量空间，但不能表示为 i.i.d. 过程的混合。<sup>[5](https://www.stat.berkeley.edu/~ryantibs/papers/defin.pdf)</sup> 对于标准博雷尔空间，定理成立，这是瓦拉达拉詹（Varadarajan）指出的休伊特–萨维奇结果的推论<sup>[5](https://www.stat.berkeley.edu/~ryantibs/papers/defin.pdf)</sup>。

## 部分可交换性

许多数据结构需要弱于完全置换不变性的对称性。仅在块内可交换的序列，或分布律在分别对行和列施加置换下不变的阵列 \( (X_{i,j}) \)，称为部分可交换的<sup>[16](https://www.sciencedirect.com/science/article/abs/pii/S0165011414004837)</sup>。对于阵列，部分可交换表示定理指出，适当形式的阵列可写成 \( X_{\{i,j\}} = f(U, U_i, U_j, U_{\{i,j\}}) \)，其中 \( U \)、\( (U_i) \) 和 \( (U_{\{i,j\}}) \) 是 i.i.d. 均匀\((0,1)\) 变量族，且 \( f \) 在 \( (u_i, u_j) \) 中对称；与德·菲内蒂定理一样，逆命题为真但远非显然，且 \( f \) 在保测变换下唯一<sup>[7](https://www.stat.berkeley.edu/~aldous/Papers/me128.pdf)</sup>。

此类结构定理可追溯至胡佛与奥尔德斯，并出现在奥尔德斯1984年的综述中；卡伦伯格在1980年代末和1990年代初将其系统推广到阵列、可交换增量的连续参数过程以及可旋转矩阵，其2005年专著是标准参考文献<sup>[7](https://www.stat.berkeley.edu/~aldous/Papers/me128.pdf)</sup>。一个相关推广是马尔可夫可交换性：迪亚科尼斯与弗里德曼于1980年证明，分布律在保持转移计数的置换下不变的序列恰好是马尔可夫链的混合，正如普通可交换序列是 i.i.d. 抽样的混合<sup>[4](https://www.sciencedirect.com/topics/mathematics/exchangeability)</sup>。波利亚（Pólya）瓮模型是可交换分布的一个经典例子，其混合结构乍看并不明显<sup>[11](https://web.mit.edu/Asuman/Desktop/asuman/www/documents/XE1.pdf)</sup>。

## 在概率论与统计学中的应用

**贝叶斯推断。** 可交换性是贝叶斯方法的标准起点：假设观测构成可交换序列，德·菲内蒂定理给出一个带参数的统计模型、该参数上的先验分布，以及未来观测的后验预测分布<sup>[8](https://pmc.ncbi.nlm.nih.gov/articles/PMC10041353/)</sup>。在二元情形中，条件变量 \( \theta \) 自然作为未知成功概率出现，定理为贝叶斯分析提供了融贯性<sup>[2](https://www.annualreviews.org/doi/pdf/10.1146/annurev-statistics-040220-015348)</sup>。可交换性还与费希尔（Fisher）的子总体概念相联系，允许对总体中的异质结构进行有原则的处理<sup>[2](https://www.annualreviews.org/doi/pdf/10.1146/annurev-statistics-040220-015348)</sup>。超越普通序列，基于部分可交换性的预测构造涵盖马尔可夫链、固定设计回归、多实验以及阵列和网络数据<sup>[17](https://arxiv.org/abs/2402.10126)</sup>。

**检验与预测。** 在置换检验中，原假设下数据的可交换性为重新随机化标签提供了依据；在共形预测中，预测集的有效性依赖于训练数据与新数据之间的分布相似性，并且已提出基于鞅的方法在数据以流形式到达时检验可交换性<sup>[9](https://pmc.ncbi.nlm.nih.gov/articles/PMC11115382/)</sup>。未能验证可交换性是统计偏差的一个来源，如辛普森悖论中那样<sup>[18](https://www.mdpi.com/2078-2489/16/12/1034)</sup>。

**复杂随机结构。** 可交换性为构造有限随机结构的无限极限提供了一个纲领：在一个 \( n \) 元结构内抽取 \( k \) 个 i.i.d. 元素，考察诱导子结构，并取 \( n \to \infty \) 的极限，这些极限自动可交换且在 \( k \) 上一致<sup>[7](https://www.stat.berkeley.edu/~aldous/Papers/me128.pdf)</sup>。加利福尼亚大学伯克利分校统计学教授戴维·J·奥尔德斯（David J. Aldous）综述的应用包括随机合并与碎裂过程、连续随机树、随机图中距离的极限、带概率测度的度量空间的等距类，以及稠密随机图的极限<sup>[19](https://arxiv.org/abs/0909.4339)</sup>。在稠密图情形中，部分可交换表示定理刻画了可能的极限对象，这一刻画由洛瓦兹（Lovász）与塞格迪（Szegedy）在其图极限理论中独立获得<sup>[19](https://arxiv.org/abs/0909.4339)</sup>。

## 变体与几何

奥尔德斯1985年的综述引入了一种对应于无限离散立方体对称性的可交换性形式。关于可交换序列、阵列和集合索引族的已知表示定理意味着，此类测度构成的紧凸集是鲍尔（Bauer）单纯形，即其极点构成闭集；对于立方体可交换性，该集合反而是波尔森（Poulsen）单纯形，其中极点稠密<sup>[20](https://www.arxiv.symmetricfunctions.com/paper/0808.2268v1)</sup>。后续研究进一步推广了德·菲内蒂–休伊特–萨维奇定理；一项结果确立：对于可交换随机元素序列，条件 i.i.d. 成立当且仅当在给定可交换σ代数后，每个随机元素都具有正则条件分布<sup>[21](https://arxiv.org/abs/2312.16349)</sup>。

## References

1. [Werner Kirsch (2019). An elementary proof of de Finetti's theorem. Statistics & Probability Letters 151, 84–88.](https://www.sciencedirect.com/science/article/pii/S0167715219300902)
2. [Exchangeability (Annual Review of Statistics and Its Application).](https://www.annualreviews.org/doi/pdf/10.1146/annurev-statistics-040220-015348)
3. [Exchangeability and de Finetti's Theorem, Explained. Quant Memo.](https://quantmemo.com/concepts/exchangeability-and-de-finettis-theorem)
4. [Exchangeability – an overview. ScienceDirect Topics.](https://www.sciencedirect.com/topics/mathematics/exchangeability)
5. [De Finetti's theorem (lecture notes), Ryan Tibshirani et al., UC Berkeley.](https://www.stat.berkeley.edu/~ryantibs/papers/defin.pdf)
6. [Persi Diaconis, David Freedman (1980). Finite Exchangeable Sequences. Annals of Probability 8(6), 745–764.](https://dml.mathdoc.fr/item/1176994663/)
7. [David J. Aldous. Exchangeability and Discrete Structures (paper me128).](https://www.stat.berkeley.edu/~aldous/Papers/me128.pdf)
8. [Statistical inference with exchangeability and martingales. Phil. Trans. R. Soc. A / PMC.](https://pmc.ncbi.nlm.nih.gov/articles/PMC10041353/)
9. [A simple and flexible test of sample exchangeability with applications to statistical genomics. PMC.](https://pmc.ncbi.nlm.nih.gov/articles/PMC11115382/)
10. [Exchangeable random variables. PlanetMath.](https://planetmath.org/exchangeablerandomvariables)
11. [Exchangeable Equilibria, Part I. MIT (Asuman Ozdaglar).](https://web.mit.edu/Asuman/Desktop/asuman/www/documents/XE1.pdf)
12. [Exchangeability and de Finetti. STAT 520 notes, University of British Columbia.](https://www.stat.ubc.ca/~bouchard/courses/stat520-sp2021-22/T11-definetti.html)
13. [De Finetti theorem. Encyclopedia of Mathematics.](https://encyclopediaofmath.org/wiki/De_Finetti_theorem)
14. [Bruno de Finetti (1937). La prévision : ses lois logiques, ses sources subjectives. Annales de l'institut Henri Poincaré 7(1), 1–68.](https://numdam.org/item/AIHP_1937__7_1_1_0/)
15. [Cameron Freer, Daniel Roy (2009). The Computable de Finetti Theorem.](https://www.cfreer.org/papers/FreerRoyCiE2009.pdf)
16. [Representation theorems for partially exchangeable random variables. ScienceDirect.](https://www.sciencedirect.com/science/article/abs/pii/S0165011414004837)
17. [Sandra Fortini, Sonia Petrone (2024). Exchangeability, prediction and predictive modeling in Bayesian statistics. arXiv.](https://arxiv.org/abs/2402.10126)
18. [Exchangeability and Bayesian Inference: A Theoretical and Computational Framework for Reliable Experimental Data Analysis. Information (MDPI) 16(12), 1034.](https://www.mdpi.com/2078-2489/16/12/1034)
19. [David J. Aldous (2009). More Uses of Exchangeability: Representations of Complex Random Structures. arXiv.](https://arxiv.org/abs/0909.4339)
20. [On the geometry of a class of invariant measures and a problem of Aldous. arXiv.](https://www.arxiv.symmetricfunctions.com/paper/0808.2268v1)
21. [De Finetti's theorem and the existence of regular conditional distributions and strong laws on exchangeable algebras. arXiv.](https://arxiv.org/abs/2312.16349)

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

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Probability theory › Random variables › Exchangeability, independence, and Gaussian structure › Exchangeability and de Finetti theory

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/exchangeable-random-variables

English original: https://www.edgepedia.org/exchangeable-random-variables
