SMOF:利用智能片外逐出在FPGA上流式处理现代CNN
SMOF: Streaming Modern CNNs on FPGAs with Smart Off-Chip Eviction
AI总结:
SMOF通过智能片外逐出机制将权重和激活暂存到片外存储器,解决现代CNN长跳跃连接导致的片上存储瓶颈,从而在资源受限FPGA上实现流式映射并获得最高10.65倍吞吐量提升。
摘要:
卷积神经网络(CNN)已在众多视觉任务中展现出有效性。然而,其较高的处理需求要求高效的硬件加速,以满足应用的性能目标。在FPGA领域,用户通常采用基于流式的数据流架构,因为通过逐层流水线以及将数据保留在片上以减少片外存储器访问,可以获得显著的性能提升。然而,诸如UNet、YOLO和X3D模型等现代拓扑结构使用长跳跃连接,需要大量片上存储,从而限制了此类系统架构所能达到的性能。本文通过引入沿计算流水线将权重和激活逐出到片外存储器的机制来解决上述限制,同时考虑可用的计算和存储器资源。所提出的机制被整合到现有的工具流中,通过将片外存储器用作缓冲区来扩展设计空间。这使得在流式架构设计方法下,能够将此类现代CNN映射到片上存储器有限的设备上。SMOF已证明其在一系列计算机视觉任务中能够提供具有竞争力的、在某些情况下达到最先进的性能,与先前工作相比实现了高达10.65倍的吞吐量提升。
英文摘要:
Convolutional Neural Networks (CNNs) have demonstrated their effectiveness in numerous vision tasks. However, their high processing requirements necessitate efficient hardware acceleration to meet the application's performance targets. In the space of FPGAs, streaming-based dataflow architectures are often adopted by users, as significant performance gains can be achieved through layer-wise pipelining and reduced off-chip memory access by retaining data on-chip. However, modern topologies, such as the UNet, YOLO, and X3D models, utilise long skip connections, requiring significant on-chip storage and thus limiting the performance achieved by such system architectures. The paper addresses the above limitation by introducing weight and activation eviction mechanisms to off-chip memory along the computational pipeline, taking into account the available compute and memory resources. The proposed mechanism is incorporated into an existing toolflow, expanding the design space by utilising off-chip memory as a buffer. This enables the mapping of such modern CNNs to devices with limited on-chip memory, under the streaming architecture design approach. SMOF has demonstrated the capacity to deliver competitive and, in some cases, state-of-the-art performance across a spectrum of computer vision tasks, achieving up to 10.65 X throughput improvement compared to previous works.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。