Online List Labeling with Predictions

05/17/2023
by   Samuel McCauley, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/10/2021

Learning-Augmented Algorithms for Online Steiner Tree

This paper considers the recently popular beyond-worst-case algorithm an...
research
05/25/2022

A Universal Error Measure for Input Predictions Applied to Online Graph Problems

We introduce a novel measure for quantifying the error in input predicti...
research
03/05/2022

Online List Labeling: Breaking the log^2n Barrier

The online list labeling problem is an algorithmic primitive with a larg...
research
05/10/2023

Coding for IBLTs with Listing Guarantees

The Invertible Bloom Lookup Table (IBLT) is a probabilistic data structu...
research
12/28/2022

Invertible Bloom Lookup Tables with Listing Guarantees

The Invertible Bloom Lookup Table (IBLT) is a probabilistic concise data...
research
06/02/2021

Using Predicted Weights for Ad Delivery

We study the performance of a proportional weights algorithm for online ...
research
03/01/2023

Predictive Flows for Faster Ford-Fulkerson

Recent work has shown that leveraging learned predictions can improve th...

Please sign up or login with your details

Forgot password? Click here to reset