We consider leader election in clique networks, where $n$ nodes are connected by point-to-point communication links. For the synchronous clique under simultaneous wake-up, i.e., where all nodes start executing the algorithm in round $1$, we show a tradeoff between the number of messages and the amount of time. More specifically, we show that any deterministic algorithm with a message complexity of $n f(n)$ requires $\Omega\left(\frac{\log n}{\log f(n)+1}\right)$ rounds, for $f(n) = \Omega(\log n)$. Our result holds even if the node IDs are chosen from a relatively small set of size $\Theta(n\log n)$, as we are able to avoid using Ramsey's theorem. We also give an upper bound that improves over the previously-best tradeoff. Our second contribution for the synchronous clique under simultaneous wake-up is to show that $\Omega(n\log n)$ is in fact a lower bound on the message complexity that holds for any deterministic algorithm with a termination time $T(n)$. We complement this result by giving a simple deterministic algorithm that achieves leader election in sublinear time while sending only $o(n\log n)$ messages, if the ID space is of at most linear size. We also show that Las Vegas algorithms (that never fail) require $\Theta(n)$ messages. For the synchronous clique under adversarial wake-up, we show that $\Omega(n^{3/2})$ is a tight lower bound for randomized $2$-round algorithms. Finally, we turn our attention to the asynchronous clique: Assuming adversarial wake-up, we give a randomized algorithm that achieves a message complexity of $O(n^{1 + 1/k})$ and an asynchronous time complexity of $k+8$. For simultaneous wake-up, we translate the deterministic tradeoff algorithm of Afek and Gafni to the asynchronous model, thus partially answering an open problem they pose.
翻译:我们考虑团网络中的领导者选举问题,其中 $n$ 个节点通过点对点通信链路连接。对于同步唤醒下的同步团(即所有节点在第 $1$ 轮开始执行算法),我们展示了消息数量与时间量之间的权衡。具体而言,我们证明任何消息复杂度为 $n f(n)$ 的确定性算法需要 $\Omega\left(\frac{\log n}{\log f(n)+1}\right)$ 轮,其中 $f(n) = \Omega(\log n)$。即使节点 ID 从相对较小的集合(大小为 $\Theta(n\log n)$)中选择,我们的结果仍然成立,因为我们能够避免使用拉姆齐定理。我们还给出了一个上界,改进了先前的最佳权衡。我们在同步唤醒下同步团的第二个贡献是证明 $\Omega(n\log n)$ 实际上是对任何终止时间为 $T(n)$ 的确定性算法成立的消息复杂度下界。作为对这一结果的补充,我们给出了一个简单的确定性算法,该算法在发送仅 $o(n\log n)$ 条消息的情况下,在亚线性时间内实现领导者选举,前提是 ID 空间最多为线性大小。我们还证明了拉斯维加斯算法(从不失败)需要 $\Theta(n)$ 条消息。对于对抗性唤醒下的同步团,我们证明 $\Omega(n^{3/2})$ 是随机化 $2$ 轮算法的紧下界。最后,我们关注异步团:在对抗性唤醒假设下,我们给出一个随机化算法,其消息复杂度为 $O(n^{1 + 1/k})$,异步时间复杂度为 $k+8$。对于同步唤醒,我们将 Afek 和 Gafni 的确定性权衡算法转化为异步模型,从而部分回答了它们提出的一个开放问题。