Streaming Stochastic Submodular Maximization with On-Demand User Requests

Honglian Wang, Sijing Tu, Lutz Oettershagen, Aristides Gionis

TL;DR

This paper introduces a novel framework called S3MOR to solve the challenge of recommending content from a continuous data stream to users arriving on-demand. By reducing the problem to submodular maximization under a partition matroid constraint, the authors propose STORM and STORM++, the first streaming algorithms that achieve provable competitive ratios while keeping memory usage completely independent of the stream's length.

What Problem Does This Paper Address?

Imagine running a live news recommendation platform. Two things are happening simultaneously: a relentless stream of new articles is arriving on your servers, and users are visiting your site at arbitrary times, expecting a fresh set of $k$ personalized recommendations per visit. Your goal is to maximize the total unique topics covered by the articles the user actually clicks on (which happens stochastically based on click probabilities).

Traditional streaming submodular maximization algorithms fall short here. They are designed to process a stream and output a single optimal subset at the very end. They cannot handle multiple, unpredictable, on-demand interactions where decisions are irrevocable (once a user sees a recommendation set, you cannot change it). The authors formalize this real-world challenge as Streaming Stochastic Submodular Maximization with On-demand Requests (S3MOR).

Methods

The authors' core insight is that the S3MOR problem can be mathematically reduced to streaming submodular maximization subject to a partition matroid constraint. In this setup, each user visit represents a distinct partition in the matroid, and the system can select at most $k$ items for each partition.

They analyze three algorithmic approaches:

  1. LMGREEDY: A baseline local greedy algorithm. If you have enough memory to store the entire stream, it achieves a tight, optimal $1/2$ competitive ratio. However, its linear memory scaling ($\Omega(N + kT)$ where $N$ is stream length) makes it impractical for massive, endless streams.
  2. STORM: A memory-efficient algorithm designed for when the exact number of user visits $T$ is unknown, but an upper bound $T'$ is available. It initializes $T'$ active candidate sets and processes incoming items by evaluating their marginal gain. When a user requests content, STORM greedily serves the best active candidate set and deactivates it.
Figure 1: Schematic view of our algorithm STORM. We first initialize T ′ empty active candidate sets. For each incoming news item in the stream S, we decide whether it can be added to/swapped into each of the active candidate sets. When a user submits a request, i.e., τj = 1, we select the best active candidate set, present it to the user, and deactivate it.
  1. STORM++: If the upper bound $T'$ is much larger than the actual visits $T$, STORM's performance guarantee degrades. To fix this, STORM++ discretizes the range of possible visits using a tuning parameter $\delta$. It runs multiple concurrent instances of STORM—each guessing a different value for $T$—and uses a greedy aggregation strategy to select the best output at each user visit.

The trade-offs between these algorithms are summarized below:

Table 1: Comparison of our algorithms. N ∈N denotes the stream length, k ∈N number of news items to present per user access, T ∈N and T ′ ∈N are the exact number and upper bound of user accesses, and δ ∈N an approximation parameter.

Datasets

The algorithms were evaluated on six diverse, real-world datasets spanning recommendation logs and multi-label text corpora:

  • KuaiRec: Video-sharing mobile app logs (7,043 videos, 100 categories).
  • Anime: Animation user ratings (7,745 items, 43 genres).
  • Beer: BeerAdvocate reviews (9,000 beers, 70 categories).
  • Yahoo: Music rating dataset (136,736 songs, 58 genres).
  • RCV1: Reuters news stories (462,225 stories, 476 labels).
  • Amazon: Product catalog data (1,117,006 products, 3,750 labels).

Key Insights and Ideas

  • The Matroid Connection: Mapping sequential, independent user visits to independent sets in a partition matroid provides a clean theoretical bridge to adapt classical submodular optimization tools to dynamic streaming environments.
  • Hedging via Concurrent Guesses: The design of STORM++ highlights a clever way to handle unknown temporal horizons. By running parallel instances with different "guesses" of the user's total visits and greedily picking the best response on the fly, the algorithm achieves a robust competitive ratio ($1/8\delta$) that is completely immune to the total length of the data stream.
  • Theory vs. Practice: Interestingly, while STORM(T) (where the exact number of visits is known) has the strongest theoretical lower bound, overestimating the visits in STORM++ can sometimes empirically outperform it. This happens because overestimation forces the algorithm to look for higher-quality items early on, occasionally yielding better topic coverage in practice.

Key Results

  • Memory Independence: On the massive Amazon dataset, LMGREEDY required 28.99 MB of memory because it scales with the stream length. In contrast, STORM and STORM++ required only 1.28 MB and 2.00 MB respectively, demonstrating true sublinear memory scaling.
  • Execution Speed: STORM and STORM++ achieved massive speedups over standard streaming baselines adapted to this task. On the Amazon dataset, STORM++ finished in 35.13 seconds compared to 307.43 seconds for a modified Sieve++ baseline.
  • Quality of Coverage: Across all datasets, STORM and STORM++ consistently outperformed adapted streaming baselines (Sieve++ and Preemption) in expected topic coverage, tracking closely behind the memory-heavy LMGREEDY upper bound.

Limitations and Future Work

  • Static Probabilities: The framework assumes that user click probabilities ($p_i$) are static and known beforehand via an oracle or pre-trained model. In reality, user preferences evolve, suggesting a need to combine this approach with online contextual bandits.
  • Parameter Sensitivity: The performance of STORM++ relies on choosing a good tuning parameter $\delta$. A poorly chosen $\delta$ can increase the number of oracle calls or degrade the competitive ratio. Exploring adaptive discretization strategies remains an open direction.

Summary updated

BibTeX
@inproceedings{wang2025streaming,
  author = {Honglian Wang and Sijing Tu and Lutz Oettershagen and Aristides Gionis},
  title = {{Streaming Stochastic Submodular Maximization with On-Demand User Requests}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=pjfMwXm61w},
}
Figure