NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Improved Algorithms for Maximum Coverage in Dynamic and Random Order Streams

Amit Chakrabarti, Andrew McGregor, Anthony WirtharXiv 2024

TL;DR

This paper presents significant space and time efficiency breakthroughs for the Maximum Coverage problem in data streams. By refining stochastic analysis techniques like "cascading urns," the authors reduced memory requirements from being dependent on the universe size ($n$) to being near-linear in the number of sets to be selected ($k$), while simultaneously achieving faster, polylogarithmic update times.

What Problem Does This Paper Address?

The Maximum Coverage Problem is a classic challenge in computer science: given a collection of sets, pick exactly $k$ of them to cover as many unique elements as possible. It’s a fundamental problem used in everything from placing cell towers to recommending content on social media.

Because the problem is NP-hard, researchers aim for a $(1 - 1/e)$ approximation— the best possible result one can achieve in polynomial time. However, in the modern era of "Big Data," the challenge isn't just computational complexity, but memory. When data arrives as a "stream" (too large to store locally), we need algorithms that use space sublinear to the size of the input.

The authors focus on three streaming flavors:

  1. Dynamic Streams: Sets are added and deleted over time.
  2. Random Order Streams: Sets arrive in a random sequence (no deletions).
  3. Insert-Only Streams: The standard model where sets are added one by one.

Methods

The authors build upon the Quantized Greedy Algorithm. Instead of searching for the absolute "best" set to add (which is slow and memory-intensive), they use a threshold: any set that covers at least $\tau$ new elements is "good enough."

Key technical innovations include:

  • Universe Sub-sampling: A technique to "shrink" the world. By hashing the universe of elements down to a smaller size, they can track coverage accurately using much less memory.
  • $\ell_0$ Sampling: In dynamic streams, they use this primitive to pick a set uniformly at random from the collection of sets currently "active" (inserted but not deleted).
  • Cascading Urns Process: This is a novel stochastic analysis tool. The authors model the algorithm as drawing balls from multiple urns. This allows them to prove that they can process the stream in fewer passes without needing extra space.
  • Fast Polynomial Hashing: To achieve fast update times, they use high-degree hash functions implemented with fast Fourier-like transforms, allowing them to process elements in batches.

Datasets

This is a theoretical research paper focused on algorithmic complexity and mathematical proofs. Consequently, no empirical datasets or benchmarks were used for evaluation. The results are proven to hold for any valid input instance.

Key Insights and Ideas

  • Breaking the $n$-dependency: The biggest "aha" moment is showing that for dynamic streams, you don't need memory proportional to the universe size ($n$). By combining sub-sampling with parallel thresholding, the space complexity drops to being primarily dependent on $k$.
  • Parallelism in Thresholds: Previous dynamic algorithms handled one threshold at a time. This paper shows you can handle multiple thresholds (e.g., sets covering $OPT/2$, $OPT/4$, etc.) in parallel. Their "cascading urns" analysis proves this doesn't lead to a "garbage in, garbage out" scenario.
  • Randomness is a Resource: In the Random Order model, the fact that sets arrive in a random sequence allows for a single-pass algorithm with space linear in $k$, improving on previous quadratic ($k^2$) requirements.
  • Amortization for Speed: The authors realized that while evaluating complex hash functions is slow for a single element, it can be done very quickly across a "buffer" of elements, leading to polylogarithmic amortized update times.

Key Results

  • Dynamic Model: Achieved $(1 - 1/e - \epsilon)$ approximation using $\epsilon^{-2} k \cdot \text{polylog}(n,m)$ space. This is a massive improvement over the previous state-of-the-art, which required space linear in $n$.
  • Random Order Model: Developed a single-pass algorithm using $O_\epsilon(k \cdot \text{polylog}(n,m))$ space. This effectively removes a factor of $k$ from the previous best known space bound.
  • Update Speed: The algorithms now feature polylogarithmic amortized update time. Previous best results for insert-only streams were linear in $k$, which is significantly slower for large-scale applications.

Limitations and Future Work

  • Exponential $\epsilon$ in Random Order: While the Random Order algorithm is space-efficient in terms of $k$, the constant factor hidden in the $O_\epsilon$ notation grows exponentially with $1/\epsilon$. This makes the algorithm less practical for very high-precision requirements (very small $\epsilon$).
  • The Random Order Conjecture: The authors conjecture that $\epsilon^{-2} k \cdot \text{polylog}(n,m)$ space should be possible for the random order model without the exponential dependency on $\epsilon$, but a new approach beyond their current adaptation of submodular secretary algorithms is likely needed.

Summary updated

BibTeX
@misc{chakrabarti2024improved,
  author = {Amit Chakrabarti and Andrew McGregor and Anthony Wirth},
  title = {{Improved Algorithms for Maximum Coverage in Dynamic and Random Order Streams}},
  year = {2024},
  eprint = {2403.14087},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.14087},
}
Figure