Graph Streaming Lower Bounds for Parameter Estimation and Property Testing via a Streaming XOR Lemma

Sepehr Assadi, Vishvajeet N

Abstract

This paper introduces the Streaming XOR Lemma, a powerful hardness amplification tool for graph streaming. By applying this lemma, the authors establish the first asymptotically optimal space-pass tradeoffs for fundamental graph problems, including estimating matching size, max cut, and MST weight. The results show that these problems require either polynomial space or a number of passes scaling inversely with the approximation error ($\Omega(1/\epsilon)$).

Introduction

In the era of "Big Data," processing massive graphs often requires streaming algorithms that operate with limited memory (space) and a restricted number of passes over the data. While single-pass lower bounds are well-understood, multi-pass algorithms have lacked tight lower bounds. For example, it was long unknown if connectivity testing required more than two passes with polylogarithmic space. Recent work established an $\Omega(\log(1/\epsilon))$ pass requirement, but a gap remained compared to the $O(1/\epsilon)$ upper bounds. This work closes that gap, providing a general framework for tight multi-pass lower bounds.

Methodology: The Streaming XOR Lemma and NGC

The authors' approach relies on a three-step reduction strategy centered around a new theoretical tool: the Streaming XOR Lemma. This lemma serves as the "secret sauce" of the paper. In complexity theory, an XOR lemma typically states that if a problem is slightly hard to solve, then solving the XOR of $k$ independent instances becomes exponentially harder. Proving such a lemma for streaming algorithms is non-trivial because, unlike time or circuit size, space is reusable. This reusability usually makes hardness amplification difficult to establish in the streaming model.

To apply this lemma, the authors define a hard input distribution known as Noisy Gap Cycle Counting (NGC). In this problem, the goal is to distinguish between a collection of "short" cycles ($k$-cycles) and "long" cycles ($2k$-cycles). To make the problem more robust for reductions, they introduce "noise" in the form of extra paths.

Illustration of the Noisy Gap Cycle Counting (NGC) problem, showing the distinction between short cycles, long cycles, and the introduction of noise to amplify hardness.

The final step is the Reduction Chain. The authors demonstrate that solving NGC with a $p$-pass algorithm can be reduced to solving a "pointer chasing" problem. By applying the Streaming XOR Lemma, they amplify the hardness of this task into a formidable lower bound for NGC. This lower bound then cascades down to a wide variety of fundamental graph problems via standard reduction techniques.

Key Insights

  • Hardness Amplification: If an algorithm has a marginal advantage over random guessing on one instance, its advantage on the XOR of many instances vanishes exponentially. This allows the authors to turn "weak" lower bounds into "strong" ones.
  • Noise as a Tool: Adding random paths (noise) to the cycle counting instances simplifies the mathematical reduction to pointer chasing, making it more robust than previous methods.
  • Optimality: The resulting lower bounds ($n^{1-O(\epsilon \cdot p)}$ space) match existing upper bounds for several problems, defining the "best possible" performance for these tasks.
  • Bounded-Degree Planar Graphs: Remarkably, these lower bounds hold even for restricted graph classes like bounded-degree planar graphs, which are typically considered easier to process in graph theory.

Results

The paper proves that for any $\epsilon > 0$, a $p$-pass streaming algorithm requires $n^{1-O(\epsilon \cdot p)}$ space to:

  1. (1+$\epsilon$)-approximate: Maximum matching size, Maximum cut value, Maximum acyclic subgraph, and Minimum spanning tree weight.
  2. Property Test: Connectivity, Bipartiteness, and Cycle-freeness.

This implies that achieving polylogarithmic space ($n^{o(1)}$) necessitates $\Omega(1/\epsilon)$ passes, an exponential improvement over the previous $\Omega(\log(1/\epsilon))$ bound.

Limitations and Future Work

Despite these advances, some gaps remain. There is currently no matching $O(1/\epsilon)$ pass algorithm for bipartiteness testing in arbitrary graphs. Additionally, the lower bounds focus on adversarial order streams; many problems are significantly easier in random order streams. Bridging the gap between adversarial and random order remains a key area for future research.

Summary updated

BibTeX
@inproceedings{assadi2021graph,
  author = {Sepehr Assadi and Vishvajeet N},
  title = {{Graph Streaming Lower Bounds for Parameter Estimation and Property Testing via a Streaming XOR Lemma}},
  booktitle = {STOC},
  year = {2021},
  doi = {10.1145/3406325.3451110},
}
Figure