Online List Labeling with Predictions

Samuel McCauley, Benjamin Moseley, Aidin Niaparast, Shikha Singh
5/17/2023
cs.DScs.LG

No official code found. Best implementation: AidinNiaparast/LearnedLLA (3 stars, last commit 2023-05-31).

Abstract

A growing line of work shows how learned predictions can be used to break through worst-case 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 Theta(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 guarantees: it 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 has strong performance on real temporal data sets where predictions are constructed from elements that arrived in the past, as is typically done in a practical use case.

View on arXivView PDF

Code Implementations(1)

The official implementation of LearnedLLA data structure in the paper "Online List Labeling with Predictions".

31PythonMay 31, 20233 years ago

Similar Papers

Cite this paper

@article{mccauley2023online,
  title  = {Online List Labeling with Predictions},
  author = {Samuel McCauley and Benjamin Moseley and Aidin Niaparast and Shikha Singh},
  year   = {2023},
  eprint = {2305.10536},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.10536v2},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.10536.svg)](https://codeofpaper.com/paper/2305.10536)

Discussion