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

AccMER:利用缓存局部性感知优先级加速多智能体经验回放

AccMER: Accelerating Multi-Agent Experience Replay with Cache Locality-aware Prioritization

Kailash Gogineni, Yongsheng Mei, Peng Wei, Tian Lan, Guru Venkataramani

AI总结:

本文提出AccMER方法,通过在n步窗口内基于优先级权重重复重用高优先级转移来改善缓存局部性,从而加速多智能体经验回放,在Predator-Prey环境中实现25.4%的训练时间减少且奖励无明显下降。

摘要:

多智能体经验回放(MER)是离策略强化学习(RL)算法的关键组成部分。通过记住并重用过去的经验,经验回放显著提高了RL算法的稳定性和学习效率。在许多场景中,多个智能体在集中训练和分散执行(CTDE)范式下于共享环境中进行在线训练。当前的多智能体强化学习(MARL)算法在采样阶段考虑使用均匀采样或基于优先级权重的经验回放,以提高转移数据样本效率。然而,将每个智能体的转移数据历史通过处理器内存层次结构移动是一个性能限制因素。此外,由于智能体的转移数据在每次迭代中不断更新,有限的缓存容量导致缓存未命中增加。为此,我们提出AccMER,它在一个n步窗口内重复重用转移(经验),以改善缓存局部性并最小化转移数据移动,而不是在每一步采样新的转移。具体而言,我们的优化使用优先级权重来选择转移,使得只有高优先级的转移会被频繁重用,从而提高缓存性能。我们在Predator-Prey环境上的实验结果证明了基于优先级权重重用关键转移的有效性,我们观察到与现有的优先级MER算法相比,端到端训练时间减少了25.4%(对于32个智能体),且平均奖励没有显著下降。

英文摘要:

Multi-Agent Experience Replay (MER) is a key component of off-policy reinforcement learning~(RL) algorithms. By remembering and reusing experiences from the past, experience replay significantly improves the stability of RL algorithms and their learning efficiency. In many scenarios, multiple agents interact in a shared environment during online training under centralized training and decentralized execution~(CTDE) paradigm. Current multi-agent reinforcement learning~(MARL) algorithms consider experience replay with uniform sampling or based on priority weights to improve transition data sample efficiency in the sampling phase. However, moving transition data histories for each agent through the processor memory hierarchy is a performance limiter. Also, as the agents' transitions continuously renew every iteration, the finite cache capacity results in increased cache misses. To this end, we propose \name, that repeatedly reuses the transitions~(experiences) for a window of $n$ steps in order to improve the cache locality and minimize the transition data movement, instead of sampling new transitions at each step. Specifically, our optimization uses priority weights to select the transitions so that only high-priority transitions will be reused frequently, thereby improving the cache performance. Our experimental results on the Predator-Prey environment demonstrate the effectiveness of reusing the essential transitions based on the priority weights, where we observe an end-to-end training time reduction of $25.4\%$~(for $32$ agents) compared to existing prioritized MER algorithms without notable degradation in the mean reward.

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

↑