Saved in:
Bibliographic Details
Main Authors: Levy, Orin, Touitou, Noam, Rosenberg, Aviv
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.21266
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913565924917248
author Levy, Orin
Touitou, Noam
Rosenberg, Aviv
author_facet Levy, Orin
Touitou, Noam
Rosenberg, Aviv
contents Online paging is a fundamental problem in the field of online algorithms, in which one maintains a cache of $k$ slots as requests for fetching pages arrive online. In the weighted variant of this problem, each page has its own fetching cost; a substantial line of work on this problem culminated in an (optimal) $O(\log k)$-competitive randomized algorithm, due to Bansal, Buchbinder and Naor (FOCS'07). Existing work for weighted paging assumes that page weights are known in advance, which is not always the case in practice. For example, in multi-level caching architectures, the expected cost of fetching a memory block is a function of its probability of being in a mid-level cache rather than the main memory. This complex property cannot be predicted in advance; over time, however, one may glean information about page weights through sampling their fetching cost multiple times. We present the first algorithm for online weighted paging that does not know page weights in advance, but rather learns from weight samples. In terms of techniques, this requires providing (integral) samples to a fractional solver, requiring a delicate interface between this solver and the randomized rounding scheme; we believe that our work can inspire online algorithms to other problems that involve cost sampling.
format Preprint
id arxiv_https___arxiv_org_abs_2410_21266
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Online Weighted Paging with Unknown Weights
Levy, Orin
Touitou, Noam
Rosenberg, Aviv
Machine Learning
Data Structures and Algorithms
Online paging is a fundamental problem in the field of online algorithms, in which one maintains a cache of $k$ slots as requests for fetching pages arrive online. In the weighted variant of this problem, each page has its own fetching cost; a substantial line of work on this problem culminated in an (optimal) $O(\log k)$-competitive randomized algorithm, due to Bansal, Buchbinder and Naor (FOCS'07). Existing work for weighted paging assumes that page weights are known in advance, which is not always the case in practice. For example, in multi-level caching architectures, the expected cost of fetching a memory block is a function of its probability of being in a mid-level cache rather than the main memory. This complex property cannot be predicted in advance; over time, however, one may glean information about page weights through sampling their fetching cost multiple times. We present the first algorithm for online weighted paging that does not know page weights in advance, but rather learns from weight samples. In terms of techniques, this requires providing (integral) samples to a fractional solver, requiring a delicate interface between this solver and the randomized rounding scheme; we believe that our work can inspire online algorithms to other problems that involve cost sampling.
title Online Weighted Paging with Unknown Weights
topic Machine Learning
Data Structures and Algorithms
url https://arxiv.org/abs/2410.21266