Skip to main content
QUICK REVIEW

[Paper Review] Fast Local Computation Algorithms

Ronitt Rubinfeld, Gil Tamir|arXiv (Cornell University)|Apr 7, 2011
Complexity and Algorithms in GraphsComputer Science40 references53 citations
TL;DR

This paper introduces a model of local computation algorithms (LCAs) that answer queries about specific parts of a solution to combinatorial problems—such as maximal independent sets, hypergraph coloring, and k-SAT—without reading the entire input or output. Using Beck’s algorithmic LLL and k-wise independent sampling, the authors construct LCAs that run in polylogarithmic time and space, ensuring consistency across queries and guaranteeing correctness with high probability for problems satisfying certain bounded dependency conditions.

ABSTRACT

For input $x$, let $F(x)$ denote the set of outputs that are the "legal" answers for a computational problem $F$. Suppose $x$ and members of $F(x)$ are so large that there is not time to read them in their entirety. We propose a model of {\em local computation algorithms} which for a given input $x$, support queries by a user to values of specified locations $y_i$ in a legal output $y \in F(x)$. When more than one legal output $y$ exists for a given $x$, the local computation algorithm should output in a way that is consistent with at least one such $y$. Local computation algorithms are intended to distill the common features of several concepts that have appeared in various algorithmic subfields, including local distributed computation, local algorithms, locally decodable codes, and local reconstruction. We develop a technique, based on known constructions of small sample spaces of $k$-wise independent random variables and Beck's analysis in his algorithmic approach to the Lov{á}sz Local Lemma, which under certain conditions can be applied to construct local computation algorithms that run in {\em polylogarithmic} time and space. We apply this technique to maximal independent set computations, scheduling radio network broadcasts, hypergraph coloring and satisfying $k$-SAT formulas.

Motivation & Objective

  • To formalize a model of local computation algorithms (LCAs) that answer queries about specific output locations without reading the full input or output.
  • To address the challenge of computing large combinatorial solutions (e.g., MIS, hypergraph colorings, k-SAT assignments) when full computation is infeasible due to size.
  • To develop a general technique based on k-wise independent sampling and Beck’s analysis of the Lovász Local Lemma to construct efficient LCAs with polylogarithmic query time.
  • To ensure consistency across queries by maintaining global consistency with at least one valid solution, even when multiple solutions exist.
  • To extend the applicability of LCAs to problems like maximal independent sets, hypergraph coloring, and k-SAT under bounded dependency conditions.

Proposed method

  • Leverage Beck’s algorithmic approach to the Lovász Local Lemma (LLL) to design LCAs with polylogarithmic time complexity.
  • Use k-wise independent random variables to simulate randomness efficiently in the local computation setting.
  • Apply a reduction from distributed algorithms (via Parnas and Ron) to simulate constant-round distributed algorithms with local queries, enabling efficient LCA construction for MIS and scheduling.
  • For hypergraph coloring and k-SAT, modify Alon’s parallel LLL-based algorithm to run in polylogarithmic sequential time per query.
  • Use recursive dependency graph analysis to bound component sizes in the dependency graph of clauses or variables, enabling exhaustive search on small subproblems.
  • For large components, apply brute-force search on subproblems of size O(log log N), which remain polylogarithmic in total size due to logarithmic bounds.

Experimental results

Research questions

  • RQ1Can we design local computation algorithms that answer queries about specific output locations in polylogarithmic time and space, even when the full input and output are too large to read?
  • RQ2What conditions on a problem (e.g., bounded degree, limited clause intersections) allow for the construction of such efficient LCAs?
  • RQ3How can we ensure that the responses of an LCA remain globally consistent with at least one valid solution, especially when multiple solutions exist?
  • RQ4Can techniques from the Lovász Local Lemma and k-wise independence be adapted to construct LCAs for problems like k-SAT and hypergraph coloring?
  • RQ5What is the relationship between distributed algorithms, locally decodable codes, and local computation algorithms, and how can they be unified under a single model?

Key findings

  • The paper constructs local computation algorithms for maximal independent set and scheduling in radio networks that run in O((log N)^c) time per query, where c is a constant depending on the maximum degree.
  • For hypergraph 2-coloring, the algorithm answers each query in polylogarithmic time by analyzing dependency components of size at most O(log log N), enabling exhaustive search on small subproblems.
  • The algorithm for k-SAT satisfies the condition that each clause intersects at most d others, and if k1, k2, k3 exist satisfying specific inequalities (e.g., 8d(d−1)^3(d+1) < 2^{k1}), then a valid assignment can be computed in polylogarithmic time per query.
  • The probability of correctness is at least 1 - 1/N, ensuring high-probability consistency with a satisfying assignment.
  • The method ensures global consistency by maintaining state transitions (e.g., safe, dangerous, trouble) and using bounded component sizes to enable local exhaustive search.
  • The framework generalizes to ℓ-colorings of hypergraphs for any ℓ ≥ 2, using the same underlying techniques and polylogarithmic time complexity.

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.