Table of Contents
Fetching ...

On the Node-Averaged Complexity of Locally Checkable Problems on Trees

Alkida Balliu, Sebastian Brandt, Fabian Kuhn, Dennis Olivetti, Gustav Schmid

TL;DR

This work investigates the node-averaged complexity of locally checkable labeling problems on bounded-degree trees, revealing that for problems with worst-case deterministic time $O(\log n)$, the node-averaged time collapses to $O(\log^* n)$ deterministically and to $O(1)$ with randomness. It introduces and exploits a rake-and-compress decomposition to distribute labeling work, enabling substantial speedups in the average case while preserving worst-case guarantees. For the polynomial regime $\Theta(n^{1/k})$, the authors prove a matching set of lower bounds, show near-optimal node-averaged upper bounds (e.g., $O(n^{1/(2^k-1)})$ for hierarchical $2\frac{1}{2}$-coloring), and establish a $\Omega(n^{1/(2^k-1)}/\log n)$ randomized lower bound that matches up to a polylog factor. Overall, the results significantly advance understanding of how node-averaged complexity behaves in LCLs on trees, highlighting strong randomization gains and tight bounds in polynomial regimes, with implications for energy-efficient or low-overhead distributed computation.

Abstract

Over the past decade, a long line of research has investigated the distributed complexity landscape of locally checkable labeling (LCL) problems on bounded-degree graphs, culminating in an almost-complete classification on general graphs and a complete classification on trees. The latter states that, on bounded-degree trees, any LCL problem has deterministic worst-case time complexity $O(1)$, $Θ(\log^* n)$, $Θ(\log n)$, or $Θ(n^{1/k})$ for some positive integer $k$, and all of those complexity classes are nonempty. Moreover, randomness helps only for (some) problems with deterministic worst-case complexity $Θ(\log n)$, and if randomness helps (asymptotically), then it helps exponentially. In this work, we study how many distributed rounds are needed on average per node in order to solve an LCL problem on trees. We obtain a partial classification of the deterministic node-averaged complexity landscape for LCL problems. As our main result, we show that every problem with worst-case round complexity $O(\log n)$ has deterministic node-averaged complexity $O(\log^* n)$. Then we show how using randomization we can speed this up and show that every problem with worst case round complexity $O(\log n)$ has randomized node-averaged complexity $O(1)$. We further establish bounds on the node-averaged complexity of problems with worst-case complexity $Θ(n^{1/k})$: we show that all these problems have node-averaged complexity $\widetildeΩ(n^{1 / (2^k - 1)})$, and that this lower bound is tight for some problems. The lower bound holds even for the randomized case and the upper bound is a deterministic algorithm.

On the Node-Averaged Complexity of Locally Checkable Problems on Trees

TL;DR

This work investigates the node-averaged complexity of locally checkable labeling problems on bounded-degree trees, revealing that for problems with worst-case deterministic time , the node-averaged time collapses to deterministically and to with randomness. It introduces and exploits a rake-and-compress decomposition to distribute labeling work, enabling substantial speedups in the average case while preserving worst-case guarantees. For the polynomial regime , the authors prove a matching set of lower bounds, show near-optimal node-averaged upper bounds (e.g., for hierarchical -coloring), and establish a randomized lower bound that matches up to a polylog factor. Overall, the results significantly advance understanding of how node-averaged complexity behaves in LCLs on trees, highlighting strong randomization gains and tight bounds in polynomial regimes, with implications for energy-efficient or low-overhead distributed computation.

Abstract

Over the past decade, a long line of research has investigated the distributed complexity landscape of locally checkable labeling (LCL) problems on bounded-degree graphs, culminating in an almost-complete classification on general graphs and a complete classification on trees. The latter states that, on bounded-degree trees, any LCL problem has deterministic worst-case time complexity , , , or for some positive integer , and all of those complexity classes are nonempty. Moreover, randomness helps only for (some) problems with deterministic worst-case complexity , and if randomness helps (asymptotically), then it helps exponentially. In this work, we study how many distributed rounds are needed on average per node in order to solve an LCL problem on trees. We obtain a partial classification of the deterministic node-averaged complexity landscape for LCL problems. As our main result, we show that every problem with worst-case round complexity has deterministic node-averaged complexity . Then we show how using randomization we can speed this up and show that every problem with worst case round complexity has randomized node-averaged complexity . We further establish bounds on the node-averaged complexity of problems with worst-case complexity : we show that all these problems have node-averaged complexity , and that this lower bound is tight for some problems. The lower bound holds even for the randomized case and the upper bound is a deterministic algorithm.
Paper Structure (75 sections, 56 theorems, 72 equations, 14 figures)

This paper contains 75 sections, 56 theorems, 72 equations, 14 figures.

Key Result

Theorem 1

Let $\Pi$ be an LCL problem for which there is an $O(\log n)$-round deterministic algorithm on bounded-degree trees. Then, $\Pi$ can be solved deterministically with node-averaged complexity $O(\log^* n)$ on bounded-degree trees.

Figures (14)

  • Figure 1: The graph $G^{(t)}$ of nodes that are not yet raked away is colored blue. The already raked away nodes $R^{(t)}$ are colored green. The node $u$ chooses $v^*$ since it has the largest subtree, colored in red, attached and both $v^*$ as well as its entire subtree become colored.
  • Figure 2: The figure illustrates the two cases of the label-set computation, where it is assumed that the incoming edges have already a label-set assigned and the goal is to assign a label-set to the outgoing edges; the left side depicts the case of a single node, the right side shows the case of a short path.
  • Figure 3: A picture during the execution of a rake and compress like algorithm. We have in blue the graph of remaining free nodes. All of the already assigned nodes are hanging in subtrees from the nodes of $G\setminus G'$. The compress paths are not part of any subtrees and connect the components of free nodes. Also the set $C_k(v)$ is exactly the nodes at distance $k$ from $v$ that are in the tree hanging from $v$.
  • Figure 4: Illustrating the quality of a node. $v$ and $v'$ are free nodes inside of $G\setminus G'$. $H(v)$ (respectively $H(v')$) are all nodes inside the green cone attached to $v$ ($v'$) and the green nodes in the compress path. $u$ and $u'$ are local maxima, so because of point 3 in \ref{['def:quality']} they and the red trees hanging from them do not contribute to $H(v)$ (respectively $H(v')$.
  • Figure 5: Illustrating the Compress with Slack procedure for $\ell = 2$, the purple nodes are slack at both ends of the path, the red nodes are in the set $Z$ and the green nodes make up the actual compress layer.
  • ...and 9 more figures

Theorems & Definitions (107)

  • Theorem 1
  • Theorem 2
  • Theorem 3
  • Theorem 4
  • Definition 5: bcmos21
  • Definition 6: label-set computation
  • Definition 7: $(\gamma,\ell,L)$-decomposition
  • Lemma 8: CP19timeHierarchychang20
  • Definition 9: layer ordering
  • Definition 10: free and assigned nodes
  • ...and 97 more