跳到正文
arXiv (AI + Vision + Imaging)· Esraa Elelimy, Martha White·· 1 天前AI 评分17

深度强化学习中资格迹的自适应步长研究:FSD优化器

On Adaptive Step Sizes for Eligibility Traces in Deep Reinforcement Learning

AI 导读

研究指出,自适应向量步长必须纳入资格迹才能保持前向与后向视角的等价性,而Adam等常用优化器的步长不具备在线后向视角。为此提出新优化器Function-Space Distance(FSD),在四类资格迹算法(半梯度与梯度TD、值函数与actor-critic)上测试,表现优于SGD或直接套用Adam,多数环境下与使用回放缓冲的PPO相当或更优。

正文 · 原文

arXiv:2611.29178v1 Announce Type: new Abstract: Many deep reinforcement learning (RL) algorithms store agent-environment interactions in a replay buffer and later learn by sampling transitions from it. However, this approach can be memory-inefficient and can delay learning because the agent can learn from a transition only when the buffer samples it. Additionally, most of these methods use one-step or short multi-step temporal-difference (TD) updates, which are slow at credit assignment. An alternative approach is to learn from the stream of observations as they arrive without relying on a buffer. Eligibility-trace algorithms allow these incremental updates and can also assign credit over many steps. These algorithms were common with linear function approximation but have only recently been used in deep RL. Basic questions, such as how to use vector step sizes with eligibility traces in the deep RL setting, remain open. In this work, we first show that adaptive vector step sizes must be part of the eligibility trace to keep the equivalence between the forward and backward views. We then show that the step sizes of common optimizers, such as Adam, do not have an online backward view. We introduce a new optimizer, Function-Space Distance (FSD), that maintains the forward-backward equivalence. We test four eligibility-trace algorithms covering semi-gradient and gradient TD updates, as well as value-based and actor-critic methods. We show that FSD performs better than SGD or naively applied Adam. The resulting algorithms outperform or match other streaming methods and are comparable to or better than PPO, which uses a buffer, in most environments. Code available at https://github.com/esraaelelimy/ada_traces

来源:arXiv (AI + Vision + Imaging) · arxiv.org