Selective Population Protocols (2305.08460v2)
Abstract: The model of population protocols provides a universal platform to study distributed processes driven by pairwise interactions of anonymous agents. While population protocols present an elegant and robust model for randomized distributed computation, their efficiency wanes when tackling issues that require more focused communication or the execution of multiple processes. To address this issue, we propose a new, selective variant of population protocols by introducing a partition of the state space and the corresponding conditional selection of responders. We demonstrate on several examples that the new model offers a natural environment, complete with tools and a high-level description, to facilitate more efficient solutions. In particular, we provide fixed-state stable and efficient solutions to two central problems: leader election and majority computation, both with confirmation. This constitutes a separation result, as achieving stable and efficient majority computation requires $\Omega(\log n)$ states in standard population protocols, even when the leader is already determined. Additionally, we explore the computation of the median using the comparison model, where the operational state space of agents is fixed, and the transition function determines the order between (arbitrarily large) hidden keys associated with interacting agents. Our findings reveal that the computation of the median of $n$ numbers requires $\Omega(n)$ time. Moreover, we demonstrate that the problem can be solved in $O(n\log n)$ time, both in expectation and with high probability, in standard population protocols. In contrast, we establish that a feasible solution in selective population protocols can be achieved in $O(\log4 n)$ time.
- Time-space trade-offs in population protocols. In Proc. SODA 2017, pages 2560–2579, 2017.
- Space-optimal majority in population protocols. In Proc. SODA 2018, pages 2221–2239, 2018.
- Fast graphical population protocols. In Quentin Bramas, Vincent Gramoli, and Alessia Milani, editors, 25th International Conference on Principles of Distributed Systems, OPODIS 2021, December 13-15, 2021, Strasbourg, France, volume 217 of LIPIcs, pages 14:1–14:18. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2021.
- Near-optimal leader election in population protocols on graphs. In PODC ’22: ACM Symposium on Principles of Distributed Computing, Salerno, Italy, July 25 - 29, 2022, pages 246–256. ACM, 2022.
- Computation in networks of passively mobile finite-state sensors. In Proc. PODC 2004, pages 290–299, 2004.
- Fast computation by population protocols with a leader. Distributed Comput., 21(3):183–199, 2008.
- Population protocols for exact plurality consensus: How a small chance of failure helps to eliminate insignificant opinions. In Alessia Milani and Philipp Woelfel, editors, PODC ’22: ACM Symposium on Principles of Distributed Computing, Salerno, Italy, July 25 - 29, 2022, pages 224–234. ACM, 2022.
- Optimal time and space leader election in population protocols. In Konstantin Makarychev, Yury Makarychev, Madhur Tulsiani, Gautam Kamath, and Julia Chuzhoy, editors, Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, STOC 2020, Chicago, IL, USA, June 22-26, 2020, pages 119–129. ACM, 2020.
- Time-optimal self-stabilizing leader election in population protocols. In Avery Miller, Keren Censor-Hillel, and Janne H. Korhonen, editors, PODC ’21: ACM Symposium on Principles of Distributed Computing, Virtual Event, Italy, July 26-30, 2021, pages 33–44. ACM, 2021.
- Time-optimal self-stabilizing leader election in population protocols. In PODC ’21: ACM Symposium on Principles of Distributed Computing, Virtual Event, Italy, July 26-30, 2021, pages 33–44. ACM, 2021.
- P. Czerner. Leaderless population protocols decide double-exponential thresholds. CoRR, abs/2204.02115, 2022.
- P. Czerner. Brief announcement: Population protocols decide double-exponential thresholds. In Rotem Oshman, Alexandre Nolin, Magnús M. Halldórsson, and Alkida Balliu, editors, Proceedings of the 2023 ACM Symposium on Principles of Distributed Computing, PODC 2023, Orlando, FL, USA, June 19-23, 2023, pages 28–31. ACM, 2023.
- A. Czumaj and A. Lingas. On parallel time in population protocols. Inf. Process. Lett., 179:106314, 2023.
- A time and space optimal stable population protocol solving exact majority. In 62nd IEEE Annual Symposium on Foundations of Computer Science, FOCS 2021, Denver, CO, USA, February 7-10, 2022, pages 1044–1055. IEEE, 2021.
- L. Gąsieniec and G. Stachowiak. Enhanced phase clocks, population protocols, and fast space optimal leader election. J. ACM, 68(1):2:1–2:21, 2021.
- New clocks, optimal line formation and self-replication population protocols. In STACS 2023, March 7-9, 2023, Hamburg, Germany, volume 254 of LIPIcs, pages 33:1–33:22, 2023.
- R. Guerraoui and E. Ruppert. Names trump malice: Tiny mobile agents can tolerate byzantine failures. In ICALP 2009, Rhodes, Greece, July 5-12, 2009, Part II, volume 5556 of Lecture Notes in Computer Science, pages 484–495. Springer, 2009.
- S. Janson. Tail bounds for sums of geometric and exponential variables. Statistics and Probability Letters, 135(1):1–6, 2018.
- J. Kennedy. Thinking is social: Experiments with the adaptive culture model. Journal of Conflict Resolution, 42(1):56–76, 1998.
- J.M. Kleinberg. The small-world phenomenon: an algorithmic perspective. In Proceedings of the Thirty-Second Annual ACM Symposium on Theory of Computing, May 21-23, 2000, Portland, OR, USA, pages 163–170. ACM, 2000.
- A. Kosowski and P. Uznański. Brief announcement: Population protocols are fast. In Proceedings of PODC 2018, Egham, United Kingdom, July 23-27, 2018, pages 475–477. ACM, 2018.
- A. Kosowski and P. Uznański. Population protocols are fast. CoRR, abs/1802.06872, 2018.
- O. Michail and P.G. Spirakis. Network constructors: A model for programmable matter. In SOFSEM 2017, Limerick, Ireland, January 16-20, 2017, Proceedings, volume 10139 of Lecture Notes in Computer Science, pages 15–34. Springer, 2017.
- M.L. Minsky. Computation: Finite and Infinite Machines. Prentice-Hall Series in Automatic Computation. Prentice-Hall, 1967.
- S. Murty. Answer to: What is the expected number of comparisons of a sorting algorithm that chooses a random pair of elements and swaps if out of order, until sorted? Quora, April 2019.
- T. Neary and D. Woods. Four small universal turing machines. Fundam. Informaticae, 91(1):123–144, 2009.
- Computation with finite stochastic chemical reaction networks. Nat. Comput., 7(4):615–633, 2008.
- N. Young. Answer to: Expected number of random comparisons needed to sort a list. Theoretical Computer Science Stack Exchange, October 2022.