# 切尔诺夫界

切尔诺夫界是随机变量尾概率的一个指数上界，其做法是对指数随机变量 \( e^{tX} \) 应用马尔可夫（Markov）不等式，然后选择参数 \( t \)，使所得界尽可能小<sup>[1](https://mathworld.wolfram.com/ChernoffBound.html)</sup>。这个名称并不指某一个不等式，而指一种技术——对尾概率获得指数递减的界，最著名的是针对独立随机变量之和的情形<sup>[2](https://crypto.stanford.edu/~blynn/pr/chernoff.html)</sup>。它因赫尔曼·切尔诺夫（Herman Chernoff）而得名；他在《数理统计年鉴》1952 年的论文中，在假设检验的背景下发展了这一方法<sup>[3](https://cir.nii.ac.jp/crid/1571980075561167488)</sup>。

| 关键事实 | 详情 |
|---|---|
| 核心思想 | 对 \( e^{tX} \) 应用马尔可夫不等式，得到 \( \Pr[X \ge a] \le \min_{t>0} e^{-ta} E[e^{tX}] \)，其中 \( E[e^{tX}] \) 是矩母函数<sup>[1](https://mathworld.wolfram.com/ChernoffBound.html)</sup> |
| 乘性形式（上尾） | 对于独立 0/1 试验，且 \( E[\sum X_i] = \mu \)：\( \Pr[X > (1+\epsilon)\mu] < \left[ \frac{e^{\epsilon}}{(1+\epsilon)^{(1+\epsilon)}} \right]^{\mu} \)<sup>[4](https://courses.csail.mit.edu/6.856/21/Notes/n6-chernoff.html)</sup> |
| 简单上尾形式 | 对所有 \( \epsilon \)：\( e^{-\mu\epsilon^2/(2+\epsilon)} \)；对 \( \epsilon < 1 \)：\( e^{-\mu\epsilon^2/3} \)；对 \( \epsilon < 2e-1 \)：\( e^{-\mu\epsilon^2/4} \)<sup>[4](https://courses.csail.mit.edu/6.856/21/Notes/n6-chernoff.html)</sup> |
| 下尾 | \( \Pr[X < (1-\epsilon)\mu] < \left[ \frac{e^{-\epsilon}}{(1-\epsilon)^{(1-\epsilon)}} \right]^{\mu} \)，且以 \( e^{-\mu\epsilon^2/2} \) 为界<sup>[4](https://courses.csail.mit.edu/6.856/21/Notes/n6-chernoff.html)</sup> |
| 依赖关系 | 该界依赖于 \( \mu \)，而不依赖于变量个数 \( n \)，并且随 \( \mu \) 指数衰减<sup>[4](https://courses.csail.mit.edu/6.856/21/Notes/n6-chernoff.html)</sup> |
| 起源 | 赫尔曼·切尔诺夫，《数理统计年鉴》23, 493–509 (1952)；斯坦福（Stanford）技术报告 SOL ONR 6，1951 年 11 月<sup>[3](https://cir.nii.ac.jp/crid/1571980075561167488)</sup><sup> • </sup><sup>[5](https://statistics.stanford.edu/technical-reports/measure-asymptotic-efficiency-tests-hypothesis-based-sum-observations)</sup> |

## 一般方法

起点是马尔可夫不等式，它表明非负随机变量 \( X \) 满足 \( \Pr[X \ge a] \le E(X)/a \)<sup>[6](https://math.mit.edu/~goemans/18310S15/chernoff-notes.pdf)</sup>。因为当 \( t > 0 \) 时 \( e^{tx} \) 递增且非负，事件 \( X \ge c \) 与 \( e^{tX} \ge e^{tc} \) 相同，于是马尔可夫不等式给出

\[ \Pr[X \ge c] \le \frac{E(e^{tX})}{e^{tc}} = M_X(t)e^{-tc}, \]

其中 \( M_X(t) = E(e^{tX}) \) 是 \( X \) 的矩母函数<sup>[7](https://data140.org/textbook/content/chapter-19/chernoff-bound/)</sup>。由于 \( t \) 可以是任意正数，最紧的界是优化形式

\[ \Pr[X \ge c] \le \min_{t > 0} M_X(t)e^{-tc}. \]

对 \( -X \) 应用同样的论证，可得到下尾的界<sup>[1](https://mathworld.wolfram.com/ChernoffBound.html)</sup>。该方法要求所选 \( t \) 使矩母函数有限；它对厚尾分布失效，例如柯西（Cauchy）分布，因为柯西分布根本没有有限矩<sup>[8](https://theorempath.com/topics/chernoff-bounds)</sup>。

**独立性为何重要。** 对于独立变量之和 \( X = X_1 + \cdots + X_N \)，矩母函数分解为乘积，\( M_X(t) = \prod_i M_{X_i}(t) \)，这正是该界特别有用的原因：它可以表明和显著偏离其期望的概率呈指数级减小<sup>[1](https://mathworld.wolfram.com/ChernoffBound.html)</sup>。这些界一般取 \( e^{-r(n)\epsilon^2} \) 的形式，其中速率 \( r(n) \) 为 \( n \) 阶<sup>[9](https://www.stat.cmu.edu/~cshalizi/sml/21/lectures/05/lecture-05.html)</sup>。

## 乘性切尔诺夫界

最常用的形式适用于独立伯努利（Bernoulli）试验之和；当成功概率 \( p_i \) 不同时，这种试验有时称为泊松（Poisson）试验。令 \( X = \sum_{i=1}^N X_i \)，其中 \( X_i \) 以概率 \( p_i \) 等于 1，否则为 0；并令 \( \mu = E[X] = \sum_i p_i \)<sup>[2](https://crypto.stanford.edu/~blynn/pr/chernoff.html)</sup>。对 \( \epsilon > 0 \)，

\[ \Pr[X > (1+\epsilon)\mu] < \left[ \frac{e^{\epsilon}}{(1+\epsilon)^{(1+\epsilon)}} \right]^{\mu}. \]

该界与 \( n \) 无关，并且作为 \( \mu \) 的指数函数，其底数小于 1<sup>[4](https://courses.csail.mit.edu/6.856/21/Notes/n6-chernoff.html)</sup>。证明对 \( e^{tX} \) 应用马尔可夫不等式，利用独立性写成 \( E[e^{tX}] = \prod_i E[e^{tX_i}] \)，用 \( 1 + p_i(e^t - 1) \le e^{p_i(e^t-1)} \) 界定每个因子，并对 \( t \) 最小化；最优值为 \( t = \ln(1+\epsilon) \)<sup>[4](https://courses.csail.mit.edu/6.856/21/Notes/n6-chernoff.html)</sup><sup> • </sup><sup>[2](https://crypto.stanford.edu/~blynn/pr/chernoff.html)</sup>。

由于精确形式用起来不便，更粗糙但更友好的近似是标准做法<sup>[2](https://crypto.stanford.edu/~blynn/pr/chernoff.html)</sup>：

- 对所有 \( \epsilon \)：\( \Pr[X > (1+\epsilon)\mu] < e^{-\mu\epsilon^2/(2+\epsilon)} \)；
- 对 \( \epsilon < 1 \)：\( \Pr[X > (1+\epsilon)\mu] < e^{-\mu\epsilon^2/3} \)；
- 对 \( \epsilon < 2e-1 \)：\( \Pr[X > (1+\epsilon)\mu] < e^{-\mu\epsilon^2/4} \)；
- 对较大的 \( \epsilon \)：\( \Pr[X > (1+\epsilon)\mu] < 2^{-(1+\epsilon)\mu} \)<sup>[4](https://courses.csail.mit.edu/6.856/21/Notes/n6-chernoff.html)</sup>。

对 \( e^{-tX} \) 应用同样的论证，可界定下尾：\( \Pr[X < (1-\epsilon)\mu] < \left[ \frac{e^{-\epsilon}}{(1-\epsilon)^{(1-\epsilon)}} \right]^{\mu} \)，而它又可由 \( e^{-\mu\epsilon^2/2} \) 界定<sup>[4](https://courses.csail.mit.edu/6.856/21/Notes/n6-chernoff.html)</sup>。

**界的适用范围。** 该界可推广到分布在 \( [0,1] \) 范围内的任意变量，而不只是 0/1 试验<sup>[4](https://courses.csail.mit.edu/6.856/21/Notes/n6-chernoff.html)</sup>。与霍夫丁（Hoeffding）不等式相比，只要 \( E[X] \) 很大，切尔诺夫界就给出良好的界，而且不关心变量有多少个；霍夫丁不等式通常有更好的常数因子，并且适用于变量可正可负的情形<sup>[10](https://www.cs.cornell.edu/courses/cs4850/2025sp/notes/2025-02-10.pdf)</sup>。

## 这个界有多紧

当 \( \epsilon \approx 1/\sqrt{\mu} \) 时，也就是绝对误差约为 \( \sqrt{\mu} \) 时，这个界变得不灵敏；这是意料之中的，因为和的标准差约为 \( \sqrt{\mu} \)<sup>[4](https://courses.csail.mit.edu/6.856/21/Notes/n6-chernoff.html)</sup>。若 \( \mu = \Omega(\log n) \)，则常数 \( \epsilon \) 偏差的概率为 \( O(1/n) \)；当多项式数量的事件必须同时成立时，这很有用<sup>[4](https://courses.csail.mit.edu/6.856/21/Notes/n6-chernoff.html)</sup>。

对于方差为 \( \sigma^2 \) 的高斯（Gaussian）随机变量，对 \( t \) 最小化 \( e^{-tc + \sigma^2 t^2/2} \) 得到 \( \Pr[X - \mu \ge c] \le e^{-c^2/(2\sigma^2)} \)，与精确尾部的指数相匹配<sup>[9](https://www.stat.cmu.edu/~cshalizi/sml/21/lectures/05/lecture-05.html)</sup><sup> • </sup><sup>[7](https://data140.org/textbook/content/chapter-19/chernoff-bound/)</sup>。中心化矩母函数满足 \( M_X(t) \le e^{t^2 c^2/2} \) 的分布称为次高斯分布，它们对样本均值继承同样的 \( e^{-n\epsilon^2/(2c^2)} \) 界<sup>[9](https://www.stat.cmu.edu/~cshalizi/sml/21/lectures/05/lecture-05.html)</sup>。

## 切尔诺夫界与霍夫丁不等式

对于独立同分布的伯努利变量，\( X_i \sim \mathrm{Ber}(p) \) 且 \( \mu = np \)，霍夫丁不等式给出 \( \Pr[|X - \mu| \ge \delta\mu] \le 2\exp(-2\delta^2 p^2 n) \)，而切尔诺夫界给出 \( 2\exp(-\tfrac{1}{3}\delta^2 p n) \)<sup>[11](https://jhc.sjtu.edu.cn/~kuanyang/teaching/CS3341/notes/lec05.pdf)</sup>。对于 \( p > 1/6 \)，霍夫丁不等式在不计常数因子时更紧；对于更小的 \( p \)，切尔诺夫界明显更好，因为它对 \( p \) 的依赖是线性的而不是二次的<sup>[11](https://jhc.sjtu.edu.cn/~kuanyang/teaching/CS3341/notes/lec05.pdf)</sup>。在一个抽样例子中，盒子中比例为 \( p \) 的球是红球；要在 \( 1 \pm 0.01 \) 的因子内估计 \( p \)，使用切尔诺夫界需要 \( \Omega(1/p) \) 次抽取，而使用霍夫丁不等式需要 \( \Omega(1/p^2) \) 次抽取<sup>[11](https://jhc.sjtu.edu.cn/~kuanyang/teaching/CS3341/notes/lec05.pdf)</sup>。霍夫丁 1963 年的论文包含对这些界的比较<sup>[12](https://www.cs.cmu.edu/afs/cs.cmu.edu/academic/class/15850-f18/www/)</sup>。

## 历史

赫尔曼·切尔诺夫于 1952 年在《数理统计年鉴》发表《基于观测和的一类假设检验的渐近效率测度》（第 23 卷，第 493–509 页）；斯坦福技术报告版本 SOL ONR 6 的日期为 1951 年 11 月<sup>[3](https://cir.nii.ac.jp/crid/1571980075561167488)</sup><sup> • </sup><sup>[5](https://statistics.stanford.edu/technical-reports/measure-asymptotic-efficiency-tests-hypothesis-based-sum-observations)</sup>。切尔诺夫本人将该界的证明归功于赫尔曼·鲁宾（Herman Rubin）<sup>[12](https://www.cs.cmu.edu/afs/cs.cmu.edu/academic/class/15850-f18/www/)</sup>。N. 伯恩斯坦（N. Bernstein）<sup>[13](https://imechanica.egr.uh.edu/sites/default/files/ConcOfMeasure_master.pdf)</sup>。2025 年的一篇综述收集了切尔诺夫和霍夫丁开创性论文中的原始界，以及各种形式的衍生界<sup>[14](https://arxiv.org/abs/2506.15612)</sup>。

## 应用

该界是随机算法分析中的标准工具。课程中的讲解将它应用于负载均衡：取 \( \delta = c - 1 \) 的切尔诺夫界与并集界相结合，表明以至少 \( 1 - 1/n \) 的概率，没有处理器收到超过平均负载常数倍的任务<sup>[15](https://fanchung.ucsd.edu/teach/202/14/13RandomizedAlgorithms.pdf)</sup>；也应用于集合平衡<sup>[11](https://jhc.sjtu.edu.cn/~kuanyang/teaching/CS3341/notes/lec05.pdf)</sup>，以及优惠券收集问题和统计估计<sup>[16](https://people.cs.umass.edu/~cmusco/CS614S24/schedule.html)</sup>。一个相关的泊松尾界指出，对于速率为 \( \lambda \) 的泊松随机变量，当 \( t > \lambda \) 时，\( \Pr[X \ge t] \le e^{-\lambda}(e\lambda/t)^t \)<sup>[11](https://jhc.sjtu.edu.cn/~kuanyang/teaching/CS3341/notes/lec05.pdf)</sup>。该技术还被推广到独立和之外，例如推广到有限状态马尔可夫链的函数之和的大偏差的最优切尔诺夫型界<sup>[17](https://arxiv.org/abs/1907.04467)</sup>。

## References

1. [Chernoff Bound, Wolfram MathWorld](https://mathworld.wolfram.com/ChernoffBound.html)
2. [The Chernoff Bound, Stanford University (B. Lynn)](https://crypto.stanford.edu/~blynn/pr/chernoff.html)
3. [A measure of asymptotic efficiency for tests of a hypothesis based on the sum of observations, CiNii Research](https://cir.nii.ac.jp/crid/1571980075561167488)
4. [6.856 Lecture Notes: Chernoff Bound, MIT CSAIL](https://courses.csail.mit.edu/6.856/21/Notes/n6-chernoff.html)
5. [A Measure of Asymptotic Efficiency for Tests of an Hypothesis Based on the Sum of Observations, Stanford Department of Statistics](https://statistics.stanford.edu/technical-reports/measure-asymptotic-efficiency-tests-hypothesis-based-sum-observations)
6. [Chernoff bounds, and some applications (M. Goemans, MIT 18.310 lecture notes)](https://math.mit.edu/~goemans/18310S15/chernoff-notes.pdf)
7. [Chernoff Bound, Data 140 Textbook, UC Berkeley](https://data140.org/textbook/content/chapter-19/chernoff-bound/)
8. [Chernoff Bounds, TheoremPath](https://theorempath.com/topics/chernoff-bounds)
9. [Deviation Bounds I: Markov Inequality etc. (C. Shalizi, CMU lecture notes)](https://www.stat.cmu.edu/~cshalizi/sml/21/lectures/05/lecture-05.html)
10. [Summary: Chernoff and Hoeffding deliver similar results, Cornell CS 4850 notes](https://www.cs.cornell.edu/courses/cs4850/2025sp/notes/2025-02-10.pdf)
11. [CS3341 Lecture 5 notes, Shanghai Jiao Tong University (K. Yang)](https://jhc.sjtu.edu.cn/~kuanyang/teaching/CS3341/notes/lec05.pdf)
12. [15-850: CMU Advanced Algorithms, Fall 2018](https://www.cs.cmu.edu/afs/cs.cmu.edu/academic/class/15850-f18/www/)
13. [Concentration of Measure lecture notes, University of Houston](https://imechanica.egr.uh.edu/sites/default/files/ConcOfMeasure_master.pdf)
14. [A survey of Chernoff and Hoeffding bounds (A. V. Gerbessiotis, arXiv 2025)](https://arxiv.org/abs/2506.15612)
15. [Randomized Algorithms lecture notes, UC San Diego (F. Chung)](https://fanchung.ucsd.edu/teach/202/14/13RandomizedAlgorithms.pdf)
16. [COMPSCI 614: Randomized Algorithms with Applications to Data Science, UMass Amherst](https://people.cs.umass.edu/~cmusco/CS614S24/schedule.html)
17. [Optimal Chernoff and Hoeffding Bounds for Finite State Markov Chains, arXiv](https://arxiv.org/abs/1907.04467)

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

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Probability theory › Expectation, moments, and inequalities › Exponential and Chernoff-type bounds

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/chernoff-bound

English original: https://www.edgepedia.org/chernoff-bound
