Online List Labeling with Predictions
Samuel McCauley, Benjamin Moseley, Aidin Niaparast, Shikha Singh
Abstract
A growing line of work shows how learned predictions can be used to break through worst-cast barriers to improve the running time of an algorithm. However, incorporating predictions into data structures with strong theoretical guarantees remains underdeveloped. This paper takes a step in this direction by showing that predictions can be leveraged in the fundamental online list labeling problem. In the problem, n items arrive over time and must be stored in sorted order in an array of size Θ(n). The array slot of an element is its label and the goal is to maintain sorted order while minimizing the total number of elements moved (i.e., relabeled). We design a new list labeling data structure and bound its performance in two models. In the worst-case learning-augmented model, we give guarantees in terms of the error in the predictions. Our data structure provides strong theoretical guaranteesit is optimal for any prediction error and guarantees the best-known worst-case bound even when the predictions are entirely erroneous. We also consider a stochastic error model and bound the performance in terms of the expectation and variance of the error. Finally, the theoretical results are demonstrated empirically. In particular, we show that our data structure performs well on numerous real datasets, including temporal data sets where predictions are constructed from elements that arrived in the past (as is typically done in a practical use case).
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Incremental Topological Ordering and Cycle Detection with Predictions cites Faster Matchings via Learned Duals
- Binary Search with Distributional Predictions cites Incremental Topological Ordering and Cycle Detection with Predictions
- Binary Search with Distributional Predictions cites Online Scheduling via Learned Weights
- Why Are Learned Indexes So Effective? cites ALEX: An Updatable Adaptive Learned Index
- Updatable Learned Index with Precise Positions cites ALEX: An Updatable Adaptive Learned Index
- Learning-Augmented Priority Queues cites Faster Matchings via Learned Duals
- Faster Global Minimum Cut with Predictions cites Incremental Topological Ordering and Cycle Detection with Predictions
- Faster Global Minimum Cut with Predictions cites Binary Search with Distributional Predictions
- Faster Global Minimum Cut with Predictions cites Online Scheduling via Learned Weights
- Faster Global Minimum Cut with Predictions cites Faster Matchings via Learned Duals
- Faster Matchings via Learned Duals cites Online Scheduling via Learned Weights
Cited by top-tier papers5
- Binary Search with Distributional PredictionsMichael Dinitz, Sungjin Im, Thomas Lavastida, Benjamin Moseley et al.NeurIPS 2024 · 20 citations
- Learning-Augmented Priority QueuesZiyad Benomar, Christian CoesterNeurIPS 2024 · 13 citations
- Incremental Topological Ordering and Cycle Detection with PredictionsSamuel McCauley, Benjamin Moseley, Aidin Niaparast, Shikha SinghICML 2024 · 6 citations
- Nearly Optimal List LabelingMichael A. Bender, Alex Conway, Martín Farach-Colton, Hanna Komlós et al.FOCS 2024 · 1 citation
- Faster Global Minimum Cut with PredictionsHelia Niaparast, Benjamin Moseley, Karan SinghICML 2025
Builds on13
- ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang et al.SIGMOD 2020 · 274 citations
- Updatable Learned Index with Precise PositionsJiacheng Wu, Yong Zhang, Shimin Chen, Yu Chen et al.VLDB 2021 · 160 citations
- Faster Matchings via Learned DualsMichael Dinitz, Sungjin Im, Thomas Lavastida, Benjamin Moseley et al.NeurIPS 2021 · 98 citations
- Online Scheduling via Learned WeightsSilvio Lattanzi, Thomas Lavastida, Benjamin Moseley, Sergei VassilvitskiiSODA 2020 · 83 citations
- Why Are Learned Indexes So Effective?Paolo Ferragina, Fabrizio Lillo, Giorgio VinciguerraICML 2020 · 63 citations
Related papers
- Online List Labeling: Breaking the log2n BarrierMichael A. Bender, Alex Conway, Martin Farach-Colton, Hanna Komlós et al.FOCS 2022 · 10 citations
- Online Ad Allocation with PredictionsFabian Spaeh, Alina EneNeurIPS 2023 · 11 citations
- Augment Online Linear Optimization with Arbitrarily Bad Machine-Learned PredictionsDacheng Wen, Yupeng Li, Francis C. M. LauINFOCOM 2024 · 5 citations
- Learning-Augmented Algorithms with Explicit PredictorsMarek Eliás, Haim Kaplan, Yishay Mansour, Shay MoranNeurIPS 2024 · 19 citations
- A Universal Error Measure for Input Predictions Applied to Online Graph ProblemsGiulia Bernardini, Alexander Lindermayr, Alberto Marchetti-Spaccamela, Nicole Megow et al.NeurIPS 2022 · 23 citations
