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

贪心算法在杯游戏中优势与局限性

The Semi-Oblivious Cup Game: an Imperfect Information Setting

University of Cambridge(剑桥大学);MIT CSAIL(麻省理工学院计算机科学与人工智能实验室);MIT(麻省理工学院)

Kalina Jasińska, John Kuszmaul, Gyudong Lee

AI总结:

本文研究了贪心算法在杯游戏中的性能,证明其积压量下界为2.076,推翻了之前的猜想,并提出了一种混合算法在三种不同设置中均实现渐进最优性能。

摘要:

在杯游戏中,对手每次时间步将1单位的水分配到n个杯中。玩家随后选择一个杯子来移除1单位的水。在竹子修剪问题中,对手必须为每个杯子选择固定的速率,而玩家还被允许完全清空所选的杯子。过去的研究表明,在这两种设置中,最优的积压量分别为Θ(log n)和2。贪心算法在一般杯游戏中已被证明是恰好最优的,在竹子设置中是渐进最优的。在竹子设置中,贪心算法被推测[16]可以达到恰好最优的积压量2。在本文中,我们证明了贪心算法的积压量下界为2.076,推翻了[16]的推测。我们还引入了一种新的算法,即混合贪心/截止驱动算法,该算法在一般杯游戏中实现了积压量O(log n),并在竹子修剪问题和固定速率杯游戏中保持了恰好最优性——这是第一个在三种设置中均实现渐进最优性能的算法。此外,我们引入了一种新的模型,即半遗忘杯游戏,在该模型中,玩家对每个杯子的确切高度不确定。我们分析了贪心算法在该设置中的性能,这可以视为在常数乘法因子内选择任意一个最满的杯子。我们证明了匹配的上界和下界,显示贪心算法在半遗忘杯游戏中实现了积压量Θ(n^{(c-1)/c})。我们还建立了匹配的上界和下界为2^{Θ(√log n)}在半遗忘杯冲刷游戏中。最后,我们证明在加法误差设置中,贪心算法实际上能够实现积压量Θ(log n),通过匹配的上界和下界。

英文摘要:

In the cup game, an adversary distributes $1$ unit of water among $n$ initially empty cups during each time step. The player then selects a single cup from which to remove up to $1$ unit of water, with the goal of minimizing the backlog, i.e., the supremum of the height of the fullest cup over all time steps. In the cup flushing game, the player is additionally allowed to empty the chosen cup entirely. Past work has shown that the optimal backlog in both of these settings is $Θ(\log n)$. Furthermore, the \textbf{greedy} algorithm, which always removes water from the fullest cup, has been shown in previous work to be exactly optimal in both the cup game and the cup flushing game. We introduce a new model, the semi-oblivious cup game, in which the player is uncertain of the exact height of each cup. We analyze the performance of the \textbf{greedy} algorithm in this setting, which can be viewed as selecting an arbitrary cup within a constant multiplicative factor of the fullest cup. We prove matching upper and lower bounds showing that the \textbf{greedy} algorithm achieves a backlog of $Θ(n^{\frac{c-1}{c}})$ in the semi-oblivious cup game. We also establish matching upper and lower bounds of $2^{Θ(\sqrt{\log n})}$ in the semi-oblivious cup flushing game. Finally, we show that in an additive error setting, greedy is actually able to achieve backlog $Θ(\log n)$, via matching upper and lower bounds. All of our lower bounds apply for adaptive adversaries against any (even randomized) algorithm, proving that greedy is asymptotically optimal in the semi-oblivious model.

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

↑