Efficient Assignment of Identities in Anonymous Populations

We consider the fundamental problem of assigning distinct labels to agents in the probabilistic model of population protocols. Our protocols operate under the assumption that the size of the population is embedded in the transition function. Our labeling protocols are silent, i.e., eventually each agent reaches its final state and remains in it forever, as well as safe, i.e., never update the label assigned to any single agent. We first present a fast, silent and safe labeling protocol for which the required number of interactions is asymptotically optimal, i.e., w.h.p. It uses states, for any and the label range Furthermore, we consider the so-called pool labeling protocols that include our fast protocol. We show that the expected number of interactions required by any pool protocol is , when the labels range is Next, we provide a silent and safe protocol which uses only states, for any and draws labels from the range The expected number of interactions required by the protocol is On the other hand, we show that any silent protocol that produces a valid labeling and is safe with probability , uses states. Hence, our protocol is almost state-optimal. We also present a generalization of the protocol to include a trade-off between the number of states and the expected number of interactions. Furthermore, we show that for any silent and safe labeling protocol utilizing states the expected number of interactions required to achieve a valid labeling is .
View on arXiv