Thorp Shuffling, Butterflies, and Non-Markovian Couplings
Thorp Shuffling, Butterflies, and Non-Markovian Couplings
复制标题
DOI:
10.1007/978-3-662-43948-7_29
复制
发表时间:
2014-07
期刊:
影响因子:
--
通讯作者:
A. Czumaj;Berthold Vöcking
中科院分区:
文献类型:
--
作者:
A. Czumaj;Berthold Vöcking
Thorp shuffleis a simple model for a random riffle shuffle that for many years has eluded good analysis. In Thorp shuffle, one first cuts a deck of cards in half, and then starts dropping the cards from the left or right hand as with an ordinary shuffle, so that at each time, one chooses the left or right card with probabilityand drops it, and then drops the card from the opposite hand. Then one continues this inductively until all cards have been dropped. The question is how many times one has to repeat this process to randomly shuffle a deck ofncards. Despite its rather simple description and wide interest in understanding its behavior, Thorp shuffle has been very difficult to analyze and only very recently, Morris showed that Thorp shuffle mixes in a polylogarithmic number of rounds.In our main result, we show that if Thorp shuffle mixes sequences consisting ofn−kdistinct elements together withkidentical elements (so-calledk-partial n-permutations) withk= Θ(n), thenrounds are sufficient to randomly mix the input elements. In other words,Thorp shuffles withninput elements randomly permutes any set ofcnelements with anyc< 1, or, equivalently, is almostcn-wise independent. The key technical part of our proof is a novel analysis of the shuffling process that usesnon-Markovian coupling. While non-Markovian coupling is known to be more powerful than the Markovian coupling, our treatment is one of only a few examples where strictly non-Markovian coupling can be used to formally prove a strong mixing time. Our non-Markovian coupling is used to reduce the problem to the analysis of some random process in networks (in particular, whennis a power of two then this is in a butterfly network), which we solve using combinatorial and probabilistic arguments.Our result can be used to randomly permute any number of elements using Thorp shuffle: If the input deck hasNcards, then add another set of 0.01N“empty” cards and runThorp shuffles. Then, if we remove the empty cards, the obtained deck will have the originalNcards randomly permuted.We also analyze a related shuffling process that we callPerfect shuffle. We cut a deck ofncards into two halves, randomly permute each half, and then perform one step of Thorp shuffle. Apart from being interesting on its own, our motivation to study this process is that a single Perfect shuffle is very similar toThorp shuffles, and thus understanding of Perfect shuffle can shed some light on the performance of Thorp shuffle. We apply coupling to show that Perfect shuffle mixes insteps, which we conjecture to be asymptotically tight.