DEAP Cache:缓存的深度逐出接纳和预取
DEAP Cache: Deep Eviction Admission and Prefetching for Cache
摘要:
最近的学习策略,以提高缓存的方法,目标只是一个预取,准入和驱逐过程。相比之下,我们提出了一个端到端的管道,使用机器学习学习所有三种策略。我们还从大型语料库的成功预训练中获得灵感,以学习任务的专业嵌入。我们将预取建模为基于过去未命中的序列预测任务。根据以前的工作表明,频率和新近度是缓存的两个正交的基本属性,我们使用在线强化学习技术来学习基于它们的两个正交驱逐策略之间的最佳策略分布。虽然以前的方法使用过去作为未来的指标,但我们通过预取以多任务方式明确地对未来的频率和新近度进行建模,利用深度网络的能力来捕捉未来趋势,并将其用于学习驱逐和接纳。我们还使用核密度估计在我们的方法中,以在线方式对数据的分布进行建模,以处理缓存非平稳数据的问题。我们提出了我们的方法作为一个“概念证明”的学习所有三个组成部分的缓存策略使用机器学习,并留下改进的实际部署为未来的工作。
英文摘要:
Recent approaches for learning policies to improve caching, target just one out of the prefetching, admission and eviction processes. In contrast, we propose an end to end pipeline to learn all three policies using machine learning. We also take inspiration from the success of pretraining on large corpora to learn specialized embeddings for the task. We model prefetching as a sequence prediction task based on past misses. Following previous works suggesting that frequency and recency are the two orthogonal fundamental attributes for caching, we use an online reinforcement learning technique to learn the optimal policy distribution between two orthogonal eviction strategies based on them. While previous approaches used the past as an indicator of the future, we instead explicitly model the future frequency and recency in a multi-task fashion with prefetching, leveraging the abilities of deep networks to capture futuristic trends and use them for learning eviction and admission. We also model the distribution of the data in an online fashion using Kernel Density Estimation in our approach, to deal with the problem of caching non-stationary data. We present our approach as a "proof of concept" of learning all three components of cache strategies using machine learning and leave improving practical deployment for future work.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。