Benjamin Doerr
Max-Planck-Institut für Informatik Saarbrücken
Tutorial: Theory of RaSH Made Easy Benjamin Doerr - - PowerPoint PPT Presentation
Tutorial: Theory of RaSH Made Easy Benjamin Doerr Max-Planck-Institut fr Informatik Saarbrcken Outline: Some Theory of RaSH Part I: Drift Analysis Motivation: Explains daily life A simple and powerful drift theorem 4
Max-Planck-Institut für Informatik Saarbrücken
Benjamin Doerr
Benjamin Doerr
Benjamin Doerr
E(Mt) = (1/2)t M0 Truth: 10.95 is possible
Benjamin Doerr
– Doob (1953), Tweedie (1976), Hajek (1982): Fundamental work, mathematical. – Early EA works (‘Dortmund’ 1995- ): Use direct methods, coupon collector, Chernoff bounds, ... [could have been done with drift] – Expected weight decrease method: ‘Drift-thinking’, but technical effort necess- ary to cope with not using drift analysis [should have been done with drift] – He&Yao (2001-04): First explicit use of drift analysis in EA theory. – Now: Many drift theorems and applications [BD: the above is the coolest ☺]
δ x
δ x c n ≤ n−c
Benjamin Doerr
δ x
δ x c n ≤ n−c
Benjamin Doerr
Best possible
Benjamin Doerr
Benjamin Doerr
Benjamin Doerr
Benjamin Doerr
Benjamin Doerr
Benjamin Doerr
Benjamin Doerr
New! [DJW10,
in expectation]
Benjamin Doerr
1 1 6 7 4 5 8
Benjamin Doerr
1 1 6 7 4 5 8
f(T) = 1+4+5+1 = 11 f(T) = 1+6+8+5+cpenalty= HUGE
Benjamin Doerr
1 1 6 7 4 5 8
Benjamin Doerr
1 1 6 7 4 5 8
Xt=2
Benjamin Doerr
1 1 6 7 4 5 8
e1 e2 e’2 e’1 Xt = 6+8+1+5 – 11 = 9
Benjamin Doerr
δ x
δ x c n ≤ n−c
Benjamin Doerr
Benjamin Doerr
Benjamin Doerr
no coupon yet START 1 coupon 2 coupons ☺ (n-1)/n 1/n 2/n (n-2)/n 3 coupons ☺ 3/n k coupons ☺ k+1 coupons ☺ (n-k)/n k/n (k+1)/n (n-k-1)/n n-2 coupons ☺ n-1 coupons ☺ 2/n (n-2)/n (n-1)/n 1/n all coupons ☺ 1
Benjamin Doerr
no coupon yet START 1 coupon 2 coupons ☺ (n-1)/n 1/n 2/n (n-2)/n 3 coupons ☺ 3/n k coupons ☺ k+1 coupons ☺ (n-k)/n k/n (k+1)/n (n-k-1)/n n-2 coupons ☺ n-1 coupons ☺ 2/n (n-2)/n (n-1)/n 1/n all coupons ☺ 1 T0=0 T1=1 1 round n/(n-1) rounds T2=2+1/(n-1) T3=3+1/(n-1)+2/(n-2) n/(n-2) rounds
Benjamin Doerr
no coupon yet START 1 coupon 2 coupons ☺ (n-1)/n 1/n 2/n (n-2)/n 3 coupons ☺ 3/n k coupons ☺ k+1 coupons ☺ (n-k)/n k/n (k+1)/n (n-k-1)/n n-2 coupons ☺ n-1 coupons ☺ 2/n (n-2)/n (n-1)/n 1/n all coupons ☺ 1 Tn=0 Tn-1=n Tn-2=n(1+1/2) Tn-3=n(1+1/2+1/3) n rounds n/2 rounds n/3 rounds
Benjamin Doerr
k coupons ☺ k+1 coupons ☺ (n-k)/n k/n (k+1)/n (n-k-1)/n Tk Tk+1
Benjamin Doerr
1 2 3 n-1 n
Benjamin Doerr
Benjamin Doerr
Benjamin Doerr
– From k to k+1 with prob. (1/2) qk [bit k+2 must be zero] – From k to k+2 with prob. (1/4) qk [bit k+2 is one, k+3 is zero] – From k to k+3 with prob. (1/8) qk …
Benjamin Doerr
k k+1 k+2 qk/2 k+3 1-qk qk/8 qk/4
Benjamin Doerr
k k+1 k+2 qk/2 k+3 1-qk qk/8 qk/4
Benjamin Doerr
k k+1 k+2 qk/2 k+3 1-qk qk/8 qk/4
Benjamin Doerr
k k+1 k+2 qk/2 k+3 1-qk qk/8 qk/4
Benjamin Doerr