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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f1bc3239-c9b7-4f6c-9687-82d927cf11b7Cited 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
