arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1810.00722cs.DCcs.AR
收藏

基于FPGA的深度神经网络推理的吞吐量优化

Throughput Optimizations for FPGA-based Deep Neural Network Inference

Thorbjörn Posewsky, Daniel Ziener

摘要:

深度神经网络是一种非常成功且广泛用于各种模式识别和机器学习任务的技术。由于功率和资源的限制,这些计算密集型网络很难在嵌入式系统中实现。然而,可以从上述可能性中受益的应用程序数量正在迅速增加。在本文中,我们提出了一种新的架构,用于在基于FPGA的SoC上推理先前学习的任意深度神经网络,这些SoC能够克服这些限制。我们的主要贡献包括在多个输入样本之间重用先前传输的权重矩阵,我们称之为批处理,以及使用压缩的权重矩阵,也称为修剪。这些优化的广泛评价。这两种技术都可以显著减轻数据传输,并将网络推理速度提高一个数量级。与此同时,我们的数据吞吐量超过了功能齐全的基于x86的系统,而能耗仅为它们的一小部分。

英文摘要:

Deep neural networks are an extremely successful and widely used technique for various pattern recognition and machine learning tasks. Due to power and resource constraints, these computationally intensive networks are difficult to implement in embedded systems. Yet, the number of applications that can benefit from the mentioned possibilities is rapidly rising. In this paper, we propose novel architectures for the inference of previously learned and arbitrary deep neural networks on FPGA-based SoCs that are able to overcome these limitations. Our key contributions include the reuse of previously transferred weight matrices across multiple input samples, which we refer to as batch processing, and the usage of compressed weight matrices, also known as pruning. An extensive evaluation of these optimizations is presented. Both techniques allow a significant mitigation of data transfers and speed-up the network inference by one order of magnitude. At the same time, we surpass the data throughput of fully-featured x86-based systems while only using a fraction of their energy consumption.

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

↑