Population protocols for leader election and exact majority with O(log^2 n) states and O(log^2 n) convergence time

We consider the model of population protocols, which can be viewed as a sequence of random pairwise interactions of agents (nodes). We show population protocols for two problems: the leader election and the exact majority voting. The leader election starts with all agents in the same initial state and the goal is to converge to the (global) state when exactly one agent is in a distinct state . The exact majority voting starts with each agent in one of the two distinct states or and the goal is to make all nodes know which of these two states was the initial majority state, even if that majority was just by a single vote. Alistarh and Gelashvili [ICALP 2015] showed a leader-election protocol which converges in time w.h.p. and in expectation and needs states per agent. We present a protocol which elects the leader in time w.h.p. and in expectation and uses states per agent. For the exact majority voting, we show a population protocol with the same asymptotic performance: time and states per agent. The exact-majority protocol proposed by Alistarh et al. [PODC 2015] achieves expected time, but requires a relatively high initial imbalance between 's and 's or a large number of states per agent. More recently, Alistarh et al. [SODA 2017] showed -state protocols for both problems, with the exact majority protocol converging in time , and the leader election protocol converging in time w.h.p. and in expectation. Our leader election and exact majority protocols are based on the idea of agents counting their local interactions and rely on the probabilistic fact that the uniform random selection would limit the divergence of the individual counts.
View on arXiv