arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.11709eess.SYcs.IRcs.LGcs.PFcs.SY
收藏

分布式上下文管理系统中基于强化学习的自适应上下文缓存方法

Reinforcement Learning Based Approaches to Adaptive Context Caching in Distributed Context Management Systems

Deakin University(迪肯大学)

Shakthi Weerasinghe, Arkady Zaslavsky, Seng W. Loke, Amin Abken, Alireza Hassani

摘要:

性能指标驱动的上下文缓存对分布式上下文管理系统的实时上下文查询的吞吐量和响应时间有着深远的影响。本文提出了一种基于强化学习的方法来自适应缓存上下文,其目标是最小化上下文管理系统在响应上下文查询时所产生的成本。我们的新算法,使上下文查询和子查询,以重用和重用缓存的上下文在一个有效的方式。这种方法与传统的数据缓存方法的区别在于三个主要特征。首先,我们不使用上下文或上下文查询负载的先验知识来进行选择性上下文缓存准入。其次,我们开发并采用创新的启发式模型来计算预期的性能缓存的项目时,作出决定。第三,我们的策略定义了一个时间感知的连续缓存动作空间。我们提出了两个强化学习代理,一个价值函数估计行动者-批评者代理和一个策略搜索代理使用深度确定性策略梯度方法。本文还提出了自适应的政策,如驱逐和缓存内存扩展,以补充我们的目标。我们的方法进行评估,使用综合生成的负载的上下文子查询和合成数据集的灵感来自现实世界的数据和查询样本。我们进一步研究不同设置下的最佳自适应缓存配置。本文介绍,比较和讨论我们的研究结果,建议的选择性缓存方法达到短期和长期的成本和性能效率。本文表明,所提出的方法优于其他模式的上下文管理,如重定向器模式,数据库模式,并缓存所有的政策高达60%的成本效率。

英文摘要:

Performance metrics-driven context caching has a profound impact on throughput and response time in distributed context management systems for real-time context queries. This paper proposes a reinforcement learning based approach to adaptively cache context with the objective of minimizing the cost incurred by context management systems in responding to context queries. Our novel algorithms enable context queries and sub-queries to reuse and repurpose cached context in an efficient manner. This approach is distinctive to traditional data caching approaches by three main features. First, we make selective context cache admissions using no prior knowledge of the context, or the context query load. Secondly, we develop and incorporate innovative heuristic models to calculate expected performance of caching an item when making the decisions. Thirdly, our strategy defines a time-aware continuous cache action space. We present two reinforcement learning agents, a value function estimating actor-critic agent and a policy search agent using deep deterministic policy gradient method. The paper also proposes adaptive policies such as eviction and cache memory scaling to complement our objective. Our method is evaluated using a synthetically generated load of context sub-queries and a synthetic data set inspired from real world data and query samples. We further investigate optimal adaptive caching configurations under different settings. This paper presents, compares, and discusses our findings that the proposed selective caching methods reach short- and long-term cost- and performance-efficiency. The paper demonstrates that the proposed methods outperform other modes of context management such as redirector mode, and database mode, and cache all policy by up to 60% in cost efficiency.

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

↑