Ignore or Comply? On Breaking Symmetry in Consensus

Petra Berenbrink, Andrea E. F. Clementi, Robert Elsässer, Peter Kling, Frederik Mallmann-Trenn, Emanuele NatalePODC 2017 · DOI

TL;DR

This paper investigates how quickly distributed systems can reach consensus (everyone agreeing on the same opinion) using two common algorithms: 2-CHOICES and 3-MAJORITY. They show that when there are many initial opinions and no strong bias towards one, 3-MAJORITY is significantly faster than 2-CHOICES, achieving consensus in sublinear time for the first time without any bias assumptions.

What Problem Does This Paper Address?

In distributed systems, nodes (computers) need to agree on a common state or opinion. This is crucial for many applications, from coordinating actions to maintaining consistent data. The paper focuses on "consensus processes" where nodes randomly sample opinions from their neighbors and update their own based on a rule. The goal is for all nodes to eventually adopt the same opinion. While previous work showed that 2-CHOICES and 3-MAJORITY algorithms perform similarly when there's a "bias" (one opinion is much more popular) or when the number of initial opinions is small, their performance difference in the "unbiased" and "many opinions" scenario was unclear. This paper aims to bridge that gap by providing a precise comparison in this challenging setting.

Methods

The core of the paper's contribution lies in developing a novel framework for comparing consensus algorithms. This framework uses majorization theory, a mathematical tool that compares vectors based on the ordering of their components.

  • Protocol Dominance: They define a notion of "dominance" where one algorithm is considered "better" if its expected state always majorizes the expected state of another algorithm. This is crucial because it allows them to relate the speed of reducing the number of opinions.
  • Stochastic Dominance and Coupling: They leverage Strassen's Theorem to show that if one algorithm dominates another in terms of majorization, then the time it takes for the dominated algorithm to reach consensus stochastically dominates the time for the dominating algorithm. This means the dominated algorithm is likely to take longer.
  • Phase-Based Analysis: For 3-MAJORITY, they break down the consensus process into two phases: first, reducing the number of opinions from $n$ to $n^{1/4}$, and second, reducing it to a single opinion. The first phase is particularly challenging and is tackled by showing that 3-MAJORITY is no slower than the simpler VOTER process (where nodes just copy a random neighbor). They then bound the VOTER process's time.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • The Power of Three (Choices): While 2-CHOICES and 3-MAJORITY seem similar, the ability of 3-MAJORITY to consider a third opinion (or to default to a random neighbor if the first two don't match) gives it a significant advantage when dealing with many opinions and no bias.
  • Majorization as a Comparison Tool: The paper introduces a powerful way to compare consensus algorithms by framing their state evolution in terms of vector majorization. This allows for a more rigorous and fine-grained analysis than previously possible.
  • Breaking the Symmetry: The core challenge in unbiased consensus is breaking symmetry when many opinions exist. 3-MAJORITY, through its slightly more complex update rule, is shown to be more effective at this than 2-CHOICES.
  • Unconditional Sublinear Bound: This work provides the first unconditional sublinear bound for 3-MAJORITY in the unbiased setting, a significant theoretical achievement.

Key Results

  • 3-MAJORITY Speed: 3-MAJORITY reaches consensus with high probability in $O(n^{3/4} \log^{7/8} n)$ rounds, even without any initial bias and with up to $n$ initial colors.
  • 2-CHOICES Slowness: In contrast, 2-CHOICES can take $\Omega(n / \log n)$ rounds to reach consensus under similar conditions (specifically, when initial colors are limited to $O(\log n)$ nodes each).
  • Polynomial Gap: This establishes a polynomial gap in consensus time between 3-MAJORITY and 2-CHOICES in a scenario where they were previously thought to be similar.
  • New Framework: The paper introduces a general framework based on majorization theory for comparing consensus processes, which is believed to be applicable to other similar algorithms.

Limitations and Future Work

  • Generalization of h-MAJORITY: The authors conjecture that a similar hierarchy exists for general $h$-MAJORITY processes (where nodes sample $h$ neighbors), with $(h+1)$-MAJORITY being stochastically faster than $h$-MAJORITY. However, their current framework is not strong enough to prove this for all $h$.
  • Fault Tolerance: While 2-CHOICES and 3-MAJORITY are known to tolerate some level of adversarial faults, the paper's framework for comparing algorithms might be adaptable to analyze fault-tolerance properties in more general settings.
  • Counterexample for Lemma 1: The paper provides a counterexample showing that Lemma 1 (the 1-step coupling property) is not sufficient to derive the conjectured hierarchy for $h$-MAJORITY, suggesting that more sophisticated techniques might be needed.

Summary updated

BibTeX
@inproceedings{berenbrink2017ignore,
  author = {Petra Berenbrink and Andrea E. F. Clementi and Robert Elsässer and Peter Kling and Frederik Mallmann-Trenn and Emanuele Natale},
  title = {{Ignore or Comply? On Breaking Symmetry in Consensus}},
  booktitle = {PODC},
  year = {2017},
  doi = {10.1145/3087801.3087817},
}
Figure