balls into bins model

Balls-into-Bins Model and Chernoff Bounds Advanced Algorithms - PowerPoint PPT Presentation

Balls-into-Bins Model and Chernoff Bounds Advanced Algorithms Nanjing University, Fall 2018 Balls-into-Bins Model m balls Balls-into-Bins Model m balls n bins Balls-into-Bins Model m balls uniformly and independently thrown into n bins


  1. Chernoff Bounds in Action: Load Balancing “ m balls are thrown into n bins uniformly and independently at random” Question: maximum number of balls in a bin? For 𝑛 ≥ 𝑜 ln 𝑜 , 𝜈 ≥ ln 𝑜

  2. Chernoff Bounds in Action: Load Balancing “ m balls are thrown into n bins uniformly and independently at random” Question: maximum number of balls in a bin? For 𝑛 ≥ 𝑜 ln 𝑜 , 𝜈 ≥ ln 𝑜 𝑛 when 𝑛 = Ω(𝑜 log 𝑜) max load is 𝑃 w.h.p. 𝑜

  3. Chernoff Bounds in Action: Load Balancing “ m balls are thrown into n bins uniformly and independently at random” Question: maximum number of balls in a bin? For 𝑛 ≥ 𝑜 ln 𝑜 , 𝜈 ≥ ln 𝑜 𝑛 when 𝑛 = Ω(𝑜 log 𝑜) max load is 𝑃 w.h.p. 𝑜

  4. Chernoff Bounds in Action: Load Balancing “ m balls are thrown into n bins uniformly and independently at random” Question: maximum number of balls in a bin? For 𝑛 ≥ 𝑜 ln 𝑜 , 𝜈 ≥ ln 𝑜 𝑛 when 𝑛 = Ω(𝑜 log 𝑜) max load is 𝑃 w.h.p. 𝑜 𝑛 when 𝑛 = Ω(𝑜 log 𝑜) min load is Ω w.h.p. 𝑜

  5. Load Balancing “ m balls are thrown into n bins uniformly and independently at random” Question: maximum number of balls in a bin?

  6. Load Balancing “ m balls are thrown into n bins uniformly and independently at random” Question: maximum number of balls in a bin?

  7. Chernoff Bounds

  8. Generalization of Markov’s Inequality

  9. Moment Generating Functions

  10. Moment Generating Functions by Taylor’s expansion:

  11. 𝜇 > 0 , and generalized Markov’s inequality

  12. 𝜇 > 0 , and generalized Markov’s inequality

  13. 𝜇 > 0 , and generalized Markov’s inequality independence of X i not linearity of expectation

  14. 𝜇 > 0 , and generalized Markov’s inequality independence of X i not linearity of expectation

  15. 𝜇 > 0 , and generalized Markov’s inequality independence of X i not linearity of expectation

  16. 𝜇 > 0 , and generalized Markov’s inequality independence of X i not linearity of expectation

  17. 𝜇 > 0 , and generalized Markov’s inequality independence of X i not linearity of expectation 1 + 𝑧 ≤ 𝑓 𝑧

  18. 𝜇 > 0 , and generalized Markov’s inequality independence of X i not linearity of expectation 1 + 𝑧 ≤ 𝑓 𝑧

  19. 𝜇 > 0 , and generalized Markov’s inequality independence of X i not linearity of expectation 1 + 𝑧 ≤ 𝑓 𝑧

  20. 𝜇 > 0 , and generalized Markov’s inequality minimized when 𝜇 = ln(1 + 𝜀) independence of X i not linearity of expectation 1 + 𝑧 ≤ 𝑓 𝑧

  21. 𝜇 > 0 , and generalized Markov’s inequality (a) apply Markov’s inequality to moment generating function minimized when 𝜇 = ln(1 + 𝜀) independence of X i not linearity of expectation 1 + 𝑧 ≤ 𝑓 𝑧

  22. 𝜇 > 0 , and generalized Markov’s inequality (a) apply Markov’s inequality to moment generating function minimized when 𝜇 = ln(1 + 𝜀) independence of X i not linearity of expectation (b) bound the value of the moment generating function 1 + 𝑧 ≤ 𝑓 𝑧

  23. 𝜇 > 0 , and generalized Markov’s inequality (a) apply Markov’s inequality to moment generating function minimized when 𝜇 = ln(1 + 𝜀) (c) optimize the bound of the moment generating function independence of X i not linearity of expectation (b) bound the value of the moment generating function 1 + 𝑧 ≤ 𝑓 𝑧

  24. Chernoff Bounds ???

  25. Chernoff Bounds ???

  26. Hoeffding’s Inequality

  27. (Convenient) Hoeffding’s Inequality

  28. Hoeffding’s Lemma

  29. 𝜇 > 0 , and generalized Markov’s inequality

Recommend


More recommend