Cardinality constrained submodular maximization for random streams

Paul Liu, Aviad Rubinstein, Jan Vondrák, Junyao Zhao

TL;DR

This paper addresses the challenge of maximizing submodular functions in a single-pass data stream where items arrive in a random order. The authors introduce highly memory-efficient algorithms achieving optimal approximation ratios—$(1 - 1/e)$ for monotone and $1/e$ for non-monotone functions—using only $O(k/\varepsilon)$ memory. This provides an exponential improvement over previous memory bounds, translating theoretical guarantees into practical tools for large-scale datasets.

Introduction

Submodular functions mathematically model the concept of "diminishing returns" (e.g., adding a sensor to a sparse network yields more information than adding one to a dense network). Maximizing these functions under a cardinality constraint (choosing at most $k$ items) is a core problem in machine learning, data summarization, and influence maximization.

When datasets are massive, they cannot be stored entirely in memory. Instead, systems must rely on streaming algorithms that make a single pass over the data, deciding on the fly whether to keep or discard each arriving element. If the stream arrives in a completely random order, prior breakthrough work achieved a near-optimal $(1 - 1/e - \varepsilon)$ approximation for monotone functions. However, that algorithm required memory that scaled exponentially with $1/\varepsilon$, making it practically unusable even for a modest error tolerance like $\varepsilon = 0.1$. Furthermore, there were no equivalent strong guarantees for non-monotone functions in random-order streams. This paper bridges the gap between theoretical optimality and practical memory limits.

Methodology

The authors propose a multi-level streaming algorithm that partitions the incoming stream into a series of windows. Key innovations include:

  • Parallel Candidate Solutions: Instead of using massive enumerations to guess when optimal elements will arrive—the primary cause of the exponential memory blowup in prior work—the algorithm maintains $k$ partial solutions in parallel. As elements arrive, it attempts to extend these solutions simultaneously.
  • History Re-insertion: To prove the algorithm works, the mathematical analysis requires that optimal elements arrive uniformly. However, conditioning on the algorithm's past choices breaks this randomness. The authors resolve this by maintaining a "history pool" of previously selected elements and artificially re-inserting them into the current window's candidate pool. This clever analytical trick ensures that elements the algorithm did not pick still have a mathematically sound probability of appearing in the future.
  • Non-Monotone Sub-sampling: For non-monotone functions, adding too many elements can actually decrease the overall score. The authors adapt their algorithm by dynamically sub-sampling elements so that no single element is included in the solution with too high a probability, mimicking the behavior of offline randomized greedy algorithms.

Key Results

Theoretical Guarantees and Memory Efficiency

The proposed algorithms achieve a $(1 - 1/e - \varepsilon)$-approximation for monotone functions and a $(1/e - \varepsilon)$-approximation for non-monotone functions. Crucially, both algorithms require only $O(k/\varepsilon)$ memory.

Summary of approximation ratios and memory bounds compared to prior work.

As shown in the summary table above, this is an exponential improvement over the previous state-of-the-art $O(k \exp(\text{poly}(1/\varepsilon)))$ memory requirement for the monotone case. Additionally, the authors establish an unconditional hardness barrier: any algorithm achieving a $(1 - 1/e + \varepsilon)$ approximation for monotone submodular maximization requires $\Omega(n)$ memory, proving their algorithm's approximation ratio is the absolute mathematical ceiling for sub-linear memory streaming.

Empirical Performance

The authors evaluated their monotone algorithm on several real-world set coverage instances (e.g., accidents, kosarak, retail). In experiments across 9 datasets, the proposed algorithm consistently outperformed existing adversarial streaming baselines like SieveStreaming and SALSA. Remarkably, despite only making a single pass over the data, it achieved approximation ratios nearly identical to the computationally heavy, offline Lazy Greedy algorithm.

Limitations and Future Work

While the algorithm is memory-optimal, it is not strictly runtime-optimal. The monotone algorithm runs in $O(n\sqrt{k \log k}/\varepsilon)$ time, which is slower than some prior algorithms that run in $O(n \log k / \varepsilon)$ time. The non-monotone variant incurs additional overhead due to the complex on-the-fly sub-sampling probabilities it must calculate.

Future research directions include improving the runtime to make the algorithm more practical for extremely large cardinality constraints ($k$). The authors also highlight "adversarial injection" streams—where optimal elements arrive randomly but an adversary can inject noise anywhere—as an exciting frontier for future submodular streaming research.

Summary updated

BibTeX
@inproceedings{liu2021cardinality,
  author = {Paul Liu and Aviad Rubinstein and Jan Vondrák and Junyao Zhao},
  title = {{Cardinality constrained submodular maximization for random streams}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=ntLVR__qryA},
}
Figure