paper

Counting in Population Protocols on Graphs

arXiv:2608.17590

Abstract

We consider the problem of counting the number of agents in a population protocol where the agents are connected by an underlying graph with nodes. In each step, a random scheduler selects an edge uniformly at random, and the incident nodes make a state transition. As per standard assumptions, agents are identical and anonymous, that is, have no identifiers. To break symmetry, in each interaction one of the agents is declared as the initiator uniformly at random. Our size counting protocol uses states and stabilizes in interactions with high probability, where is the broadcast time and is the load balancing time. Our protocol is based on novel protocols for sampling independent random bits (given that the scheduler determines an initiator and responder) and approximating up to an additive error of with high probability. The latter uses states and interactions. Both results may be of independent interest. The main protocol for exact counting requires the presence of a unique leader, the other two do not. None of the protocols requires any knowledge about the graph . We conclude with impossibility results for terminating uniform population protocols that compute graph-size properties (like counting nodes or determining parity) with and without a leader.

Accepted to DISC 2026

Counting in Population Protocols on Graphs · wovepaper