Abstract
Recent progress in (semi-)streaming algorithms for monotone submodular function maximization has led to tight results for a simple cardinality constraint. However, current techniques fail to give a similar understanding for natural generalizations, including matroid constraints. This paper aims at closing this gap. For a single matroid of rank $k$, our main results are a single-pass streaming algorithm that uses $O(k \cdot \text{poly}(\epsilon^{-1}))$ memory and achieves an approximation guarantee of $0.3178$ and a multipass streaming algorithm that uses $O(k \cdot \text{poly}(\epsilon^{-1}))$ memory and achieves an approximation guarantee of $1 - 1/e - \epsilon$ by taking a constant number of passes over the stream. This improves on the previously best approximation guarantees of $1/4$ and $1/2$ for single-pass and multipass streaming algorithms, respectively. Moreover, we show how the approach used for multipass streaming can be further strengthened if the elements of the stream arrive in uniformly random order, implying an improved result for $p$-matchoid constraints.
Introduction
In the era of big data, algorithms must often process information that is too large to fit into memory. The streaming model addresses this by requiring algorithms to process elements one by one, using memory that is significantly smaller than the total dataset size—typically proportional to the size of the desired output. A core challenge in this space is submodular maximization, which involves selecting a subset of items to maximize a function characterized by "diminishing returns." While simple cardinality constraints (e.g., "select $k$ items") are well-studied, more complex constraints, such as those defined by matroids, have remained a significant theoretical hurdle.
This paper, presented at ICALP 2022, provides a breakthrough in this field. By introducing a novel "fractional swapping" technique and a robust multi-pass framework, the authors close the gap between theoretical limits and practical streaming performance for matroid-constrained submodular maximization.
The Challenge of Matroid Constraints
Submodular functions $f$ satisfy the property that for any sets $A \subseteq B$ and element $e \notin B$, $f(A \cup \{e\}) - f(A) \geq f(B \cup \{e\}) - f(B)$. This property is ubiquitous in machine learning, appearing in tasks like sensor placement, document summarization, and influence maximization.
A matroid constraint generalizes the concept of a simple size limit. A matroid $M = (V, \mathcal{I})$ defines a collection of "independent" sets $\mathcal{I}$. The goal is to find a set $S \in \mathcal{I}$ that maximizes $f(S)$. Matroids can model complex requirements, such as partition constraints (e.g., "pick at most $m_i$ items from category $i$") or graphic constraints. In the streaming setting, the algorithm must maintain a valid independent set while only seeing a fraction of the data at any given time.
Breakthrough in Single-Pass Streaming: Fractional Swapping
The previous state-of-the-art for single-pass streaming under matroid constraints was a $1/4$ (or $0.25$) approximation. These algorithms typically used "integral swaps": when a new element $e$ arrived, the algorithm would check if adding $e$ (and potentially removing an existing element to maintain independence) increased the total value by a certain threshold.
The authors introduce Fractional Swapping, a technique that allows the algorithm to hedge its decisions. Instead of maintaining a single set, the algorithm conceptually maintains multiple sets or a "fractional" membership. When a new element arrives, it is "inserted" into these sets based on its marginal contribution. This granularity prevents the algorithm from being "tricked" by early, moderately valuable elements that might otherwise block much more valuable elements appearing later in the stream. This approach yields a new approximation guarantee of $0.3178$, significantly breaking the $0.25$ barrier.
Achieving Optimality in Multi-Pass Streaming
For scenarios where the data can be read multiple times (multi-pass streaming), the authors achieve the "holy grail" of submodular maximization: the $1 - 1/e$ approximation ratio. This ratio is known to be the optimal bound for offline polynomial-time algorithms; reaching it in a streaming setting with limited memory is a landmark result.
The authors achieve this by developing a memory-efficient version of the Accelerated Continuous Greedy framework. They prove that if a streaming algorithm can find an approximate local maximum—a solution where no single swap can significantly improve the value—it can be used as a building block for the continuous greedy process. Their SinglePass procedure serves as this local search engine, allowing the multi-pass algorithm to converge to the $1 - 1/e$ bound in a constant number of passes.
Key Results and Theoretical Impact
The paper's contributions are summarized by several key improvements:
- Single-Pass Improvement: The approximation ratio is raised from $0.25$ to $0.3178$ using $O(k)$ memory.
- Multi-Pass Optimality: The algorithm achieves $1 - 1/e - \epsilon$ in a constant number of passes, matching the best possible offline performance.
- Random Order Efficiency: If elements arrive in a random order rather than an adversarial one, the number of passes required to reach high-quality solutions is reduced to $O(\epsilon^{-2} \log \epsilon^{-1})$.
- Non-Monotone Functions: The techniques extend to non-monotone submodular functions, improving the approximation ratio from $0.1715$ to $0.1921$.
Conclusion and Future Directions
This work significantly advances the state of streaming submodular maximization. However, a theoretical gap remains: for simple cardinality constraints, a $1/2$ approximation is possible in a single pass. Whether this $1/2$ bound can be reached for the more general matroid constraint remains an open and challenging question. Additionally, future research may focus on reducing the computational overhead of the "independence oracles" required to verify matroid constraints in real-time applications.
Summary updated