We consider the following distributed consensus problem: Each node in a complete communication network of size n initially holds an \emph{opinion}, which is chosen arbitrarily from a finite set Σ. The system must converge toward a consensus state in which all, or almost all nodes, hold the same opinion. Moreover, this opinion should be \emph{valid}, i.e., it should be one among those initially present in the system. This condition should be met even in the presence of an adaptive, malicious adversary who can modify the opinions of a bounded number of nodes in every round. We consider the \emph{3-majority dynamics}: At every round, every node pulls the opinion from three random neighbors and sets his new opinion to the majority one (ties are broken arbitrarily). Let k be the number of valid opinions. We show that, if k⩽nα, where α is a suitable positive constant, the 3-majority dynamics converges in time polynomial in k and logn with high probability even in the presence of an adversary who can affect up to o(n) nodes at each round. Previously, the convergence of the 3-majority protocol was known for ∣Σ∣=2 only, with an argument that is robust to adversarial errors. On the other hand, no anonymous, uniform-gossip protocol that is robust to adversarial errors was known for ∣Σ∣>2.
@article{arxiv.1508.06782,
title = {Stabilizing Consensus with Many Opinions},
author = {Luca Becchetti and Andrea Clementi and Emanuele Natale and Francesco Pasquale and Luca Trevisan},
journal= {arXiv preprint arXiv:1508.06782},
year = {2015}
}