# 典型序列

典型序列是从某个概率分布中抽取的长序列，其每个符号的平均信息含量——即样本熵——接近信源的熵。这些典型序列构成典型集，而典型集是渐近等分性质（AEP）的核心对象；AEP 是大数定律在信息论中的对应物。<sup>[1](https://onlinelibrary.wiley.com/doi/10.1002/0471200611.ch3)</sup> 对于独立同分布信源，任一长度为 n 的观测序列的概率接近 \( 2^{-nH} \)，其中 H 是以比特每符号为单位的熵，因此几乎全部概率质量都集中在大约 \( 2^{nH} \) 个近乎等概率的序列上。<sup>[1](https://onlinelibrary.wiley.com/doi/10.1002/0471200611.ch3)</sup><sup> • </sup><sup>[2](https://academic.oup.com/book/62405/chapter-abstract/555366431)</sup>

| 关键事实 | 细节 |
|---|---|
| 定义 | 当序列 \( x^n \) 的样本熵 \( -\frac{1}{n} \log p(x^n) \) 接近信源熵 H 时，称其为典型序列；容差参数通常记作 \( \delta \) 或 \( \epsilon \)<sup>[4](https://www.markwilde.com/qit-notes.pdf)</sup> |
| 支配定理 | 渐近等分性质是弱大数定律的推论，它表明对于独立同分布信源，\( -\frac{1}{n} \log p(X_1,\dots,X_n) \to H \)<sup>[1](https://onlinelibrary.wiley.com/doi/10.1002/0471200611.ch3)</sup> |
| 三条性质 | 典型集的概率接近 1，包含约 \( 2^{nH} \) 个序列，且其中每个元素的概率约为 \( 2^{-nH} \)<sup>[2](https://academic.oup.com/book/62405/chapter-abstract/555366431)</sup> |
| 规模比较 | 只要生成序列的随机变量不服从均匀分布，典型集就比全体序列构成的集合指数级地小<sup>[3](https://www.cambridge.org/core/books/abs/quantum-information-theory/classical-typicality/2F7F3F28D16365D8B5159880E055987C)</sup> |
| 历史 | 香农于 1948 年对独立同分布过程证明了该性质（在其论文中作为“定理 3”），并将其推广到平稳遍历过程；麦克米伦（1953）和布雷曼（1957）将其推广到有限字母表的遍历信源<sup>[2](https://academic.oup.com/book/62405/chapter-abstract/555366431)</sup><sup> • </sup><sup>[9](https://www.sciencedirect.com/science/article/abs/pii/S0039368108001143)</sup> |
| 变体 | 弱典型性（样本熵接近 H）与强典型性（经验符号频率接近分布）是两种标准类型<sup>[7](https://escholarship.org/content/qt21k56036/qt21k56036_noSplash_0f3e2dc657ca6ddeb48b2998f52d112c.pdf)</sup> |
| 主要用途 | 按熵率进行信源压缩，以及信道编码证明——其中码字从典型序列中随机抽取<sup>[3](https://www.cambridge.org/core/books/abs/quantum-information-theory/classical-typicality/2F7F3F28D16365D8B5159880E055987C)</sup><sup> • </sup><sup>[12](https://academic.oup.com/book/5185/chapter/147879114)</sup> |

## 定义与 AEP

设 \( X_1, X_2, \dots, X_n \) 为独立同分布随机变量，分布为 p(x)，并令 \( p(x^n) \) 表示观测序列的概率。AEP 指出，当 n 很大时，\( -\frac{1}{n} \log p(X_1,\dots,X_n) \) 接近熵 H，因此赋予某个观测序列的概率接近 \( 2^{-nH} \)。<sup>[1](https://onlinelibrary.wiley.com/doi/10.1002/0471200611.ch3)</sup> 这可由大数定律应用于随机变量 \( \log p(X_i) \) 得到，而这些随机变量本身也是独立同分布的。<sup>[2](https://academic.oup.com/book/62405/chapter-abstract/555366431)</sup>

\( \delta \)-典型集 \( T_\delta^{X^n} \) 是所有样本熵落在 H 的 \( \delta \) 邻域内的序列构成的集合。<sup>[4](https://www.markwilde.com/qit-notes.pdf)</sup> 一个具体例子：对于一个以概率 0.1 发出 1 的二元信源，长度为 n 且约含 10% 的 1 的字符串可认为是典型的，而含一半 1 的字符串则不是。<sup>[10](https://files-www.mis.mpg.de/mpi-typo3/preprints/2016/preprint2016_66.pdf)</sup> 由此，AEP 给出典型集 \( A_\epsilon^n \) 的三条性质：其总概率接近 1，其中所有元素近乎等概率，且其规模约为 \( 2^{nH} \)。<sup>[2](https://academic.oup.com/book/62405/chapter-abstract/555366431)</sup> 因此，任何对典型序列证明成立的性质都以高概率成立，并决定了大样本的平均行为。<sup>[1](https://onlinelibrary.wiley.com/doi/10.1002/0471200611.ch3)</sup>

**成员既不常见也不罕见。** 每个典型序列本身只有中等的概率 \( 2^{-nH} \)；大的是集合的总概率，它分散在指数级众多的成员上。当信源不是均匀分布时，该集合比全体 \( |\mathcal{X}|^n \) 个序列构成的集合指数级地小，这正是压缩得以可能的原因。<sup>[5](https://theory.stanford.edu/~blynn/pr/lossy.html)</sup><sup> • </sup><sup>[3](https://www.cambridge.org/core/books/abs/quantum-information-theory/classical-typicality/2F7F3F28D16365D8B5159880E055987C)</sup> 多个随机变量的光滑函数集中在某个常数值附近，这是测度集中这一普遍现象的实例。<sup>[3](https://www.cambridge.org/core/books/abs/quantum-information-theory/classical-typicality/2F7F3F28D16365D8B5159880E055987C)</sup>

## 弱典型性与强典型性

有两种标准的典型性。弱典型性要求样本熵接近 H；强典型性要求每个符号的经验频率接近其在信源分布中的概率。<sup>[7](https://escholarship.org/content/qt21k56036/qt21k56036_noSplash_0f3e2dc657ca6ddeb48b2998f52d112c.pdf)</sup> 弱形式是信息论中最常用的，也是 AEP 直接给出的。<sup>[8](https://doi.org/10.3390/axioms12080727)</sup> 在其强形式中，香农–麦克米伦–布雷曼定理指出，样本熵以概率一收敛到熵率；这一结果由遍历理论推出，涵盖了独立同分布情形之外的平稳遍历过程。<sup>[8](https://doi.org/10.3390/axioms12080727)</sup><sup> • </sup><sup>[14](https://www.cs.purdue.edu/homes/spa/talks/sobczak10.pdf)</sup>

## 历史

香农在其 1948 年的论文中引入了这一思想，AEP 在其中作为“定理 3”出现，并提供了消息的熵与其可被编码的效率之间的基本联系。<sup>[9](https://www.sciencedirect.com/science/article/abs/pii/S0039368108001143)</sup> 他对独立同分布过程证明了该性质，并将其推广到平稳遍历过程；麦克米伦（1953）和布雷曼（1957）后来对有限字母表的遍历信源证明了 AEP。<sup>[2](https://academic.oup.com/book/62405/chapter-abstract/555366431)</sup> 香农本人是在直觉而非技术的意义上使用“典型序列”一词的；典型性的形式化定义是后来才引入的。<sup>[6](https://iest2.ie.cuhk.edu.hk/~whyeung/post/manuscript/06_SAEP/method%20of%20types.pdf)</sup>

## 应用

**信源编码。** AEP 直接导出香农的压缩方案：生成一个序列，检验它是否典型，若是则压缩，否则丢弃。对于任何固定块长，错误概率都非零，但随着 n 增大而趋于零，因为典型集的概率收敛到一。<sup>[3](https://www.cambridge.org/core/books/abs/quantum-information-theory/classical-typicality/2F7F3F28D16365D8B5159880E055987C)</sup> 独立同分布信源的最优渐近压缩速率就是其熵。<sup>[16](https://qi.rub.de/courses/qit21/qit22.pdf)</sup>

**信道编码。** 在随机编码中，码字从典型序列中随机选取，典型性是信道编码定理与容量结果证明的基础。<sup>[12](https://academic.oup.com/book/5185/chapter/147879114)</sup> 现代有限块长分析中的译码规则包括典型性译码，以及最大似然译码和阈值译码。<sup>[13](https://pmc.ncbi.nlm.nih.gov/articles/PMC13424380/)</sup>

**类型方法。** 作为典型序列方法的精细化，类型方法按经验分布将长度为 n 的序列划分为若干类型类。类型类的数目仅多项式增长，对于 m 个符号的字母表至多为 \( (n+1)^m \)，因此对类型取并集不会改变主导的指数速率；在无记忆模型下，同一类型的序列等概率。这使得该方法对误差指数以及概率模型仅部分已知的问题十分有效——在这些情形中，单纯的典型序列方法力有不逮。<sup>[6](https://iest2.ie.cuhk.edu.hk/~whyeung/post/manuscript/06_SAEP/method%20of%20types.pdf)</sup><sup> • </sup><sup>[11](https://lihanqing1997.github.io/notes/information-theory/method-of-types/)</sup>

**超越压缩。** 典型性论证也出现在统计力学中——平衡态微观态占据相空间如此大的区域，以至于热力学行为是典型的；也出现在量子信息论中——经典 AEP 可推广用于压缩量子比特。<sup>[15](https://plato.stanford.edu/entries/statphys-statmech/)</sup><sup> • </sup><sup>[3](https://www.cambridge.org/core/books/abs/quantum-information-theory/classical-typicality/2F7F3F28D16365D8B5159880E055987C)</sup> 近期的有限块长研究用非渐近界以及有损 AEP 的精细化取代渐近 AEP，以服务于短包、低时延通信应用。<sup>[13](https://pmc.ncbi.nlm.nih.gov/articles/PMC13424380/)</sup>

## References

1. [Cover, T.M. and Thomas, J.A. (2001). The Asymptotic Equipartition Property. In Elements of Information Theory. Wiley.](https://onlinelibrary.wiley.com/doi/10.1002/0471200611.ch3)
2. [Loreto, V. et al. Theorem of Shannon, McMillan, Breiman. The Science of the New, Oxford Academic.](https://academic.oup.com/book/62405/chapter-abstract/555366431)
3. [Wilde, M.M. Classical Typicality. Quantum Information Theory, Cambridge University Press.](https://www.cambridge.org/core/books/abs/quantum-information-theory/classical-typicality/2F7F3F28D16365D8B5159880E055987C)
4. [Wilde, M.M. Quantum Information Theory notes, Chapter 14: Classical Typicality.](https://www.markwilde.com/qit-notes.pdf)
5. [Blynn, P. Probability – Lossy Compression, Stanford University.](https://theory.stanford.edu/~blynn/pr/lossy.html)
6. [Csiszár, I. (1998). The Method of Types. IEEE Transactions on Information Theory 44(6).](https://iest2.ie.cuhk.edu.hk/~whyeung/post/manuscript/06_SAEP/method%20of%20types.pdf)
7. [Typicality and Its Application in Videos, UC eScholarship dissertation.](https://escholarship.org/content/qt21k56036/qt21k56036_noSplash_0f3e2dc657ca6ddeb48b2998f52d112c.pdf)
8. [Typical = Random. Axioms 12(8):727 (2023).](https://doi.org/10.3390/axioms12080727)
9. [Some evidence concerning the genesis of Shannon's information theory. ScienceDirect.](https://www.sciencedirect.com/science/article/abs/pii/S0039368108001143)
10. [Max-Planck-Institut preprint 2016-66 on information theory and the AEP.](https://files-www.mis.mpg.de/mpi-typo3/preprints/2016/preprint2016_66.pdf)
11. [Hanqing Li. The Method of Types, lecture notes.](https://lihanqing1997.github.io/notes/information-theory/method-of-types/)
12. [Channel Coding Theorem. Statistical Physics of Spin Glasses and Information Processing, Oxford Academic.](https://academic.oup.com/book/5185/chapter/147879114)
13. [Finite-Blocklength Information Theory. PMC (2025).](https://pmc.ncbi.nlm.nih.gov/articles/PMC13424380/)
14. [Szpankowski, W. Shannon Information Theory and Beyond, Purdue University.](https://www.cs.purdue.edu/homes/spa/talks/sobczak10.pdf)
15. [Philosophy of Statistical Mechanics. Stanford Encyclopedia of Philosophy.](https://plato.stanford.edu/entries/statphys-statmech/)
16. [Lectures Notes on Quantum Information Theory, Ruhr University Bochum.](https://qi.rub.de/courses/qit21/qit22.pdf)

---
*Initially written Oct 15, 2026 · Edited: Oct 25, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Probability theory › Random variables › Convergence of random variables

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/typical-sequence

English original: https://www.edgepedia.org/typical-sequence
