南京大学:《高级算法 Advanced Algorithms》课程教学资源(课件讲稿)05 Concentration of measure

Advanced Algorithms Concentration of Measure 尹一通Nanjing University,2022Fall
尹⼀通 Nanjing University, 2022 Fall Advanced Algorithms Concentration of Measure

Measure Concentration Flip a coin for many times: flips-1 flips -5 flips 50 flips -500 fips-500000 0.8 10.8 0.8 0.8 0.8 0.6 0.6 0.6 0.6 0.6 0.4 0.4 0.4 0.4 0.4 0.2 0.2 0.2 0.2 0.2 0 0 0 0 0 0 0 0
• Flip a coin for many times: Measure Concentration

Chernoff-Hoeffding Bounds
Chernoff-Hoeffding Bounds

Chernoff Bound (Bernstein Inequalities) Life in Los Angeles 价 PLOY 《RBAN STRES T RATE MED MED. Herman Chernoff 品 Chernoff face
Chernoff Bound (Bernstein Inequalities) Herman Chernoff Chernoff face

Chernoff Bound Chernoff Bound: For independent X,,Xn∈{0,l}with X=∑X,andu=E[X灯 i=1 For anyδ>0, e1os(可) For any 0<<1, Hirs0-(a-苏可》
Chernoff Bound Chernoff Bound: For independent with and For any , For any , X1, …, Xn ∈ {0,1} X = n ∑ i=1 Xi μ = 피[X] δ > 0 Pr[X ≥ (1 + δ)μ] ≤ ( eδ (1 + δ)(1+δ) ) μ 0 < δ < 1 Pr[X ≤ (1 − δ)μ] ≤ ( e−δ (1 − δ)(1−δ) ) μ

Chernoff Bound Chernoff Bound: For independent X1,,Xn∈{0,l}with X=∑X;andu=E[X] i=1 For any 0<<1, Pr[X≥(1+6)W≤ex (〉 Pr[X≤(1-δ)W川]≤exp Fort≥2eu: Pr[X≥1≤2-t
Chernoff Bound Chernoff Bound: For independent with and For any , For : X1, …, Xn ∈ {0,1} X = n ∑ i=1 Xi μ = 피[X] 0 < δ < 1 Pr[X ≥ (1 + δ)μ] ≤ exp (−μδ2 3 ) Pr[X ≤ (1 − δ)μ] ≤ exp (−μδ2 2 ) t ≥ 2eμ Pr[X ≥ t] ≤ 2−t

Balls into Bins m balls are thrown into n bins. X;:number of balls in the i-th bin [1 withprob,,为 whnereX 17 1 j=1 with prob.1 n m Xi~Bin(m,1/n) =E[X]= n Chernoff Bound:For 6>0, PrX,≥(1+4≤ ed a+
Balls into Bins m balls are thrown into n bins. X number of balls in the i-th bin i : X where i = m ∑ j=1 Xij Xij = 1 with prob. 1 n 0 with prob. 1 − 1 n Chernoff Bound: For δ > 0, Pr[Xi ≥ (1 + δ)μ] ≤ ( eδ (1 + δ)(1+δ) ) μ μ = 피[Xi ] = m n Xi ∼ Bin(m,1/n)

m balls are thrown into n bins. m E[X;]= X;:number of balls in the i-th bin n Chernoff Bound:For 6>0, Pr[X,≥(1+δ)4≤ ·When m=n:u=l ≥法 elnn for L= n2 In Inn 。union bound: n婴x≥sn民≥小s分 1<i≤n Max load is o logn loglogn w.h.p
m balls are thrown into n bins. X number of balls in the i-th bin i : μ = 피[Xi ] = m n • When : • union bound: m = n μ = 1 Pr[Xi ≥ L] ≤ eL eLL ≤ 1 n2 for L = e ln n ln ln n Pr [ max 1≤i≤n Xi ≥ L ] ≤ n Pr[Xi ≥ L] ≤ 1 n Max load is O w.h.p. ( log n log log n ) Chernoff Bound: For δ > 0, Pr[Xi ≥ (1 + δ)μ] ≤ ( eδ (1 + δ)(1+δ) ) μ

m balls are thrown into n bins. m =E[X]= X;:number of balls in the i-th bin n Chernoff Bound:For L>2eu, PrX≥L≤2b ·When m≥nlnn:u≥lnn k≥-mk≥s2w≤2" 1 n2 ·union bound: Pr 1≤i≤n 二 Max load is w.h.p
m balls are thrown into n bins. X number of balls in the i-th bin i : μ = 피[Xi ] = m n Chernoff Bound: For L ≥ 2eμ, Pr[Xi ≥ L] ≤ 2−L • When : • union bound: m ≥ n ln n μ ≥ ln n Pr [ Xi ≥ 2em n ] = Pr[Xi ≥ 2eμ] ≤ 1 n2 Pr [ max 1≤i≤n Xi ≥ 2em n ] ≤ n Pr [ Xi ≥ 2em n ] ≤ 1 n Max load is O w.h.p. ( m n ) ≤ 2−2eμ ≤ 2−2e ln n

Balls into Bins m balls are thrown into n bins uniformly and independently: Theorem:With high probability,the maximum load is ∫o(=) when m =n o() when m≥nlnn balls =100,bins =100 balls =2000,bins =100 40 ek 20 dbkor wwlww 0 40 60 80 100 20 40 60 80 100 balls =600,bins =100 balls =5000,bins =100 20 100 10 arthb soLlaLitiuu 0 20 40 60 80 100 20 40 60 80 100
Theorem: With high probability, the maximum load is O ( log n log log n) when m = n O ( m n ) when m ≥ n ln n • m balls are thrown into n bins uniformly and independently: Balls into Bins
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 南京大学:《高级算法 Advanced Algorithms》课程教学资源(课件讲稿)04 Hashing and Sketching.pdf
- 南京大学:《高级算法 Advanced Algorithms》课程教学资源(课件讲稿)03 Balls into Bins.pdf
- 南京大学:《高级算法 Advanced Algorithms》课程教学资源(课件讲稿)02 Fingerprinting.pdf
- 南京大学:《高级算法 Advanced Algorithms》课程教学资源(课件讲稿)01 Introduction - Min-Cut and Max-Cut(尹⼀通).pdf
- 南京大学:《高级算法 Advanced Algorithms》课程教学资源(课件讲稿)03 Balls-into-Bins Model and Chernoff Bounds.pptx
- 《量子计算》课程教学资源(阅读文献)Lecture Notes on Quantum Algorithms(Andrew M. Childs).pdf
- 《量子计算》课程教学资源(阅读文献)Quantum Computation and Quantum Information(10th Anniversary Edition,Michael A. Nielsen & Isaac L. Chuang).pdf
- 《理论计算机科学》课程教学资源(阅读文献)Computational Complexity - A Modern Approach.pdf
- 《理论计算机科学》课程教学资源(阅读文献)Approximation via Correlation Decay when Strong Spatial Mixing Fails(HIS).pdf
- 《理论计算机科学》课程教学资源(阅读文献)Galton–Watson process - Branching.pdf
- 《理论计算机科学》课程教学资源(阅读文献)Analysis Of Boolean Functions(Ryan O’Donnell).pdf
- 南京大学:《概率论与数理统计 Probability and Statistics》课程教学资源(PPT课件讲稿)Lecture 14 假设检验.pptx
- 南京大学:《概率论与数理统计 Probability and Statistics》课程教学资源(PPT课件讲稿)Lecture 13 区间估计(参数估计).pptx
- 南京大学:《概率论与数理统计 Probability and Statistics》课程教学资源(PPT课件讲稿)Lecture 12 点估计(参数估计).pptx
- 南京大学:《概率论与数理统计 Probability and Statistics》课程教学资源(PPT课件讲稿)Lecture 11 统计量与抽样分布.pptx
- 南京大学:《概率论与数理统计 Probability and Statistics》课程教学资源(PPT课件讲稿)Lecture 10 极限理论.pptx
- 南京大学:《概率论与数理统计 Probability and Statistics》课程教学资源(PPT课件讲稿)Lecture 09 典型二维连续型随机变量、相关系数.pptx
- 南京大学:《概率论与数理统计 Probability and Statistics》课程教学资源(PPT课件讲稿)Lecture 08 典型连续型随机变量的分布.pptx
- 南京大学:《概率论与数理统计 Probability and Statistics》课程教学资源(PPT课件讲稿)Lecture 07 连续型随机变量.pptx
- 南京大学:《概率论与数理统计 Probability and Statistics》课程教学资源(PPT课件讲稿)Lecture 06 概率化方法(主讲:唐斌).pptx
- 南京大学:《高级算法 Advanced Algorithms》课程教学资源(课件讲稿)06 Dimension Reduction.pdf
- 南京大学:《高级算法 Advanced Algorithms》课程教学资源(课件讲稿)07 Lovász Local Lemma.pdf
- 南京大学:《高级算法 Advanced Algorithms》课程教学资源(课件讲稿)08 Greedy and Local Search.pdf
- 南京大学:《高级算法 Advanced Algorithms》课程教学资源(课件讲稿)09 Rounding Dynamic Programs.pdf
- 南京大学:《高级算法 Advanced Algorithms》课程教学资源(课件讲稿)10 Rounding Linear Programs.pdf
- 南京大学:《高级算法 Advanced Algorithms》课程教学资源(课件讲稿)11 The Primal-Dual Schema.pdf
- 南京大学:《高级算法 Advanced Algorithms》课程教学资源(课件讲稿)12 SDP-Based Algorithms.pdf
- 电子科技大学:《图论及其应用 Graph Theory and its Applications》研究生课程教学资源(教学大纲,杨春).pdf
- 电子科技大学:《图论及其应用 Graph Theory and its Applications》研究生课程教学资源(课件讲稿)01 图论简介、图的定义及其相关概念、图的同构.pdf
- 电子科技大学:《图论及其应用 Graph Theory and its Applications》研究生课程教学资源(课件讲稿)02 完全图、偶图与补图、顶点的度与图的度序列.pdf
- 电子科技大学:《图论及其应用 Graph Theory and its Applications》研究生课程教学资源(课件讲稿)03 子图的相关概念、几种典型的图运算、路与连通性.pdf
- 电子科技大学:《图论及其应用 Graph Theory and its Applications》研究生课程教学资源(课件讲稿)04 图的代数表示、最短路算法.pdf
- 电子科技大学:《图论及其应用 Graph Theory and its Applications》研究生课程教学资源(课件讲稿)05 邻接谱、邻接代数与图空间、托兰定理.pdf
- 电子科技大学:《图论及其应用 Graph Theory and its Applications》研究生课程教学资源(课件讲稿)06 树的概念与应用、树的性质、树的中心与形心.pdf
- 电子科技大学:《图论及其应用 Graph Theory and its Applications》研究生课程教学资源(课件讲稿)07 生成树的概念与性质、生成树的计数、回路系统简介.pdf
- 电子科技大学:《图论及其应用 Graph Theory and its Applications》研究生课程教学资源(课件讲稿)08 克鲁斯克尔算法、管梅谷的破圈法、Prim算法、根树简介.pdf
- 电子科技大学:《图论及其应用 Graph Theory and its Applications》研究生课程教学资源(课件讲稿)09 图的连通性(割边、割点和块).pdf
- 电子科技大学:《图论及其应用 Graph Theory and its Applications》研究生课程教学资源(课件讲稿)10 网络的容错性参数.pdf
- 电子科技大学:《图论及其应用 Graph Theory and its Applications》研究生课程教学资源(课件讲稿)11 图的宽直径简介.pdf
- 电子科技大学:《图论及其应用 Graph Theory and its Applications》研究生课程教学资源(课件讲稿)12 欧拉图与哈密尔顿图(欧拉图与中国邮路问题).pdf