How asymmetry helps buffer management: achieving optimal tail size in cup games
William Kuszmaul
Abstract
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 Õ(log n) with high probability in n for 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 Õ(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/ poly n) amount of resource augmentation is sufficient to overcome this barrier.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 6ff100c4-908e-4daa-a3e2-e9283995fa30Builds on2
Related papers
- Randomized Cup Game Algorithms Against Strong AdversariesMichael A. Bender, William KuszmaulSODA 2021 · 5 citations
- Multi-Armed Bandits with Bounded Arm-Memory: Near-Optimal Guarantees for Best-Arm Identification and Regret MinimizationArnab Maiti, Vishakha Patil, Arindam KhanNeurIPS 2021 · 19 citations
- Multi-Leader Congestion Games with an AdversaryTobias Harks, Mona Henle, Max Klimm, Jannik Matuschke et al.AAAI 2022 · 4 citations
- Tight Bounds for Parallel Paging and Green PagingKunal Agrawal, Michael A. Bender, Rathish Das, William Kuszmaul et al.SODA 2021 · 11 citations
- History-Independent Load BalancingMichael A. Bender, William Kuszmaul, Elaine Shi, Rose SilverSODA 2026 · 1 citation
