arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.15438cs.DS
收藏

随机顺序在线排序的最优高概率界

Optimal High Probability Bounds for Random Order Online Sorting

Seoul National University(首尔大学)

Chenglin Fan, Mingyu Kang

AI总结:

该研究针对随机顺序在线排序问题,证明最优最坏情况竞争比为Θ(log n),提出的在线算法可实现O(log n)高概率竞争比,且不存在能改进该对数依赖的随机在线算法。

摘要:

在随机顺序在线排序问题中,固定的n个实数的多重集合以均匀随机顺序到达,每个值必须立即且不可撤销地放入恰好有n个位置的数组的空位置中,目标是最小化连续元素之间绝对差的总和。如果提前知晓全部输入,对值进行排序将是最优的,其成本等于输入的范围。我们证明,在该模型中,最优最坏情况竞争比在高概率下为Θ(log n)。具体而言,我们给出了一个单一在线算法,对于每个固定输入,该算法在高概率下实现O(log n)的竞争比;同时我们表明,每个随机在线算法都存在某个固定输入,在该输入下高概率下不可避免地达到Ω(log n)的比率。相同的上界也适用于从实数线上任意未知分布中抽取的独立样本。该算法利用随机到达顺序,从已看到的值中学习未来值的相对位置,它维护输入顺序的小区域层次结构,当某个到达值的偏好区域已满时,允许其使用附近的空间,这种灵活性避免了为不太可能的局部波动预留大量空间。分析表明,随着位移规模增大,大位移的可能性迅速降低,从而得到O(log n)的高概率界;匹配的下界则表明,没有任何随机在线算法能在最坏情况下改进对数依赖关系。

英文摘要:

In random order online sorting, a fixed multiset of $n$ real numbers arrives in a uniformly random order. Each value must be placed immediately and irrevocably into an empty position of an array with exactly $n$ positions. The objective is to minimize the sum of the absolute differences between consecutive entries. If the entire input were known in advance, sorting the values would be optimal and would have cost equal to the range of the input. We prove that the optimal worst case competitive ratio in this model is $Θ(\log n)$ with high probability. In particular, we give a single online algorithm that achieves an $O(\log n)$ competitive ratio with high probability for every fixed input, and we show that every randomized online algorithm has some fixed input on which an $Ω(\log n)$ ratio is unavoidable with high probability. The same upper bound also holds for independent samples from an arbitrary unknown distribution on the real line. The algorithm uses the random arrival order to learn the relative positions of future values from the values seen so far. It maintains a hierarchy of small regions of the input order and allows an arriving value to use nearby space when its preferred region is full. This flexibility avoids the need to reserve large amounts of space for unlikely local fluctuations. The analysis shows that large displacements become rapidly less likely as their scale grows, leading to the $O(\log n)$ high probability bound. A matching lower bound shows that no randomized online algorithm can improve the logarithmic dependence in the worst case.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑