微型决策者:使用MiniConv库实现设备端决策
Tiny, On-Device Decision Makers with the MiniConv Library
AI总结:
本文提出了一种分拆策略架构,利用设备端编码器和远程策略头部,减少数据传输和延迟,提升边缘设备上的强化学习性能。
摘要:
强化学习(RL)已取得显著成果,但将视觉策略部署到资源受限的边缘设备仍具挑战性,因为计算成本和通信延迟是主要障碍。许多部署因此将策略推断卸载到远程服务器,导致网络往返和需要传输高维观察。我们引入了一种分拆策略架构,在其中一个小的设备端编码器,以OpenGL片段着色器传递实现,为广泛的嵌入式GPU支持,将每个观察转换为紧凑的特征张量,然后传输到远程策略头部。在RL中,这种通信开销表现为闭环决策延迟,而不仅仅是每次请求的推断延迟。所提出的方法减少了传输数据,降低了带宽受限设置中的决策延迟,并减少了服务器端每次请求的计算量,同时在单次运行基准测试中通过最终回报(最终100次回合的均值)实现了广泛可比的学习性能,仅在均值回报上做出适度的权衡。我们在NVIDIA Jetson Nano、Raspberry Pi 4B和Raspberry Pi Zero 2 W上评估,报告学习结果、设备端执行行为在持续负载下的表现,以及在带宽整形下的端到端决策延迟和可扩展性测量。用于训练、部署和测量的代码已作为开源发布。
英文摘要:
Reinforcement learning (RL) has achieved strong results, but deploying visual policies on resource-constrained edge devices remains challenging due to computational cost and communication latency. Many deployments therefore offload policy inference to a remote server, incurring network round trips and requiring transmission of high-dimensional observations. We introduce a split-policy architecture in which a small on-device encoder, implemented as OpenGL fragment-shader passes for broad embedded GPU support, transforms each observation into a compact feature tensor that is transmitted to a remote policy head. In RL, this communication overhead manifests as closed-loop decision latency rather than only per-request inference latency. The proposed approach reduces transmitted data, lowers decision latency in bandwidth-limited settings, and reduces server-side compute per request, whilst achieving broadly comparable learning performance by final return (mean over the final 100 episodes) in single-run benchmarks, with modest trade-offs in mean return. We evaluate across an NVIDIA Jetson Nano, a Raspberry Pi 4B, and a Raspberry Pi Zero 2 W, reporting learning results, on-device execution behaviour under sustained load, and end-to-end decision latency and scalability measurements under bandwidth shaping. Code for training, deployment, and measurement is released as open source.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。