English

Early-Stabilizing Counting

Distributed, Parallel, and Cluster Computing 2026-05-19 v1

Abstract

Synchronous Counting is the task of reaching agreement on a common round counter in a synchronous system of nn nodes with up to tt Byzantine faults in a self-stabilizing manner. That is, after transient faults may have arbitrarily corrupted the system state and ceased, the at least ntn-t non-faulty nodes need to (re-)establish that (i) their local outputs are identical and (ii) increase by 11 modulo CC in each round. An overhead-free reduction from consensus shows that all known lower bounds and impossibilities for consensus carry over to the counting problem. In the other direction, prior work has established that a consensus algorithm A\mathcal{A} can be turned into a counting algorithm at small overhead relative to the running time and bit complexity of A\mathcal{A}, without losing resilience. Taking inspiration from early-stopping consensus protocols, in this work we introduce the concept of early stabilization. That is, if there are 0ft0\le f\le t (persistent) faults in an execution, the algorithm should stabilize in a number of rounds that depends on ff only. Likewise, we seek to achieve an amortized bit complexity that is adaptive in the number of actual faults ff. By developing a number of modular building blocks suitable to these goals, we develop a CC-counting algorithm that stabilizes within asymptotically optimal O(f+1)O(f+1) rounds, has message size O(log2n+logC)O(\log^2 n + \log C), and has amortized bit complexity O(n(flogC+log2n))O(n(f\log C +\log^2 n)).

Keywords

Cite

@article{arxiv.2605.18171,
  title  = {Early-Stabilizing Counting},
  author = {Christoph Lenzen and Julian Loss},
  journal= {arXiv preprint arXiv:2605.18171},
  year   = {2026}
}

Comments

32 pages, no figures, shorter version accepted for publication at PODC 2026