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

基于时间差分误差加权损失函数的离策略强化学习

Off-Policy Reinforcement Learning with Loss Function Weighted by Temporal Difference Error

KAIST(韩国科学技术院);Institute for Basic Science(基础科学研究院)

Bumgeun Park, Taeyoung Kim, Woohyeon Moon, Luiz Felipe Vecchietti, Dongsoo Har

摘要:

通过离线深度强化学习(RL)训练智能体需要一个大的存储器,称为重放存储器,存储用于学习的过去经验。这些经验被均匀或非均匀地采样,以创建用于训练的批次。当计算损失函数时,非策略算法假设所有样本具有相同的重要性。在本文中,我们假设,培训可以通过分配不同的重要性,每个经验的基础上,他们的时间差(TD)的错误直接在培训目标。我们提出了一种新的方法,在学习阶段计算损失函数时,为每个经验引入一个加权因子。除了在与均匀采样一起使用时提高收敛速度之外,该方法还可以与用于非均匀采样的优先化方法相结合。将所提出的方法与优先级方法相结合,提高了采样效率,同时提高了基于TD的离线RL算法的性能。在OpenAI Gym套件的六个环境中进行的实验证明了所提出方法的有效性。实验结果表明,该方法在三种环境下收敛速度降低了33%~76%,在其他三种环境下返回率提高了11%,成功率提高了3%~10%.

英文摘要:

Training agents via off-policy deep reinforcement learning (RL) requires a large memory, named replay memory, that stores past experiences used for learning. These experiences are sampled, uniformly or non-uniformly, to create the batches used for training. When calculating the loss function, off-policy algorithms assume that all samples are of the same importance. In this paper, we hypothesize that training can be enhanced by assigning different importance for each experience based on their temporal-difference (TD) error directly in the training objective. We propose a novel method that introduces a weighting factor for each experience when calculating the loss function at the learning stage. In addition to improving convergence speed when used with uniform sampling, the method can be combined with prioritization methods for non-uniform sampling. Combining the proposed method with prioritization methods improves sampling efficiency while increasing the performance of TD-based off-policy RL algorithms. The effectiveness of the proposed method is demonstrated by experiments in six environments of the OpenAI Gym suite. The experimental results demonstrate that the proposed method achieves a 33%~76% reduction of convergence speed in three environments and an 11% increase in returns and a 3%~10% increase in success rate for other three environments.

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

↑