A New Information Complexity Measure for Multi-pass Streaming with Applications

Mark Braverman, Sumegha Garg, Qian Li, Shuo Wang, David P. Woodruff, Jiapeng Zhang

Abstract

In the analysis of streaming algorithms, providing tight lower bounds for multi-pass settings has historically been challenging due to the complex correlations introduced between passes. This paper introduces Multi-pass Information Complexity (MIC), a novel framework designed to measure the information cost of algorithms that traverse data multiple times. By applying MIC, the authors establish the first tight lower bounds for fundamental problems, including the "coin problem" and the "needle problem," demonstrating that even with multiple passes, significant memory is required for accurate estimation.

Introduction

Streaming algorithms are the backbone of large-scale data processing, designed to handle datasets that exceed available memory by maintaining a compact summary or "sketch." While the theoretical limits of single-pass algorithms are well-documented, the multi-pass setting—where an algorithm can re-read the input—remains less understood. The primary difficulty lies in the fact that an algorithm's state after the first pass can influence its observations in subsequent passes, creating dependencies that break standard information-theoretic lower bound techniques.

This research addresses this gap by introducing a new complexity measure, Multi-pass Information Complexity (MIC), and using it to derive tight space-pass trade-offs for several core problems in the streaming model.

Fundamental Problems: Coin and Needle

The paper focuses on two canonical problems that serve as building blocks for more complex streaming tasks:

  1. The Coin Problem: Given a stream of $n$ random bits (represented as $\{-1, 1\}$), the goal is to determine the majority (i.e., whether the sum is positive or negative).
  2. The Needle Problem: Given a stream of items, the algorithm must distinguish between a purely uniform distribution and a distribution containing a "needle"—a specific value that appears with a slightly higher frequency $p$.

Prior to this work, it was unclear if multiple passes could significantly reduce the memory required for these tasks. This paper proves that for the coin problem, even with multiple passes, the memory requirement remains $\Omega(\log n)$ for a constant number of passes.

Methodology: Multi-pass Information Complexity (MIC)

The authors' primary contribution is the MIC framework. Traditional information complexity measures the total information an algorithm's output or state reveals about the input. MIC refines this by focusing on "residual independence."

The MIC Framework

MIC measures the information the algorithm’s memory state carries about a specific input item, conditioned on the memory states from all previous passes. This conditioning effectively "unrolls" the multi-pass algorithm, allowing researchers to treat it similarly to a single-pass algorithm while accounting for the knowledge gained in earlier iterations.

Simulation and Reduction

To establish lower bounds for the coin problem, the authors employ a simulation argument. They demonstrate that if a $k$-pass algorithm could solve the problem with very little memory, one could construct a single-pass algorithm to simulate all $k$ passes simultaneously. By utilizing properties of KL-divergence, they show that a single-pass simulator can "trick" the multi-pass algorithm into treating the single pass as multiple distinct passes, provided the memory footprint is sufficiently small.

For the needle problem, the authors reduce the streaming task to a communication complexity problem known as MostlyEq. This reduction allows them to prove that for any $k$-pass algorithm, the memory $s$, number of passes $k$, needle probability $p$, and stream length $n$ must satisfy the trade-off $ksp^2n = \Omega(1)$.

Key Insights and Results

The application of MIC leads to several significant findings:

  • Memory-Pass Trade-offs: For the coin problem, the paper establishes a lower bound of $\Omega(\frac{\log n}{k})$ bits. This confirms that re-reading data a constant number of times does not allow an algorithm to bypass the logarithmic memory requirement.
  • Problem Separation: A surprising result is the separation between the needle and coin problems. In certain regimes (specifically when $p \ge 1/\sqrt{n}$), the needle problem is shown to be easier than the coin problem, requiring less memory.
  • Tightened Bounds: The research resolves open questions regarding the needle problem by providing tight space bounds for probabilities $p < 1/\sqrt{n \log^3 n}$.
  • Algorithmic Improvements: Beyond lower bounds, the authors present a new one-pass algorithm for the needle problem using $O(1/p^2n)$ space, improving upon the previous state-of-the-art.

Conclusion

The introduction of Multi-pass Information Complexity provides a robust toolkit for analyzing algorithms that interact with data multiple times. While the current work focuses on stochastic inputs and i.i.d. distributions, the framework has broad implications for $\ell_p$-norm estimation, heavy hitters, and sparse recovery. Future research may extend these techniques to adversarial data distributions and explore applications within learning theory and cryptography.

Summary updated

BibTeX
@inproceedings{braverman2024new,
  author = {Mark Braverman and Sumegha Garg and Qian Li and Shuo Wang and David P. Woodruff and Jiapeng Zhang},
  title = {{A New Information Complexity Measure for Multi-pass Streaming with Applications}},
  booktitle = {STOC},
  year = {2024},
  doi = {10.1145/3618260.3649672},
}
Figure