Online Permutation Embedding: Optimal Stopping and Scaling Laws

๐Ÿ“… 2026-08-19
๐Ÿ“ˆ Citations: 0
โœจ Influential: 0
๐Ÿ“„ PDF
๐Ÿค– AI Summary
็ ”็ฉถ้€š่ฟ‡ๆœ‰ๆ•ˆๅŠจๆ€่ง„ๅˆ’ๅ’Œๅœจ็บฟ็ฎ—ๆณ•่งฃๅ†ณ้šๆœบๅบๅˆ—ไธญๅตŒๅ…ฅ็ป™ๅฎšๆŽ’ๅˆ—็š„้—ฎ้ข˜๏ผŒๅนถๆŽข่ฎจไบ†ไธๅŒ็ฑปๅž‹ๆŽ’ๅˆ—็š„ๆœ€ไผ˜ๅตŒๅ…ฅๆ—ถ้—ดๅŠๅ…ถๆธ่ฟ‘ๆ‰ฉๅฑ•่ง„ๅพ‹ใ€‚
๐Ÿ“ Abstract
We study optimal online algorithms for embedding a permutation $ฯ€$ of $[k]$ into an iid stream of uniform $[0,1]$ random variables. This problem is a broad generalization of the classical online monotone subsequence selection problem, recovered in the special case $ฯ€=\mathrm{Id}_k$. Our first contribution is an efficiently solvable dynamic program for the optimal embedding time of any $k$-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.
Problem

Research questions and friction points this paper is trying to address.

online permutation embedding
optimal stopping
scaling laws
Innovation

Methods, ideas, or system contributions that make the work stand out.

Online Permutation Embedding
Dynamic Program
Optimal Stopping
Scaling Laws
Uniform Random Permutations