paper

The Energy Complexity of Las Vegas Leader Election

arXiv:2205.08642

Abstract

We consider the time and energy complexities of randomized leader election in a multiple-access channel, where the number of devices is unknown. It is well-known that for polynomial-time randomized leader election algorithms with success probability , the optimal energy complexity is if receivers can detect collisions, and otherwise. Without collision detection, all existing randomized leader election algorithms using energy are Monte Carlo in that they may fail with some small probability, and they may consume unbounded energy and never halt when they fail. Though the optimal energy complexity of leader election appears to be settled, it is still an open question to attain the optimal energy complexity by an efficient Las Vegas algorithm that never fails. In this paper we address this fundamental question. Without collision detection, we prove that any Las Vegas leader election algorithm with finite expected time complexity must use energy, establishing a large separation between Monte Carlo and Las Vegas algorithms. In the setting where senders can detect collisions, we design a new leader election algorithm that finishes in time and uses energy in expectation, showing that sender collision detection helps improve the energy complexity exponentially. As a side result, via derandomization, we show a new deterministic algorithm that takes time and energy to elect a leader from devices, where each device has a unique identifier in . This algorithm is time-optimal and energy-optimal.