arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.19449cs.AR
收藏

一种具有平衡数据流的轻量级CNN高吞吐量FPGA加速器

A High-Throughput FPGA Accelerator for Lightweight CNNs With Balanced Dataflow

Zhiyuan Zhao, Yihao Chen, Pengcheng Feng, Jixing Li, Gang Chen, Rongxuan Shen, Huaxiang Lu

AI总结:

针对现有轻量级CNN FPGA加速器内存开销高、计算效率低的问题,提出多CE平衡数据流加速器,通过混合CE流式架构、平衡数据流及资源感知分配方法,在Xilinx ZC706平台实现了领先的性能与MAC效率。

摘要:

轻量级卷积神经网络(LWCNN)的FPGA加速器近年来受到广泛关注。现有大多数LWCNN加速器聚焦于单计算引擎(CE)架构并进行局部优化。然而,这类设计采用逐层数据流和统一资源映射机制,通常存在片上/片外内存开销高、计算效率低的问题。为解决这些问题,本文提出一种基于多计算引擎的新型平衡数据流加速器,通过面向内存和面向计算的优化高效加速LWCNN。首先,设计了混合计算引擎的流式架构,在保持低片上缓冲区成本的同时,最大限度减少片外内存访问。其次,为流式架构引入平衡数据流策略,通过优化高效资源映射、缓解数据拥塞提升计算效率。此外,本文基于性能模型提出一种资源感知的内存与并行度分配方法,以实现更优的性能和可扩展性。所提加速器在Xilinx ZC706平台上采用MobileNetV2和ShuffleNetV2进行评估。实现结果表明,与参考设计相比,该加速器可节省高达68.3%的片上内存,同时减少了片外内存访问。其性能最高可达2092.4 FPS,乘累加(MAC)效率最高达94.58%,达到当前领先水平,同时保持95%的高DSP利用率,性能显著优于现有LWCNN加速器。

英文摘要:

FPGA accelerators for lightweight neural convolutional networks (LWCNNs) have recently attracted significant attention. Most existing LWCNN accelerators focus on single-Computing-Engine (CE) architecture with local optimization. However, these designs typically suffer from high on-chip/off-chip memory overhead and low computational efficiency due to their layer-by-layer dataflow and unified resource mapping mechanisms. To tackle these issues, a novel multi-CE-based accelerator with balanced dataflow is proposed to efficiently accelerate LWCNN through memory-oriented and computing-oriented optimizations. Firstly, a streaming architecture with hybrid CEs is designed to minimize off-chip memory access while maintaining a low cost of on-chip buffer size. Secondly, a balanced dataflow strategy is introduced for streaming architectures to enhance computational efficiency by improving efficient resource mapping and mitigating data congestion. Furthermore, a resource-aware memory and parallelism allocation methodology is proposed, based on a performance model, to achieve better performance and scalability. The proposed accelerator is evaluated on Xilinx ZC706 platform using MobileNetV2 and ShuffleNetV2.Implementation results demonstrate that the proposed accelerator can save up to 68.3% of on-chip memory size with reduced off-chip memory access compared to the reference design. It achieves an impressive performance of up to 2092.4 FPS and a state-of-the-art MAC efficiency of up to 94.58%, while maintaining a high DSP utilization of 95%, thus significantly outperforming current LWCNN accelerators.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑