Lune

SODA2022Top-tier venue

Learning-Augmented Weighted Paging

Nikhil Bansal, Christian Coester, Ravi Kumar, Manish Purohit, Erik Vee

2022Year
17Top-tier citations

Abstract

We consider a natural semi-online model for weighted paging, where at any time the algorithm is given predictions, possibly with errors, about the next arrival of each page. The model is inspired by Belady's classic optimal offline algorithm for unweighted paging, and extends the recently studied model for learning-augmented paging [45,50,52] to the weighted setting.

For the case of perfect predictions, we provide an โ„“-competitive deterministic and an ๐‘‚ (log โ„“)-competitive randomized algorithm, where โ„“ is the number of distinct weight classes. Both these bounds are tight, and imply an ๐‘‚ (log ๐‘Š)-and ๐‘‚ (log log ๐‘Š)-competitive ratio, respectively, when the page weights lie between 1 and ๐‘Š. Previously, it was not known how to use these predictions in the weighted setting and only bounds of ๐‘˜ and ๐‘‚ (log ๐‘˜) were known, where ๐‘˜ is the cache size. Our results also generalize to the interleaved paging setting and to the case of imperfect predictions, with the competitive ratios degrading smoothly from ๐‘‚ (โ„“) and ๐‘‚ (log โ„“) to ๐‘‚ (๐‘˜) and ๐‘‚ (log ๐‘˜), respectively, as the prediction error increases.

Our results are based on several insights on structural properties of Belady's algorithm and the sequence of page arrival predictions, and novel potential functions that incorporate these predictions. For the case of unweighted paging, the results imply a very simple potential function based proof of the optimality of Belady's algorithm, which may be of independent interest.

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.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 5d5d4fa1-40db-4412-bc06-6a6f0865b92c

Cited by top-tier papers17

Ask how each one uses it

Builds on8

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines