Population Protocol
   HOME

TheInfoList



OR:

A population protocol is a
distributed computing A distributed system is a system whose components are located on different computer network, networked computers, which communicate and coordinate their actions by message passing, passing messages to one another from any system. Distributed com ...
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.


Model

There is a set N = \ of nodes. Each node is a finite automaton with s 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 t=1,2,\ldotsin time, some node i is selected uniformly at random. Then the node is matched with another node j, which is chosen uniformly at random from the set of neighbors of node i. Afterwards, nodes i and j exchange memory contents and update their states. Alternatively, one can consider a continuous time model where each node i 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.


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. This protocol works as follows. Let each node i initialize its memory state to their initial belief bit b_i \in \. 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. In words, if a node with belief 0 gets matched with a node with belief 0, then both nodes keep their belief; the update is similar if both beliefs are 1 or both are ?. However, if the initiator's belief is 0 and the responder's belief is ?, then the respondent updates their belief to 0. If on the other hand the initiator has belief 0 and the responder has belief 1, 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 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 0 or all nodes having belief 1 within O(n \cdot \log n) 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 n=500 nodes, where one third of the nodes have initial belief bit 0, while the remaining two thirds have initial belief bit 1. The fraction of "?" nodes (in orange) starts at zero, increases for a while, and then goes again to zero.


History

Population protocols were introduced by
Dana Angluin Dana Angluin is a professor emeritus of computer science at Yale University. She is known for foundational work in computational learning theory and distributed computing. Education Angluin received her B.A. (1969) and Ph.D. (1976) at University ...
et al. as one of the first
models of computation In computer science, and more specifically in computability theory and computational complexity theory, a model of computation is a model which describes how an output of a mathematical function is computed given an input. A model describes how ...
to be fully
decentralized Decentralization or decentralisation is the process by which the activities of an organization, particularly those regarding planning and decision making, are distributed or delegated away from a central, authoritative location or group. Conce ...
and to involve agents with highly limited resources, e.g., those found in
sensor network Wireless sensor networks (WSNs) refer to networks of spatially dispersed and dedicated sensors that monitor and record the physical conditions of the environment and forward the collected data to a central location. WSNs can measure environmental c ...
s. Since then, this abstract computation model found applications in
robotics Robotics is an interdisciplinary branch of computer science and engineering. Robotics involves design, construction, operation, and use of robots. The goal of robotics is to design machines that can help and assist humans. Robotics integrat ...
and
chemistry Chemistry is the science, scientific study of the properties and behavior of matter. It is a natural science that covers the Chemical element, elements that make up matter to the chemical compound, compounds made of atoms, molecules and ions ...
.Ho-Lin Chen, David Doty, David Soloveichik. ''Deterministic function computation with chemical reaction networks''.
Natural Computing Natural computing,G.Rozenberg, T.Back, J.Kok, Editors, Handbook of Natural Computing, Springer Verlag, 2012A.Brabazon, M.O'Neill, S.McGarraghyNatural Computing Algorithms Springer Verlag, 2015 also called natural computation, is a terminology intro ...
, 2014

/ref>


See also

Swarm Intelligence Swarm intelligence (SI) is the collective behavior of decentralized, self-organized systems, natural or artificial. The concept is employed in work on artificial intelligence. The expression was introduced by Gerardo Beni and Jing Wang in 1989, in ...


References

{{DEFAULTSORT:Population protocol Distributed computing