Paging is a prototypical problem in the area of online algorithms. It has also played a central role in the development of learning-augmented algorithms -- a recent line of research that aims to ameliorate the shortcomings of classical worst-case analysis by giving algorithms access to predictions. Such predictions can typically be generated using a machine learning approach, but they are inherently imperfect. Previous work on learning-augmented paging has investigated predictions on (i) when the current page will be requested again (reoccurrence predictions), (ii) the current state of the cache in an optimal algorithm (state predictions), (iii) all requests until the current page gets requested again, and (iv) the relative order in which pages are requested. We study learning-augmented paging from the new perspective of requiring the least possible amount of predicted information. More specifically, the predictions obtained alongside each page request are limited to one bit only. We consider two natural such setups: (i) discard predictions, in which the predicted bit denotes whether or not it is ``safe'' to evict this page, and (ii) phase predictions, where the bit denotes whether the current page will be requested in the next phase (for an appropriate partitioning of the input into phases). We develop algorithms for each of the two setups that satisfy all three desirable properties of learning-augmented algorithms -- that is, they are consistent, robust and smooth -- despite being limited to a one-bit prediction per request. We also present lower bounds establishing that our algorithms are essentially best possible.
翻译:在在线算法领域, Page 是一个原型问题。 它在开发学习强化算法方面发挥了核心作用。 最近的一系列研究旨在通过提供算法访问预测来弥补典型最坏情况分析的缺点。 这种预测通常可以使用机器学习方法来产生,但本质上是不完整的。 先前的学习强化算法工作调查了以下两个方面的预测:(一) 当再次要求当前页面时(重复预测), (二) 最佳算法(状态预测)中缓存的当前状态;(三) 直到再次要求进行当前页的预测之前的所有要求, (四) 要求页面的相对顺序。 我们研究从新角度来学习强化预测, 要求尽可能少提供预测信息, 更具体地说, 每页要求的预测只限一小点。 我们认为两种自然的设置:(一) 丢弃预测, 预测中预言的预言是“ 安全” 可靠”, (三) 直到再次要求的预言本页, (二) 持续的预言阶段, 我们的预言将持续进行。