Space-Optimal Majority in Population Protocols

Population protocols are a model of distributed computing, in which $n$ agents with limited local state interact randomly, and cooperate to collectively compute global predicates. An extensive series of papers, across different communities, has examined the computability and complexity characteristics of this model. Majority, or consensus, is a central task, in which agents need to collectively reach a decision as to which one of two states $A$ or $B$ had a higher initial count. Two complexity metrics are important: the time that a protocol requires to stabilize to an output decision, and the state space size that each agent requires. It is known that majority requires $\Omega(\log \log n)$ states per agent to allow for poly-logarithmic time stabilization, and that $O(\log^2 n)$ states are sufficient. Thus, there is an exponential gap between the upper and lower bounds. We address this question. We provide a new lower bound of $\Omega(\log n)$ states for any protocol which stabilizes in $O( n^{1-c} )$ time, for any $c > 0$ constant. This result is conditional on basic monotonicity and output assumptions, satisfied by all known protocols. Technically, it represents a significant departure from previous lower bounds. Instead of relying on dense configurations, we introduce a new surgery technique to construct executions which contradict the correctness of algorithms that stabilize too fast. Subsequently, our lower bound applies to general initial configurations. We give an algorithm for majority which uses $O(\log n)$ states, and stabilizes in $O(\log^2 n)$ time. Central to the algorithm is a new leaderless phase clock, which allows nodes to synchronize in phases of $\Theta(n \log{n})$ consecutive interactions using $O(\log n)$ states per node. We also employ our phase clock to build a leader election algorithm with $O(\log n )$ states, which stabilizes in $O(\log^2 n)$ time.

[1]  Dan Alistarh,et al.  Polylogarithmic-Time Leader Election in Population Protocols , 2015, ICALP.

[2]  Moez Draief,et al.  Convergence Speed of Binary Interval Consensus , 2010, 2010 Proceedings IEEE INFOCOM.

[3]  K. Sneppen,et al.  Theoretical Analysis of Epigenetic Cell Memory by Nucleosome Modification , 2007, Cell.

[4]  Berthold Vöcking,et al.  Balanced allocations: the heavily loaded case , 2000, STOC '00.

[5]  David Doty,et al.  Timing in chemical reaction networks , 2013, SODA.

[6]  Milan Vojnovic,et al.  Using Three States for Binary Consensus on Complete Graphs , 2009, IEEE INFOCOM 2009.

[7]  Petra Berenbrink,et al.  Plurality Consensus via Shuffling: Lessons Learned from Load Balancing , 2016, ArXiv.

[8]  Dan Alistarh,et al.  Fast and Exact Majority in Population Protocols , 2015, PODC.

[9]  Colin Cooper,et al.  Population protocols for leader election and exact majority with O(log^2 n) states and O(log^2 n) convergence time , 2017, ArXiv.

[10]  Ho-Lin Chen,et al.  Speed faults in computation by chemical reaction networks , 2014, Distributed Computing.

[11]  David Eisenstat,et al.  Fast computation by population protocols with a leader , 2006, Distributed Computing.

[12]  Luca Cardelli,et al.  The Cell Cycle Switch Computes Approximate Majority , 2012, Scientific Reports.

[13]  James M. Bower,et al.  Computational modeling of genetic and biochemical networks , 2001 .

[14]  Merav Parter,et al.  A Polylogarithmic Gossip Algorithm for Plurality Consensus , 2016, PODC.

[15]  Leszek Gasieniec,et al.  Fast Space Optimal Leader Election in Population Protocols , 2017, SODA.

[16]  David Soloveichik,et al.  Stable leader election in population protocols requires linear time , 2015, Distributed Computing.

[17]  Paul G. Spirakis,et al.  Determining majority in networks with local interactions and very small local memory , 2014, Distributed Computing.

[18]  David Eisenstat,et al.  A simple population protocol for fast robust approximate majority , 2007, Distributed Computing.

[19]  David Eisenstat,et al.  The computational power of population protocols , 2006, Distributed Computing.

[20]  Dan Alistarh,et al.  Time-Space Trade-offs in Population Protocols , 2016, SODA.

[21]  Luca Cardelli,et al.  Programmable chemical controllers made from DNA. , 2013, Nature nanotechnology.

[22]  Kunal Talwar,et al.  Graphical balanced allocations and the (1 + β)‐choice process , 2015, Random Struct. Algorithms.

[23]  Michael J. Fischer,et al.  Computation in networks of passively mobile finite-state sensors , 2004, PODC '04.