非对称性如何帮助缓冲区管理:在杯赛中实现最佳尾部大小
How Asymmetry Helps Buffer Management: Achieving Optimal Tail Size in Cup Games
摘要:
$n$杯子上的杯子游戏是一个多步游戏,有两个玩家,一个填充者和一个清空者。在每个步骤中,灌装机在杯子之间分配$1$单位的水,然后清空者选择单个杯子以从其中移除(最多)$1$单位的水。有几个目标函数,清空者可能希望最小化。最有力的保证之一是最小化尾部尺寸,尾部尺寸定义为填充$2$或更大的杯数。一个简单的下界构造表明,确定性清空算法的最佳尾部大小是$Θ(n)$。我们提出了一个简单的随机清空算法,实现尾部大小$\tilde{O}(\log n)$与高概率$n$的$\operatorname{poly} n$步骤。此外,我们表明,这是紧的双对数因子。我们还将我们的结果扩展到多处理器杯游戏,在$n$中以高概率在$p$处理器上实现尾部大小$\tilde{O}(\log n + p)$。我们表明,对$p$的依赖是接近最佳的任何清空算法,实现多项式有界的积压。一个自然的问题是,我们的结果是否可以扩展到给无限的保证,这适用于任意长的游戏。我们给出了一个下界的建设表明,没有单调的无记忆清空算法可以实现无休止的保证,无论是尾部大小或相关的目标函数的积压。另一方面,我们表明,即使是一个非常小的(即,$1 / \operatorname{poly} n$)的资源增加量足以克服这一障碍。
英文摘要:
The cup game on $n$ cups is a multi-step game with two players, a filler and an emptier. At each step, the filler distributes $1$ unit of water among the cups, and then the emptier selects a single cup to remove (up to) $1$ unit of water from. There are several objective functions that the emptier might wish to minimize. One of the strongest guarantees would be to minimize tail size, which is defined to be the number of cups with fill $2$ or greater. A simple lower-bound construction shows that the optimal tail size for deterministic emptying algorithms is $Θ(n)$, however. We present a simple randomized emptying algorithm that achieves tail size $\tilde{O}(\log n)$ with high probability in $n$ for $\operatorname{poly} n$ steps. Moreover, we show that this is tight up to doubly logarithmic factors. We also extend our results to the multi-processor cup game, achieving tail size $\tilde{O}(\log n + p)$ on $p$ processors with high probability in $n$. We show that the dependence on $p$ is near optimal for any emptying algorithm that achieves polynomial-bounded backlog. A natural question is whether our results can be extended to give unending guarantees, which apply to arbitrarily long games. We give a lower bound construction showing that no monotone memoryless emptying algorithm can achieve an unending guarantee on either tail size or the related objective function of backlog. On the other hand, we show that even a very small (i.e., $1 / \operatorname{poly} n$) amount of resource augmentation is sufficient to overcome this barrier.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。