arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.14693cs.LGcs.AI
收藏

鲁棒学习增强缓存的实验研究

Robust Learning-Augmented Caching: An Experimental Study

Jagiellonian University(雅盖隆大学);EPFL(洛桑联邦理工学院);DeepMind(深度思维)

Jakub Chłędowski, Adam Polak, Bartosz Szabucki, Konrad Zolna

摘要:

有效的缓存对于现代计算系统的性能至关重要。缓存中出现的一个关键优化问题--驱逐哪个项为新项腾出空间--在不知道未来的情况下无法得到最佳解决。对于这个问题有许多经典的近似算法,但最近研究人员开始成功地应用机器学习,通过发现隐式输入模式和预测未来来决定驱逐什么。虽然机器学习通常不提供任何最坏情况的保证,但学习增强算法的新领域提出了利用经典在线缓存算法来使机器学习预测器鲁棒的解决方案。我们是第一个在真实世界的缓存数据集和最先进的机器学习预测器上全面评估这些学习增强算法的人。我们表明,一个简单的方法-盲目遵循预测或经典的鲁棒算法,并切换时,一个变得比其他更差-只有一个低的开销超过一个性能良好的预测,而与经典的方法竞争时,耦合预测失败,从而提供了一个便宜的最坏情况下的保险。

英文摘要:

Effective caching is crucial for the performance of modern-day computing systems. A key optimization problem arising in caching -- which item to evict to make room for a new item -- cannot be optimally solved without knowing the future. There are many classical approximation algorithms for this problem, but more recently researchers started to successfully apply machine learning to decide what to evict by discovering implicit input patterns and predicting the future. While machine learning typically does not provide any worst-case guarantees, the new field of learning-augmented algorithms proposes solutions that leverage classical online caching algorithms to make the machine-learned predictors robust. We are the first to comprehensively evaluate these learning-augmented algorithms on real-world caching datasets and state-of-the-art machine-learned predictors. We show that a straightforward method -- blindly following either a predictor or a classical robust algorithm, and switching whenever one becomes worse than the other -- has only a low overhead over a well-performing predictor, while competing with classical methods when the coupled predictor fails, thus providing a cheap worst-case insurance.

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

↑