arXiv:2611.03959cs.DMNov 2026

Manuscript Offprint

arXiv:2611.03959

Mixing Time of the Random-Pair Monte Shuffle

Ilya Mironov

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

In the random-pair Monte shuffle on nn cards, each step chooses two positions independently and uniformly and exchanges their cards with probability 1/21/2. The chosen positions are public; the decisions to exchange cards remain hidden. We prove that the mixing time in expected conditional total variation distance is 2nlog⁡n+O(n)2n \log n + O(n), with an exact leading constant and an O(n)O(n) cutoff window. To our knowledge, this is the first public-schedule Monte shuffle whose full-permutation mixing time has been determined up to an additive O(n)O(n) term.

The upper bound follows by comparing two executions with the same public schedule to a classical random-transposition walk. For the lower bound, we construct a schedule-dependent test function and estimate its variance using a matrix-averaging operator. Combined with the depth bound of Czumaj and Lingas, the mixing estimate gives public switching networks with at most 2nlog⁡n+O(n)2n \log n + O(n) switches and O(log⁡n)O(\log n) depth for fixed error and failure probabilities.

The author obtained this result through interaction with GPT-6 Astra.

1 Introduction

The random-transposition shuffle chooses two positions independently and uniformly at each step and exchanges the cards at those positions. Diaconis and Shahshahani [DS81] proved that its mixing time is 12nlog⁡n+O(n)\frac{1}{2}n \log n + O(n). We ask how the mixing time changes when the chosen positions are revealed and the only hidden choice is whether to exchange the two cards.

We study the random-pair Monte shuffle, which exchanges the cards at a uniformly sampled pair of positions with probability 1/21/2. The sequence of pairs, called the schedule, is public, and the exchange decisions are independent hidden bits. For each schedule we measure the total variation distance of the resulting distribution on permutations from uniform, and then average this distance over schedules.

In this paper we prove that the mixing time is 2nlog⁡n+O(n)2n \log n + O(n). Revealing the schedule therefore doubles the leading term relative to the ordinary 1/21/2-lazy random-transposition shuffle, whose mixing time is nlog⁡n+Oε(n)n \log n + O_{\varepsilon}(n). Together with the factor of two due to laziness, this gives a factor of four relative to classical random transpositions.

Our shuffle is an instance of the Monte framework introduced by Morris [Mor09]. Here we consider shuffles specified by a public schedule of fair switches, each of which either exchanges the cards at two specified positions or leaves them in place, with equal probabilities. The schedule may be fixed, as in the Thorp shuffle, or random, as in our model. Several Monte shuffles are known to mix in Θ(nlog⁡n)\Theta(n \log n) individual switches, including the Thorp shuffle by a recent result [Ope26].

Our bounds determine both the leading constant and an O(n)O(n) cutoff window. Saloff-Coste and Zúñiga, in their refined analysis of classical random transpositions, observe that “It is quite rare to be able to capture the mixing time of a chain with such precision” [SCZ08]. To our knowledge, the random-pair Monte shuffle is the first public-schedule Monte shuffle whose full-permutation mixing time has been determined up to an additive O(n)O(n) term.

The public schedule defines a switching network, with the hidden bits determining the switch settings. Such networks have cryptographic applications in constructions of Oblivious RAM [GO96] and format-preserving encryption [HMR12]. For an oblivious shuffle based on pairwise exchanges, a switching network captures its threat model: the adversary learns the network from the memory access pattern, while the switch settings remain hidden. Each step reads two records, re-encrypts them in private memory, and writes back, concealing whether they were exchanged. Security of shuffling-based Oblivious RAM requires the final permutation to remain indistinguishable from uniform even given the observed access pattern. Format-preserving encryption can be constructed from a switching network as long as the trajectory of any card can be efficiently traced in both directions.

Disjoint switches commute and can be executed in parallel, provided that their dependencies are respected. Combining our mixing bound with the dependency graph depth estimate of Czumaj and Lingas [CL23] gives, for fixed error and failure probabilities, public switching networks with at most 2nlog⁡n+O(n)2n \log n + O(n) switches and O(log⁡n)O(\log n) depth. The probability is over the choice of the network; the mixing guarantee is conditional on that choice. Explicit bounds are given in Section 3.

References (24)