arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.16045cs.DS
收藏

基于每次请求预测的随机加权缓存

Stochastic Weighted Caching with Per-Request Predictions

UT Austin(德克萨斯大学奥斯汀分校)

Shuchi Chawla, Dimitris Christou

AI总结:

本文探究结合随机假设与每次请求预测能否突破加权缓存的竞争比下界,提出一种确定性缓存驱逐策略,完美预测下竞争比达15.75,误差下为O(min{1+E, log k})。

摘要:

缓存的无权重和有权重变体是竞争分析中的基础问题,其随机竞争比的紧界为Θ(log k),其中k为缓存大小。本文研究带有每次请求预测的加权缓存问题,即每个页面请求都附带该页面下一次到达时间的预测。对于无权重缓存,此类完美预测足以实现Belady的离线最优规则;但对于加权缓存,已有研究表明,即使对抗性请求序列下存在完美预测,对数级下界仍然存在,仅随机假设也不足够——经典缓存下界已适用于均匀独立请求。本文探究结合这两类额外信息能否突破该障碍,并给出肯定答案。具体而言,我们开发了一种高效的确定性缓存驱逐策略,当页面请求每一步均来自任意已知静态分布且页面成本任意时,该策略使用完美每次请求预测可达到15.75的竞争比;在预测存在误差时,算法性能会平缓下降,我们证明其竞争比的界为O(min{1+E, log k}),其中E汇总每个页面的平均预测误差,算法可能未知该值。

英文摘要:

Both the unweighted and weighted variants of caching are cornerstone problems in competitive analysis, with tight randomized competitive ratios of $Θ(\log k)$, where $k$ is the cache size. We study weighted caching with per-request predictions, where each page request is accompanied by a prediction of the next arrival time of the same page. For unweighted caching, such perfect predictions suffice to implement Belady's offline optimal rule. For weighted caching, however, previous work shows that a logarithmic lower bound persists even with perfect predictions on adversarial request sequences. Stochastic assumptions alone are also insufficient: the classical caching lower bounds already apply to uniform independent requests. In this work, we ask whether combining these two sources of additional information can overcome this barrier, and answer this question affirmatively. Specifically, we develop an efficient cache eviction policy that achieves a competitive ratio of $15.75$ using perfect per-request predictions when page requests are drawn independently from an arbitrary, known static distribution in every step, and page costs are arbitrary. Underlying our analysis is a novel lower bound on the optimal cost obtained through an ex-ante relaxation of the cache's covering constraints. Our algorithm's performance degrades gracefully under erroneous predictions: we prove a bound of $O(\min\{1+E,\log k\})$ on the competitive ratio, where $E$ aggregates each page's average prediction error, and may be unknown to the algorithm.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑