When Streaming Fails: Dynamic Algorithms for Unconstrained Submodular Maximization

Kiarash Banihashem, MohammadTaghi Hajiaghayi, Peyman Jabbarzade, Samira Goudarzi, Morteza MonemizadehNeurIPS 2026

TL;DR

For years, designing dynamic algorithms—which maintain good solutions as data is added or deleted—for submodular optimization relied on adapting streaming algorithms. But what happens when no streaming algorithm can possibly exist for your problem? This paper breaks that dependency for Unconstrained Submodular Maximization (USM), introducing a clever buffering technique that shatters the trivial $0.25$-approximation barrier while keeping update times fast and sublinear.

What Problem Does This Paper Address?

Submodular functions are the mathematical embodiment of diminishing returns: adding a sensor to a sparse network helps a lot, while adding the hundredth sensor helps much less. Usually, we assume adding items never hurts, a property called monotonicity. When we drop that assumption (say, in Max-Cut or facility location, where adding a facility incurs maintenance costs) and put no limits on how many items we can pick, we get Unconstrained Submodular Maximization (USM).

In the real world, datasets evolve. Elements arrive and depart, and we want a dynamic algorithm that updates our chosen subset quickly without recomputing everything from scratch. Historically, researchers built dynamic submodular algorithms by borrowing blueprints from streaming algorithms (which process data in one pass using tiny memory).

Here’s the catch: streaming completely fails for USM. Because there are no size constraints, the optimal answer might be the entire dataset of size $n$, which is impossible to store in sublinear streaming memory. Without a streaming blueprint, dynamic USM was stuck between two extremes:

  1. Flip a coin for each element (random sampling), taking $O(1)$ update time for a weak $0.25$-approximation.
  2. Rerun the best offline greedy algorithm from scratch after every single change, getting the optimal $0.5$-approximation, but at a painful $O(n)$ cost per update.

Can we beat the $0.25$ coin-flip barrier in sublinear update time?

Methods

To bridge the gap between $O(1)$ random sampling and $O(n)$ full recomputation, the authors introduce a two-tier partitioning scheme coupled with a generalized offline subroutine.

First, they slightly modify Buchbinder et al.’s classic linear-time offline algorithm (which uses a "double greedy" approach) into a subroutine called EXTEND. Instead of starting from scratch, EXTEND(S, N) takes an already chosen set $S$ and greedily decides which elements from a disjoint pool $\mathcal{N}$ to add on top of it, making $O(|\mathcal{N}|)$ value-oracle queries.

The EXTEND subroutine generalizes the classic double-greedy offline algorithm to expand an existing set S using elements from N.

Next, in the incremental (insertions-only) setting, the algorithm divides seen elements into two buckets: permanent storage ($\mathcal{N}_1$) and a small buffer ($\mathcal{N}_2$) capped at size $\lfloor\sqrt{n}\rfloor$.

  • On every insertion: The new element lands in the buffer $\mathcal{N}_2$. The algorithm takes a pre-sampled random half of permanent storage ($S_1$) and runs EXTEND(S_1, N_2) to build candidate solution $\text{Sol}_2$. Because the buffer has at most $\sqrt{n}$ items, this takes at most $O(\sqrt{n})$ queries!
  • When the buffer fills up: Every $\sqrt{n}$ steps, the buffer $\mathcal{N}_2$ is dumped into permanent storage $\mathcal{N}_1$. Now the algorithm pays $O(n)$ queries to run EXTEND from scratch on all of $\mathcal{N}_1$ (yielding $\text{Sol}_1$) and draws a fresh random sample $S_1$. Spread across $\sqrt{n}$ updates, this $O(n)$ cost amortizes to $O(\sqrt{n})$ per step.

At every step, the algorithm simply outputs whichever is better: $\text{Sol}_1$ or $\text{Sol}_2$.

The incremental dynamic algorithm balances fast buffer extensions against periodic full recomputations.

Datasets

Not discussed in the paper. (This is a purely theoretical work proving worst-case mathematical guarantees in the value-oracle model.)

Key Insights and Ideas

  • Streaming isn't required for dynamics: Unlike streaming algorithms, dynamic algorithms are allowed to remember the input. By decoupling space from query time, the authors show we can achieve fast dynamic updates even when sublinear-space streaming is impossible.
  • The Win-Win Hedging Strategy: Why does taking the max of $\text{Sol}_1$ and $\text{Sol}_2$ guarantee a $0.3$-approximation? Think of it as an algorithmic hedge. Right after a buffer flush, $\text{Sol}_1$ is a $0.5$-approximation. As new elements enter $\mathcal{N}_2$, one of two things happens:
  • Most of the optimal value still lives in permanent storage $\mathcal{N}_1$ (at least $60\%$ of $\text{OPT}$). Then $\text{Sol}_1$ alone retains at least $\frac{1}{2} \times 0.6 = 0.3$ of $\text{OPT}$.
  • Crucial high-value elements have arrived in the buffer $\mathcal{N}_2$ (more than $40\%$ of $\text{OPT}$). Here, random sampling $S_1$ secures a baseline $0.25$-approximation on $\mathcal{N}_1$, and running EXTEND over $\mathcal{N}_2$ captures enough of the buffer's surge to push $\text{Sol}_2$ past $0.3\,\text{OPT}$.
  • No need to know $n$ in advance: If the stream length $n$ is unknown, starting with a buffer cap $b=2$ and doubling $b$ whenever insertions exceed $b^2$ preserves the $O(\sqrt{n})$ amortized query complexity.

Key Results

All algorithms achieve an amortized query complexity of $O(\sqrt{n})$ oracle calls per update, breaking the $0.25$ random-sampling barrier across three dynamic models:

  • Incremental (insertions only): Achieves a $0.3$-approximation.
  • Decremental (deletions in a known order): Achieves a $0.3$-approximation.
  • Fully Dynamic (insertions and deletions, when each element's deletion time is revealed upon insertion): Achieves a $0.264$-approximation (note: briefly cited as $0.3$ in the techniques overview, with $0.264$ stated as the formal main theorem guarantee).

Limitations and Future Work

  • Advance knowledge of deletions: Whenever deletions are involved, the algorithms require extra foresight—either knowing the exact deletion order upfront (decremental) or knowing an element's "expiration date" when it arrives (fully dynamic). Handling arbitrary, unannounced deletions remains open.
  • Oblivious adversary: Because the algorithms rely on internal coin flips, they assume an oblivious adversary—meaning the sequence of updates cannot adaptively change in reaction to the algorithm's random choices.
  • Amortized vs. Worst-case time: Update times are $O(\sqrt{n})$ amortized; periodic buffer flushes still pause to do $O(n)$ work on a single step. Tightening the gap between $0.3$ (or $0.264$) and the offline $0.5$ ceiling, or achieving worst-case sublinear update times, are natural next frontiers.

Summary updated

Abstract

Dynamic submodular optimization has attracted significant attention in recent years, with a growing body of work studying both monotone and non-monotone variants under various constraints. A key insight underlying much of this progress is that the dynamic setting is closely related to the streaming setting, both in terms of algorithms and lower bounds. This raises a natural and fundamental question: can we obtain dynamic algorithms even for problems where no streaming analogue exists? In this paper, we answer this question affirmatively for the fundamental problem of Unconstrained Submodular Maximization (USM). Unlike other variants of submodular maximization, no streaming algorithm with non-trivial guarantees is known for USM. In the dynamic setting, a trivial $0.25$-approximation follows from random sampling, but obtaining any better approximation with sublinear update time had remained open. We present the first dynamic algorithms for USM that break the $0.25$-approximation barrier while maintaining sublinear update time, across several natural dynamic models: incremental updates, decremental updates with known deletion order, and fully dynamic updates with known deletion times.
BibTeX
@inproceedings{banihashem2026when,
  author = {Kiarash Banihashem and MohammadTaghi Hajiaghayi and Peyman Jabbarzade and Samira Goudarzi and Morteza Monemizadeh},
  title = {{When Streaming Fails: Dynamic Algorithms for Unconstrained Submodular Maximization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=BAkDvtpvDd},
}
Figure