TL;DR
This paper introduces the first learning-augmented algorithm for dynamic submodular maximization. By leveraging predictions about when elements will enter and leave a data stream, the authors achieve a near-optimal $1/2 - \epsilon$ approximation with an update time that scales with the prediction error rather than the total length of the stream.
The Challenge of Dynamic Submodular Maximization
Submodular functions are the mathematical backbone of "diminishing returns"—they are used to model everything from sensor placement and document summarization to recommender systems. In many real-world applications, the set of available items is dynamic: new products are added to a catalog, or users join and leave a social network.
The challenge in dynamic submodular maximization is maintaining a high-quality set of $k$ items as insertions and deletions occur, all while keeping the "update time" (the time taken to adjust the solution after a change) as low as possible. Traditional algorithms focus on the worst-case scenario, where updates are arbitrary. However, real-world data often follows patterns. This paper asks: If we have a "noisy" prediction of when items will arrive and depart, can we use it to speed up our algorithm without sacrificing accuracy?
A Learning-Augmented Approach
The authors propose a framework that combines traditional dynamic algorithms with deletion-robust optimization. Their approach consists of two main phases:
- Precomputation Phase: At the start ($t=0$), the algorithm receives predictions for the insertion and deletion times of all elements. It uses these to build "robust" sets—collections of elements that are likely to provide high value even if some predicted elements fail to appear or leave earlier than expected.
- Streaming Phase: As the actual stream unfolds, the algorithm partitions active elements into two groups: those that were correctly predicted (within a time window $w$) and those that were unpredicted (the "surprises").
The core technical innovation is the use of a "strongly robust" property. The algorithm maintains a base set of predicted elements and uses a standard dynamic algorithm to manage the "surprises."
Phased Re-initialization
Instead of updating everything at every step, the core subroutine, UpdateSolMain, processes updates in phases. A new phase only starts when the number of "unexpected" changes exceeds a threshold related to the predicted error, which amortizes the cost of heavy computations.
By carefully switching between these sets and re-initializing only when the cumulative prediction error becomes too large, the algorithm ensures the update time stays low. Crucially, the algorithm is designed to be consistent (fast when predictions are good) and robust (never worse than the best non-augmented algorithm when predictions are bad).
Datasets and Evaluation
The authors evaluated their algorithm using:
- Enron Dataset: A subset of the SNAP Large Networks Data Collection. They modeled a "dominating set" problem on a graph with 7,845 vertices and over 20,000 edges.
- Synthetic Streams: To test different error levels, they generated "true" streams using a sliding window protocol and then created "predicted" streams by adding varying amounts of random noise (perturbations) to the arrival and departure times.
Key Insights and Results
- Error-Dependent Complexity: The most significant theoretical contribution is that the amortized update time is $O(\text{poly}(\log \eta, \log w, \log k))$, where $\eta$ is the prediction error. This means if your predictions are perfect ($\eta=0$), the update time is essentially constant, regardless of how many millions of items are in the stream.
- The Robustness Bridge: You cannot just trust predictions blindly. The authors use deletion-robust subroutines as a buffer. By picking a set that is "robust to $d$ deletions," they can handle cases where predicted elements are missing without having to re-run expensive greedy selections.
- Theoretical Guarantees: The algorithm maintains a $1/2 - \epsilon$ approximation ratio, which is the gold standard for dynamic submodular maximization under a cardinality constraint.
- Query Efficiency: In experiments on the Enron dataset, the learning-augmented algorithm (
DynamicWPred) required significantly fewer oracle queries (calls to the submodular function) than the state-of-the-art dynamic algorithm without predictions, especially when the prediction error was low to moderate. - Performance Stability: Even when the prediction error was 100% (completely wrong predictions), the algorithm's solution quality remained as high as the standard dynamic approach, proving it doesn't "break" when the machine learning model providing the predictions fails.
Limitations and Future Work
- Subpolynomial Error Requirement: To see a massive asymptotic speedup over existing $O(\text{polylog } n)$ algorithms, the prediction error $\eta$ needs to be relatively small (subpolynomial in the stream length $n$).
- Batch Predictions: The current model assumes all predictions are available at time $t=0$. In some scenarios, predictions might arrive piecemeal.
- The Deletion-Only Challenge: The authors note an intriguing open question: can we achieve similar speedups in a "predicted-deletion" model where we only learn an item's departure time at the moment it is inserted, without any prior precomputation?
Reference: Agarwal, A., & Balkanski, E. (2024). Learning-Augmented Dynamic Submodular Maximization. 38th Conference on Neural Information Processing Systems (NeurIPS 2024).
Summary updated