arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.04509eess.SPcs.LGcs.NEeess.IV
收藏

展开三值神经网络

Unrolling Ternary Neural Networks

The University Of Sydney(悉尼大学);Fulda University Of Applied Sciences(富尔达应用科学大学);University Of Kassel(卡塞尔大学)

Stephen Tridgell, Martin Kumm, Martin Hardieck, David Boland, Duncan Moss, Peter Zipf, Philip H. W. Leong

摘要:

大规模或实时应用的神经网络的计算复杂性需要硬件加速。大多数方法假设网络架构和参数在设计时是未知的,允许在大量应用中使用。本文表明,神经网络的架构和三元权重值是已知的先验的情况下,可以通过定制的数据路径和路由,以消除不必要的计算和数据移动,实现极高的吞吐量的神经网络推理。这种方法非常适合FPGA实现,因为经过训练的网络的专门实现提高了效率,同时仍然保留了FPGA可重构性的通用性。在Amazon的AWS F1实例上为CIFAR 10数据集实现了具有三元权重和定点激活的VGG风格网络。本文演示了如何通过利用稀疏性和编译时优化来删除卷积层中90%的操作。硬件实现达到了90.9 +/- 0.1%的精度和每秒122 k帧,延迟仅为29 us,这是迄今为止在FPGA上报告的最快的CNN推理实现。

英文摘要:

The computational complexity of neural networks for large scale or real-time applications necessitates hardware acceleration. Most approaches assume that the network architecture and parameters are unknown at design time, permitting usage in a large number of applications. This paper demonstrates, for the case where the neural network architecture and ternary weight values are known a priori, that extremely high throughput implementations of neural network inference can be made by customising the datapath and routing to remove unnecessary computations and data movement. This approach is ideally suited to FPGA implementations as a specialized implementation of a trained network improves efficiency while still retaining generality with the reconfigurability of an FPGA. A VGG style network with ternary weights and fixed point activations is implemented for the CIFAR10 dataset on Amazon's AWS F1 instance. This paper demonstrates how to remove 90% of the operations in convolutional layers by exploiting sparsity and compile-time optimizations. The implementation in hardware achieves 90.9 +/- 0.1% accuracy and 122 k frames per second, with a latency of only 29 us, which is the fastest CNN inference implementation reported so far on an FPGA.

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

↑