LearningGroup:一种基于FPGA的实时的稀疏训练算法用于多智能体强化学习
LearningGroup: A Real-Time Sparse Training on FPGA via Learnable Weight Grouping for Multi-Agent Reinforcement Learning
摘要:
多智能体强化学习(MARL)是一种在多机器人控制和自动驾驶汽车等各种应用中构建交互式人工智能系统的强大技术。与有监督模型或单智能体强化学习积极利用网络剪枝不同,多智能体强化学习具有协作和交互的特点,如何利用网络剪枝还不清楚。\par本文提出了一个实时的【形】稀疏训练加速系统LearningGroup,该系统首次采用算法/架构协同设计的方法对MARL进行网络剪枝。我们使用权重分组算法创建稀疏性,并提出片上稀疏数据编码循环(OSEL),使快速编码与高效实现。基于OSEL的编码格式,LearningGroup执行有效的权重压缩和计算工作负载分配到多个核心,其中每个核心同时处理权重矩阵的多个稀疏行与向量处理单元。因此,LearningGroup系统将稀疏数据生成的周期时间和内存占用最小化,最高可达5.72倍和6.81倍。其FPGA加速器在MARL中的各种条件下显示出257.40-3629.48 GFLOPS的吞吐量和7.10-100.12 GFLOPS/W的能效,这是Nvidia Titan RTX GPU的7.13倍和12.43倍,这要归功于FPGA提供的完全片上训练和高度优化的低/数据格式。最重要的是,该加速器在密集情况下处理稀疏数据的速度高达12.52倍,这是最先进的稀疏训练加速器中最高的。
英文摘要:
Multi-agent reinforcement learning (MARL) is a powerful technology to construct interactive artificial intelligent systems in various applications such as multi-robot control and self-driving cars. Unlike supervised model or single-agent reinforcement learning, which actively exploits network pruning, it is obscure that how pruning will work in multi-agent reinforcement learning with its cooperative and interactive characteristics. \par In this paper, we present a real-time sparse training acceleration system named LearningGroup, which adopts network pruning on the training of MARL for the first time with an algorithm/architecture co-design approach. We create sparsity using a weight grouping algorithm and propose on-chip sparse data encoding loop (OSEL) that enables fast encoding with efficient implementation. Based on the OSEL's encoding format, LearningGroup performs efficient weight compression and computation workload allocation to multiple cores, where each core handles multiple sparse rows of the weight matrix simultaneously with vector processing units. As a result, LearningGroup system minimizes the cycle time and memory footprint for sparse data generation up to 5.72x and 6.81x. Its FPGA accelerator shows 257.40-3629.48 GFLOPS throughput and 7.10-100.12 GFLOPS/W energy efficiency for various conditions in MARL, which are 7.13x higher and 12.43x more energy efficient than Nvidia Titan RTX GPU, thanks to the fully on-chip training and highly optimized dataflow/data format provided by FPGA. Most importantly, the accelerator shows speedup up to 12.52x for processing sparse data over the dense case, which is the highest among state-of-the-art sparse training accelerators.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。