Competitive caching with machine learned advice

02/15/2018
by   Thodoris Lykouris, et al.
0

Traditional online algorithms encapsulate decision making under uncertainty, and give ways to hedge against all possible future events, while guaranteeing a nearly optimal solution as compared to an offline optimum. On the other hand, machine learning algorithms are in the business of extrapolating patterns found in the data to predict the future, and usually come with strong guarantees on the expected generalization error. In this work we develop a framework for augmenting online algorithms with a machine learned oracle to achieve competitive ratios that provably improve upon unconditional worst case lower bounds when the oracle has low error. Our approach treats the oracle as a complete black box, and is not dependent on its inner workings, or the exact distribution of its errors. We apply this framework to the traditional caching problem -- creating an eviction strategy for a cache of size k. We demonstrate that naively following the oracle's recommendations may lead to very poor performance, even when the average error is quite low. Instead we show how to modify the Marker algorithm to take into account the oracle's predictions, and prove that this combined approach achieves a competitive ratio that both (i) decreases as the oracle's error decreases, and (ii) is always capped by O( k), which can be achieved without any oracle input. We complement our results with an empirical evaluation of our algorithm on real world datasets, and show that it performs well empirically even using simple off-the-shelf predictions.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/01/2020

Secretary and Online Matching Problems with Machine Learned Advice

The classical analysis of online algorithms, due to its worst-case natur...
research
10/27/2019

Near-Optimal Bounds for Online Caching with Machine Learned Advice

In the model of online caching with machine learned advice, introduced b...
research
03/04/2020

Online metric algorithms with untrusted predictions

Machine-learned predictors, although achieving very good results for inp...
research
12/17/2020

Metrical Task Systems with Online Machine Learned Advice

Machine learning algorithms are designed to make accurate predictions of...
research
08/08/2022

Solving the Online Assignment Problem with Machine Learned Advice

The online assignment problem plays an important role in operational res...
research
05/28/2020

Better and Simpler Learning-Augmented Online Caching

Lykouris and Vassilvitskii (ICML 2018) introduce a model of online cachi...
research
06/28/2021

Robust Learning-Augmented Caching: An Experimental Study

Effective caching is crucial for the performance of modern-day computing...

Please sign up or login with your details

Forgot password? Click here to reset