A Simple Proof of a New Set Disjointness with Applications to Data Streams

Akshay Kamath, Eric Price, David P. Woodruff

Introduction

In the era of "Big Data," the ability to process massive datasets with minimal memory is a fundamental requirement. Streaming algorithms are designed for this purpose, processing data in a single pass while maintaining a small memory footprint. To determine if a streaming algorithm is optimal, researchers rely on communication complexity. This framework models a problem as a game where multiple players, each holding a portion of the data, must communicate to reach a solution. The amount of communication required provides a direct lower bound on the memory needed by any streaming algorithm for that problem.

The Limitations of Traditional Set Disjointness

For years, the Multiplayer Promise Set Disjointness problem has been the primary tool for proving these lower bounds. In this problem, players must distinguish between two cases: either their sets are completely disjoint, or there is exactly one element present in every player's set.

While powerful, this "gold standard" has significant drawbacks. The existing proofs for its complexity are mathematically dense, relying on advanced functional analysis like Hellinger distance and Poincare inequalities. More importantly, these proofs often failed to provide tight bounds for deterministic algorithms or for scenarios requiring very high confidence (low error probability $\delta$). This led to persistent gaps in our understanding. For instance, in the classic task of finding "heavy hitters" (frequent items), a massive discrepancy existed between the best deterministic algorithm, which used $O(\sqrt{n})$ memory, and the best proven lower bound of only $\Omega(\log n)$.

Introducing "Mostly Set Disjointness" (MostlyDISJ)

This paper introduces a new variant called Mostly Set Disjointness (MostlyDISJ). The core innovation is a simple change to the "YES" case: instead of requiring the unique element to be present in all $k$ sets, it only needs to appear in a constant fraction (e.g., at least half) of the sets.

The authors demonstrate that this "mostly" version is just as hard as the original for the purposes of streaming reductions, but it is significantly easier to analyze. They introduce a new proof technique based on conditional information complexity. By modeling players as only "observing" their input bits with a small probability—a concept they call a "clean" protocol—they show that if a protocol reveals little information, the players cannot distinguish between the disjoint and mostly-overlapping cases. This approach bypasses the complex functional analysis of previous methods, providing a more intuitive and flexible framework.

Key Applications and Results

The simplicity and power of MostlyDISJ allow the authors to resolve several long-standing questions in streaming complexity:

1. Closing the Deterministic Heavy Hitters Gap

The paper identifies that deterministic algorithms in the insertion-only model are more constrained than previously believed. Using MostlyDISJ, they prove that finding $\ell_2$-heavy hitters deterministically requires $\Omega(\sqrt{n}/\epsilon)$ memory. This result finally matches the performance of the classic Misra-Gries algorithm, closing a significant theoretical gap.

2. Optimal Bounds for Frequency Estimation

Previous methods struggled to account for the confidence level ($1-\delta$) in frequency estimation. The new proof technique naturally handles small error probabilities, establishing the first optimal lower bound of $\Omega(n^{1-2/p} \log(1/\delta))$ bits for $\ell_p$-frequency estimation (where $p > 2$).

3. Low-Rank Matrix Approximation

The authors apply their framework to sparse matrices, a staple of large-scale machine learning. They show that any deterministic algorithm for rank-1 approximation requires $\Omega(\sqrt{d})$ memory, proving that a polynomial dependence on the dimension $d$ is unavoidable.

4. Sketching vs. Non-Sketching in Turnstile Streams

The paper reveals a fascinating nuance in "turnstile" streams (where items can be added or removed). For relatively short streams, they demonstrate that non-sketching algorithms can outperform the best possible "sketching" (linear) algorithms, achieving $O((L/\epsilon)^{2/3})$ space compared to the $\Omega(n)$ required for general linear sketches.

Conclusion and Future Directions

By introducing MostlyDISJ and a simplified information-theoretic proof technique, this work provides a more accessible and powerful toolkit for the streaming community. While the current MostlyDISJ lower bound is tight up to a $\log k$ factor, refining this remains an open challenge. Future research may also extend these simplified proofs to other models, such as sliding windows, or further explore the optimal complexity of intermediate turnstile stream models.

Summary updated

BibTeX
@inproceedings{kamath2021simple,
  author = {Akshay Kamath and Eric Price and David P. Woodruff},
  title = {{A Simple Proof of a New Set Disjointness with Applications to Data Streams}},
  booktitle = {CCC},
  year = {2021},
  url = {https://openreview.net/forum?id=PBESbsdcsl},
}
Figure