Skip to main content
QUICK REVIEW

[论文解读] Systimator: A Design Space Exploration Methodology for Systolic Array based CNNs Acceleration on the FPGA-based Edge Nodes

Hazoor Ahmad, Muhammad Tanvir|arXiv (Cornell University)|Dec 15, 2018
Advanced Neural Network ApplicationsComputer Science参考文献 9被引用 3
一句话总结

Systimator 是一种设计空间探索方法,可实现将基于脉动阵列的卷积神经网络(CNN)高效映射到内存受限的基于FPGA的边缘设备上。通过使用支持多种数据重用模式的分析型资源估算模型,它在FPGA内存限制范围内识别出可行的配置,同时提供性能预测,该方法在Xilinx Artix-7 FPGA上基于TINY YOLO进行了验证。

ABSTRACT

The evolution of IoT based smart applications demand porting of artificial intelligence algorithms to the edge computing devices. CNNs form a large part of these AI algorithms. Systolic array based CNN acceleration is being widely advocated due its ability to allow scalable architectures. However, CNNs are inherently memory and compute intensive algorithms, and hence pose significant challenges to be implemented on the resource-constrained edge computing devices. Memory-constrained low-cost FPGA based devices form a substantial fraction of these edge computing devices. Thus, when porting to such edge-computing devices, the designer is left unguided as to how to select a suitable systolic array configuration that could fit in the available hardware resources. In this paper we propose Systimator, a design space exploration based methodology that provides a set of design points that can be mapped within the memory bounds of the target FPGA device. The methodology is based upon an analytical model that is formulated to estimate the required resources for systolic arrays, assuming multiple data reuse patterns. The methodology further provides the performance estimates for each of the candidate design points. We show that Systimator provides an in-depth analysis of resource-requirement of systolic array based CNNs. We provide our resource estimation results for porting of convolutional layers of TINY YOLO, a CNN based object detector, on a Xilinx ARTIX 7 FPGA.

研究动机与目标

  • 解决将计算密集型和内存密集型CNN映射到资源受限的基于FPGA的边缘节点所面临的挑战。
  • 提供一种系统化方法,用于探索适合低成本FPGA片上有限内存的可行脉动阵列配置。
  • 使设计者能够选择在资源使用与性能之间实现最佳平衡的最优配置,以支持边缘AI工作负载。
  • 通过在实现前估算资源需求和性能,支持快速的设计空间探索。
  • 促进在Xilinx Artix-7 FPGA等边缘设备上实现实时CNN推理(例如目标检测)的部署。

提出的方法

  • 开发一种分析模型,根据卷积层参数估算脉动阵列的片上内存及LUT/BRAM使用量。
  • 整合多种数据重用模式(例如权重、激活和输出重用),以建模内存访问和存储需求。
  • 通过在内存约束下改变脉动阵列尺寸和重用策略,生成一组候选设计点。
  • 为每个候选配置预测吞吐量和延迟等性能指标。
  • 利用FPGA资源预算(例如LUT、BRAM)映射设计空间,识别目标设备的可行配置。
  • 通过在Xilinx Artix-7 FPGA上部署TINY YOLO的卷积层进行案例研究,验证该模型。

实验结果

研究问题

  • RQ1限制基于FPGA的边缘设备上脉动阵列部署的关键资源约束是什么?
  • RQ2如何对多种数据重用模式进行建模,以准确估算脉动阵列中的内存和LUT使用量?
  • RQ3哪些脉动阵列配置可以在低成本FPGA的内存和逻辑约束范围内实现?
  • RQ4所提出的的方法如何实现在无需完整综合的情况下高效探索设计空间?
  • RQ5在不同配置之间,资源使用与性能(例如吞吐量)之间的权衡关系如何?

主要发现

  • Systimator 成功识别出一组符合Xilinx Artix-7 FPGA内存预算的可行脉动阵列配置。
  • 分析模型能够准确预测不同阵列尺寸和重用模式下的资源使用量(LUT、BRAM)和性能(吞吐量)。
  • 该方法可在无需对每个候选配置进行完整综合或硬件原型设计的情况下,实现快速的设计空间探索。
  • 在TINY YOLO上的案例研究表明,在目标FPGA的资源限制内存在多种可行的配置。
  • 该方法提供了一种系统化的方式,用于在面积、性能和内存使用之间进行权衡,支持在边缘设备上部署CNN推理。
  • 通过在真实FPGA平台上进行实现,验证了模型预测的准确性,证实了其实际应用价值。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。