Dynamic size counting in population protocols

02/25/2022
by   David Doty, et al.
0

The population protocol model describes a network of anonymous agents that interact asynchronously in pairs chosen at random. Each agent starts in the same initial state s. We introduce the *dynamic size counting* problem: approximately counting the number of agents in the presence of an adversary who at any time can remove any number of agents or add any number of new agents in state s. A valid solution requires that after each addition/removal event, resulting in population size n, with high probability each agent "quickly" computes the same constant-factor estimate of the value log_2 n (how quickly is called the *convergence* time), which remains the output of every agent for as long as possible (the *holding* time). Since the adversary can remove agents, the holding time is necessarily finite: even after the adversary stops altering the population, it is impossible to *stabilize* to an output that never again changes. We first show that a protocol solves the dynamic size counting problem if and only if it solves the *loosely-stabilizing counting* problem: that of estimating log n in a *fixed-size* population, but where the adversary can initialize each agent in an arbitrary state, with the same convergence time and holding time. We then show a protocol solving the loosely-stabilizing counting problem with the following guarantees: if the population size is n, M is the largest initial estimate of log n, and s is the maximum integer initially stored in any field of the agents' memory, we have expected convergence time O(log n + log M), expected polynomial holding time, and expected memory usage of O(log^2 (s) + (loglog n)^2) bits. Interpreted as a dynamic size counting protocol, when changing from population size n_prev to n_next, the convergence time is O(log n_next + loglog n_prev).

READ FULL TEXT

page 1

page 3

page 5

page 7

page 12

page 17

page 23

page 27

research
05/13/2018

Exact size counting in uniform population protocols in nearly logarithmic time

We study population protocols: networks of anonymous agents that interac...
research
03/07/2018

Population stability: regulating size in the presence of an adversary

We introduce a new coordination problem in distributed computing that we...
research
05/12/2021

A survey of size counting in population protocols

The population protocol model describes a network of n anonymous agents ...
research
06/04/2021

A time and space optimal stable population protocol solving exact majority

We study population protocols, a model of distributed computing appropri...
research
03/20/2020

Message complexity of population protocols

The standard population protocol model assumes that when two agents inte...
research
05/15/2023

A Near Time-optimal Population Protocol for Self-stabilizing Leader Election on Rings with a Poly-logarithmic Number of States

We propose a self-stabilizing leader election (SS-LE) protocol on ring n...
research
08/26/2021

On Truly Parallel Time in Population Protocols

The parallel time of a population protocol is defined as the average num...

Please sign up or login with your details

Forgot password? Click here to reset