Fast Space Optimal Leader Election in Population Protocols

The model of population protocols refers to the growing in popularity theoretical framework suitable for studying pairwise interactions within a large collection of simple indistinguishable entities, frequently called agents. In this paper the emphasis is on the space complexity in fast leader election via population protocols governed by the random scheduler, which uniformly at random selects pairwise interactions within the population of n agents. The main result of this paper is a new fast and space optimal leader election protocol. The new protocol utilises O(log^2 n) parallel time (which is equivalent to O(n log^2 n) sequential pairwise interactions), and each agent operates on O(log log n) states. This double logarithmic space usage matches asymptotically the lower bound 1/2 log log n on the minimal number of states required by agents in any leader election algorithm with the running time o(n/polylog n). Our solution takes an advantage of the concept of phase clocks, a fundamental synchronisation and coordination tool in distributed computing. We propose a new fast and robust population protocol for initialisation of phase clocks to be run simultaneously in multiple modes and intertwined with the leader election process. We also provide the reader with the relevant formal argumentation indicating that our solution is always correct, and fast with high probability.

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

[2]  Andrzej Pelc,et al.  Knowledge, Level of Symmetry, and Time of Leader Election , 2012, ESA.

[3]  Gary L. Peterson,et al.  An O(nlog n) Unidirectional Algorithm for the Circular Extrema Problem , 1982, TOPL.

[4]  David Eisenstat,et al.  A Simple Population Protocol for Fast Robust Approximate Majority , 2007, DISC.

[5]  Daniel S. Hirschberg,et al.  Decentralized extrema-finding in circular configurations of processors , 1980, CACM.

[6]  Luca Cardelli,et al.  Programming discrete distributions with chemical reaction networks , 2016, Natural Computing.

[7]  Ho-Lin Chen,et al.  Speed Faults in Computation by Chemical Reaction Networks , 2014, DISC.

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

[9]  Andrzej Pelc,et al.  Leader election for anonymous asynchronous agents in arbitrary networks , 2012, Distributed Computing.

[10]  Yves Mocquard,et al.  Counting with Population Protocols , 2015, 2015 IEEE 14th International Symposium on Network Computing and Applications.

[11]  Hagit Attiya,et al.  Distributed Computing: Fundamentals, Simulations and Advanced Topics , 1998 .

[12]  Alexandr Andoni,et al.  Tight Lower Bounds for Data-Dependent Locality-Sensitive Hashing , 2015, SoCG.

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

[14]  Andrzej Pelc,et al.  Time vs. information tradeoffs for leader election in anonymous trees , 2016, SODA 2016.

[15]  David Soloveichik,et al.  Stable Leader Election in Population Protocols Requires Linear Time , 2015, DISC.

[16]  Hagit Attiya,et al.  Better Computing on the Anonymous Ring , 1988, J. Algorithms.

[17]  Paul G. Spirakis,et al.  Deterministic Population Protocols for Exact Majority and Plurality , 2017, OPODIS.

[18]  Dana Angluin,et al.  Local and global properties in networks of processors (Extended Abstract) , 1980, STOC '80.

[19]  Mohamed Jmaiel,et al.  Electing a leader in the local computation model using mobile agents , 2008, 2008 IEEE/ACS International Conference on Computer Systems and Applications.

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

[21]  Paul G. Spirakis,et al.  Passively mobile communicating machines that use restricted space , 2011, Theor. Comput. Sci..

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

[23]  Danny Dolev,et al.  Self-Stabilizing Pulse Synchronization Inspired by Biological Pacemaker Networks , 2003, Self-Stabilizing Systems.

[24]  Dan Alistarh,et al.  Space-Optimal Majority in Population Protocols , 2017, SODA.

[25]  Sebastiano Vigna,et al.  Computing anonymously with arbitrary knowledge , 1999, PODC '99.

[26]  Jennifer L. Welch,et al.  Self-Stabilizing Clock Synchronization in the Presence of ByzantineFaults ( Preliminary Version ) Shlomi Dolevy , 1995 .

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

[28]  Andrzej Pelc,et al.  Trade-offs Between the Size of Advice and Broadcasting Time in Trees , 2008, SPAA '08.

[29]  Andrzej Pelc,et al.  Leader Election in Rings with Nonunique Labels , 2004, Fundam. Informaticae.

[30]  Masafumi Yamashita,et al.  Computing on Anonymous Networks: Part I-Characterizing the Solvable Cases , 1996, IEEE Trans. Parallel Distributed Syst..

[31]  George Giakkoupis,et al.  Efficient Plurality Consensus, Or: the Benefits of Cleaning up from Time to Time , 2016, ICALP.

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

[33]  Nancy A. Lynch,et al.  Electing a leader in a synchronous ring , 1987, JACM.

[34]  Masafumi Yamashita,et al.  Electing a Leader when Processor Identity Numbers are not Distinct (Extended Abstract) , 1989, WDAG.

[35]  Paul G. Spirakis,et al.  The Match-Maker: Constant-Space Distributed Majority via Random Walks , 2015, SSS.

[36]  Anish Arora,et al.  Maintaining Digital Clocks In Step , 1991, WDAG.

[37]  Sebastiano Vigna,et al.  Symmetry Breaking in Anonymous Networks: Characterizations , 1996, ISTCS.

[38]  Andrea E. F. Clementi,et al.  Plurality Consensus in the Gossip Model , 2014, SODA.

[39]  Gérard Le Lann,et al.  Distributed Systems - Towards a Formal Approach , 1977, IFIP Congress.

[40]  Paul G. Spirakis,et al.  Simple and efficient local codes for distributed stable network construction , 2013, Distributed Computing.

[41]  Paola Flocchini,et al.  Sorting and election in anonymous asynchronous rings , 2004, J. Parallel Distributed Comput..