RedMulE:基于RISC-V的超低功耗SoCs的自适应深度学习的紧凑型FP16矩阵乘法加速器
RedMulE: A Compact FP16 Matrix-Multiplication Accelerator for Adaptive Deep Learning on RISC-V-Based Ultra-Low-Power SoCs
摘要:
使用基于深度学习(DL)的算法的极端边缘应用的快速增长需要专用硬件来满足极端边缘应用的延迟、吞吐量和精度要求。虽然在实际情况下可以实现推理,但一般DL模型的在线微调和适应仍然具有很大的挑战性。其中一个关键的绊脚石是需要并行浮点运算,这在低于100 mW的极端边缘SoC上被认为是负担不起的。我们使用RedMulE(降低精度矩阵乘法引擎)来解决这个问题,这是一种用于FP 16矩阵乘法的参数化低功耗硬件加速器-DL训练和推理的主要内核-旨在基于PULP(并行超低功耗)架构的微型RISC-V内核集群中进行紧密集成。在22 nm技术中,32-FMA RedMulE实例仅占用0.07 mm^2(8核RISC-V集群的14%),并实现高达666 MHz的最大工作频率,吞吐量为31.6 MAC/周期(98.8%利用率)。我们达到了43.5 mW的集群级功耗和688 16位GFLOPS/W的全集群能效。总体而言,RedMulE在8个RISC-V内核上的能效提高了4.65倍,软件执行速度提高了22倍。
英文摘要:
The fast proliferation of extreme-edge applications using Deep Learning (DL) based algorithms required dedicated hardware to satisfy extreme-edge applications' latency, throughput, and precision requirements. While inference is achievable in practical cases, online finetuning and adaptation of general DL models are still highly challenging. One of the key stumbling stones is the need for parallel floating-point operations, which are considered unaffordable on sub-100 mW extreme-edge SoCs. We tackle this problem with RedMulE (Reduced-precision matrix Multiplication Engine), a parametric low-power hardware accelerator for FP16 matrix multiplications - the main kernel of DL training and inference - conceived for tight integration within a cluster of tiny RISC-V cores based on the PULP (Parallel Ultra-Low-Power) architecture. In 22 nm technology, a 32-FMA RedMulE instance occupies just 0.07 mm^2 (14% of an 8-core RISC-V cluster) and achieves up to 666 MHz maximum operating frequency, for a throughput of 31.6 MAC/cycle (98.8% utilization). We reach a cluster-level power consumption of 43.5 mW and a full-cluster energy efficiency of 688 16-bit GFLOPS/W. Overall, RedMulE features up to 4.65x higher energy efficiency and 22x speedup over SW execution on 8 RISC-V cores.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。