批量均衡分配:双选择之塔
Balanced Allocations in Batches: The Tower of Two Choices
AI总结:
针对并行批量分配中大批次下 Two-Choice 形成“塔”的问题,本文证明适当混合 One-Choice 与 Two-Choice 可将间隙降至 $\Theta(\sqrt{(b/n)\log n})$,并达到任意过程的最优下界。
摘要:
在均衡分配中,目标是将 $m$ 个球放入 $n$ 个箱子,以最小化间隙(最大负载与平均负载之差)。One-Choice 过程将每个球放入一个独立且均匀随机采样的箱子。Two-Choice 过程将球放入两个被采样箱子中负载较轻的一个。最后,$(1+β)$-过程混合这些过程,即每个球以概率 $β\in(0,1)$ 使用 Two-Choice 进行分配,否则使用 One-Choice。尽管 Two-Choice 在顺序设置下是最优的,但实践中已经观察到,它在负载信息可能过时的并行环境中表现不佳。遵循 [BCEFN12],我们研究这样一种并行设置:球以大小为 $b$ 的批次进行分配,同一批次内的球采用相同策略并基于相同的负载信息进行分配。对于 $b\in[n,n\log n]$ 的小批量规模,[LS22a] 已表明,在所有具有常数次采样的过程中,Two-Choice 实现了渐近最优的间隙。在本工作中,我们关注 $b\in[n\log n,n^3]$ 的更大批量规模。[LS22c] 证明 Two-Choice 会导致 $Θ(b/n)$ 的间隙。作为我们的主要结果,我们证明:如果以适当选择的 $β$ 运行 $(1+β)$-过程,间隙会降至 $O(\sqrt{(b/n)\cdot\log n})$(事实上,该结果对更大一类过程成立)。这不仅证明了 Two-Choice 并非最佳的现象(它会导致在先前较轻的箱子上形成“塔”),也证明了混合两种过程(One-Choice 和 Two-Choice)所得到的过程实现了比两者都渐近更小的间隙。我们还为任意分配过程推导出相匹配的下界 $Ω(\sqrt{(b/n)\cdot\log n})$,表明上述 $(1+β)$-过程是渐近最优的。
英文摘要:
In balanced allocations, the goal is to place $m$ balls into $n$ bins, so as to minimize the gap (difference of max to average load). The One-Choice process places each ball to a bin sampled independently and uniformly at random. The Two-Choice process places balls in the least loaded of two sampled bins. Finally, the $(1+β)$-process mixes these processes, meaning each ball is allocated using Two-Choice with probability $β\in(0,1)$, and using One-Choice otherwise. Despite Two-Choice being optimal in the sequential setting, it has been observed in practice that it does not perform well in a parallel environment, where load information may be outdated. Following [BCEFN12], we study such a parallel setting where balls are allocated in batches of size $b$, and balls within the same batch are allocated with the same strategy and based on the same load information. For small batch sizes $b\in[n,n\log n]$, it was shown in [LS22a] that Two-Choice achieves an asymptotically optimal gap among all processes with a constant number of samples. In this work, we focus on larger batch sizes $b\in[n\log n,n^3]$. It was proved in [LS22c] that Two-Choice leads to a gap of $Θ(b/n)$. As our main result, we prove that the gap reduces to $O(\sqrt{(b/n)\cdot\log n})$, if one runs the $(1+β)$-process with an appropriately chosen $β$ (in fact this result holds for a larger class of processes). This not only proves the phenomenon that Two-Choice is not the best (leading to the formation of "towers" over previously light bins), but also that mixing two processes (One-Choice and Two-Choice) leads to a process which achieves a gap that is asymptotically smaller than both. We also derive a matching lower bound of $Ω(\sqrt{(b/n)\cdot\log n})$ for any allocation process, which demonstrates that the above $(1+β)$-process is asymptotically optimal.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。