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

FPGA上数据率感知的连续流CNN推理

Continuous-Flow Data-Rate-Aware CNN Inference on FPGA

Department of Applied Computer Science, Fulda University of Applied Sciences(应用计算机科学系,弗劳达应用科学大学);Department of Electronic Engineering, ETSI de Telecomunicación, Universidad Politécnica de Madrid(电子工程系,马德里理工大学电信学院);Department of Electrical Engineering, Linköping University(电气工程系,林雪平大学)

Tobias Habermann, Michael Mecik, Zhenyu Wang, César David Vera, Martin Kumm, Mario Garrido

AI总结:

本文提出了一种数据率感知的连续流CNN架构,通过优化硬件利用率达到接近100%,实现了在FPGA上高效运行复杂CNN模型。

摘要:

在深度学习推理的硬件加速器中,数据流实现提供了低延迟和高吞吐量的能力。在这些架构中,每个神经元都被映射到专用的硬件单元上,使其非常适合现场可编程门阵列(FPGA)实现。先前的展开实现主要集中在全连接网络上,因为它们的简单性,尽管众所周知,卷积神经网络(CNNs)在相同精度下需要更少的计算。当观察CNN中的数据流时,池化层和步长大于1的卷积层的输出数据量会减少。这种数据减少在完全并行实现中对数据率有显著影响,除非妥善处理,否则硬件单元会严重被低估用。本文通过分析CNN的数据流并提出一种新的方法来设计数据率感知的连续流CNN架构。所提出的方法通过交错低数据率信号和共享硬件单元,以及使用适当的并行化来实现完全并行实现的吞吐量,确保了接近100%的硬件利用率。结果表明,可以节省大量算术逻辑运算,这使得在单个FPGA上实现复杂的CNN,如MobileNet,具有高吞吐量。

英文摘要:

Among hardware accelerators for deep-learning inference, data flow implementations offer low latency and high throughput capabilities. In these architectures, each neuron is mapped to a dedicated hardware unit, making them well-suited for field-programmable gate array (FPGA) implementation. Previous unrolled implementations mostly focus on fully connected networks because of their simplicity, although it is well known that convolutional neural networks (CNNs) require fewer computations for the same accuracy. When observing the data flow in CNNs, pooling layers and convolutional layers with a stride larger than one, the number of data at their output is reduced with respect to their input. This data reduction strongly affects the data rate in a fully parallel implementation, making hardware units heavily underutilized unless it is handled properly. This work addresses this issue by analyzing the data flow of CNNs and presents a novel approach to designing data-rate-aware, continuous-flow CNN architectures. The proposed approach ensures a high hardware utilization close to 100% by interleaving low data rate signals and sharing hardware units, as well as using the right parallelization to achieve the throughput of a fully parallel implementation. The results show that a significant amount of the arithmetic logic can be saved, which allows implementing complex CNNs like MobileNet on a single FPGA with high throughput.

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

↑