Skip to main content
QUICK REVIEW

[Paper Review] Locality in Online, Dynamic, Sequential, and Distributed Graph Algorithms

Amirreza Akbari, Eslami, Navid|arXiv (Cornell University)|Sep 14, 2021
Cryptography and Data SecurityComputer Science6 citations
TL;DR

This paper introduces the online-LOCAL model, a unifying framework for analyzing locality in online, dynamic, sequential, and distributed graph algorithms. It establishes that for locally checkable labeling (LCL) problems in paths, cycles, and rooted trees, all four models exhibit equivalent locality classes—O(log∗n), Θ(log n), or nΘ(1)—enabling transfer of lower bounds and efficient simulations across models.

ABSTRACT

In this work, we give a unifying view of locality in four settings: distributed algorithms, sequential greedy algorithms, dynamic algorithms, and online algorithms. We introduce a new model of computing, called the online-LOCAL model: the adversary reveals the nodes of the input graph one by one, in the same way as in classical online algorithms, but for each new node we get to see its radius-T neighborhood before choosing the output. We compare the online-LOCAL model with three other models: the LOCAL model of distributed computing, where each node produces its output based on its radius-T neighborhood, its sequential counterpart SLOCAL, and the dynamic-LOCAL model, where changes in the dynamic input graph only influence the radius-T neighborhood of the point of change. The SLOCAL and dynamic-LOCAL models are sandwiched between the LOCAL and online-LOCAL models, with LOCAL being the weakest and online-LOCAL the strongest model. In general, all models are distinct, but we study in particular locally checkable labeling problems (LCLs), which is a family of graph problems studied in the context of distributed graph algorithms. We prove that for LCL problems in paths, cycles, and rooted trees, all models are roughly equivalent: the locality of any LCL problem falls in the same broad class - $O(\log^* n)$, $Θ(\log n)$, or $n^{Θ(1)}$ - in all four models. In particular, this result enables one to generalize prior lower-bound results from the LOCAL model to all four models, and it also allows one to simulate e.g. dynamic-LOCAL algorithms efficiently in the LOCAL model. We also show that this equivalence does not hold in general bipartite graphs. We provide an online-LOCAL algorithm with locality $O(\log n)$ for the $3$-coloring problem in bipartite graphs - this is a problem with locality $Ω(n^{1/2})$ in the LOCAL model and $Ω(n^{1/10})$ in the SLOCAL model.

Motivation & Objective

  • To unify the study of locality across four algorithmic models: distributed, sequential greedy, dynamic, and online algorithms.
  • To introduce and formalize the online-LOCAL model, where algorithms can see radius-T neighborhoods of newly revealed nodes.
  • To establish relationships between the online-LOCAL model and existing models: LOCAL, SLOCAL, and dynamic-LOCAL.
  • To investigate whether locality results in the well-studied LOCAL model extend to other models, especially for LCL problems.
  • To identify settings where the models are equivalent and where they diverge, particularly in structured vs. general graphs.

Proposed method

  • Proposes the online-LOCAL model, where each node is revealed one at a time, and the algorithm sees its radius-T neighborhood before deciding on an output.
  • Compares online-LOCAL with three existing models: LOCAL (distributed), SLOCAL (sequential greedy), and dynamic-LOCAL (dynamic graph updates).
  • Uses a sandwiching argument to show SLOCAL and dynamic-LOCAL are strictly between LOCAL and online-LOCAL in expressive power.
  • Employs a certificate-based technique to prove that sub-logarithmic locality in online-LOCAL implies O(log∗n) solvability in the LOCAL model.
  • Constructs large families of complete δ-ary trees to simulate algorithm behavior and derive certifiable conditions for O(log∗n) solvability.
  • Applies the method to prove equivalence of locality classes for LCL problems in paths, cycles, and rooted regular trees.

Experimental results

Research questions

  • RQ1Are the four models—online-LOCAL, SLOCAL, dynamic-LOCAL, and LOCAL—equivalent in terms of locality for LCL problems in structured graphs?
  • RQ2Can lower bounds from the LOCAL model be transferred to online-LOCAL and other models?
  • RQ3What is the locality of 3-coloring in bipartite graphs in the online-LOCAL model compared to the LOCAL model?
  • RQ4Does the equivalence between models break down in general graphs, such as 2D grids or bipartite graphs?
  • RQ5Can online-LOCAL algorithms solve problems with significantly lower locality than the LOCAL model?

Key findings

  • For LCL problems in paths, cycles, and rooted regular trees, all four models (LOCAL, SLOCAL, dynamic-LOCAL, online-LOCAL) have the same locality classes: O(log∗n), Θ(log n), or nΘ(1).
  • An online-LOCAL algorithm for 3-coloring bipartite graphs achieves locality O(log n), while the problem has locality Ω(n1/2) in the LOCAL model and Ω(n1/10) in the SLOCAL model.
  • The equivalence between models breaks down in 2D grids and general bipartite graphs, where online-LOCAL offers strictly better locality than LOCAL.
  • A locality-o(log n) online-LOCAL algorithm for an LCL problem implies the existence of a certifiable O(log∗n) solution in the LOCAL model.
  • The result enables efficient simulation of dynamic-LOCAL algorithms in the LOCAL model and generalization of LOCAL lower bounds to other models.
  • The paper establishes that the online-LOCAL model is strictly more powerful than LOCAL, with SLOCAL and dynamic-LOCAL sandwiched in between.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.