Fast Local Computation Algorithms

Ronitt Rubinfeld, Gil Tamir, Shai Vardi, Ning XiearXiv 2011

This paper, a foundational work in sublinear algorithms, introduces the formal model of Local Computation Algorithms (LCAs). It provides a framework for solving massive combinatorial problems where you only need to know specific parts of the solution—like whether a single person in a billion-user social network belongs to a "maximal independent set"—without ever computing the entire global answer.

TL;DR

The authors define a model for algorithms that answer local queries about a global solution in polylogarithmic time and space. By combining distributed algorithm simulations with techniques from the Lovász Local Lemma, they demonstrate that complex global structures like Maximal Independent Sets and hypergraph colorings can be explored "on-demand" with perfect consistency.

What Problem Does This Paper Address?

In the era of "Big Data," we often encounter problems where the input (e.g., a web-scale graph) and the output (e.g., a valid coloring of that graph) are too large to even store in a single machine's main memory, let alone process linearly.

Traditional algorithms require reading the whole input to produce the whole output. However, in many applications, a user only needs to know a small piece of the solution: "Is vertex $v$ in the set?" or "What color is vertex $u$?" The challenge is consistency. If you ask about vertex $v$ and then later ask about its neighbor $u$, the answers must be consistent with the same valid global solution, even if the algorithm doesn't remember its previous answers or hasn't computed the rest of the graph.

Methods

The authors propose a two-phase approach to construct these algorithms:

  1. Distributed Simulation (The Parnas-Ron Reduction): Many problems have fast "distributed" algorithms where nodes communicate with neighbors. The authors use a known reduction to simulate these distributed rounds locally. To find the state of vertex $v$, the algorithm queries the neighborhood of $v$ up to a certain radius.
  2. Beck’s Analysis & The Lovász Local Lemma (LLL): The LLL is a powerful tool in combinatorics that proves the existence of rare configurations. Jozsef Beck turned this into an algorithmic technique. The authors apply this by showing that after a "simple" first phase (like a few rounds of a distributed algorithm), the remaining "unsolved" parts of the problem break into very small, isolated components (logarithmic in size).
  3. Consistency via Shared Randomness: To ensure different queries don't contradict each other, the algorithms use a shared random tape (or a pseudo-random function). This ensures that if two different queries "look" at the same part of the graph, they see the same random choices.

Datasets

As a theoretical computer science paper, it does not use empirical datasets or benchmarks. Instead, it provides mathematical proofs of performance on abstract classes of inputs, such as:

  • Graphs with bounded maximum degree $d$.
  • $k$-uniform hypergraphs.
  • $k$-CNF formulas for SAT.

Key Insights and Ideas

  • The Power of Locality: The "aha moment" is realizing that for many combinatorial problems, a local decision only depends on a small, local neighborhood, provided you can handle the "ripples" of dependency correctly.
  • The "Residual" Component Strategy: The most striking insight is that you don't need to solve the whole problem perfectly in one go. You can use a fast, local heuristic to solve 99% of the problem, and then prove that the remaining 1% consists of tiny, disconnected islands that can be solved via brute force or greedy methods without affecting the 99%.
  • Unified Paradigm: The paper successfully distills common features from distributed computing, locally decodable codes, and local reconstruction into a single, rigorous algorithmic model.

Key Results

  • Maximal Independent Set (MIS): The authors provide an LCA for MIS that runs in $O(d^{O(d \log d)} \cdot \log n)$ time.
  • Hypergraph 2-Coloring: They show that if a hypergraph satisfies certain LLL conditions, a valid coloring can be queried in polylogarithmic time.
  • Radio Network Scheduling: The paper achieves a local broadcast schedule in $O(\Delta^2 \log \Delta)$ rounds, where $\Delta$ is the maximum degree.
  • Complexity Bounds: They prove that while very simple problems ($NC^0$) are always locally computable, some slightly more complex parallel problems (like $n$-XOR in $NC^1$) are impossible to solve locally because they require looking at the entire input.

Limitations and Future Work

  • Degree Dependence: The running times often have a very heavy (sometimes exponential) dependence on the maximum degree $d$. While "polylogarithmic in $n$," these algorithms can be slow if the graph is dense.
  • Space Complexity: This initial paper required $O(n)$ space for some bookkeeping. The authors noted that follow-up work (which they were already preparing at the time) would improve this to polylogarithmic space using pseudorandomness.
  • The "Parallel to Local" Gap: Not every fast parallel algorithm can be easily converted into an LCA. Determining exactly which problems belong to the "Strongly Local Computation" (SLC) class remains an open area of research.

Summary updated

BibTeX
@misc{rubinfeld2011fast,
  author = {Ronitt Rubinfeld and Gil Tamir and Shai Vardi and Ning Xie},
  title = {{Fast Local Computation Algorithms}},
  year = {2011},
  eprint = {1104.1377},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1104.1377},
}
Figure