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

基于机器学习建议的在线缓存的近优边界

Near-Optimal Bounds for Online Caching with Machine Learned Advice

Dhruv Rohatgi

摘要:

在Lykouris和Vassilvitskii提出的带有机器学习建议的在线缓存模型中,目标是用一个可以访问下一个到达预测的在线算法来解决缓存问题:当每个输入元素到达时,算法都会预测元素下一次出现的时间。用于在线高速缓存的传统模型受到$Ω(\log k)$竞争比下限(在大小为$k$的高速缓存上)的影响。相比之下,增强模型允许算法在预测具有低误差时击败此下限,并且在预测具有高误差时渐进地匹配下限,即使算法不注意预测误差。特别地,Lykouris和Vassilvitskii表明,当整体$\ell_1$预测误差由$η$限定时,存在竞争比为$O(1+\min(\sqrt{η/OPT}, \log k))$的预测增强缓存算法,并且$OPT$是最佳离线算法的成本。在竞争比中对$k$的依赖是最佳的,但对$η/OPT$的依赖可能远不是最佳的。在这项工作中,我们朝着缩小这一差距取得了进展。我们的贡献是双重的。首先,我们提供了一个改进的算法与竞争比$O(1 + \min((η/OPT)/k, 1) \log k)$。其次,我们提供了一个下界的$Ω(\log \min((η/OPT)/(k \log k), k))$。

英文摘要:

In the model of online caching with machine learned advice, introduced by Lykouris and Vassilvitskii, the goal is to solve the caching problem with an online algorithm that has access to next-arrival predictions: when each input element arrives, the algorithm is given a prediction of the next time when the element will reappear. The traditional model for online caching suffers from an $Ω(\log k)$ competitive ratio lower bound (on a cache of size $k$). In contrast, the augmented model admits algorithms which beat this lower bound when the predictions have low error, and asymptotically match the lower bound when the predictions have high error, even if the algorithms are oblivious to the prediction error. In particular, Lykouris and Vassilvitskii showed that there is a prediction-augmented caching algorithm with a competitive ratio of $O(1+\min(\sqrt{η/OPT}, \log k))$ when the overall $\ell_1$ prediction error is bounded by $η$, and $OPT$ is the cost of the optimal offline algorithm. The dependence on $k$ in the competitive ratio is optimal, but the dependence on $η/OPT$ may be far from optimal. In this work, we make progress towards closing this gap. Our contributions are twofold. First, we provide an improved algorithm with a competitive ratio of $O(1 + \min((η/OPT)/k, 1) \log k)$. Second, we provide a lower bound of $Ω(\log \min((η/OPT)/(k \log k), k))$.

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

↑