WinoCNN:基于FPGA的高效卷积神经网络加速内核共享Winograd系统阵列
WinoCNN: Kernel Sharing Winograd Systolic Array for Efficient Convolutional Neural Network Acceleration on FPGAs
摘要:
Winograd算法和脉动阵列架构的结合证明了在FPGA平台上加速卷积神经网络(CNN)时提高DSP效率的能力。然而,在基于FPGA的Winograd处理元件中处理任意卷积内核大小和支持有效的数据访问仍然没有得到充分的探索。在这项工作中,我们首次提出了一种优化的Winograd处理元素(WinoPE),它可以自然地支持多种卷积内核大小,同时具有相同的计算资源,并保持高的运行时DSP效率。使用建议的WinoPE,我们构建了一个高效的脉动阵列加速器,称为WinoCNN。我们还提出了一个专用的内存子系统,以优化数据访问。基于加速器架构,我们建立准确的资源和性能建模,以探索不同资源约束下的最佳加速器配置。我们在多个FPGA上实现了我们提出的加速器,在吞吐量和DSP效率方面都优于最先进的设计。采用Xilinx ZCU 102 FPGA,实现了高达1.33 GOPS/DSP的DSP效率和高达3.1 TOPS的吞吐量。这两个方案分别比以前报道的最佳方案好29.1%和20.0%。
英文摘要:
The combination of Winograd's algorithm and systolic array architecture has demonstrated the capability of improving DSP efficiency in accelerating convolutional neural networks (CNNs) on FPGA platforms. However, handling arbitrary convolution kernel sizes in FPGA-based Winograd processing elements and supporting efficient data access remain underexplored. In this work, we are the first to propose an optimized Winograd processing element (WinoPE), which can naturally support multiple convolution kernel sizes with the same amount of computing resources and maintains high runtime DSP efficiency. Using the proposed WinoPE, we construct a highly efficient systolic array accelerator, termed WinoCNN. We also propose a dedicated memory subsystem to optimize the data access. Based on the accelerator architecture, we build accurate resource and performance modeling to explore optimal accelerator configurations under different resource constraints. We implement our proposed accelerator on multiple FPGAs, which outperforms the state-of-the-art designs in terms of both throughput and DSP efficiency. Our implementation achieves DSP efficiency up to 1.33 GOPS/DSP and throughput up to 3.1 TOPS with the Xilinx ZCU102 FPGA. These are 29.1\% and 20.0\% better than the best solutions reported previously, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。