Population protocol

A population protocol is a distributed computing model formed by resource-limited mobile agents which meet in a random way according to an interaction graph. Functions are computed by updating the state of agents whenever they meet based on their previous state, and the result of the computation can be read in the states of the agents once the computation has converged[disambiguation needed].

Model

There is a set of nodes. Each node is a finite automaton with states. An important class of population protocols are majority algorithms, where the goal is to compute the majority bit: each node starts with a belief bit in and the goal is to design a protocol at the end of which the belief bit of every node is the correct initial majority bit.

The discrete time version of the model is as follows: at each point in time, some node is selected uniformly at random. Then the node is matched with another node , which is chosen uniformly at random from the set of neighbors of node . Afterwards, nodes and exchange memory contents and update their states. Alternatively, one can consider a continuous time model where each node has a Poisson clock that rings at unit rate. When the clock of a node rings, that node communicates with a random neighbor.

Protocols are often designed to minimize the convergence time or the amount of memory required per node or both.[1]

Three State Protocol

For the problem of computing the majority (consensus), there is a well-known protocol that requires only three memory states per node and has been analyzed for complete interaction graphs.[2][3] This protocol works as follows. Let each node initialize its memory state to their initial belief bit At each point in time, when two nodes communicate, they update their state according to the following table. The row labels give the initiator’s state and the column labels the responder’s state.

Interaction rules of 3-state protocol
0 ? 1
0 (0,0) (0,0) (0,?)
? (?,0) (?,?) (?,1)
1 (1,?) (1,1) (1,1)

In words, if a node with belief gets matched with a node with belief , then both nodes keep their belief; the update is similar if both beliefs are or both are . However, if the initiator's belief is and the responder's belief is , then the respondent updates their belief to . If on the other hand the initiator has belief and the responder has belief , then the responder changes their belief to . Note that this protocol is one-way: every interaction changes at most the responder’s state; thus it can be implemented with one-way communication.

Angluin, Aspnes, and Eisenstat [2] showed that, from any initial configuration that does not consist of all ""s, the three-state approximate majority protocol converges to either all nodes having belief or all nodes having belief within interactions with high probability. Additionally, the value chosen will be the majority non-"" initial value, provided it exceeds the minority by a sufficient margin.

The following picture shows the evolution of the three state protocol on a set of nodes, where one third of the nodes have initial belief bit , while the remaining two thirds have initial belief bit . The fraction of "" nodes (in orange) starts at zero, increases for a while, and then goes again to zero.


The three-state protocol solves the approximate majority problem, in which the correct answer is reached only with high probability and only when the initial imbalance is large enough. A harder variant is exact majority, where the population must stabilize on the true majority value with probability 1 regardless of how small the initial bias is.[4] On complete interaction graphs, exact majority exhibits space–time trade-offs: any constant-state protocol is comparatively slow, while protocols using Θ(log n) states can stabilize in the asymptotically optimal Θ(n log n) time.[5] A simple four-state protocol solves exact majority on any connected interaction graph, not only complete ones.[6] For general graphs, the time and space complexity of exact majority can be analyzed in terms of the relaxation time of the random walk induced by the scheduler and the graph's degree imbalance; on regular expander graphs this yields protocols matching the Θ(log n)-state, near-optimal-time performance known for complete graphs.[7]

History

Population protocols were introduced by Dana Angluin et al.[8] as one of the first models of computation to be fully decentralized and to involve agents with highly limited resources, e.g., those found in sensor networks. Since then, this abstract computation model found applications in robotics[9] and chemistry.[10]

See also

Swarm Intelligence

References

  1. ^ Alistarh, Dan; Aspnes, James; Eisenstat, David; Gelashvili, Rati; Rivest, Ronald L. (2017-01-16). "Time-space trade-offs in population protocols". Soda '17. Society for Industrial and Applied Mathematics: 2560–2579. arXiv:1602.08032. Bibcode:2016arXiv160208032A. {{cite journal}}: Cite journal requires |journal= (help)
  2. ^ a b Angluin, Dana; Aspnes, James; Eisenstat, David (2007), "A Simple Population Protocol for Fast Robust Approximate Majority", Distributed Computing, Lecture Notes in Computer Science, vol. 4731, Springer Berlin Heidelberg, pp. 20–32, CiteSeerX 10.1.1.80.828, doi:10.1007/978-3-540-75142-7_5, ISBN 9783540751410
  3. ^ Perron, E.; Vasudevan, D.; Vojnovic, M. (April 2009). "Using Three States for Binary Consensus on Complete Graphs". IEEE Infocom 2009. IEEE. pp. 2527–2535. doi:10.1109/infcom.2009.5062181. ISBN 9781424435128. S2CID 12683772.
  4. ^ Alistarh, Dan; Aspnes, James; Gelashvili, Rati (2018). Space-optimal majority in population protocols. Proc. 29th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2018). pp. 2221–2239. doi:10.1137/1.9781611975031.144.
  5. ^ Doty, David; Eftekhari, Mahsa; Gąsieniec, Leszek; Severson, Eric; Uznański, Przemysław; Stachowiak, Grzegorz (2022). A time and space optimal stable population protocol solving exact majority. Proc. IEEE 62nd Annual Symposium on Foundations of Computer Science (FOCS 2022). doi:10.1109/FOCS52979.2021.00104.
  6. ^ Mertzios, George B.; Nikoletseas, Sotiris E.; Raptopoulos, Christoforos L.; Spirakis, Paul G. (2017). "Determining majority in networks with local interactions and very small local memory". Distributed Computing. 30: 1–16. doi:10.1007/s00446-016-0277-8.
  7. ^ Rybicki, Joel; Solnerzik, Jakob; Stietel, Olivier; Vacus, Robin (2025). "Space-efficient population protocols for exact majority on general graphs". arXiv:2508.11384 [cs.DC].
  8. ^ Dana Angluin, James Aspnes, Zoë Diamadi, Michael J. Fischer, René Peralta. Computation in networks of passively mobile finite-state sensors. Distributed Computing, 2006. [1]Closed access icon
  9. ^ Gregory Dudek, Michael Jenkin. Computational Principles of Mobile Robotics, Chapter 10.
  10. ^ Ho-Lin Chen, David Doty, David Soloveichik. Deterministic function computation with chemical reaction networks. Natural Computing, 2014. [2]Closed access icon

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.