NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Wait-free approximate agreement on graphs

Dan Alistarh, Faith Ellen, Joel RybickiarXiv 2021

TL;DR

This paper tackles the problem of "approximate agreement" on graphs in distributed systems, where processes need to agree on values within a graph structure. The authors provide both negative results (proving impossibility for certain graph types) and positive results (presenting new algorithms for others), refining our understanding of what's achievable in wait-free distributed computing.

What Problem Does This Paper Address?

In distributed systems, processes often need to coordinate and agree on values. "Approximate agreement" is a relaxed version of consensus where processes don't need to agree on the exact same value, but rather on values that are "close enough." This paper generalizes this problem to scenarios where the allowed values and relationships between them are defined by an undirected connected graph. Specifically, each process receives a node (vertex) as input and must output a node such that:

  1. Agreement: All output nodes are adjacent (distance 1) in the graph.
  2. Validity: Each output node lies on a shortest path between any two input nodes.

This "graphical approximate agreement" is a fundamental coordination problem. Prior work established impossibility results for specific graph structures like cycles, but the solvability and complexity on general graphs remained an open question.

Methods

The paper employs a combination of theoretical tools:

  • Combinatorial Arguments and Generalizations of Sperner's Lemma: A key contribution is a new, direct proof of impossibility for approximate agreement on cycles of length $c \ge 4$. This proof uses a generalization of Sperner's Lemma to convex polygons, offering a more direct approach than previous reductions.
  • Reductions from 2-Set Agreement: The authors extend existing reductions from the "2-set agreement" problem (where processes must agree on one of at most two values) to prove impossibility for a broader class of graphs.
  • Extension-Based Proof Analysis: The paper investigates the limitations of certain proof techniques (specifically "extension-based proofs") by showing they are insufficient to prove impossibility for 4-cycle agreement in a specific model.
  • Algorithmic Construction: For positive results, the paper presents new wait-free algorithms. These algorithms leverage techniques like 2-set agreement as a preprocessing step and then apply iterative algorithms on paths, carefully designed to work on specific graph classes (nicely bridged graphs, chordal graphs).
  • Synchronous Message-Passing Model Adaptation: The paper also adapts its asynchronous algorithms to the synchronous message-passing model, providing upper bounds on the number of rounds required.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Sperner's Lemma as a Tool for Impossibility: The generalization of Sperner's Lemma proves to be a powerful combinatorial tool for demonstrating impossibility in distributed coordination problems, offering a more direct path than complex reductions.
  • Graph Structure Dictates Solvability: The paper strongly emphasizes how the specific structure of the graph (e.g., cycles, chordal graphs, bridged graphs) fundamentally determines whether approximate agreement is solvable and how efficiently.
  • Limitations of Proof Techniques: The finding that extension-based proofs are insufficient for certain impossibility results highlights the need for diverse proof methodologies in distributed computing research.
  • Bridged Graphs as a Key Class: The introduction and analysis of "nicely bridged graphs" provide a significant new class of graphs for which efficient wait-free algorithms can be designed.

Key Results

  • Impossibility on Cycles ($c \ge 4$): A new, direct proof shows that wait-free approximate agreement is impossible for $n \ge 3$ processes on cycles of length $c \ge 4$.
  • Impossibility on Broader Graph Classes: The reduction from 2-set agreement is extended, proving impossibility on a larger set of graphs.
  • Proof Technique Limitations: Extension-based proofs are shown to be insufficient for proving the impossibility of 4-cycle agreement in the (n-1)-NIS model.
  • Wait-Free Algorithm for Nicely Bridged Graphs: A new wait-free algorithm is presented for a class of graphs that includes chordal graphs and extends to non-chordal graphs with specific properties.
  • 1-Resilient Algorithm for General Graphs: A 1-resilient algorithm is provided for any connected graph, demonstrating solvability even with one crash fault.
  • Synchronous Algorithm Upper Bound: An f-resilient synchronous message-passing algorithm is presented with a round complexity of $\lceil f/2 \rceil + \lceil \log_2 \text{diam}(G) \rceil + 1$, which is close to known lower bounds.

Limitations and Future Work

  • Open Problems for General Graphs: While the paper provides algorithms for specific graph classes, the exact solvability and complexity for all general graphs remain an area for further exploration.
  • Characterizing Nicely Bridged Graphs: The paper provides sufficient conditions for a graph to be nicely bridged, but a complete characterization might be beneficial.
  • Extension-Based Proofs: The paper demonstrates the limitations of extension-based proofs for certain problems, suggesting that future work might focus on developing new proof techniques or understanding the precise boundaries of existing ones.
  • Fault Tolerance: While the paper addresses crash faults and Byzantine faults in some contexts, exploring more robust fault models for graphical approximate agreement could be a direction for future research.

Summary updated

Abstract

Approximate agreement is one of the few variants of consensus that can be solved in a wait-free manner in asynchronous systems where processes communicate by reading and writing to shared memory. In this work, we consider a natural generalisation of approximate agreement on arbitrary undirected connected graphs. Each process is given a vertex of the graph as input and, if non-faulty, must output a vertex such that - all the outputs are within distance 1 of one another, and - each output value lies on a shortest path between two input values. From prior work, it is known that there is no wait-free algorithm among $n \ge 3$ processes for this problem on any cycle of length $c \ge 4$, by reduction from 2-set agreement (Casta\~neda et al., 2018). In this work, we investigate the solvability and complexity of this task on general graphs. We give a new, direct proof of the impossibility of approximate agreement on cycles of length $c \ge 4$, via a generalisation of Sperner's Lemma to convex polygons. We also extend the reduction from 2-set agreement to a larger class of graphs, showing that approximate agreement on on these graphs is unsolvable. Furthermore, we show that combinatorial arguments, used by both existing proofs, are necessary, by showing that the impossibility of a wait-free algorithm in the nonuniform iterated snapshot model cannot be proved via an extension-based proof. On the positive side, we present a wait-free algorithm for a class of graphs that properly contains the class of chordal graphs.
BibTeX
@misc{alistarh2021wait,
  author = {Dan Alistarh and Faith Ellen and Joel Rybicki},
  title = {{Wait-free approximate agreement on graphs}},
  year = {2021},
  eprint = {2103.08949},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.08949},
}

Loading related content...

Figure