Loosely-Stabilizing Leader Election for Arbitrary Graphs in Population Protocol Model

In the population protocol model [Angluin et al. 2006], it is impossible to design a self-stabilizing leader election protocol without any knowledge of the exact number of nodes in the system. The notion of loose-stabilization, which relaxes the closure requirement of self -stabilization, was introduced in 2009 to circumvent this impossibility. The notion can be described as follows: a loosely-stabilizing protocol guarantees that, starting from any initial configuration, a system reaches a safe configuration eventually, and after that, the system maintains its specification (e.g., the unique leader) not forever, but for a sufficiently long time. The previous work of the authors presented a loosely-stabilizing protocol that solves the leader election on complete graphs using only a given upper bound $N$N on the number of nodes $n$n in the system, instead of the exact value of $n$n. In this paper, we propose two loosely-stabilizing protocols that solve leader election for arbitrary graphs. One is a deterministic protocol that uses the unique identifiers of nodes while the other is a probabilistic protocol that works on anonymous networks. Given an upper bound $N$N on the number of nodes, both protocols maintain a unique leader for $\Omega (Ne^{2N})$Ω(Ne2N) expected steps (holding time) after entering a safe configuration. The first algorithm enters a safe configuration within $O(mN \, \log n)$O(mNlogn) expected steps (convergence time) while the second one does this within $O(mN^2\,\log N)$O(mN2logN) expected steps, where $m$m is the number of edges in the graph. Both protocols require only $O(\log N)$O(logN) bits for each node's memory. A novel concept, called the same speed timer is introduced, by which all nodes of the system can count down their timers at the same speed. This concept allows to achieve fast convergence time of both algorithms. To design the second protocol, we design a self-stabilizing two-hop coloring protocol, which is interesting in its own right. This protocol uses only $O(\log N)$O(logN) memory space per node. We establish a lower bound. Any loosely-stabilizing leader election protocol with expected exponential holding time requires $\Omega (mN)$Ω(mN) expected convergence time. This lower bound shows a near-optimality of the first algorithm.

[1]  Fukuhito Ooshita,et al.  Loosely-Stabilizing Leader Election on Arbitrary Graphs in Population Protocols Without Identifiers nor Random Numbers , 2020, OPODIS.

[2]  Michael J. Fischer,et al.  Self-stabilizing Population Protocols , 2005, OPODIS.

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

[4]  Taisuke Izumi On Space and Time Complexity of Loosely-Stabilizing Leader Election , 2015, SIROCCO.

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

[6]  Eric Ruppert,et al.  Even Small Birds are Unique: Population Protocols with Identifiers , 2007 .

[7]  Yukiko Yamauchi,et al.  Loosely-Stabilizing Leader Election in Population Protocol Model , 2009, SIROCCO.

[8]  Paul G. Spirakis,et al.  Mediated Population Protocols , 2009, ICALP.

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

[10]  Fukuhito Ooshita,et al.  Loosely-Stabilizing Leader Election on Arbitrary Graphs in Population Protocols , 2014, OPODIS.

[11]  Koichi Wada,et al.  How to Prove Impossibility Under Global Fairness: On Space Complexity of Self-Stabilizing Leader Election on a Population Protocol Model , 2012, Theory of Computing Systems.

[12]  Yukiko Yamauchi,et al.  Space Complexity of Self-Stabilizing Leader Election in Population Protocol Based on k-Interaction , 2013, SSS.

[13]  Joffroy Beauquier,et al.  Non-deterministic Population Protocols , 2012, OPODIS.

[14]  Ajoy Kumar Datta,et al.  The Same Speed Timer in Population Protocols , 2016, 2016 IEEE 36th International Conference on Distributed Computing Systems (ICDCS).

[15]  Masafumi Yamashita,et al.  On space complexity of self-stabilizing leader election in mediated population protocol , 2012, Distributed Computing.

[16]  Maria Gradinariu Potop-Butucaru,et al.  Stabilizing leader election in population protocols , 2007 .

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

[18]  Joffroy Beauquier,et al.  Self-stabilizing Leader Election in Population Protocols over Arbitrary Communication Graphs , 2013, OPODIS.

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

[20]  Gennaro Cordasco,et al.  Space-Optimal Proportion Consensus with Population Protocols , 2017, SSS.

[21]  Michael J. Fischer,et al.  Self-stabilizing Leader Election in Networks of Finite-State Anonymous Agents , 2006, OPODIS.

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