Online Permutation Embedding: Optimal Stopping and Scaling Laws
Abstract: We study optimal online algorithms for embedding a permutation of into an iid stream of uniform random variables. This problem is a broad generalization of the classical online monotone subsequence selection problem, recovered in the special case . Our first contribution is an efficiently solvable dynamic program for the optimal embedding time of any -permutation . This dynamic program also yields an explicit optimal online embedding algorithm. We then investigate the asymptotic scaling of the optimal embedding time for uniformly random target permutations, as well as the extremal problem of identifying the permutations with largest expected online embedding time. Our second main result shows that, to first order, random permutations are strictly faster to embed than monotone permutations, which in turn are strictly faster to embed than the extremal permutations. This separation stands in sharp contrast to prevailing conjectures and heuristics in the offline theory of permutation embeddings.
Paper Prompts
Sign up for free to create and run prompts on this paper.