HEPPO-GAE:面向硬件高效近端策略优化与广义优势估计
HEPPO-GAE: Hardware-Efficient Proximal Policy Optimization with Generalized Advantage Estimation
AI总结:
本文提出HEPPO-GAE,一种在单SoC上通过并行流水线架构加速PPO中GAE阶段的FPGA加速器,结合动态奖励与值函数分块标准化及8位量化,实现内存减少4倍、累积奖励提升1.5倍和PPO速度提高30%。
摘要:
本文介绍了HEPPO-GAE,一种基于FPGA的加速器,旨在优化近端策略优化(PPO)中的广义优势估计(GAE)阶段。与以往专注于轨迹收集和演员-评论家更新的方法不同,HEPPO-GAE通过在单个片上系统(SoC)上实现的并行流水线架构来应对GAE的计算需求。该设计允许适配针对不同PPO阶段定制的各种硬件加速器。一个关键创新是我们的策略性标准化技术,该技术结合了动态奖励标准化和值函数的分块标准化,随后进行8位均匀量化。该方法稳定了学习过程、提升了性能,并解决了内存瓶颈问题,实现了内存使用量减少4倍以及累积奖励提高1.5倍。我们提出了一种在具有可编程逻辑和嵌入式处理器的单个SoC设备上的解决方案,其吞吐量比传统CPU-GPU系统高出数个数量级。我们的单芯片解决方案最大限度地减少了通信延迟和吞吐量瓶颈,显著提升了PPO训练效率。实验结果表明,PPO速度提高了30%,内存访问时间大幅减少,这凸显了HEPPO-GAE在硬件高效强化学习算法中广泛应用的潜力。
英文摘要:
This paper introduces HEPPO-GAE, an FPGA-based accelerator designed to optimize the Generalized Advantage Estimation (GAE) stage in Proximal Policy Optimization (PPO). Unlike previous approaches that focused on trajectory collection and actor-critic updates, HEPPO-GAE addresses GAE's computational demands with a parallel, pipelined architecture implemented on a single System-on-Chip (SoC). This design allows for the adaptation of various hardware accelerators tailored for different PPO phases. A key innovation is our strategic standardization technique, which combines dynamic reward standardization and block standardization for values, followed by 8-bit uniform quantization. This method stabilizes learning, enhances performance, and manages memory bottlenecks, achieving a 4x reduction in memory usage and a 1.5x increase in cumulative rewards. We propose a solution on a single SoC device with programmable logic and embedded processors, delivering throughput orders of magnitude higher than traditional CPU-GPU systems. Our single-chip solution minimizes communication latency and throughput bottlenecks, significantly boosting PPO training efficiency. Experimental results show a 30% increase in PPO speed and a substantial reduction in memory access time, underscoring HEPPO-GAE's potential for broad applicability in hardware-efficient reinforcement learning algorithms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。