论文提出 FSD 优化器:让资格迹方法在深度强化学习中用上自适应步长
On Adaptive Step Sizes for Eligibility Traces in Deep Reinforcement Learning
强化学习里不用 replay buffer 的流式学习一直有个坑:自适应步长怎么和资格迹结合没人说清。这篇论文给出证明和答案,还做了个新优化器 FSD,成绩能跟 PPO 掰手腕。做 RL 或 streaming 学习研究的同学可以直接看代码复现。
一篇 arXiv 论文研究深度强化学习中资格迹(eligibility trace)算法的自适应步长问题。作者证明自适应向量步长必须纳入资格迹本身,才能保持前向视图与后向视图的等价性,并指出 Adam 等常见优化器的步长不具备在线后向视图。
论文随后提出新优化器 Function-Space Distance(FSD),在维持前向-后向等价的前提下提供自适应步长。作者在 4 种资格迹算法上测试,覆盖半梯度与梯度 TD 更新、value-based 与 actor-critic 方法,结果显示 FSD 优于 SGD 和直接套用的 Adam。
这类流式学习不依赖 replay buffer,可即时从数据流更新,缓解缓冲区采样带来的学习延迟与内存开销。在多数环境中,所得算法与其他流式方法持平或更优,并可与使用 buffer 的 PPO 相当或更好。代码已在 GitHub 开源。
On Adaptive Step Sizes for Eligibility Traces in Deep Reinforcement Learning
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
本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:强化学习、资格迹、FSD、PPO,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「arXiv cs.AI」(@Esraa Elelimy, Martha White),经 AITOP 多维评分管线结构化提炼。